Part 9 : SAP ABAP Interview Questions and Answers

In select-options, how to get the default values as current month first date and last date by default? Eg: 1/12/2004 and 31/12/2004


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

What are screen painter? Menu painter? Gui status? ..etc.
Ans dynpro - flow logic + screens.

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

Overall how do you write transaction programs in SAP?
Ans Create program-SE93-create transaction code -Run it from command field.

Create the transaction using object browser (SE80)
Define the objects e.g. screen, Transactions. – Modules – PBO, PAI.

Does SAP has a GUI screen painter or not? If yes what operating systems is it available on? What is the other type of screen painter called?
Ans Yes.
Operating System – Windows based
Screen Painter – Alpha numeric Screen Painter

What are step loops? How do you program page down page up in step loops?
Ans Step loops are repeated blocks of field in a screen.

Step loops: Method of displaying a set of records.
Page down & Page up: decrement / increment base counter
Index = base + sy-step1 – 1

Is ABAP a GUI language?
Ans 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?
Ans Main program with A Includes

1. TOP INCLUDE – GLOBAL DATA
2. Include for PBO
3. Include for PAI
4. Include for Forms

What are the include programs?
Ans When the same sequence of statements in several programs is to be written repeatedly. 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?
Ans Yes, only external subroutines Using 'SUBMIT' statement.

What are user exits? What is involved in writing them? What precautions are needed?
Ans User defined functionality included to predefined SAP standards. Point in an SAP program where a customer's own program can be called. In contrast to customer exits, user exits allow developers to access and modify program components and data objects in the standard system. On upgrade, each user exit must be checked to ensure that it conforms to the standard system.

There are two types of user exit:

1. User exits that use INCLUDEs - These are customer enhancements that are called directly in the program.
2. User exits that use TABLEs - These are used and managed using Customizing. Should find the customer enhancements belonging to particular development class.

What are RFCs? How do you write RFCs on SAP side?

What are the general naming conventions of ABAP programs?
Ans Should start with Y or Z.

How do you find if a logical database exists for your program requirements?
Ans 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?
Ans Transaction code is entered in command field to open the table – Utilities –
Table contents display.

How do you find the menu path for a given transaction in SAP?

What are the different modules of SAP?
Ans FI, CO, SD, MM, PP, HR.

How do you get help in ABAP?
Ans HELP-SAP LIBRARY, by pressing F1 on a keyword.

What are different ABAP/4 editors? What are the differences?
Ans

What are the different elements in layout sets?
Ans PAGES, Page windows, Header, Paragraph, Character String, Windows.

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

What type of variables normally used in sap script to output data?
Ans

How do you number pages in SAP Script layout outputs?
Ans & page & &next Page &

What takes most time in SAP script programming?
Ans LAYOUT DESIGN AND LOGO INSERTION.

How do you use tab sets in layout sets?
Ans Define paragraph with defined tabs.

How do you backup SAP Script layout sets? Can you download and upload? How?
Ans SAP script backup :- In transaction SE71 goto Utilities -> Copy from client -> Give source form name, source client (000 default), Target form name.

Download :- SE71, type form name -> Display -> Utilities -> form info -> List -> Save to PC file.

Upload :- Create form with page, window, page window with the help of downloaded PC file. Text elements for Page windows to be copied from PC file.

What are presentation and application servers in SAP?
Ans 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 Presentation Server vs on an Application Server?
Ans Using loop statements and Flat

What are different data types in ABAP/4?
Ans
Elementary -
Predefined: C, D, F, I, N, P, T, X.
User defined: TYPES.
Structured -
Predefined: TABLES.
User defined: Field Strings and internal tables.

What is difference between session method and Call Transaction?
Ans Call Transaction –

1. Single transaction
2. Synchronous processing
3. Asynchronous and Synchronous update
4. No session log is created
5. Faster

Session –

1. Multiple Transaction
2. Asynchronous processing
3. Synchronous update
4. Session log is created
5. Slower

Setting up a BDC program where you find information from?

What has to be done to the packed fields before submitting to a BDC session.
Ans Fields converted into character type.

What is the structure of a BDC sessions.
Ans BDCDATA (standard structure).

What are the fields in a BDC_Tab Table.
Ans PROGRAM, DYNPRO, DYNBEGIN, FNAM, FVAL.

What do you define in the domain and data element.
Ans Domain - Technical details are defined in Domain like data type, number of decimal places and length.

Data Element – Functionality details are defined in Data elements – Field Text, Column Captions, Parameters ID, and Online Field Documentation.

What is the difference between a pool table and a transparent table and how they are stored at the database level.
Ans Pool tables are a logical representation of transparent tables. Hence no existence at database level.

Where as transparent tables are physical tables and exist at database level.

Pool Table -

4) Many to One Relationship.
5) Table in the Dictionary has the different name, different number of fields, and the fields have the different name as in the R3 Table definition.
6) It can hold only pooled tables.

Transparent Table –
4) One to One relationship.
5) Table in the Dictionary has the same name, same number of fields, and the fields have the same name as in the R3 Table definition.
6) It can hold Application data.

What is cardinality?
Ans For cardinality one out of two (domain or data element) should be the same for Ztest1 and Ztest2 tables. M:N Cardinality specifies the number of dependent(Target) and independent (source) entities which can be in a relationship.

For Sales Document: Item Data, which table is used?
Ans VBAP – Sales Document, Sales Document Item, Material Number, Material Entered, Batch Number, Material Group, Target Quantity in Sales Document.

What are the types of tables?
Ans
1) Transparent table
5) Pool table
2) Cluster table are data dictionary table objects
6) Sorted table
3) Indexed table
7) Hash table
4) Internal tables.

Related Posts

No comments:

 

Aired | Copyright © 2009-2014| All Rights Reserved 2014

Contact Us | About Us