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.
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.
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?
Name the function module used to convert logical file names to physical file names in ABAP/4 programs.
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.
**** Screen flow logic: ****
FIELD: SPFLI-CARRID, SPFLI-CONNID.
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.
What happens when a table is activated in DD?
A table definition is generated
Map to the database system
For each table, a table of the same name with the same fields and
corresponding data type is created in database.Primary index is generated automatically
What is a check table and what is a value table?
When we define a foreign key in a table (A). If this key refers to primary key of another table (B). Table B is check table
Fields referring to a domain may assume values contained in the
corresponding fields of the value table. Field referring to the domain
should have a foreign key
What is CTS and What do you know about it? [ CTS is Correction and Transport Systems ]
Correction system manages the internal system components like objects like only original version of the object exists. It stores all changes made to the object.
Transport system allows to transports the object from on SAP system to another (Development system to Production system). It allows to over write or delete existing object in target system and import new objects to target systems.
During development work we start by opening a task (correction) to
which we can assign new and changed objects. Once changes have
been made, transport new or changed objects to other SAP system by
means of transport (Change) request.
Have you used SAP supplied programs to load master data?
SAP supplied BDC programs – RM06BBI0 (Purchase requisitions)
RMDATIND (Material master) RFBIKR00 (Vendor Masters)
RFBIDE00 (Customer Master) RVINVB00 (Sales Order)
What are the Techniques involved in using SAP supplied programs? Do you prefer to write your own programs to load master data? Why?
Identify relevant fields
Maintain transfer structure ( Predefined – first one is always session record)
Session record structure , Header Data, Item ( STYPE – record type )
Fields in session structure – STYPE, GROUP , MANDT, USERNAME , NO DATA
Fields in header structure – consists of transaction code also – STYPE, BMM00, TCODE,MATNR and Fields in Item - ITEMS …
Maintain transfer file – sample data set creation
How do you set up background jobs in SAP? What are the steps? What are events driven batch jobs?
Create a job using function module JOB-OPEN
Collect the job specifications.
Add a job step to the job with the function module JOB-SUBMIT.
Close the job and pass it to Background processing system for execution with the function module JOB-CLOSE
EVENT DRIVEN BATCH JOBS :-
Types = System events – triggered when activation of new operation mode takes place
User events - Triggered from ABAP/4 or external program.
Triggering an event notifies the background processing that named condition has been reached. The Background system reacts by starting any jobs that were waiting for the event.
Transaction codes related to background jobs creation and processing are :-
SM37(Job selection and execution).
ABAP Interview Questions10
ABAP Interview Questions10
StechiesBy: Merityunjay Kumar Shukla | 25 Sep 2008 6:35 am | 0 Comments
- ABAP Scripts Interview Questions
SAP ABAP Scripts FAQWhat is sap script and layout set?Ans - SAPscript is the integrated text management system of the SAP R/3 System. SAPscript is tightly integrated into the SAP System. It is used...
- SAP ABAP Interview Questions
1. can we copy the table values from one table to another Â 2. what is the difference between webdynpro vs netweaver Â 3. How to find out total number of records available in database table
- ABAP Interview Questions(new)
What is a 'Z' report? Y or Z report refer to customized abap programs written for modules such as mm, sd, pp or fi/co etc. Can we create an ABAP program without using Y or Z? No, this is because...
- ABAP Interview Questions(recommended)
1. When using Open SQL statements in an ABAP/4 program, you must ensure the following. a) The database system being addressed must be supported by SAP. b) The database tables being addressed must...