Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Tuesday, April 22, 2008

Faq Miscellaneous ABAP Interview Questions

1. Can you create a table with fields not referring to data elements?

YES. eg:- ITAB LIKE SPFLI.here we are referening to a data object
(SPFLI) not data element.

What are the different types of data dictionary objects? tables,
structures, views, domains, data elements, lock objects, Match code
objects.


2. What should be the approach for writing a BDC program?

STEP 1: CONVERTING THE LEGACY SYSTEM DATA TO A FLAT FILE to
internal
table CALLED "CONVERSION".
STEP 2: TRANSFERING THE FLAT FILE INTO SAP SYSTEM CALLED "SAP
DATA
TRANSFER".
STEP 3: DEPENDING UPON THE BDC TYPE
i)call transaction(Write the program explicity)
ii) create sessions (sessions are created and processed.if success
data will transfer).

3. What are the problems in processing batch input sessions and 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.

4. What does an extract statement do in the ABAP program?

Once you have declared the possible record types as field groups and
defined their structure, you can fill the extract dataset using the
following statements: EXTRACT. When the first EXTRACT statement
occurs in a program, the system creates the extract dataset and adds
the first extract record to it. In each subsequent EXTRACT
statement, the new extract record is added to the dataset EXTRACT
HEADER. When you extract the data, the record is filled with the
current values of the corresponding fields. As soon as the system
has processed the first EXTRACT statement for a field group , the
structure of the corresponding extract record in the extract dataset
is fixed. You can no longer insert new fields into the field groups
and HEADER. If you try to modify one of the field groups afterwards
and use it in another EXTRACT statement, a runtime error occurs. By
processing EXTRACT statements several times using different field
groups, you fill the extract dataset with records of different
length and structure. Since you can modify field groups dynamically
up to their first usage in an EXTRACT statement, extract datasets
provide the advantage that you need not determine the structure at
the beginning of the program.

5. Can a transparent table exist in data dictionary but not in the
data base physically?

NO. TRANSPARENT TABLE DO EXIST WITH THE SAME STRUCTURE BOTH IN
THE
DICTIONARY AS WELL AS IN THE DATABASE,EXACTLY WITH THE SAME
DATA AND
FIELDS.

6. What is the step by step process to create a table in datadictionary?

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).

7. What is the typical structure of an ABAP/4 program?

HEADER ,BODY,FOOTER.

8. A situation: An ABAP program creates a batch input session. We
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)

9. What are the domains and data elements?

DOMAINS : FORMAL DEFINITION OF THE DATA TYPES.THEY SET
ATTRIBUTES
SUCH AS DATA TYPE,LENGTH,RANGE. DATA ELEMENT : A FIELD IN R/3
SYSTEM
IS A DATA ELEMENT.

10. What is the alternative to batch input session?

Call transaction.

12. 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.

13. What is the advantage of structures? How do you use them in theABAP programs?

Adv:- GLOBAL EXISTANCE(these could be used by any other program
without creating it again).

14. How many types of tables exists and what are they in datadictionary?

4 types 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 open sql).They are not managable directly using
database system tools.
iv)Internal tables - .?

------------------------------------------------------------
Faq Miscellaneous-2
1. What is the command in subscript?


2. In ver 3.0b how is the print program to layout set?

3. What's an effective way of using an internal table record? What are the types of internal tables?

4. In production what is the user exit?

5. What type of user exits have you written?

6. Have you worked with field groups? Have you used Import/Export statements?

7. In the `select' statement what is group by?

8. Have you used performance tuning? What major steps will you use for these?

9. On ABAP: Did you set up a workflow? Are you familiar with all steps for setting up a workflow?

10. Have you created Maintenance dialog or Table Maintenance?

11. How to create client independent tables?

12. Difference between client dependent and client independent tables?

13. Have you created database tables?

14. Difference between Search Helps and Match Codes?

15.Elementary search helps, Collective search help.?

16.What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it?

17.What is open sql vs native sql?

18.What is a collect statement? How is it different from append?

19. If an entry with the same key already exists, the COLLECT statement does not append a new line, but
adds the contents of the numeric fields in the work area to the contents of the numeric fields in the existing entry.?

20. How can I copy a standard table to make my own z_table.?

21. Which transaction code can I used to analyze the performance of ABAP program.?

22. How do we debug sapscript?

23.Can we create field without data element and how?

24. When top of the page event is triggered?

25. How do you get output from IDOC?
----------------------------------------------------------
Faq Miscellaneous-3

SAP R-3 Interview Question?

1. In selection screen I have three fields, plant mat no and materialgroup. If I input plant how do I get the mat no and material groupbased on plant dynamically?

2. On which even we can validate the input fields in module progams?

3. What are client dependant objects in abap/sap?

4. How data is stored in cluster table?

5. What is the difference between Upload and WS_Upload ?

6. Open datasets, Read datasets ( Reading and writing data to files)?

7.Have you set up a back ground job ? How to create a background job without a variant ?

8. Have you processed BDCs ?

9. How do you send files to the legacy systems from SAP and vice versa?

10. How does one know that the legacy files have come on to the SAP server you are working
on?


11. What kind of BDC programs are written ?

12. Update types in Call transaction method. What is the difference?

13. Call transaction method, how to capture the errors ?

14. Data conversion experience?

15. Experience with ABAP and Unix files?

16. From Excel to ABAP - Is batch mode possible ?

17. How to read files and process BDCs automatically?

18. Difference between /N and /BEND?

19. SM35 transaction . How to automate BDC ?

20. BDC vs Direct Loads( have you used direct loads on SAP tables )?

21. Recording Function?

22. What are logical databases?

23. What is Group by in Select statement?

24. Catch Command?

25. Explain Commit and Roll back?

26. Difference between Insert, Update and Modify?

27. What happens Update command is used without where clause ?

No comments:

Post a Comment

Content

Recent Topics