SAP-ABAP (part-5) interview question and answers

What do you do with errors in BDC batch sessions?

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.

How do you set up background jobs in SAP? What are the steps? What are the event driven batch jobs?

go to SM36 and create background job by giving job name,job class and job steps(JOB SCHEDULING)

Does SAP handle multiple currencies? Multiple languages?

Yes.

What is SAPscript and layout set

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

What are the ABAP/4 commands that link to a layout set?

control commands,system commands,

What are IDOCs?

IDOCs are intermediate documents to hold the messages as a container.

What are screen painter? menu painter? Gui status? ..etc.

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.

What is screen flow logic?What are the sections in it? Explain PAI and PBO.

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.

Overall how do you write transaction programs in SAP?

Create program-SE93-create transcode-Run it from command field.

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

step loops are repeated blocks of field in a screen.

Is ABAP a GUI language?

Yes. ABAP IS AN EVENT DRIVEN LANGUAGE.

Normally how many and what files get created when a transaction program is written? What is the XXXXXTOP program?

ABAP/4 program. DYNPRO

What are the include programs?

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.

Can you call a subroutine of one program from another program?

Yes- only external subroutines Using 'SUBMIT' statement.

What are the general naming conventions of ABAP programs?

Should start with Y or Z.

How do you find if a logical database exists for your program requrements?

SLDB-F4.

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?

Transcode is entered in command field to open the table.Utilities-Table contents-display.

What are the different modules of SAP?

FI,CO,SD,MM,PP,HR.

How do you get help in ABAP?

HELP-SAP LIBRARY,by pressing F1 on a keyword.

What are the different elements in layout sets?

PAGES,Page windows,Header,Paragraph,Character String,Windows.

Can you use if then else, perform ..etc statements in sap script?

yes.

What takes most time in SAP script programming?

LAYOUT DESIGN AND LOGO INSERTION.

What are presentation and application servers in SAP?

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.

In an ABAP/4 program how do you access data that exists on a presentation server vs on an application server?

i)using loop statements. ii)flat

What are different data types in ABAP/4?

Elementary - predefined C,D,F,I,N,P,T,X. userdefined TYPES. ex: see in intel book page no 35/65
Structured - predefined TABLES. userdefined Field Strings and internal tables.

What is the structure of a BDC sessions.

BDCDATA (standard structure).

What are the fields in a BDC_Tab Table.

program,dynpro,dynbegin,fnam,fval.

What is the difference between a pool table and a transparent table and how they are stored at the database level

Pool tables is a logical representation of transparent tables .Hence no existence at database level. Where as transparent tables are physical tables and exist at database level.

What is cardinality?

For cardinality one out of two (domain or data element) should be the same for Ztest1 and Ztest2 tables. M:N