Monday, October 13, 2008

Top 10 Simple ABAP SAP FAQ's

i. List out the typical structure of ABAP/4 program

-HEADER ,BODY,FOOTER.

ii. Explain field symbols and field groups. Are you familiar with "component idx of structure" clause with field groups?

-Field groups are groups similar fields together into one name.
-Field group works in conjuction with them.


iii. State the approach for writing a BDC program?

1. CONVERT THE LEGACY SYSTEM DATA TO A FLAT FILE to internal table CALLED "CONVERSION".

2. TRANSFERING THE FLAT FILE INTO SAP SYSTEM CALLED "SAP DATA TRANSFER".

3. DEPENDING UPON THE BDC TYPE
i)call transaction(Write the program explicity)
ii) create sessions (sessions are created and processed, if successful data transfer will take place)

iv. What is a batch input session?

-BATCH INPUT SESSION is an intermediate step between internal table and database table.

-Data along with the action is stored in session ie data for screen fields, to which screen it is passed,program name behind it, and how next screen is processed.

v. What is the alternative to batch input session?

-Call transaction.

vi. A situation: An ABAP program creates a batch input session. You need to submit the program and the batch session in back ground. How to do it?

go to SM36 and create background job by giving
job name,job class and job steps (JOB SCHEDULING)

vii. What are the problems in processing batch input sessions?
How is batch input process different from processing online?

-PROBLEMS:-
i) If the user forgets to opt for keep session then the session will be automatically removed from the session queue(log remains). However if session is processed we may delete it manually.
ii)if session processing fails data will not be transferred to SAP database table.

viii. What are the different types of data dictionary objects?

-tables, structures, views, domains, data elements, lock objects, Matchcode objects.

ix. How many types of tables exists and what are they in data dictionary?

- 4types of tables
i)Transparent tables - Exists with the same structure both in dictionary as well as in database exactly with the same data and fields. Both Opensql and Nativesql can be used.

ii)Pool tables & iii)Cluster tables -
These are logical tables that are arranged as records of transparent tables.one cannot use native sql on these tables (only opensql).
They are not managable directly using database system tools.

iv)Internal tables -

x. What is the step by step process to create a table in data dictionary?

step 1: creating domains(data type,field length,range).
step 2: creating data elements(properties and type for a table field).
step 3: creating tables(SE11)

No comments: