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 2.
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.
Re:
What is performance tuning? Answer
performance
tuning is to improve the program performance using
some features.
using
nested selects,
for
all entries,
using
view,
ST05
is Tcode for performance tuning.
1. Avoid using nested select statemtns
2. Avoid using global varaibales
3. Avoid using move-corresponding
4. Avoid using '*' in ur select query
5. use key fields in where calues
6. Avoid using query llooop
Re:
What is collect statement?explain with example? Answer
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.
Re:
1. Driver prog & executive prog both r same ? 2. what is difference between
At selection screen & At selection out put ? 3 . what is node used in smart
form ?
Answer
2)Answer;
At selection screen event occurs while
selection screen
being processed . it is used to validate the user inputs
in the selection screen
at
selection screen output :
in PBO of selection screen , at selection screen output event is triggered . this event block allows you to modify the selection screen directly before it is displayed.
in PBO of selection screen , at selection screen output event is triggered . this event block allows you to modify the selection screen directly before it is displayed.
Re:
What is IDOC?
Answer
It
is an standard intermediate document used in EDI/ALE process
used in transferring the business objects to business
partners and in distribution of master data to the diff
plants which belongs to diff company codes.
Re:
What are Major differences in Smart forms and Scripts Answer
SAP
Script is Client Dependent, Smartforms is Client Independent.
In
Scripts We r unable print the Background Pictures but in Smart form
can do.
In
Scripts if u want to access any data from windows we must
call the write_form for every window in Driver Program but
in Smartforms when we are activating the smartform it automatically
generates a FM, using the FM we can call all windows
data From the smartform.
In
Scripts Main window is mandatary but in smartform not necessary.
In
Scripts if u want with work with Tables and Templates long
process, in smartforms very easy to work using navigation.
Smartform
is very user friendly than SAP Scripts.
In
Scripts main windows are avable from main 00-98 but in Smartforms
only one main window.
Re:
Which configuration we have to make first before we want to start Business
Workflow with our SAP R/3 Answer
The
first of all you should check the TCODE: SWU3
Then
config step by step according to the tcode screen
Re: How do you define an internal using types? Answer
We
can define internal tables in different ways. One way is by
using types.
ex:
DATA: ITAB TYPE STANDARD TABLE OF KNA1.
Instead
of standard table , we can use hashed table, sorted
table
also.
types:begin of itab,
a type i,
b type c,
end of itab.
data: itab1 type table of itab with
header line.
Re:
explain the script component in script? Answer
The
various component of the SAP script tools are:
1.
Editor -
Edits the text in a SAPscript form. The transaction of an application automatically calls this editor if you need to maintain texts related to the application.
Edits the text in a SAPscript form. The transaction of an application automatically calls this editor if you need to maintain texts related to the application.
2.Styles
and Forms -
Define and print the style and layout of SAPscript form.
Define and print the style and layout of SAPscript form.
3.
Composer or From processor -
Acts as central output module to prepare final layout and text for an output device by including styles , various formating options and the respective text.
Acts as central output module to prepare final layout and text for an output device by including styles , various formating options and the respective text.
4.
Programming interface -
Allows you to include SAPscript component into ABAP program and control the output of forms from the program.
Allows you to include SAPscript component into ABAP program and control the output of forms from the program.
5.
Database tables -
Store texts, styles and forms.
Store texts, styles and forms.
Re:
can any one tell me the following question's answer
1. How can we create PUSH
Button in presentation layer.
2.How can we print the record.
3.If database has
nor records & if we write 'for all entries' in select statement then what
will be happen.
Answer
Answer
1.create
the pushbutton in Presentation server by using the
syntax
is given below.
for
creating the push button:
selection-screen
pushbutton 10(06) 'name of pushbutton' user-command
cli1.
This
is initilized into the Initialization event in the classical
report.
2.print
the record by using the statement Loop at
Loop at Itab
write: itab-field.
Endloop.
3.if
database has no records it will work as like this.
first up all it will check the base table if
this table is
empty
then it will retrive the data from the destination
table
based on the condition.
Re:
1.What is the difference between append structure and include structure. 2.
what is the logging of technical setting while creating db table. Answer
1.
Append structure :
it will add Fields to the table from last . we can't use that structure in another table.
it will add Fields to the table from last . we can't use that structure in another table.
2.
Include structure:
we can add fields in middle. we can use include structure in more than one table.
we can add fields in middle. we can use include structure in more than one table.
1. What is the typical structure of an
ABAP/4 program?
ANS:- HEADER ,BODY,FOOTER.
ANS:- HEADER ,BODY,FOOTER.
2. What are field symbols and field
groups.?
Have you used "component idx of structure" clause with field groups?
ANS:-
Field symbols:-
Have you used "component idx of structure" clause with field groups?
ANS:-
Field symbols:-
Field groups :-
Can any body explain me what is field
group?
Field groups are groups similar fields
together into one name. Field group works in conjuction
with
INSERT f1 f2 INTO fg
EXTRACT fg
SORT BY fg
LOOP ... ENDLOOP
EXTRACT fg
SORT BY fg
LOOP ... ENDLOOP
INSERT f1 f2 INTO fg
---------------------
---------------------
The insert statement is used to create
a field group dynamically by inserting the field into it. Only global data
fields can be inserted and not local data fields eg : in form modules.
EXTRACT fg
----------
----------
This will combine all the fields in the
fieldgroup and write them to a sequential dataset as a single record.
SORT BY fg
----------
----------
Sorting of sequential dataset by field
group.
LOOP AND ENDLOOP
---------------
---------------
LOOP.
AT ***
......
....
ENDAT.
AT ***
.....
....
ENDAT.
ENDLOOP.
AT ***
......
....
ENDAT.
AT ***
.....
....
ENDAT.
ENDLOOP.
3. What should be the approach for
writing a BDC program?
ANS:-
ANS:-
STEP 1:
CONVERTING THE LEGACY SYSTEM DATA TO A FLAT FILE to internal table CALLED "CONVERSION".
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".
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).
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).
4. What is a batch input session?
ANS:-
ANS:-
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.
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.