Dear ABAPers, This post
gives the list of Interview questions on SAP ABAP. The list includes the real
time interview questions asked by the top MNC companies in their interviews.
For more details refer this post. SAP Interview Questions 4.
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.
The data set must be transferred through the network to the applications, so reducing the amount OF time and also reduces the network traffic.
i)If you donot specify a logical database in the program attributes,the GET events never occur.
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:-
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.
46. How do you take care of performance
issues in your ABAP programs?
Performance of ABAPs can be improved by minimizing the amount of data to be
transferred.
The data set must be transferred through the network to the applications, so reducing the amount OF time and also reduces the network traffic.
Some measures that can be taken
are:
- 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
ii)field symbols and field groups.
ans:-
Field Symbols : Field symbols are placeholders for existing fields. A Field
Symbol does not physically reserve space for a field,but points to a field
which is not known until runtime of the program.
eg:- FIELD-SYMBOL <FS> [<TYPE>].
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.
47. What are datasets?
ANS:-
The sequential files(ON APPLICATION SERVER) are called datasets. They are used for file handling in SAP.
ANS:-
The sequential files(ON APPLICATION SERVER) are called datasets. They are used for file handling in SAP.
48. How to find the return code of a
statement in ABAP programs?
ANS:-
Using function modules.
ANS:-
Using function modules.
49. What are interface/conversion
programs in SAP?
ANS :
CONVERSION : LEGACY SYSTEM TO FLAT FILE.
INTERFACE : FLAT FILE TO SAP SYSTEM.
ANS :
CONVERSION : LEGACY SYSTEM TO FLAT FILE.
INTERFACE : FLAT FILE TO SAP SYSTEM.
50. Have you used SAP supplied programs
to load master data?
51. What are the techniques involved in
using SAP supplied programs?
Do you prefer to write your own programs to load master data? Why?
Do you prefer to write your own programs to load master data? Why?
52. What are logical databases? What
are the advantages/disadvantages of logical databases?
ANS:-
ANS:-
To read data from a database tables we use logical database.
A logical database provides read-only access to a group of related tables to an ABAP/4 program.
A logical database provides read-only access to a group of related tables to an ABAP/4 program.
advantages:-
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.
disadvantages:-
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).
statement (such as another GET or an END-OF-SELECTION).
53. What specific statements do you
using when writing a drill down report?
ans:-
AT LINE-SELECTION,AT USER-COMMAND,AT PF.
ans:-
AT LINE-SELECTION,AT USER-COMMAND,AT PF.
54. What are different tools to report
data in SAP? What all have you used?
ans:-
ans:-
55. What are the advantages and
disadvantages of ABAP/4 query tool?
56. What are the functional areas? User
groups? and how does ABAP/4 query work in relation to these?
57. Is a logical database a
requirement/must to write an ABAP/4 query?
59. What are Change header/detail
tables? Have you used them?
60. What do you do when the system
crashes in the middle of a BDC batch session?
ans:-
we will look into the error log file (SM35).
ans:-
we will look into the error log file (SM35).
61. What do you do with errors in BDC
batch sessions?
ANS:-
We look into the list of incorrect session and process it again. To correct incorrect session we analyize the session to determine which screen and value produced the error.For small errors in data we correct them interactively otherwise
modify batch input program that has generated the session or many times even the datafile.
ANS:-
We look into the list of incorrect session and process it again. To correct incorrect session we analyize the session to determine which screen and value produced the error.For small errors in data we correct them interactively otherwise
modify batch input program that has generated the session or many times even the datafile.
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)
ans:-
go to SM36 and create background job by giving job name,job class and job steps(JOB SCHEDULING)
63. Is it possible to run host command
from SAP environment? How do you run?
64. What kind of financial periods
exist in SAP? What is the relavent table for that?
65. Does SAP handle multiple
currencies? Multiple languages?
ans:-
Yes.
ans:-
Yes.
66. What is a currency factoring
technique?
67. How do you document ABAP/4
programs? Do you use program documentation menu option?
68. What is SAPscript and layout
set?
ans:-
ans:-
The tool which is used to create layout
set is called SAPscript. Layout set is a design document.
69. What are the ABAP/4 commands that
link to a layout set?
ans:-
control commands,system commands,
ans:-
control commands,system commands,
70. What is output determination?
71. What are IDOCs?
ans:-
IDOCs are intermediate documents to hold the messages as a container.
ans:-
IDOCs are intermediate documents to hold the messages as a container.
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.
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.
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.
74. Overall how do you write
transaction programs in SAP?
ans:-
Create program-SE93-create transcode-Run it from command field.
ans:-
Create program-SE93-create transcode-Run it from command field.
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?
76. What are step loops? How do you
program pagedown pageup in step loops?
ans:-
step loops are repeated blocks of field in a screen.
ans:-
step loops are repeated blocks of field in a screen.
77. Is ABAP a GUI language?
ANS:-
Yes.
ABAP IS AN EVENT DRIVEN LANGUAGE.
ANS:-
Yes.
ABAP IS AN EVENT DRIVEN LANGUAGE.
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
What is the XXXXXTOP program?
ans:-
ABAP/4 program.
DYNPRO
79. What are the include
programs?
ANS:-
When the same sequence of statements in several programs are to be written repeadly they are coded in include programs (External programs) and are included in ABAP/4 programs.
ANS:-
When the same sequence of statements in several programs are to be written repeadly they are coded in include programs (External programs) and are included in ABAP/4 programs.
80. Can you call a subroutine of one
program from another program?
ans:- Yes- only external subroutines Using 'SUBMIT' statement.
ans:- Yes- only external subroutines Using 'SUBMIT' statement.
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?
83. What are the general naming
conventions of ABAP programs?
ANS:-
Should start with Y or Z.
ANS:-
Should start with Y or Z.
84. How do you find if a logical
database exists for your program requrements?
ans:-
SLDB-F4.
ans:-
SLDB-F4.
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.
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:-
ans:-
87. What are the different modules of
SAP?
ans:-
FI,CO,SD,MM,PP,HR.
ans:-
FI,CO,SD,MM,PP,HR.
89. How do you get help in ABAP?
ans:-
HELP-SAP LIBRARY,by pressing F1 on a keyword.
ans:-
HELP-SAP LIBRARY,by pressing F1 on a keyword.
90. What are different ABAP/4 editors?
What are the differences?
ans:-
ans:-
91. What are the different elements in
layout sets?
ans:-
PAGES,Page windows,Header,Paragraph,Character String,Windows.
ans:-
PAGES,Page windows,Header,Paragraph,Character String,Windows.
92. Can you use if then else, perform
..etc statements in sap script?
ans:-
yes.
ans:-
yes.
93. What type of variables normally
used in sap script to output data?
94. How do you number pages in
sapscript layout outputs?
95. What takes most time in SAP script
programming?
ANS:-
LAYOUT DESIGN AND LOGO INSERTION.
ANS:-
LAYOUT DESIGN AND LOGO INSERTION.
96. How do you use tab sets in layout
sets?
97. How do you backup sapscript layout
sets? Can you download and upload? How?
98. What are presentation and
application servers in SAP?
ANS:-
The application layer of an R/3 System is made up of the application servers and the message server. Application programs in an R/3 System are run on application servers. The application servers communicate with the presentation components, the database, and also with each other, using the message server.
ANS:-
The application layer of an R/3 System is made up of the application servers and the message server. Application programs in an R/3 System are run on application servers. The application servers communicate with the presentation components, the database, and also with each other, using the message server.
99. In an ABAP/4 program how do you
access data that exists on a presentation server vs on an application
server?
ans:-
ans:-
i)using loop statements.
ii)flat
100. What are different data types in
ABAP/4?
ans:-
Elementary - predefined C,D,F,I,N,P,T,X. and Userdefined TYPES.
ans:-
Elementary - predefined C,D,F,I,N,P,T,X. and Userdefined TYPES.
For
More Real Time Interview Questions See Below Posts
"You found the information helpful and want to say thanks? Your donation is enough to inspire us to do more. Thanks a bunch!"
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.