Question 11 :
Which one is not an exit comand ? (Exit, cencle, stop, back)
Effect :The statement STOP is only to be used in executable programs
Effect :If the EXIT statement is executed outside of a loop, it will immediately terminate the current processing block.
Effect : This statement positions the list cursor on the first position of the first line in a logical unit.
So "Cancle" is not an exit command
Question 12 :
What is Field symbol ?
You can use field symbols to make the program more dynamic. In this example the name of a table control is substituted by a field symbol. Thus you cal call the form with any internal table, using the name of the table control as a parameter.
assign (p_tc_name) to
* insert 100 lines in table control
fieldsymbol has the same concept as pointer in c,
fieldsymbol don't point to a data type like char, num instead of that it points to the memory block. the syntax for fieldsymbol is
EG. FOR FIELD SYMBOL.
DATA: DAT LIKE SY-DATUM,
TIM LIKE SY-UZEIT,
CHAR(3) TYPE C VALUE 'ADF'.
MOVE DAT TO
MOVE TIM TO
MOVE CHAR TO
The output will be
Question 13 :
What is lock object ?
LockObjects used to synchornize access of several users using same data.
Question 14 :
Why BAPI need then BDC ?
BAPI"S provide the standard interface to other applications apart from SAP and within differnt vesions of SAP too. Also it is OOD bases so dosen"t depends on screen flow. BDC gets failed if we make changes for screen changes through IMG customization
Question 15 :
What are the advantages and disadvantages of using views in ABAP programming ?
advantages: view is used to retrieve the data very fastly from the database tables
*memory wastage is reduced
*faster than joins to retrieve the data from database tables
view is not a container,it will not hold the data
*view memory is not permanent memory