Vous êtes sur la page 1sur 9

Allsaplinks.

com

SAP ABAP FAQ (Technical)


DATA DICTIONARY
1. What is data Dictionary ?
2. What is the difference between open sql & native sql ?
3. Difference between Pooled, cluster & transparent tables?
4. What is Primary key, foreign key ? what is primary index?
secondary index?
5. how many indexes can be created for a table?
6. what is a value table?
7. what are the components of a table?
8. what is a domain?
9. what is a data element?
10. what is data class?
11. can you create a table with out a data element?
12. can you create a field with out a data element?
13. What approach you prefer for creating a table?
14. Give few names of cluster tables in sap?
15. Give few names of pooled tables in sap?
16. give few names of transparent tables?
17. what is a buffer and how many types?
18. what is table maintenance generator and how to create
that? What is the transaction code?
19. How to add new fields to a standard sap table ?
20. How many types of table joins are there?
21. difference between inner join & outer join?
22. Difference between "select * from mara" and "select
single * from mara"?
23. what is a match code ? Lock objects ?
24. what are views?
25. what are logical tables/database?
26. what is the difference bet'n table and a structure?

Real Time questions ..


1. Which client number you use for the current
project?
2. You are running a report. It is taking long time for
execution. What steps will you do to reduce the
execution time.
3. After running a BDC program in background, next
day morning when you see the results, few records
are not updated(error records). What will you do
then?
4. You are given functional specs for a BDC program
and you need to decide whether to write a method
call transaction or a session. How u will decide?
5. What is the difference between report and script?
6. what are the differences between scripts & smart
forms?
7. what are enhancements?
8. what are user-exits?
9. what is badi?
10. what is the difference between user-exit & BADIs?
11. what is the difference between user-exit &
customer-exit?
12. how do you get functional specs when you are
assigned some object? (specs through email..??)
13. How do you write technical specs?
14. How do you write UTP?(unit test plan)

REPORTS
1. what is a report?
2. what are types of reports?
3. difference bet'n simple and interactive reports?
4. what are the events in interactive reports?
5. what is the first event that will be triggered in a report?
6. what is the use of Initialization event? give one example.
7. what is the use of start-of-selection event?
8. what is the difference betn end-of-page and end-of-selection?
9. if you write a write statement after end-of-selection, will that be triggered?
10. how to create a button in selection screen?
11. how to add a gui status in a selection screen?
12. what is at-line-selection event?
13. How many secondary lists can be created in an interactive report?
14. how to create a check box/option button in a list?
15. can you call a bdc program from a report? how?
16. can you call a transaction from a report? how?
17. what are ALV reports? how they are different from normal reports?
18. what are the main events that are used in an ALV report?
19. what is the use of SLIS type pool in alv reports?
20. difference betn top-of-page and top-of-page during at-line-selection?
21. in an interactive report, after going to 5th list, can you come back to 2nd list? how?

Internal Tables
1. what is an internal table?
2. how many type of internal tables are there?
3. what is the difference between hashed & sorted internal
tables?
4. what is the difference between standard and sorted
internal tables? (in performance wise)
5. Difference between internal table and a dictionary table?
6. can you create an internal table dynamically?(at run time)
7. what is the use of select for all entries in an internal
table?
8. when you are using 2 internal table in program, you have
decided to use for all entries statement to retrieve data
but unfortunately there are no records in the first internal
table. What will be the result? (2nd internal table contains
records).
9. in a loop of an internal table, what is the use of at first &
at last statements?
10. What is the use of at new statement?
11. what is the difference between at first & at new
statements?
12. what is a binary search ? and how it is useful in a sorted
internal table?
13. when do you need to create an internal table with header
line ?and with out a header line?
14. what does it mean occurs 0 while creating an internal
table?
15. what will happen if you don't give occurs clause while
creating an internal table?
16. what is the difference between clear, delete & refresh
with respect to an internal table?

BDC & LSMW


1. What is BDC ?
2. What is call transaction method ? what is the
syntax/procedure?
3. What is session method and what is the
syntax/procedure?
4. Difference between call transaction & session method?
5. which of these methods can be best used in background
process?
6. What is direct input method?
7. How LSMW is advantageous than normal BDC?
8. what are the steps in lsmw?
9. IN LSMW can you use BAPI, ?
10. Can you call a bdc from a report program?
11. what is the difference between synchronus &
asynchronus methods?
12. call transaction uses synchronus or synchronus method?
13. session method uses synchronus or synchronus method?
14. What is bapi?
15. how bapi is different from call transaction/session?
16. what r the advantages of bapi?
17. for uploading master data(ex:customer data) into sap,
which methods you prefer? call
transaction/session/lsmw/bapi? why?
18. tell any 2 standard bapi function modules used for
uploading sales order data?

Performance Tuning
1. What is performance tuning?
2. What are steps you follow to improve the performance of
a report ?
3. what is the role of secondary index in performance?
4. what is the role of ST05 in performance tuning?
5. what is the role of extended syntax check in
performance tuning?
6. will join conditions in sql queries affect perfomance? how?
7. will sorted internal tables help in performance?
8. will where conditions in a sql query help improve
performance?
9. does select single *.. / select * .. affect performance ?
how?

Sap Scripts & Smart forms

1. What is the difference between a script & a report ?


2. What are the components/elements in sap script ?
3. Can you create a script with out a main window ?
4. How many main windows can be created for a script ?
5. How can we use tables in sap scripts?
6. How to print a logo in a sap script?
7. When we need to modify standard scripts(eg:medruck) given
by sap?
8. What is the use of transaction code NACE in sap scripts?
9. what is the table name that will contain all the script form
names and print program names?
10. Can you assign your own form to a standard print program?
how?
11. What is the use of PROTECT & ENDPROTECT?
12. How to add extra functionality to a standard print program with
out touching the print program?
13. what is sub routine pool in sap script? when it is used?
14. How to read text in sapscripts?
15. What is the transaction code for logo uploading?
16. what is the difference between paragraph & character format?
17. How to use a sapscript for multiple languages ? (english,
germany etc)
18. How to download/upload sapscripts from & to your PC ?
19. What is the difference between scripts & smart forms?
20. What is the standard program used for uploading the logo to
script?
21. How can you send forms from one client to other?
22. what does open_form, write_form, close_form do?
23. How to convert a sapscript to smart form?
24. How to send a smartform result through mail?
25. how to select desired paper size in sapscript?

BDC & LSMW


1. What is BDC ?
2. What is call transaction method ? what is the
syntax/procedure?
3. What is session method and what is the
syntax/procedure?
4. Difference between call transaction & session method?
5. which of these methods can be best used in background
process?
6. What is direct input method?
7. How LSMW is advantageous than normal BDC?
8. what are the steps in lsmw?
9. IN LSMW can you use BAPI, ?
10. Can you call a bdc from a report program?
11. what is the difference between synchronus &
asynchronus methods?
12. call transaction uses synchronus or synchronus method?
13. session method uses synchronus or synchronus method?
14. What is bapi?
15. how bapi is different from call transaction/session?
16. what r the advantages of bapi?
17. for uploading master data(ex:customer data) into sap,
which methods you prefer? call
transaction/session/lsmw/bapi? why?
18. tell any 2 standard bapi function modules used for
uploading sales order data?

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

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 the
ABAP 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 data
dictionary?
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 - .?

SAP R-3 Interview Question?

What is the command in subscript?


In ver 3.0b how is the print program to layout set?
What's an effective way of using an internal table record? What are
the types of internal tables?
In production what is the user exit?
What type of user exits have you written?
Have you worked with field groups? Have you used Import/Export
statements?
In the `select' statement what is group by?
Have you used performance tuning? What major steps will you use for
these?
On ABAP: Did you set up a workflow? Are you familiar with all steps
for setting up a workflow?
Have you created Maintenance dialog or Table Maintenance?
How to create client independent tables
Difference between client dependent and client independent tables?
Have you created database tables?
Difference between Search Helps and Match Codes?
Elementary search helps, Collective search help.?
What does an EXEC SQL stmt do in ABAP? What is the disadvantage of
using it?
What is open sql vs native sql?
What is a collect statement? How is it different from append?
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.?
How can I copy a standard table to make my own z_table.?
Which transaction code can I used to analyze the performance of ABAP
program.?
How do we debug sapscript?
Can we create field without data element and how?
When top of the page event is triggered?
How do you get output from IDOC?

SAP R-3 Interview Question?

In selection screen I have three fields, plant mat no and material


group. If I input plant how do I get the mat no and material group
based on plant dynamically?
On which even we can validate the input fields in module progams?
What are client dependant objects in abap/sap?
How data is stored in cluster table?
What is the difference between Upload and WS_Upload ?
Open datasets, Read datasets ( Reading and writing data to files)?
Have you set up a back ground job ? How to create a background job
without a variant ?
Have you processed BDCs ?
How do you send files to the legacy systems from SAP and vice versa?
How does one know that the legacy files have come on to the SAP
server you are working on?
What kind of BDC programs are written ?
Update types in Call transaction method. What is the difference?
Call transaction method, how to capture the errors ?
Data conversion experience?
Experience with ABAP and Unix files?
From Excel to ABAP - Is batch mode possible ?
How to read files and process BDCs automatically?
Difference between /N and /BEND?
SM35 transaction . How to automate BDC ?
BDC vs Direct Loads( have you used direct loads on SAP tables )?
Recording Function?
What are logical databases?
What is Group by in Select statement?
Catch Command?
Explain Commit and Roll back?
Difference between Insert, Update and Modify?
What happens Update command is used without where clause ?

SAP R-3 Interview Question?

Select statement to read data into internal tables. Types of Select


statements?
hat's an effective way of using an internal table record?
Types of internal tables?
Field groups?
Control levels in internal tables?
How to eliminate duplicate entries in internal tables?
Size of the internal tables?
Field groups and internal tables?
Handling of internal tables?
What is an Open Item in SAP? How will you find an Open Item in SAP?
What are the modules in FI that you have worked on?
In the MM module for finding out the standard cost what is the view
one has to look at?
What is the work you have done in the MM module and what programs
did you use for creating views in MM?
Condition technique?
In the function module for reading text from the S.O header what
needs to be specified?
How do you get the Sales Order (S.O) No. from the Delivery Order?
While picking can the pick list be updated automatically?
In delivery processing which step comes first picking,
packing,posting goods issue ?
What happens when you post goods issue after delivery? How does
the
inventory get reduced after the delivery?
Do you need and enquiry or quotation before we start the SD process?
Explain what are the steps in the SD process at least up to the
invoicing stage?
What is an Unpack command?
What is the reserve command?
How many interactive reports did you write?
What is the most complex interactive report that was written by You?
Double click function on the lists, identifying the line selected by
the user on the list.
At-Line selection, At user-command etc..,?
Exit and Stop. What is the difference?
Check and Continue. What is the difference?

1. Type of table?
2. Events of module pool?
3. Events of interactive report?
4. Filters & idoc and segments?
5. Types of enhancements?
6. Type of partner profile?
7. What is RFC? What is its purpose?
8. Steps of LSMW?
9. Types of BDC? How u proceed BDC(call transaction) without recording?
10. What is message type in idoc?
11. What is a dialog program?
12. What is debugging? How do you proceed the steps in your reports?
13. What are the parameters passed to fieldcatalog?
14. What are all the tools used for debugging and run time analysis?

Vous aimerez peut-être aussi