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'S in their interviews. For more details refer this post.
Re:
what is sap package ?
Answer
A
Package is Type of Development object which act as a container
to store a development objects such as screens , menus,
function , transactions
Re:
How to debugg script?
Answer
go
to se71
specify
the form name,
utilities
under
that activate debugger
sap
scripts was debugger.
go
to me23n
click
on print preview,
one
popup will display like sap script was debugger
click on ok button
click on ok button
here
it will display the form painter,
here
we can debug the form
Re:
Hi To all ABAP Guru's while transporting any report program do we need to
trasnport the text elements seprately or not reuired ? if it is so how do u
transport the text elemtns ? Thanks in Advance for ur answers Answer
Text
elements or any GUI elements get stored in a separate
repository
called MIME in ABAP. If you want to transport
text
elements or GUI elements of your report, the only thing
you
have to take care is - Transport your report in a
specific
package, Go to the Object navigator and make sure
you
transport the relevant text and GUI objects via the same
package.
Transporting
/ not transporting purely depends on the requirement.
Re:
how can we print both side in smartforms? what connects smartform to it's
driver program? in which event validation is done? Answer
We
can print page in both sides , By setting print mode as 'DUPLEX'
in Print attributes of page node.
FUNCTION
MODULE connects Smart form to its driver program.
Re:
u r running a report .it is taking a long time for execution .what steps will u
do to reduce the execution time? Answer
If
the report is taking time to fetch data from the database
server
we have to make sure that there is an optimized
"query".
In order to have an optimized query we need to
write
an optimized "where" conditions. That's database part.
Coming
to the Programming part.
Say
example. Our program has the usage of 95% and the
database
usage of 5 % then we have to see the program's
performance.
Try to reduce the number of LOOP's in a program
and
also try to use the logical operators where ever
necessary
to reduce the size of the program . that could
solve
the problem.
Performance
of reports could be increased by avaioind nested
select
statements. Instead use Select ... FOR ALL ENTRIES.
Restrict
the use of Select... Endselect, instead go for
select
.. inot table itab and then loop at itab.
Avoid
nested loop statement, Do not use select within loop.
Do
not call function module within loop statement.
Re:
How to compare the two tables between the two systems? what is the process if
anyone tell me please give me the answer? Answer
You
can use the Transaction SCMP to compare table or view of
two different systems. For this you need to have R/3 connection.
Re:
we can write the select query or any code after the end of selection Answer
yes
,we can write.
Re:
what is the use of lock object?? Answer
Lock
objects are use in SAP to avoid the inconsistency at the
time of data is being insert/change into database.
SAP
Provide three type of Lock objects.
-
Read Lock(Shared Locked)
protects
read access to an object. The read lock allows other
transactions read access but not write access to the
locked area of the table
-
Write Lock(exclusive lock)
protects
write access to an object. The write lock allows other
transactions neither read nor write access to the
locked area of the table.
You can create a lock on a object of
SAP thorugh transaction SE11 and enter any
meaningful name start with EZ Example EZTEST_LOCK.
Technicaly:
When you create a lock object System
automatically creat two function module.
1. ENQUEUE_<Lockobject name>.
To insert the object in a queue.
To insert the object in a queue.
2. DEQUEUE_<Lockobject name>.
To remove the object is being queued through above FM.
To remove the object is being queued through above FM.
You have to use these function module
in your program
Re:
If we put Top of Page in between Start-of-selection and End-of-selection and
what happens Answer
Nothing
will happen! the
run time system picks up the events always in its pre-defined
order.eventough you code any event in any order always
right event is picked and processed.
Re:
What is a difference between - RETURN, EXIT, CHECK, STOP & REJECT - To
leave the processing blocks Answer
STOP:
This terminates the block and executes end-of selection.
EXIT:
It terminates the loop processing and process the next statements.
CHECK:
It evaluates the subsequent logical expression if it is
true the processing continue with the next statement.
CONTINUE:
terminates the current loop pass, returns the processing
to the beginning of the loop and starts the next loop
pass,
REJECT:
it terminates the current event, even from loops or
subroutines.
Re:
How to get the table name from a field? NOTE:if only the field name is given in
a flat file.
Answer
we
can find the table for a specific field from table DD03L which will contain all
table names for corresponding fields.
Re:
how many times a main window can be placed on placed on the same page in a
layout
Answer
99
main windows we can place in same page Main00, Main01..... Main98
The Session method in BDC utilizes the
Function Modules:
BDC_OPEN_GROUP
BDC_INSERT
BDC_CLOSE_GROUP
The data is present in the session is
not updated in the tables until & unless the session
is processed by the transaction SM35. It also updates the
data synchronously. It has an inbuilt error log.
Call Transaction method:Update the records faster.It should return the value.
Re:
How to deactivate the sort button from the alv output Answer
goto "reuse_alv_grid_display"
there
sort option is there
give
status ' '
Re:
diff way of handling errors in call trans ans session methods Answer
In
call transaction, the errors can be handled by BDCMSGCOLL
Structure and its fm format_messages to display the
appropriate messages.
In
Session Method, we have generated error logs to locate the
errors wherein we can find errors on a particular line. After
that , error log analysis report will be generated to update
errors.
In call transaction we handle the the
errors explicitly Where as in session method errors will
be implicitly in error logs.
Re:
can please tell me the differences b/w Bapi & bdc? Answer
Bapi's
are procedural and object oriented.the
main advantage of bapi's is they are also used for the migration
of data from one non-sap to sap system.
Bapi's
are useful for certain taransactions where bdc's
can't
be used like nace transactions.
Re:
wat is RFC?wat r the RFC types? Answer
A
remote function call is a call to a function module running
in system different from the caller's. the remote function
can also be called from with in the system , but usually
caller and called will be in different system.
RFC are three type
1.asyncharnous
2.syncharnous
3.transaction
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.