Sap Abap Interview DIFFERENCES
Sap Abap Interview DIFFERENCES
Smartforms has Only 1 main window while Sap script has 99 main windows
You can not print labels using smart forms
2.BDC and LSMW
In BDC we have to take care of field mapping whereas field mapping is taken care by sap in lsmw.
BDC is mostly used for customised data upload while LSMW is used for uploading Master data.
In BDC we need to write large code but in LSMW small coding is needed.
BADI is business add ins, it is used to customize the standard business flow
BAPI is Business application programming interface. It is nothing but Remote enabled function module which
User exit is an include program given by SAP in that you can write your code , It needs Access key from SAP
Select single will fetch only one record while select up to n row. Will fetch n rows from database
To display the output in ALV we have different function modules and class like REUSE_ALV_GRID_DISPLAY ,
If you run the classical report in background after JOB finished you can see it’s output which stored in spool,
While in case of ALV you need code extra to store the output as it will not generate the spool.
You cannot retrieve the output for the report which is displayed using ALV GRID Display.As spool Request will
not be created for the same. While in case of list display Report out put will be there in spool request.
8. Classical and drill down report
In classical report user cannot interact with report whereas in drill down report user can interact with report.
Drill down facility is not provided in classical report while in drill down it is provided.
If they ask you in detail then tell the interviewer that interact with the report means in drill down report we
have one basic list and 20 secondary lists so we can directly go to 5th list or 10th list as per our requirement
similarly we can come back to any list. Drill down means showing data in basic list first and when we double
click on any field we get summarised list. NOTE:- to go to next list in drill down report use following syntax SY-
LSIND = < list number> example: to go to 15th list SY-LSIND = 15 to come to 5th list from 15th list use F3 KEY
Get cursor will provide the location cursor position in the report
While hide is use to pass the data from basic list to secondary list
You cannot call normal function module from outside the current system while RFC function module can be
To call subroutine from outside its main program you need to write its main program name in the bracket
The basic difference is validation is not done in direct input by pre defined function while in batch input it is
coved.
Synchronous mode will wait until the BDC session gets over while asynchronous mode will not wait for that
At selection screen is used to validate the whole screen elements while at selection field is used to validate the
particular field.
When you display the error message in at selection on field the focus will be on that particular field while in case
PBO will be called before the screen is displayed to the user while process after input is called once user interact
with screen.
If you use the STOP statement within an event block, the system stops processing the block Immediately.
If you use the EXIT statement within an event block but not in a loop, the system stops Processing the block
immediately
If you use the CHECK <expr> statement within an event block but not within a loop, and the Condition <expr>
is not fulfilled, the system exits the processing block immediately. <expr> can be any logical expression or the
name of a selection table. If you specify a selection table and the contents of the corresponding table work are
do.
You can use FREE to initialize an internal table (along with header line ) and release its memory space.
REFRESH will only initialize an internal table (along with header line)
COLLECT <line> INTO <itab>. The statement first checks whether the internal table contains an entry with the
same key. If not,it acts like INSERT. If there is already a table entry with the same key, COLLECT does not
inserta new line. Instead, it adds the values from the numeric fields of the work area <line> to thevalues in the
SUM.Can only be used in loops through internal tables. Calculates the sums of the numeric fields in alllines of
the current control level and writes the results to the corresponding fields in the workarea.
Call transaction is Synchronous Processing while session (classical) method is Asynchronous Processing
In call transaction we can update the database both synchronously and asynchronously. We can specify the
In call transaction No batch input processing log is maintained while in session method details log is
maintained.
As the name suggest AT FIRST executed for the first time while AT LAST executed in last.
Both the enhancement-point and section are available for you to change standard SAP code. Difference is in fact
that you use Enhancement-point to add ABAP code to standard SAP and enhancement-section to
Top of page trigger when report encounter the first write, skip or new-line statements.
End of page trigger when page size is over or report display gets over.
27. Table and structure
Table has physical definition into the underline database while structure does exist physically in the data base.
28. table and views
Table has data init while view does not contain data in it. Both exist in the data base. when u run the view it
Inner join joins the table at database level whereas For..All..Entries joins the table at application level.
In For..All..Entries when the condition gets satisfied data is fetched in one single shot from database table
It is always good programming practice to join tables at application level because if we join tables at database
Transparent Table: Exists with the same structure both in the dictionary and database exactly with same data
and fields. it’s to store transaction data. It’s one to one Relation table
Pool tables: These are logical tables must be assigned to a table pool when they are defined. Its use to store
Clustered tables: these also logical tables and must be assigned to table cluster when they are defined. It’s also
used to store control data, temporary data or text ex., documentation. It’s also many to one relation table.
Top of page is triggered for the basic list while top of page at line selection triggers at secondary list.
start_form function module is called if we want to use different forms with similar characteristics in a single
Open dataset is use to read / write file into application server while close dataset is use to close that file.
34. data element and domains
Domain gives technical details like length , decimal etc..while data elements gives description and business
details
Set screen <no> set the next screen value and temporarily override the next screen value in screen attribute.
External session is nothing but the window you have opened in your screen .By Default you can open 6 external
sessions( 6 windows = you can increase it via basis’s setting). Internal session is created when you call any
Functional module or any other task in your program. counts for internal sessions are 9.
An Elementary Search help defines the flow of a standard input help. It is composed of a selection method
that defines where to get the data that will make up the hit list, An interface consisting of search help
parameters that define the exchange of data between the screen and the selection method and a dialog type that
A Collective Search help is a combination of several elementary search helps giving the user a different
search paths. The interface parameters of the elementary search help are assigned to the parameters of the
collective search.
38. What is the difference between Clustered Tables and Pooled Tables?
A pooled table is used to combine several logical tables in the ABAP/4 dictionary. Pooled tables are logical
tables that must be assigned to a table pool when they are defined.
Cluster table are logical tables that must be assigned to a table cluster when they are defined.
Cluster table can be used to store control data they can also used to store temporary data or text such as
documentation.
User exit is sap defined includes so to modify it we need key from SAP.while customer exit like function exit ,
screen exit we don’t need any key.
Main window is compulsory in scripts whereas main window not compulsory in form.
smartform generates function module while scripts dont generate function module.
Screen has it’s own gui status while subscreen does not have any gui status.Subscreens are part of main screen.
Standard table can be accessed by key as well as index while You can only access hashed tables by specifying the
key. The system has its own hash algorithm for managing the table.
difference between internal session and external session difference between reports and module pool
difference between standard table and hashed tables difference between table and view
dif erence between enhancement points and section dif erence between stop check and exit
sap abap interview dif erences sap abap interview questions and answers sap abap jobs questions
raju borda
Raju is working with Technical areas like SAP ABAP, PI , Web design, JAVA , PBT, robotics as
architect also functional areas like SCM , QM, MM , insurance . When he is not Doing above geeky
things you might nd him travelling , Cooking , dancing or drinking with friends :-) .
Change Pointers in SAP ABAP Tutorial on How to Work with eld Exit
NO COMMENTS
LEAVE A REPLY
Name *
Email *
Website
POST COMMENT
SEARCH...
RECENT POSTS
FIND US ON FACEBOOK
SAP Ignite
2.6K likes
Like Page
SAP Ignite
on Wednesday
CATEGORIES
ABAP
Android
Coding Challenges
Enhancement
featured
Interviews
PI ( Process integration )
SAP
SAP HANA
Uncategorized
META
Log in
Entries RSS
Comments RSS
WordPress.org