SAP---ABAP

Monday, May 12, 2008

ABAP/4 Interview Qns and Answers

26) Difference between UPLOAD and WS_UPLOAD?

Ans UPLOAD - File transfer with dialog from presentation server file to internal table. Data which is available in a file on the presentation server is transferred in an internal table. ASCII & Binary files can be transferred.

WS_UPLOAD - To read data from the presentation server into an internal table without a user dialog, use the function module WS_UPLOAD. The most important parameters are listed below.

Parameters

Function

CODEPAGE

Only for upload under DOS: Value IBM

FILENAME

Filename

FILETYPE

File type




27) Why did u switch to SAP?

Ans

28) What is a Logical Database?

Ans Logical Databases are special ABAP programs that retrieve data and make it available to application programs.

Use of LDB – is used to read data from database tables by linking them to executable ABAP programs.


29) What are the events used for Logical Database?


Ans Two Events –


1) GET - This is the most important event for executable programs that use a logical database. It occurs when the logical database has read a line from the node and made it available to the program in the work area declared using the statement NODES

The depth to which the logical database is read is determined by the GET statements.


2) PUT - The PUT statement directs the program flow according to the structure of

the logical database.


30) What is the difference between Get and Get Late?

Ans GET - After the logical database has read an entry from the node
.

GET LATE - After all of the nodes of the logical database have been processed that are below
in the database hierarchy.


31) What are the data types of Internal Tables?

Ans There are three types:

1) Line

2) Key

3) Table


32) What are the events used in ABAP in the order of execution?


Ans

Events are:

1. INITIALIZATION

2. AT SELECTION-SCREEN

3. AT SELECTION-SCREEN ON

4. START-OF-SELECTION

5. TOP-OF-PAGE

6. TOP-OF-PAGE DURING LINE SELECTION

7. END-OF-PAGE

8. END-OF-SELECTION

9. AT USER-COMMAND

10. AT LINE-SELECTION

11. AT PF

12. GET

13. GET LATE.

14. AT User Command





No comments: