16 January 2014

SAP ABAP QUESTIONS & ANSWERS-3


SAP ABAP QUESTIONS & ANSWERS-3 :-


Q. What are interface/conversion programs in SAP ? 
ANS :- 
CONVERSION : LEGACY SYSTEM TO FLAT FILE.
INTERFACE  : FLAT FILE TO SAP SYSTEM.

Q. What are logical databases ? What are the advantages/disadvantages of logical databases ? 
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.
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). 

Q. What specific statements do you using when writing a drill down report ? 
ANS:- 
At line-selection,at user-command,at pf.

Q. 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).

Q. 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.

Q. 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)

Q. Does SAP handle multiple currencies ? Multiple languages ? 

ANS:- 
Yes.

Q. What is SAPscript and layout set ? 

ANS:- 
The tool which is used to create layout set is called SAPscript. Layout set is a design document.

Q. What are the ABAP/4 commands that link to a layout set ? 
ANS:- 
control commands,system commands,

Q. What are IDOCs ? 
ANS:- 
IDOCs are intermediate documents to hold the messages as a container.

Q. 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.

Q. 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.

Q. Overall how do you write transaction programs in SAP ? 
ANS:-  
Create program-SE93-create transcode-Run it from command field.

Q. What are step loops ? How do you program pagedown pageup in step loops ? 

ANS:- 
Step loops are repeated blocks of field in a screen.

Q. Is ABAP a GUI language ? 

ANS:-
Yes.
ABAP is an event driven language.



No comments:

Post a Comment