Professional Documents
Culture Documents
100 ABAP Interview Faq's
100 ABAP Interview Faq's
Field groups :-
11. How many types of tables exists and what are they in data
dictionary?
ans :-
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.
iv)Internal tables - .
15. Can you create a table with fields not referring to data
elements?
ANS:-
YES. eg:- ITAB LIKE SPFLI.here we are referening to a data object(SPFLI)
not data element.
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 <fg>, the structure of the corresponding extract record in
the extract dataset is fixed. You can no longer insert new fields into the
field groups <fg> and HEADER. If you try to modify one of the field
groups afterwards and use it in another EXTRACT statement, a runtime
error occurs.
28. How are the date and time field values stored in SAP?
ANS:-
DD.MM.YYYY. HH:MM:SS
37. What are select options and what is the diff from
parameters?
ANS:-
select options provide ranges where as parameters do not.
A selection table is an internal table with fields SIGN, OPTION, LOW and
HIGH.
The type of LOW and HIGH is the same as that of <field>.
The SIGN field can take the following values: I Inclusive (should apply) E
Exclusive (should not apply)
The OPTION field can take the following values: EQ Equal GT Greater
than NE Not equal BT Between LE Less
than or equal NB Not between LT Less than CP Contains pattern GE
Greater than or equal NP No pattern.
diff:-
PARAMETERS allow users to enter a single value into an internal field
within a report.
SELECT-OPTIONS allow users to fill an internal table with a range of
values.
The Change and Transport System (CTS) is a tool that helps you to
organize development projects in the ABAP Workbench and in
Customizing, and then transport the changes between the SAP Systems
and clients in your system landscape.
This documentation provides you with an overview of how to manage
changes with the CTS and essential information on setting up your
system and client landscape and deciding on a transport strategy. Read
and follow this documentation when planning your development
project.
For practical information on working with the Change and Transport
System, see Change and Transport Organizer and Transport
Management System.
ANS:-
42. What is the client concept in SAP? What is the meaning of
client independent?
ANS:-
44. Name a few system global variables you can use in ABAP
programs?
ANS:-
SY-SUBRC,SY-DBCNT,SY-LILLI,SY-DATUM,SY-UZEIT,SY-UCOMM,SY-TABIX.....
45. What are internal tables? How do you get the number of
lines in an internal table?
How to use a specific number occurs statement?
ANS:-
i)It is a standard data type object which exists only during the runtime
of the program.
They are used to perform table calculations on subsets of database
tables and for re-organising the contents of database tables according
to users need.
ii)using SY-DBCNT.
iii)The number of memory allocations the system need to allocate for
the next record population.
- Use views defined in the ABAP/4 DDIC (also has the advantage of
better reusability).
- Use field list (SELECT clause) rather than SELECT *.
- Range tables should be avoided (IN operator)
- Avoid nested SELECTS.
i)system tools
Field groups : A field group combines several fields under one name.At
runtime,the INSERT command is used to define which data fields are
assigned to which field group.
There should always be a HEADER field group that defines how the
extracted data will be sorted,the data is sorted by the fields grouped
under the HEADER field group.
50. Have you used SAP supplied programs to load master data?
adv:-
The programmer need not worry about the primary key for each
table.Because Logical database knows how the different tables relate to
each other,and can issue the SELECT command with proper where
clause to retrieve the data.
i)An easy-to-use standard user interface.
ii)check functions which check that user input is complete,correct,and
plausible.
iii)meaningful data selection.
iv)central authorization checks for database accesses.
v)good read access performance while retaining the hierarchical data
view determined by the application logic.
disadv:-
i)If you donot specify a logical database in the program attributes,the
GET events never occur.
ii)There is no ENDGET command,so the code block associated with an
event ends with the next event
statement (such as another GET or an END-OF-SELECTION).
54. What are different tools to report data in SAP? What all
have you used?
ans:-
56. What are the functional areas? User groups? and how does
ABAP/4 query work in relation to these?
62. How do you set up background jobs in SAP? What are the
steps? What are the event driven batch jobs?
ans:-
go to SM36 and create background job by giving job name,job class and
job steps(JOB SCHEDULING)
69. What are the ABAP/4 commands that link to a layout set?
ans:-
control commands,system commands,
70. What is output determination?
72. What are screen painter? menu painter? Gui status? ..etc.
ans:-
dynpro - flow logic + screens.
menu painter -
GUI Status - It is subset of the interface elements(title bar,menu
bar,standard tool bar,push buttons) used for a certain screen.
The status comprises those elements that are currently needed by the
transaction.
73. What is screen flow logic? What are the sections in it?
Explain PAI and PBO.
ans:-
The control statements that control the screen flow.
PBO - This event is triggered before the screen is displayed.
PAI - This event is responsible for processing of screen after the user
enters the data and clicks the pushbutton.
75. Does SAP has a GUI screen painter or not? If yes what
operating systems is it available on? What is the other type of
screen painter called?
78. Normally how many and what files get created when a
transaction program is written?
What is the XXXXXTOP program?
ans:-
ABAP/4 program.
DYNPRO
81. What are user exits? What is involved in writing them? What
precations are needed?
82. What are RFCs? How do you write RFCs on SAP side?
85. How do you find the tables to report from when the user
just tell you the transaction he uses? And all the underlying
data is from SAP structures?
ans:-
Transcode is entered in command field to open the table.Utilities-Table
contents-display.
86. How do you find the menu path for a given transaction in
SAP?
ans:-
92. Can you use if then else, perform ..etc statements in sap
script?
ans:-
yes.
Structured -
predefined TABLES.
userdefined Field Strings and internal tables.