How do you write a DATA object from ABAP/4 program to ABAP/4 memory and restore the same from memory to program.
EXPORT <f1> [FROM <g1>] <f2> [FROM <g2>] ... TO MEMORY ID <key>.
The ID <key>, which can be up to 32 characters long, identifies the data in memory.
Statement used to delete data objects in ABAP/4 memory.
· FREE MEMORY [ID <key>].
How will you create a file on application server
· Open dataset <dsn> for output.
ABAP/4 statement for opening a file on application server for reading ___________.
· Open dataset <dsn> for input.
How will you transfer data into a file in application server ?
· Data fname(60) value 'mYFILE'.
Data num type i.
Open dataset fname for output.
Do 10 times.
Num = Num + 1.
Transfer num to fname.
Enddo.
.....etc.
Name the function modules to write data from an Internal Table to the Presentation Server.
DOWNLOAD and WS_DOWNLOAD.
Name the function modules to read data from Presentation Server into an Internal Table.
UPLOAD and WS_UPLOAD.
Name the function module that can be used to give information about files on Presentation Server and about it's Operating System.
WS_QUERY.
Name the ABAP/4 key word for seaching a string in an Internal Table.
SEARCH <itab> FOR <str> <options>.
How would you find the attributes of a data type or data object ?
DESCRIBE FIELD <f> [LENGTH <l>] [TYPE <t> [COMPONENTS <n>]]
[OUTPUT-LENGTH <o>] [DECIMALS <d>]
[EDIT MASK <m>].
Which function module would you use to check the user's authorization to access files before opening a file?
AUTHORITY_CHECK_DATASET
Name the function module used to convert logical file names to physical file names in ABAP/4 programs.
FILE_GET_NAME.
What does CHAIN ....END CHAIN do?
Sometimes you want to check several fields as a group. To do this, include the fields in a FIELD statement, and enclose everything in a CHAIN-ENDCHAIN block.
Example
**** Screen flow logic: ****
CHAIN.
FIELD: SPFLI-CARRID, SPFLI-CONNID.
MODULE CHECK_FLIGHT.
ENDCHAIN.
When an error is found inside a chain, the screen is re-displayed, and all fields found anywhere in the chain are input-enabled. All non-chain fields remain disabled.
What does an extract statement do in the ABAP program?
Fills the fields groups with values.