Q) Explain the EXPORT and IMPORT commands? How can you pass more than one group of data by using IMPORT commands?
EXPORT :-
To read data objects from an ABAP program into ABAP memory, use the following statement :
Syntax:
EXPORT
This statement stores the data objects specified in the list as a cluster in memory. If you do not use the option FROM
The EXPORT statement always completely overwrites the contents of any existing data cluster with the same name
IMPORT :-
To read data objects from ABAP memory into an ABAP program, use the following statement :
Syntax:
IMPORT
This statement reads the data objects specified in the list from a cluster in memory. If you do not use the TO
You do not have to read all of the objects stored under a particular name
Q)Explain the READ LINE and MODIFY LINE commands.
READ LINE :- use the statements READ LINE and READ CURRENT LINE to read data from the lines of existing list levels. These statements are closely connected to the HIDE technique.
MODIFY LINE :- To modify the lines of a completed list from within the program, use the MODIFY LINE statement.
Q)What are the differences between calling a program, transaction ‘with return’ and ‘without return’ and how can each be accomplished?
Program
-SUBMIT
if you use AND RETURN, the system stores the data of the calling executable program and returns to the calling after processing the called program. The system resumes executing the calling program at the statement following the call.
If you omit the AND RETURN addition, all data and list levels of the calling program (the entire internal session) are deleted. After the called executable program has finished, control returns to the level from which you started the calling program.
Transaction
-CALL TRANSACTION
This statement saves the data of the calling program, and starts transaction
-LEAVE TO TRANSACTION
This statement ends the calling program and starts transaction
No comments:
Post a Comment