SlideShare une entreprise Scribd logo
1  sur  18
A table is bufferd. By select statement I don't want to get the data from table buffer. I want
to get thae data from database. How?
If buffering is allowed for a table in the ABAP Dictionary, the SELECT statement always reads
the data from the buffer in the database interface of the current application server. To read data
directly from the database table instead of from the buffer, use the following:
SELECT... FROM *lt;tables> BYPASSING BUFFER. ..
This addition guarantees that the data you read is the most up to date. However, as a rule, only
data that does not change frequently should be buffered, and using the buffer where appropriate
improves performance. You should therefore only use this option where really necessary.

What is the difference between start_form and open_form in scripts? Why is it necessary to close a
form always once it is opened?

Answer1:
strat_form using this we can open many layoutses
open_form using this we can open the layout
performance will be high
Answer2:
Open_form -- is used to initialize the spool request.
Start_form-- is used to initialize the layout.

What is diffrence between ON Change of and At New Field ?
Select Single * from and select Upto 1 rows
At new - on change of diffrence: In case if you want calculate sub totals for same values in a
field you can use the atnew statement.ie:
For example in a table sflight, there are 2 fields carrid ( airline id) and seatsmax( seat available).
In case if you want calculate the total number of seats available for each carrrid you can sort the
table first and using the atnew and sum you can claculate the total seats for each carrid. Atnew
will be triggered whenever there is a change in the carrid and the total seats will be returned for
each carrid.
In the same scenario if you use onchange of it will not return the total seats for each carrid,
instead it will return the total seat count for the entire table( ie: for all the carrids in the table.
Another diffrence is atnew can be used only between loop and end loop whereas on change of
can also be used in select- endselect , do -enddo. Another diffrence is while using atnew in case
if you code any write statements between atnew and end at the value for the numeric fields will
be returned as 0 and that of no numeric fields will be returned as *(asteriks). But in on change of
the orginal values will be returned. Select single * and select upto 1 row diffrence.
The select single * from stmt selects only one row form the database table and puts it in to the
work area(internal table). The select upto n(where n stands for a integer number) rows stmt
selects all the rows from the database table but writes only the specified number of rows
specified by the n into the internal table. If its given as upto 1 rows only 1 row is written in to the
internal table.

What is diffrence between ON Change of and At New Field ?
SAP Reports,SAP DB,ALE, SAP Tables questions and answers

(Continued from previous question...)
What is diffrence between ON Change of and At New Field ?
Select Single * from and select Upto 1 rows
At new - on change of diffrence: In case if you want calculate sub totals for same values in a
field you can use the atnew statement.ie:
For example in a table sflight, there are 2 fields carrid ( airline id) and seatsmax( seat available).
In case if you want calculate the total number of seats available for each carrrid you can sort the
table first and using the atnew and sum you can claculate the total seats for each carrid. Atnew
will be triggered whenever there is a change in the carrid and the total seats will be returned for
each carrid.
In the same scenario if you use onchange of it will not return the total seats for each carrid,
instead it will return the total seat count for the entire table( ie: for all the carrids in the table.
Another diffrence is atnew can be used only between loop and end loop whereas on change of
can also be used in select- endselect , do -enddo. Another diffrence is while using atnew in case
if you code any write statements between atnew and end at the value for the numeric fields will
be returned as 0 and that of no numeric fields will be returned as *(asteriks). But in on change of
the orginal values will be returned

Select single * and select upto 1 row diffrence.
The select single * from stmt selects only one row form the database table and puts it in to the work
area(internal table). The select upto n(where n stands for a integer number) rows stmt selects all the
rows from the database table but writes only the specified number of rows specified by the n into the
internal table. If its given as upto 1 rows only 1 row is written in to the internal table

How to assign multiple transaction codes in a session method to BDC_Insert function
module?
Call function ' BDC_Insert'
exporting
tr. code = ' enter tr.code1 here'
table = 'give an internal table related totr.code1 here'
call function 'BDC_INSERT'
exporting
tr.code = ' enter 2nd tr code'
tables = ' 2nd internal table'

“Check” and “Continue”. What is the difference?
Check statement, checks the condition with in a loop and if it satisfies the condition, the control
moves to next statement in the loop. Otherwise, it terminates the loop.
Continue statement, acts like goto statement. If the condition is true, it processes the remaining
statements and if the condition is false, then the control moves to the top of loop.

At-Line selection, At user-command etc..,
In at line-selection system defined fcode will be generated In at user-command we need to define
the fcode and fkey manually then only it will triggers.
“Exit” and “Stop”. What is the difference?
exit statments is exit the current loop. and moving to next loop but stop statement move to end of
selection. it's not check all other loops.

What is the reserve command?
Answer1:
Reverse Command :Reverse N Lines : if there is not enough space left on the current page for
atleast n lines it starts a new page
Answer2:
RESERVE
If insufficient space is there for listing output reserve statement encounters NEW-PAGE.But
before going to new page it processes END-OF-PAGE.
What are event keywords in reports?
Answer1:
Events keywords in Reports are
For Classical Reports,
1.Initialization
2. At line-selection
3. Start-of-selection
4.Top-of-page
5. At user-command
6.End-of-selection
7. End-of-page
8.At Pfn
For Interactive Reports,
9.At line-selection 10. Top-of-page during line selection
For LDB (Logical DataBase) Reports,
10. get 11.put 12. get table

How can validate input values in selection screen and which event was fired?
Answer1:
We can Validate Selection Screen With the Help of the Following Events, the Event Follows the
Same hierachy.
AT SELECTION-SCREEN ON
AT SELECTION-SCREEN ON BLOCK
AT SELECTION-SCREEN OUTPUT
AT SELECTION-SCREEN.
Answer2:
At selection-screen on
select stmt ------------------ where = .
if sy-subrc = 0.
validation success for LOw value in selection screen
At selection-screen on
select stmt-------------------- where =
if sy-subrc <> 0.
validation failure on high value in the selection field.
else
success.
endif

How to navigate basic list to secondary list?
We can Navigate from basic list to secondary list with the help the event called AT LINESELECTION. for every Secondary List the System Field SY-LSIND increases by 1. So there
will be Totally 21 list possible in SAP.
One Basic List 20 Secondary List.
Which is the First character of creating LockObject?
LockObjects always starts with character 'E'.

What is the Difference between Data Element and Domain?
Answer1:
Domain: Defines the attributes such as length,type and possible value range.
Data element; An intermediate object between domain and table type
Answer2:
Domain : technical attributes of dataelement is called domain.
Dataelement : Symantic attributes are called dataelement.
How many types of standard SAP Internal Tables?
1)standered table
2)index table
3)hashed table
4)sorted table

What is the Difference Between Tablecontrols and Step Loops?
Table controls have both horizontal and vertical scrollers and cursor control logic is designed
implicitly.
Step loops have only horizontal scrollers and cursor control logic is to be designed by the user
explicitly.
What are the Events in Dialog Programs?
Events in Dialog Programming are:
PBO-Process Before Output
PAI-Process AFter Input
POH-Process on Help Request
POV-Process on Value Request

How many ways you can create Table?
User can create a Database table in two ways.
1.Top-to-bottom approach: In this approach, first fields are defined and later domain and data
element are defined.
2.Bottom-to-top approach: In this approach, first domain and data element are defined and later
fields are defined.

What are the Cluster Tables?
Cluster tables contain continuous text, for example, documentation. Several cluster tables can be
combined to form a table cluster. Several logical lines of different tables are combined to form a
physical record in this table type. This permits object-by-object storage or object-by-object
access. In order to combine tables in clusters, at least parts of the keys must agree. Several
cluster tables are stored in one corresponding table on the database.

What are function modules in LDB?
Function modules in LDB's are
get
put
get late
What are Difference Between Classical Batch Input and Call Transaction?
Answer1:
In Batch input many transactions can be executed, where as in Call transcation only one
transactioin can be executed.
BI is a background process, Ct can be either background or foreground .
BI is Synchronous process, Ct is both Asynchronous & Synchronous.
BI Sessions cannot be runed parallel.
Log file is generated automaticly in BI, errors can be found through BDCMSGCOLL.

How can you call the Sessions?
using transaction code SM35

Can you call Report in SAP Script?
Yes, we can.
Just write in Line editor:
/:perform f_display_report
-------------------------------/:endperform
THIS PERFORM WOULD BE DECLARED IN THE PRINT PROGRAMME IN WHICH YOU
CAN ALWAYS WRITE STATEMENT
SUBMIT REPORT...
How to Upload Logo to Layout Set and what is Program Name?
You can also upload a Logo in BMP format - it has to be saved as "%^ Colours if it is a colour
Bitmap.
If you don't save a colour Bitmap as 256 Colours then it will be uploaded in Black.
This can be done in Smart Forms, SAPScript or Transaction SE78
What are the SET Parameter and GET Parameter?
To use parameter IDs, you need to “set” (store) values in the global memory area and then “get”
(retrieve) values from this parameter ID memory area. §IIn the case of an online program, you
will “set” values from screen fields and you will “get” these values for screen fields. §YYou can
perform this “set/get” function two ways: § Use the ABAP statements “SET PARAMETER ID”
and “GET PARAMETER ID”. § Use the field attributes “SPA” and “GPA” . §RRemember that
parameter IDs can only be used with ABAP Dictionary fields because parameter IDs are linked
to data elements. The appropriate data elements must have a parameter IDs for this “set/get”
function to work.
What are Text Elements?
Text elements makes program easier to maintain program texts in different languages.
These are used for maintainig list headers,selectiontexts in programs
What is an Interactive Report?
An Interactive report allows the user to participate in retrieving and present data at each
level.while classical report doesn't have access to interact
What are Layout set Elements?
layout set elements are
1.header 2.peragraph formats 3. character formats 4. windows 5. pages 6.page windows
Distinguish between setscreen and call screen?
In the case of setscreen the entire processing of the current screen takes place and then the
system branches out to next screen.if u want to branch out to the next screen without processing
the current screen then LEAVE SCREEN should be used along with SET SCREEN.
CALL SCREEN is usually used for pop up screens
What is ABAP Memory and SAP Memory?
Answer1;
SAP memory is a memory area to which all main sessions within a SAPgui have access. You can
use SAP memory either to pass data from one program to another within a session, or to pass
data from one session to another. Application programs that use SAP memory must do so using
SPA/GPA parameters .
ABAP memory is a memory area that all ABAP programs within the same internal session can
access using the EXPORT and IMPORT statements. Data within this area remains intact during
a whole sequence of program calls. To pass data to a program which you are calling, the data
needs to be placed in ABAP memory before the call is made. The internal session of the called
program then replaces that of the calling program. The program called can then read from the
ABAP memory.
Answer2;
1. SAP memory is for cross-transaction Applications and ABAP/4 memory is transactionspecific.
2. The SAP memory, otherwise known as the global memory, is available to a user during the
entire duration of a terminal session. Its contents are retained across transaction boundaries as
well as external and internal sessions. The contents of the ABAP/4 memory are retained only
during the lifetime of an external session. You can retain or pass data across internal sessions.
3. The SET PARAMETER and GET PARAMETER statements allow you to write to, or read
from, the SAP memory. The EXPORT TO MEMORY and IMPORT FROM MEMORY
statements allow you to write data to, or read data from, the ABAP memory.
Explain Check Table and Value Table ?
check tabke works at table level and value table works at domain level.
check table is nothing but master table that u will create with valid set of values.
value table it provides the list of values and it will automatically proposed as a check table while
creating foreing key relationship
How many types of Standard Internal Tables?
- STANDARD TABLE:
The key is, by default, set to NON-UNIQUE. You may not use the UNIQUE addition.
- SORTED TABLE:
Unlike stadard tables, sorted table have no default setting for the uniqueness attribute. If you do
not specify either UNIQUE or NON-UNIQUE, the system defines a generic table type, where
uniqueness is irrelevant. You can use generic types to specify the type of generic subroutine
parameters.
- HASHED TABLE:
Hashed tables have no default setting. You must use the UNIQUE addition with hashed tables.
You may not use NON-UNIQUE.

What is Refresh in Internal Table?
'Refresh' is the keyworld which clears the contents of an internal table body.

What is the Difference Between Collect and Sum?
COLLECT allows you to create unique or summarized datasets. The system first tries to find a
table entry corresponding to the table key. The key values are taken either from the header line of
the internal table itab, or from the explicitly-specified work area.
If the system finds an entry, the numeric fields that are not part of the table key (see ABAP
number types) are added to the sum total of the existing entries. If it does not find an entry, the
system creates a new entry instead.
The way in which the system finds the entries depends on the type of the internal table:
- STANDARD TABLE:
The system creates a temporary hash administration for the table to find the entries. This means
that the runtime required to find them does not depend on the number of table entries. The
administration is temporary, since it is invalidated by operations like DELETE, INSERT,
MODIFY, SORT, ...). A subsequent COLLECT is then no longer independent of the table size,
because the system has to use a linear search to find entries. For this reason, you should only use
COLLECT to fill standard tables.
- SORTED TABLE:
The system uses a binary search to find the entries. There is a logarithmic relationship between
the number of table entries and the search time.
What are Function Modules?
Answer1:
Function modules is a extranal subroutine.we can call it to outside the program.its a mini
program. its used for redues the coding,easy to find error.
Answer2:
Function modules is like a small program (is not a suboutine because sub-routines are not
standalone objects-i.e we cannot execute them alone) which are similar to 'functions' in C.
We can pass the varible and get the return values even with out knowing what is happening in its
code.
They are standalone programs-i.e.we can debug and execute them alone unlike subroutines and
macros and includes.
What is CAT?
"CAT" Computer Aided Test Tool. Used to create test cases for application testing purposes.
What is LDB?
Logical Database is an ABAP program which retrieves data from various tables
Which are interrelated and provides a read olny view of the data.
What are the various techniques of BDC?
call transaction
session method
direct input method
What is SQL Trace?
SQL Tracer is a tool used to measure the performance of ABAP program.
T.code :st05
What is LUW?
It is a span of time during which database records are updated either
commit or rollback.
Have you worked with reading and writing data on to files?
YES, open dataset <filename> for output. read dataset <filename> from itab. close dataset
<filename>.
Have you created tables in SAP? What are client dependent and independent tables? How
do you create independent tables?
Tables which are having MANDT field is called as client dependent tables. Tables which are not
having MANDT field is called as client independent tables.
Have you used SM30 and SM31 transactions?
sm30 is used to view the ' Call Up View Maintenance ' and SM31 is to view the ' Table
maintenance ' with
How many dictionary objects are there and list all
Available Dictionary Objects are Domains, Viwes, Match Codes, Lock Objects, Structures, Data
Elements, Intenal Types.
What is the difference between transparent and non transparent database tables?
Transparent tables have 1 - 1 cardinality b/w Data Dictionary and Database, and non transparent
( Cluster and Pooled) tables have Many - 1 cardinality.
Transparent table can access with using OPen & NAtive SQL stmts where as Nontransparent
only OPen Sql.
Transparent trables can store Table relevent data and non transparent tables can store system
data/ application data based on the transparent tables
What is ALE, IDOC , EDI , RFC. Explain briefly.
ALE: application linking enabling
IDOC: intermediatary documents
EDI: electronic data interchange
RFC: remote function call
What is a binary search?
Binary Search is used in internal table for searching the records. its means record searched one
by one from top & bottom both side.so its a easy nd fast way to find the record.bt pointer
searching is better.
Types of User Exits, what kind of work is done on these exits?
File Exit, Menu Exit, Function Exit.

How will you find out where the user exits are available?
CMOD : This transaction allows you to create a PROJECT by identifying its
ENHANCEMENT(S). After determining all of the ENHANCEMENTS that are part of the
PROJECT, you will have to activate the PROJECT. You will still need to code your user-exit;
therefore, you may want to wait until this step is completed before activating the PROJECT.
§SMOD : This transaction allows you to create an ENHANCEMENT, which you will include in
a PROJECT, by identifying its COMPONENT(S). In the case where SAP has already created an
ENHANCEMENT for its pre-defined user-exits, you will not need to use transaction SMOD;
instead, you should just use transaction CMOD.
Have you created any transactions?
Yes,
We can use TC SE93 for creating our own transaction code.
Difference between Table-Controls and Step-loops?
Table controls are modified / mproved versions of step loops.
in controls we can do,
horizontal scrolling,
vertical scrolling,
scrolling in a perticular field,
resize the table,
can save the settings for future use,
can make selective columns editable,....etc
these things are not possible with step loops.
step loops are controlled by loop-endloop statements

Import and Export
ABAP memory is a memory area that all ABAP programs within the same internal session can
access using the EXPORT and IMPORT statements. Data within this area remains intact during
a whole sequence of program calls. To pass data to a program which you are calling, the data
needs to be placed in ABAP memory before the call is made. The internal session of the called
program then replaces that of the calling program. The program called can then read from the
ABAP memory. If control is then returned to the program which made the initial call, the same
process operates in reverse
What is an “Unpack command”
UNPACK field1TO field2 .Unpacks the packed field field1 and places it in the field field2 with
leading zeros. If field2 is too short, it is truncated on the left.
What are the tools used in SAP Implementation? How do you create Alert Messages?
One of the Tools being used for SAP Implemention is QuickSizer, which is used to size the SAP
Server based on number of users using various modules in SAP.
Alert Message is created in the CCMS monitor using TCodes RZ20 and RZ21. The values for
Alert AutoReaction Methods are defined using the TCode RZ21, while this particular method is
assigned to the Monitoring Tree Element (MTE) in the TCode RZ20.
One as well can have an Alert Management System, where alerts from the Entire Landscape can
be configured in a Central Moitoring System from where it can trigger a alert mail or SMS to the
concerned Administrator
When spool buffer is full and new spool request is raised what happens to the
request?where does the request stored?
The new spool request will be in the queue. If it is urgent request then the current request will be
be stoped and newrequest will be send.
Whats the difference between R3trans and Tp in SAP-DBA?
R/3trans is the R/3 system transport program which can be used for transporting data between
different SAP systems ,even when they dont belong to the same group. R3trans normally is not
used directorly but called from the Tp controle program or by the R/3 upgrade. Tp is the basic
tool for the transporting the request.
What is “Group by” in Select statement?
Answer1:
Group by is used to fetch a unique data from a column.
Answer2:
A "group by" is used to group selected rows in a table to perform arg functions on them. Rows
not included in the "group by" clouse and not part of ARG functions cannot be used ...(logical
grouping of data) or orerations performed (on groups of data) can be used with the "HAVING"
clause to further refine the output.
ex of some ARG functions : SUM() , MIN(),MAX(), AVG()

Select statement to read data into internal tables. Types of Select statements
select * from database table into (internal table name)
the above statement collects data into the header area of the internal table.
and
select * from database table into table (internal table name)
the above statement collects the data into the body area directly

Explain “Commit” and “Roll back”
The Oracle RDBMS provides a transaction model based on a unit of work. The PL/SQL
language supports most, but not all, of the database model for transactions (you cannot, for
example, ROLLBACK FORCE). Transactions begin with the first change to data and end with
either a COMMIT or ROLLBACK.
COMMIT makes the database changes permanent and visible to other database sessions.
ROLLBACK undoes the changes made in the current transaction either to the beginning of the
transaction or to a savepoint. A savepoint is a named processing point in a transaction, created
with the SAVEPOINT statement. Rolling back to a savepoint is a partial rollback of a
transaction, wiping out all changes (and savepoints) that occurred later than the named savepoint.
What happens “Update” command is used without where clause ?
Answer1:
It will update all the records with same name in the particular field of the table.
Answer2:
If we dont mention "WHERE" clause in the UPDATE statement, it will update all records
satisfying the given condition (if given any ) in the table !
Answer3:
Based on query condition. it will update all the fields which are mentioned in the query.
ex: update employee set firstname= @firstname,lastname=@lastname where employee_id
=@employee_id.
so in the above case nothing wil be happen if you used where clause or not.
if you have many statements in the query you need to use the where clause.
What are logical databases?
Answer1:
insert' will add a new record or a new row into the database table.
'Update' will modify a record in the DB table.
'Modify' it is a combination of both insert and update...
Answer2:
INSERT - Add a new record into the database table.
MODIFY - If record is available it modifies otherwise it wont modify.
UPDATE - If record is available its update the record otherwise it creates a new record.
Difference between “Insert”, “Update” and “Modify”
INSERT - Add a new record into the database table.
MODIFY - If record is available it modifies otherwise it wont modify.
UPDATE - If record is available its update the record otherwise it creates a new
“Catch” Command
Trying to catch any runtime errors programatically or manually we use this statement catch.
What is the difference between internel table and structure?
There are theree types of structure:1. Flat structure( elementry fields)
2. Nested structure ( type reference to other structure)
3. deep structure ( type reference to database tables)
Explain row type and line type concept
line type refers to the structure of an internal table,whereas row type is the actual part that
contains the data and it refers to the table body.creating internal table using line type and row
type concept is for reusability purpose.Line type and Row type are defined at DDIC LEVEL.
Can any one give me brief explanation about internal tables, and workarea ?
*An internal table is a run time instance. It get created when program starts execution.
*It get destroyed when program terminates. It has two different parts: HeaderLine(optional) and
Body(Compulsory).
*Any value that comes to or goes from interanal table, that travels through headerline.
How to eliminate duplicate entries in internal tables?
Answer1:
SORT itab.DELETE ADJACENT DUPLICATES FROM itab COMPARING ALL FIELDS.
Answer2:
The following syntax:
SORT itab <fieldname>.
delete adjcent duplicates from itab comparing .
Size of the internal tables?
The size of the internal tables are set using the 'occurs n' clause. Here n refers to a integer
number that specifies the size. Usually its given as 'occurs 0' which creates an itab with the
memmory space of 8kb.
What is the basic difference internal tables and database tables? How can we differentiate
by looking at the tables? Handling of internal tables
The basic difference is database tables are stored in DB server
and the internal tables are virtual tables these are created run time only
Internal tables are created dynamically, the memory of internal tables is not
permant memory, for internal tables the memory will be created in the application server and it is
external memory and terminates after the program termination.
On ABAP: Did you set up a workflow? Are you familiar with all steps for setting up a
workflow?
Yes.
Execute the Txn SWDD(Creating a new Workflow).
In the header of the Workflow, define the Business Object and Event you refer to for triggering
the Wf.
Create the Steps required for your workflow(Activity).
Inside the Activity, Create the task and assign the Business Object and the related method for
that business object.
Activate the Workflow
Q: Is there any standard SAP report which gives a count of the number of times a program
is executed ?
A: Try transaction STAT
Q: What are some sample Direct input data transfer programs?
A: In MM for Material Master data - RMDATIND
FI - for Accounting Documents - RFBIBL00
PP - for Independent requirements - RM06IN00
CA - for Classification data - RCCLBI03
Q: In a Dev instance, we want to transport a modification to a layout set from one client to
another. What is the best way?
A: use transaction SE71. Choose Utilities->Copy from Client. Layout sets need not be
transported between clients , via transport requests DEVKxxxxxx.
We get the total number of pages as expected by using 'SAPSCRIPT-FORMPAGES' in a
duplex layout....
Q: We get the total number of pages as expected by using 'SAPSCRIPT-FORMPAGES' in a
duplex layout. In our case duplex case is always 'Terms & Conditions'. We do not want the
number of pages as in duplex printing. What is the best possible solution?
A: On the Terms & Conditions page, Change the Page counter mode to 'HOLD' to keep the page
counter from incrementing when you print the Term & Conditions.
Q: How can we send a mail to the user intimating him that his report/BDC is completed in
background?
A: You can use FUNCTION RS_SEND_MAIL_FOR_SPOOLLIST
Q: Our ABAP program is working properly in Foreground. Can I schedule it for
background processing on the weekend?
A: SAP standard program RSBDCSUB helps you to schedule the job. Create a variant for
RSBDCSUB with the BDC session name.
Q: How to lock an user defined transaction for some time during which no user can access
the same?
A: Use transaction SM01. Scroll through the transactions and check against the transaction to be
locked. And after the maintenance is over, go back to SM01 and uncheck the same to unlock.
Q: How can I access SAP through Internet?
A: SAP has its own Internet transaction Server (ITS) . Other products include Haht, WebObjects,
NetDynamics etc. Each product has its' own architecture. However to access the database, access
paths SAP GUI or RFC Channel have to be used
What is table buffer? Which type of tables used this buffer?
buffer is nothing but a memory area. table is buffered means that table information is available
on application server. when you call data from database table it will come from application
server. transperent and pooled tables are buffered. cluster tables can not buffered.
Difference between /N and /BEND ?
/BEND terminates the batch input processing and sets the session to be failed.
/N terminates the current batch input transaction.

Contenu connexe

Tendances (16)

Introduction to MySQL - Part 2
Introduction to MySQL - Part 2Introduction to MySQL - Part 2
Introduction to MySQL - Part 2
 
ch13
ch13ch13
ch13
 
Mysql Optimization
Mysql OptimizationMysql Optimization
Mysql Optimization
 
Unit2 control statements
Unit2 control statementsUnit2 control statements
Unit2 control statements
 
Computer notes - Expression Tree
Computer notes - Expression TreeComputer notes - Expression Tree
Computer notes - Expression Tree
 
Binary expression tree
Binary expression treeBinary expression tree
Binary expression tree
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
1.4 expression tree
1.4 expression tree  1.4 expression tree
1.4 expression tree
 
Excel Tips
Excel TipsExcel Tips
Excel Tips
 
Excel Tips
Excel TipsExcel Tips
Excel Tips
 
SQL(database)
SQL(database)SQL(database)
SQL(database)
 
10053 - null is not nothing
10053 - null is not nothing10053 - null is not nothing
10053 - null is not nothing
 
Error correction-and-type-of-error-in-c
Error correction-and-type-of-error-in-cError correction-and-type-of-error-in-c
Error correction-and-type-of-error-in-c
 
AS TASKS #8
AS TASKS #8AS TASKS #8
AS TASKS #8
 
Procedures And Functions in Matlab
Procedures And Functions in MatlabProcedures And Functions in Matlab
Procedures And Functions in Matlab
 
C programming part4
C programming part4C programming part4
C programming part4
 

En vedette

Definition of Done Statement
Definition of Done StatementDefinition of Done Statement
Definition of Done StatementNigel Thurlow
 
BAD NEWS MESSAGES CH:09
BAD NEWS MESSAGES CH:09BAD NEWS MESSAGES CH:09
BAD NEWS MESSAGES CH:09Rafia Ahmed
 
Masalah yang Dihadapi Ketika Membuat Kek
Masalah yang Dihadapi Ketika Membuat KekMasalah yang Dihadapi Ketika Membuat Kek
Masalah yang Dihadapi Ketika Membuat KekCik Kyra
 
Union budget analysis
Union budget analysisUnion budget analysis
Union budget analysisGaurav Tuli
 
Simon says stand out
Simon says stand outSimon says stand out
Simon says stand outSimon Hurry
 
SFM Lesson 3
SFM Lesson 3SFM Lesson 3
SFM Lesson 3TonyC445
 
DeanIovenitti_WaterQualityReport
DeanIovenitti_WaterQualityReportDeanIovenitti_WaterQualityReport
DeanIovenitti_WaterQualityReportDean Iovenitti
 
Sponsorpresentatie rvpcbaexem
Sponsorpresentatie rvpcbaexemSponsorpresentatie rvpcbaexem
Sponsorpresentatie rvpcbaexemAED Solutions
 
מצגת זיקית
מצגת  זיקיתמצגת  זיקית
מצגת זיקיתLital Ifrah
 
Accenture-Technology-Vision-for-Revenue-Agencies-Pov-Web
Accenture-Technology-Vision-for-Revenue-Agencies-Pov-WebAccenture-Technology-Vision-for-Revenue-Agencies-Pov-Web
Accenture-Technology-Vision-for-Revenue-Agencies-Pov-WebSudhir Pitlam
 
Cómo controlar la ansiedad por comer presentación.
Cómo controlar la ansiedad por comer presentación.Cómo controlar la ansiedad por comer presentación.
Cómo controlar la ansiedad por comer presentación.Damián Cáceres
 
0851 0004 2009 (t sel) infaq dalam islam, sedekah kreatif, sedekah hebat
0851 0004 2009 (t sel) infaq dalam islam, sedekah kreatif, sedekah hebat0851 0004 2009 (t sel) infaq dalam islam, sedekah kreatif, sedekah hebat
0851 0004 2009 (t sel) infaq dalam islam, sedekah kreatif, sedekah hebatSinergi Sedekah
 
【再放送】サービスのベストプラクティス【スタートアップ学部・基礎科目】
【再放送】サービスのベストプラクティス【スタートアップ学部・基礎科目】【再放送】サービスのベストプラクティス【スタートアップ学部・基礎科目】
【再放送】サービスのベストプラクティス【スタートアップ学部・基礎科目】schoowebcampus
 

En vedette (20)

Definition of Done Statement
Definition of Done StatementDefinition of Done Statement
Definition of Done Statement
 
BAD NEWS MESSAGES CH:09
BAD NEWS MESSAGES CH:09BAD NEWS MESSAGES CH:09
BAD NEWS MESSAGES CH:09
 
Bad news messages
Bad news messagesBad news messages
Bad news messages
 
Bad news messages
Bad news messagesBad news messages
Bad news messages
 
Masalah yang Dihadapi Ketika Membuat Kek
Masalah yang Dihadapi Ketika Membuat KekMasalah yang Dihadapi Ketika Membuat Kek
Masalah yang Dihadapi Ketika Membuat Kek
 
Union budget analysis
Union budget analysisUnion budget analysis
Union budget analysis
 
Simon says stand out
Simon says stand outSimon says stand out
Simon says stand out
 
Chapters 34 40
Chapters 34 40Chapters 34 40
Chapters 34 40
 
Las virtudes
Las virtudesLas virtudes
Las virtudes
 
SFM Lesson 3
SFM Lesson 3SFM Lesson 3
SFM Lesson 3
 
Mendafta re pustakawan
Mendafta re pustakawanMendafta re pustakawan
Mendafta re pustakawan
 
DeanIovenitti_WaterQualityReport
DeanIovenitti_WaterQualityReportDeanIovenitti_WaterQualityReport
DeanIovenitti_WaterQualityReport
 
Sponsorpresentatie rvpcbaexem
Sponsorpresentatie rvpcbaexemSponsorpresentatie rvpcbaexem
Sponsorpresentatie rvpcbaexem
 
מצגת זיקית
מצגת  זיקיתמצגת  זיקית
מצגת זיקית
 
Theory of morality
Theory of moralityTheory of morality
Theory of morality
 
Accenture-Technology-Vision-for-Revenue-Agencies-Pov-Web
Accenture-Technology-Vision-for-Revenue-Agencies-Pov-WebAccenture-Technology-Vision-for-Revenue-Agencies-Pov-Web
Accenture-Technology-Vision-for-Revenue-Agencies-Pov-Web
 
Cómo controlar la ansiedad por comer presentación.
Cómo controlar la ansiedad por comer presentación.Cómo controlar la ansiedad por comer presentación.
Cómo controlar la ansiedad por comer presentación.
 
0851 0004 2009 (t sel) infaq dalam islam, sedekah kreatif, sedekah hebat
0851 0004 2009 (t sel) infaq dalam islam, sedekah kreatif, sedekah hebat0851 0004 2009 (t sel) infaq dalam islam, sedekah kreatif, sedekah hebat
0851 0004 2009 (t sel) infaq dalam islam, sedekah kreatif, sedekah hebat
 
BB044 H3
BB044 H3BB044 H3
BB044 H3
 
【再放送】サービスのベストプラクティス【スタートアップ学部・基礎科目】
【再放送】サービスのベストプラクティス【スタートアップ学部・基礎科目】【再放送】サービスのベストプラクティス【スタートアップ学部・基礎科目】
【再放送】サービスのベストプラクティス【スタートアップ学部・基礎科目】
 

Similaire à Interview Preparation

Top 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.comTop 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.combigclasses.com
 
13. Query Processing in DBMS
13. Query Processing in DBMS13. Query Processing in DBMS
13. Query Processing in DBMSkoolkampus
 
Maryna Popova "Deep dive AWS Redshift"
Maryna Popova "Deep dive AWS Redshift"Maryna Popova "Deep dive AWS Redshift"
Maryna Popova "Deep dive AWS Redshift"Lviv Startup Club
 
Sap abap interview questions
Sap abap interview questionsSap abap interview questions
Sap abap interview questionskssr99
 
Oracle Join Methods and 12c Adaptive Plans
Oracle Join Methods and 12c Adaptive PlansOracle Join Methods and 12c Adaptive Plans
Oracle Join Methods and 12c Adaptive PlansFranck Pachot
 
22827361 ab initio-fa-qs
22827361 ab initio-fa-qs22827361 ab initio-fa-qs
22827361 ab initio-fa-qsCapgemini
 
Introduction to flowchart
Introduction to flowchartIntroduction to flowchart
Introduction to flowchartJordan Delacruz
 
Star Transformation, 12c Adaptive Bitmap Pruning and In-Memory option
Star Transformation, 12c Adaptive Bitmap Pruning and In-Memory optionStar Transformation, 12c Adaptive Bitmap Pruning and In-Memory option
Star Transformation, 12c Adaptive Bitmap Pruning and In-Memory optionFranck Pachot
 
Low Level Prog. (from 201-c).ppt
Low Level Prog. (from 201-c).pptLow Level Prog. (from 201-c).ppt
Low Level Prog. (from 201-c).pptLearnWithJCM
 
Sap abap questions
Sap abap questionsSap abap questions
Sap abap questionsrasikaj123
 
Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...
Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...
Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...KarenMiner
 

Similaire à Interview Preparation (20)

Abap Questions
Abap QuestionsAbap Questions
Abap Questions
 
Abap
AbapAbap
Abap
 
Top 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.comTop 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.com
 
Advance excel
Advance excelAdvance excel
Advance excel
 
ADVANCE ITT BY PRASAD
ADVANCE ITT BY PRASADADVANCE ITT BY PRASAD
ADVANCE ITT BY PRASAD
 
13. Query Processing in DBMS
13. Query Processing in DBMS13. Query Processing in DBMS
13. Query Processing in DBMS
 
Sap query for task list data extraction
Sap query for task list data extractionSap query for task list data extraction
Sap query for task list data extraction
 
BAPI - Criação de Ordem de Manutenção
BAPI - Criação de Ordem de ManutençãoBAPI - Criação de Ordem de Manutenção
BAPI - Criação de Ordem de Manutenção
 
Sap abap
Sap abapSap abap
Sap abap
 
Maryna Popova "Deep dive AWS Redshift"
Maryna Popova "Deep dive AWS Redshift"Maryna Popova "Deep dive AWS Redshift"
Maryna Popova "Deep dive AWS Redshift"
 
Sap abap interview questions
Sap abap interview questionsSap abap interview questions
Sap abap interview questions
 
Oracle Join Methods and 12c Adaptive Plans
Oracle Join Methods and 12c Adaptive PlansOracle Join Methods and 12c Adaptive Plans
Oracle Join Methods and 12c Adaptive Plans
 
258lec11
258lec11258lec11
258lec11
 
22827361 ab initio-fa-qs
22827361 ab initio-fa-qs22827361 ab initio-fa-qs
22827361 ab initio-fa-qs
 
Introduction to flowchart
Introduction to flowchartIntroduction to flowchart
Introduction to flowchart
 
Star Transformation, 12c Adaptive Bitmap Pruning and In-Memory option
Star Transformation, 12c Adaptive Bitmap Pruning and In-Memory optionStar Transformation, 12c Adaptive Bitmap Pruning and In-Memory option
Star Transformation, 12c Adaptive Bitmap Pruning and In-Memory option
 
Ab ap faq
Ab ap faqAb ap faq
Ab ap faq
 
Low Level Prog. (from 201-c).ppt
Low Level Prog. (from 201-c).pptLow Level Prog. (from 201-c).ppt
Low Level Prog. (from 201-c).ppt
 
Sap abap questions
Sap abap questionsSap abap questions
Sap abap questions
 
Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...
Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...
Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...
 

Plus de Ravi Kanudawala

Classical ABAP interactive report
Classical ABAP interactive reportClassical ABAP interactive report
Classical ABAP interactive reportRavi Kanudawala
 
Forecasting Presentation
Forecasting PresentationForecasting Presentation
Forecasting PresentationRavi Kanudawala
 
Alv interactive ABAPreport
Alv interactive ABAPreportAlv interactive ABAPreport
Alv interactive ABAPreportRavi Kanudawala
 
Call transaction method of BDC
Call transaction method of BDCCall transaction method of BDC
Call transaction method of BDCRavi Kanudawala
 
Call session Method of BDC
Call session Method of BDCCall session Method of BDC
Call session Method of BDCRavi Kanudawala
 

Plus de Ravi Kanudawala (7)

Classical ABAP interactive report
Classical ABAP interactive reportClassical ABAP interactive report
Classical ABAP interactive report
 
Classical report
Classical reportClassical report
Classical report
 
Forecasting Presentation
Forecasting PresentationForecasting Presentation
Forecasting Presentation
 
Alv interactive ABAPreport
Alv interactive ABAPreportAlv interactive ABAPreport
Alv interactive ABAPreport
 
Call transaction method of BDC
Call transaction method of BDCCall transaction method of BDC
Call transaction method of BDC
 
Call session Method of BDC
Call session Method of BDCCall session Method of BDC
Call session Method of BDC
 
Sap abap report program
Sap abap report programSap abap report program
Sap abap report program
 

Dernier

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 

Dernier (20)

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 

Interview Preparation

  • 1. A table is bufferd. By select statement I don't want to get the data from table buffer. I want to get thae data from database. How? If buffering is allowed for a table in the ABAP Dictionary, the SELECT statement always reads the data from the buffer in the database interface of the current application server. To read data directly from the database table instead of from the buffer, use the following: SELECT... FROM *lt;tables> BYPASSING BUFFER. .. This addition guarantees that the data you read is the most up to date. However, as a rule, only data that does not change frequently should be buffered, and using the buffer where appropriate improves performance. You should therefore only use this option where really necessary. What is the difference between start_form and open_form in scripts? Why is it necessary to close a form always once it is opened? Answer1: strat_form using this we can open many layoutses open_form using this we can open the layout performance will be high Answer2: Open_form -- is used to initialize the spool request. Start_form-- is used to initialize the layout. What is diffrence between ON Change of and At New Field ? Select Single * from and select Upto 1 rows At new - on change of diffrence: In case if you want calculate sub totals for same values in a field you can use the atnew statement.ie: For example in a table sflight, there are 2 fields carrid ( airline id) and seatsmax( seat available). In case if you want calculate the total number of seats available for each carrrid you can sort the table first and using the atnew and sum you can claculate the total seats for each carrid. Atnew will be triggered whenever there is a change in the carrid and the total seats will be returned for each carrid. In the same scenario if you use onchange of it will not return the total seats for each carrid, instead it will return the total seat count for the entire table( ie: for all the carrids in the table. Another diffrence is atnew can be used only between loop and end loop whereas on change of can also be used in select- endselect , do -enddo. Another diffrence is while using atnew in case
  • 2. if you code any write statements between atnew and end at the value for the numeric fields will be returned as 0 and that of no numeric fields will be returned as *(asteriks). But in on change of the orginal values will be returned. Select single * and select upto 1 row diffrence. The select single * from stmt selects only one row form the database table and puts it in to the work area(internal table). The select upto n(where n stands for a integer number) rows stmt selects all the rows from the database table but writes only the specified number of rows specified by the n into the internal table. If its given as upto 1 rows only 1 row is written in to the internal table. What is diffrence between ON Change of and At New Field ? SAP Reports,SAP DB,ALE, SAP Tables questions and answers (Continued from previous question...) What is diffrence between ON Change of and At New Field ? Select Single * from and select Upto 1 rows At new - on change of diffrence: In case if you want calculate sub totals for same values in a field you can use the atnew statement.ie: For example in a table sflight, there are 2 fields carrid ( airline id) and seatsmax( seat available). In case if you want calculate the total number of seats available for each carrrid you can sort the table first and using the atnew and sum you can claculate the total seats for each carrid. Atnew will be triggered whenever there is a change in the carrid and the total seats will be returned for each carrid. In the same scenario if you use onchange of it will not return the total seats for each carrid, instead it will return the total seat count for the entire table( ie: for all the carrids in the table. Another diffrence is atnew can be used only between loop and end loop whereas on change of can also be used in select- endselect , do -enddo. Another diffrence is while using atnew in case if you code any write statements between atnew and end at the value for the numeric fields will be returned as 0 and that of no numeric fields will be returned as *(asteriks). But in on change of the orginal values will be returned Select single * and select upto 1 row diffrence. The select single * from stmt selects only one row form the database table and puts it in to the work area(internal table). The select upto n(where n stands for a integer number) rows stmt selects all the
  • 3. rows from the database table but writes only the specified number of rows specified by the n into the internal table. If its given as upto 1 rows only 1 row is written in to the internal table How to assign multiple transaction codes in a session method to BDC_Insert function module? Call function ' BDC_Insert' exporting tr. code = ' enter tr.code1 here' table = 'give an internal table related totr.code1 here' call function 'BDC_INSERT' exporting tr.code = ' enter 2nd tr code' tables = ' 2nd internal table' “Check” and “Continue”. What is the difference? Check statement, checks the condition with in a loop and if it satisfies the condition, the control moves to next statement in the loop. Otherwise, it terminates the loop. Continue statement, acts like goto statement. If the condition is true, it processes the remaining statements and if the condition is false, then the control moves to the top of loop. At-Line selection, At user-command etc.., In at line-selection system defined fcode will be generated In at user-command we need to define the fcode and fkey manually then only it will triggers. “Exit” and “Stop”. What is the difference? exit statments is exit the current loop. and moving to next loop but stop statement move to end of selection. it's not check all other loops. What is the reserve command? Answer1: Reverse Command :Reverse N Lines : if there is not enough space left on the current page for atleast n lines it starts a new page
  • 4. Answer2: RESERVE If insufficient space is there for listing output reserve statement encounters NEW-PAGE.But before going to new page it processes END-OF-PAGE. What are event keywords in reports? Answer1: Events keywords in Reports are For Classical Reports, 1.Initialization 2. At line-selection 3. Start-of-selection 4.Top-of-page 5. At user-command 6.End-of-selection 7. End-of-page 8.At Pfn For Interactive Reports, 9.At line-selection 10. Top-of-page during line selection For LDB (Logical DataBase) Reports, 10. get 11.put 12. get table How can validate input values in selection screen and which event was fired? Answer1: We can Validate Selection Screen With the Help of the Following Events, the Event Follows the Same hierachy. AT SELECTION-SCREEN ON AT SELECTION-SCREEN ON BLOCK AT SELECTION-SCREEN OUTPUT AT SELECTION-SCREEN. Answer2: At selection-screen on select stmt ------------------ where = . if sy-subrc = 0. validation success for LOw value in selection screen At selection-screen on select stmt-------------------- where = if sy-subrc <> 0. validation failure on high value in the selection field.
  • 5. else success. endif How to navigate basic list to secondary list? We can Navigate from basic list to secondary list with the help the event called AT LINESELECTION. for every Secondary List the System Field SY-LSIND increases by 1. So there will be Totally 21 list possible in SAP. One Basic List 20 Secondary List. Which is the First character of creating LockObject? LockObjects always starts with character 'E'. What is the Difference between Data Element and Domain? Answer1: Domain: Defines the attributes such as length,type and possible value range. Data element; An intermediate object between domain and table type Answer2: Domain : technical attributes of dataelement is called domain. Dataelement : Symantic attributes are called dataelement. How many types of standard SAP Internal Tables? 1)standered table 2)index table 3)hashed table 4)sorted table What is the Difference Between Tablecontrols and Step Loops? Table controls have both horizontal and vertical scrollers and cursor control logic is designed implicitly.
  • 6. Step loops have only horizontal scrollers and cursor control logic is to be designed by the user explicitly. What are the Events in Dialog Programs? Events in Dialog Programming are: PBO-Process Before Output PAI-Process AFter Input POH-Process on Help Request POV-Process on Value Request How many ways you can create Table? User can create a Database table in two ways. 1.Top-to-bottom approach: In this approach, first fields are defined and later domain and data element are defined. 2.Bottom-to-top approach: In this approach, first domain and data element are defined and later fields are defined. What are the Cluster Tables? Cluster tables contain continuous text, for example, documentation. Several cluster tables can be combined to form a table cluster. Several logical lines of different tables are combined to form a physical record in this table type. This permits object-by-object storage or object-by-object access. In order to combine tables in clusters, at least parts of the keys must agree. Several cluster tables are stored in one corresponding table on the database. What are function modules in LDB? Function modules in LDB's are get put get late What are Difference Between Classical Batch Input and Call Transaction?
  • 7. Answer1: In Batch input many transactions can be executed, where as in Call transcation only one transactioin can be executed. BI is a background process, Ct can be either background or foreground . BI is Synchronous process, Ct is both Asynchronous & Synchronous. BI Sessions cannot be runed parallel. Log file is generated automaticly in BI, errors can be found through BDCMSGCOLL. How can you call the Sessions? using transaction code SM35 Can you call Report in SAP Script? Yes, we can. Just write in Line editor: /:perform f_display_report -------------------------------/:endperform THIS PERFORM WOULD BE DECLARED IN THE PRINT PROGRAMME IN WHICH YOU CAN ALWAYS WRITE STATEMENT SUBMIT REPORT... How to Upload Logo to Layout Set and what is Program Name? You can also upload a Logo in BMP format - it has to be saved as "%^ Colours if it is a colour Bitmap. If you don't save a colour Bitmap as 256 Colours then it will be uploaded in Black. This can be done in Smart Forms, SAPScript or Transaction SE78 What are the SET Parameter and GET Parameter? To use parameter IDs, you need to “set” (store) values in the global memory area and then “get” (retrieve) values from this parameter ID memory area. §IIn the case of an online program, you will “set” values from screen fields and you will “get” these values for screen fields. §YYou can perform this “set/get” function two ways: § Use the ABAP statements “SET PARAMETER ID” and “GET PARAMETER ID”. § Use the field attributes “SPA” and “GPA” . §RRemember that parameter IDs can only be used with ABAP Dictionary fields because parameter IDs are linked to data elements. The appropriate data elements must have a parameter IDs for this “set/get” function to work.
  • 8. What are Text Elements? Text elements makes program easier to maintain program texts in different languages. These are used for maintainig list headers,selectiontexts in programs What is an Interactive Report? An Interactive report allows the user to participate in retrieving and present data at each level.while classical report doesn't have access to interact What are Layout set Elements? layout set elements are 1.header 2.peragraph formats 3. character formats 4. windows 5. pages 6.page windows Distinguish between setscreen and call screen? In the case of setscreen the entire processing of the current screen takes place and then the system branches out to next screen.if u want to branch out to the next screen without processing the current screen then LEAVE SCREEN should be used along with SET SCREEN. CALL SCREEN is usually used for pop up screens What is ABAP Memory and SAP Memory? Answer1; SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters . ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. Answer2; 1. SAP memory is for cross-transaction Applications and ABAP/4 memory is transactionspecific. 2. The SAP memory, otherwise known as the global memory, is available to a user during the entire duration of a terminal session. Its contents are retained across transaction boundaries as well as external and internal sessions. The contents of the ABAP/4 memory are retained only
  • 9. during the lifetime of an external session. You can retain or pass data across internal sessions. 3. The SET PARAMETER and GET PARAMETER statements allow you to write to, or read from, the SAP memory. The EXPORT TO MEMORY and IMPORT FROM MEMORY statements allow you to write data to, or read data from, the ABAP memory. Explain Check Table and Value Table ? check tabke works at table level and value table works at domain level. check table is nothing but master table that u will create with valid set of values. value table it provides the list of values and it will automatically proposed as a check table while creating foreing key relationship How many types of Standard Internal Tables? - STANDARD TABLE: The key is, by default, set to NON-UNIQUE. You may not use the UNIQUE addition. - SORTED TABLE: Unlike stadard tables, sorted table have no default setting for the uniqueness attribute. If you do not specify either UNIQUE or NON-UNIQUE, the system defines a generic table type, where uniqueness is irrelevant. You can use generic types to specify the type of generic subroutine parameters. - HASHED TABLE: Hashed tables have no default setting. You must use the UNIQUE addition with hashed tables. You may not use NON-UNIQUE. What is Refresh in Internal Table? 'Refresh' is the keyworld which clears the contents of an internal table body. What is the Difference Between Collect and Sum? COLLECT allows you to create unique or summarized datasets. The system first tries to find a table entry corresponding to the table key. The key values are taken either from the header line of the internal table itab, or from the explicitly-specified work area. If the system finds an entry, the numeric fields that are not part of the table key (see ABAP number types) are added to the sum total of the existing entries. If it does not find an entry, the system creates a new entry instead. The way in which the system finds the entries depends on the type of the internal table:
  • 10. - STANDARD TABLE: The system creates a temporary hash administration for the table to find the entries. This means that the runtime required to find them does not depend on the number of table entries. The administration is temporary, since it is invalidated by operations like DELETE, INSERT, MODIFY, SORT, ...). A subsequent COLLECT is then no longer independent of the table size, because the system has to use a linear search to find entries. For this reason, you should only use COLLECT to fill standard tables. - SORTED TABLE: The system uses a binary search to find the entries. There is a logarithmic relationship between the number of table entries and the search time. What are Function Modules? Answer1: Function modules is a extranal subroutine.we can call it to outside the program.its a mini program. its used for redues the coding,easy to find error. Answer2: Function modules is like a small program (is not a suboutine because sub-routines are not standalone objects-i.e we cannot execute them alone) which are similar to 'functions' in C. We can pass the varible and get the return values even with out knowing what is happening in its code. They are standalone programs-i.e.we can debug and execute them alone unlike subroutines and macros and includes. What is CAT? "CAT" Computer Aided Test Tool. Used to create test cases for application testing purposes. What is LDB? Logical Database is an ABAP program which retrieves data from various tables Which are interrelated and provides a read olny view of the data. What are the various techniques of BDC? call transaction session method direct input method What is SQL Trace?
  • 11. SQL Tracer is a tool used to measure the performance of ABAP program. T.code :st05 What is LUW? It is a span of time during which database records are updated either commit or rollback. Have you worked with reading and writing data on to files? YES, open dataset <filename> for output. read dataset <filename> from itab. close dataset <filename>. Have you created tables in SAP? What are client dependent and independent tables? How do you create independent tables? Tables which are having MANDT field is called as client dependent tables. Tables which are not having MANDT field is called as client independent tables. Have you used SM30 and SM31 transactions? sm30 is used to view the ' Call Up View Maintenance ' and SM31 is to view the ' Table maintenance ' with How many dictionary objects are there and list all Available Dictionary Objects are Domains, Viwes, Match Codes, Lock Objects, Structures, Data Elements, Intenal Types. What is the difference between transparent and non transparent database tables? Transparent tables have 1 - 1 cardinality b/w Data Dictionary and Database, and non transparent ( Cluster and Pooled) tables have Many - 1 cardinality. Transparent table can access with using OPen & NAtive SQL stmts where as Nontransparent only OPen Sql. Transparent trables can store Table relevent data and non transparent tables can store system data/ application data based on the transparent tables What is ALE, IDOC , EDI , RFC. Explain briefly. ALE: application linking enabling IDOC: intermediatary documents EDI: electronic data interchange RFC: remote function call
  • 12. What is a binary search? Binary Search is used in internal table for searching the records. its means record searched one by one from top & bottom both side.so its a easy nd fast way to find the record.bt pointer searching is better. Types of User Exits, what kind of work is done on these exits? File Exit, Menu Exit, Function Exit. How will you find out where the user exits are available? CMOD : This transaction allows you to create a PROJECT by identifying its ENHANCEMENT(S). After determining all of the ENHANCEMENTS that are part of the PROJECT, you will have to activate the PROJECT. You will still need to code your user-exit; therefore, you may want to wait until this step is completed before activating the PROJECT. §SMOD : This transaction allows you to create an ENHANCEMENT, which you will include in a PROJECT, by identifying its COMPONENT(S). In the case where SAP has already created an ENHANCEMENT for its pre-defined user-exits, you will not need to use transaction SMOD; instead, you should just use transaction CMOD. Have you created any transactions? Yes, We can use TC SE93 for creating our own transaction code. Difference between Table-Controls and Step-loops? Table controls are modified / mproved versions of step loops. in controls we can do, horizontal scrolling, vertical scrolling, scrolling in a perticular field, resize the table, can save the settings for future use, can make selective columns editable,....etc these things are not possible with step loops. step loops are controlled by loop-endloop statements Import and Export
  • 13. ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse What is an “Unpack command” UNPACK field1TO field2 .Unpacks the packed field field1 and places it in the field field2 with leading zeros. If field2 is too short, it is truncated on the left. What are the tools used in SAP Implementation? How do you create Alert Messages? One of the Tools being used for SAP Implemention is QuickSizer, which is used to size the SAP Server based on number of users using various modules in SAP. Alert Message is created in the CCMS monitor using TCodes RZ20 and RZ21. The values for Alert AutoReaction Methods are defined using the TCode RZ21, while this particular method is assigned to the Monitoring Tree Element (MTE) in the TCode RZ20. One as well can have an Alert Management System, where alerts from the Entire Landscape can be configured in a Central Moitoring System from where it can trigger a alert mail or SMS to the concerned Administrator When spool buffer is full and new spool request is raised what happens to the request?where does the request stored? The new spool request will be in the queue. If it is urgent request then the current request will be be stoped and newrequest will be send. Whats the difference between R3trans and Tp in SAP-DBA? R/3trans is the R/3 system transport program which can be used for transporting data between different SAP systems ,even when they dont belong to the same group. R3trans normally is not used directorly but called from the Tp controle program or by the R/3 upgrade. Tp is the basic tool for the transporting the request. What is “Group by” in Select statement? Answer1: Group by is used to fetch a unique data from a column. Answer2: A "group by" is used to group selected rows in a table to perform arg functions on them. Rows
  • 14. not included in the "group by" clouse and not part of ARG functions cannot be used ...(logical grouping of data) or orerations performed (on groups of data) can be used with the "HAVING" clause to further refine the output. ex of some ARG functions : SUM() , MIN(),MAX(), AVG() Select statement to read data into internal tables. Types of Select statements select * from database table into (internal table name) the above statement collects data into the header area of the internal table. and select * from database table into table (internal table name) the above statement collects the data into the body area directly Explain “Commit” and “Roll back” The Oracle RDBMS provides a transaction model based on a unit of work. The PL/SQL language supports most, but not all, of the database model for transactions (you cannot, for example, ROLLBACK FORCE). Transactions begin with the first change to data and end with either a COMMIT or ROLLBACK. COMMIT makes the database changes permanent and visible to other database sessions. ROLLBACK undoes the changes made in the current transaction either to the beginning of the transaction or to a savepoint. A savepoint is a named processing point in a transaction, created with the SAVEPOINT statement. Rolling back to a savepoint is a partial rollback of a transaction, wiping out all changes (and savepoints) that occurred later than the named savepoint. What happens “Update” command is used without where clause ? Answer1: It will update all the records with same name in the particular field of the table. Answer2: If we dont mention "WHERE" clause in the UPDATE statement, it will update all records satisfying the given condition (if given any ) in the table ! Answer3: Based on query condition. it will update all the fields which are mentioned in the query. ex: update employee set firstname= @firstname,lastname=@lastname where employee_id =@employee_id.
  • 15. so in the above case nothing wil be happen if you used where clause or not. if you have many statements in the query you need to use the where clause. What are logical databases? Answer1: insert' will add a new record or a new row into the database table. 'Update' will modify a record in the DB table. 'Modify' it is a combination of both insert and update... Answer2: INSERT - Add a new record into the database table. MODIFY - If record is available it modifies otherwise it wont modify. UPDATE - If record is available its update the record otherwise it creates a new record. Difference between “Insert”, “Update” and “Modify” INSERT - Add a new record into the database table. MODIFY - If record is available it modifies otherwise it wont modify. UPDATE - If record is available its update the record otherwise it creates a new “Catch” Command Trying to catch any runtime errors programatically or manually we use this statement catch. What is the difference between internel table and structure? There are theree types of structure:1. Flat structure( elementry fields) 2. Nested structure ( type reference to other structure) 3. deep structure ( type reference to database tables) Explain row type and line type concept line type refers to the structure of an internal table,whereas row type is the actual part that contains the data and it refers to the table body.creating internal table using line type and row type concept is for reusability purpose.Line type and Row type are defined at DDIC LEVEL. Can any one give me brief explanation about internal tables, and workarea ? *An internal table is a run time instance. It get created when program starts execution. *It get destroyed when program terminates. It has two different parts: HeaderLine(optional) and Body(Compulsory). *Any value that comes to or goes from interanal table, that travels through headerline. How to eliminate duplicate entries in internal tables?
  • 16. Answer1: SORT itab.DELETE ADJACENT DUPLICATES FROM itab COMPARING ALL FIELDS. Answer2: The following syntax: SORT itab <fieldname>. delete adjcent duplicates from itab comparing . Size of the internal tables? The size of the internal tables are set using the 'occurs n' clause. Here n refers to a integer number that specifies the size. Usually its given as 'occurs 0' which creates an itab with the memmory space of 8kb. What is the basic difference internal tables and database tables? How can we differentiate by looking at the tables? Handling of internal tables The basic difference is database tables are stored in DB server and the internal tables are virtual tables these are created run time only Internal tables are created dynamically, the memory of internal tables is not permant memory, for internal tables the memory will be created in the application server and it is external memory and terminates after the program termination. On ABAP: Did you set up a workflow? Are you familiar with all steps for setting up a workflow? Yes. Execute the Txn SWDD(Creating a new Workflow). In the header of the Workflow, define the Business Object and Event you refer to for triggering the Wf. Create the Steps required for your workflow(Activity). Inside the Activity, Create the task and assign the Business Object and the related method for that business object. Activate the Workflow Q: Is there any standard SAP report which gives a count of the number of times a program is executed ? A: Try transaction STAT Q: What are some sample Direct input data transfer programs? A: In MM for Material Master data - RMDATIND FI - for Accounting Documents - RFBIBL00 PP - for Independent requirements - RM06IN00 CA - for Classification data - RCCLBI03
  • 17. Q: In a Dev instance, we want to transport a modification to a layout set from one client to another. What is the best way? A: use transaction SE71. Choose Utilities->Copy from Client. Layout sets need not be transported between clients , via transport requests DEVKxxxxxx. We get the total number of pages as expected by using 'SAPSCRIPT-FORMPAGES' in a duplex layout.... Q: We get the total number of pages as expected by using 'SAPSCRIPT-FORMPAGES' in a duplex layout. In our case duplex case is always 'Terms & Conditions'. We do not want the number of pages as in duplex printing. What is the best possible solution? A: On the Terms & Conditions page, Change the Page counter mode to 'HOLD' to keep the page counter from incrementing when you print the Term & Conditions. Q: How can we send a mail to the user intimating him that his report/BDC is completed in background? A: You can use FUNCTION RS_SEND_MAIL_FOR_SPOOLLIST Q: Our ABAP program is working properly in Foreground. Can I schedule it for background processing on the weekend? A: SAP standard program RSBDCSUB helps you to schedule the job. Create a variant for RSBDCSUB with the BDC session name. Q: How to lock an user defined transaction for some time during which no user can access the same? A: Use transaction SM01. Scroll through the transactions and check against the transaction to be locked. And after the maintenance is over, go back to SM01 and uncheck the same to unlock. Q: How can I access SAP through Internet? A: SAP has its own Internet transaction Server (ITS) . Other products include Haht, WebObjects, NetDynamics etc. Each product has its' own architecture. However to access the database, access paths SAP GUI or RFC Channel have to be used What is table buffer? Which type of tables used this buffer? buffer is nothing but a memory area. table is buffered means that table information is available on application server. when you call data from database table it will come from application server. transperent and pooled tables are buffered. cluster tables can not buffered.
  • 18. Difference between /N and /BEND ? /BEND terminates the batch input processing and sets the session to be failed. /N terminates the current batch input transaction.