SAP---ABAP

Monday, May 12, 2008

ABAP/4 Interview Qns and Answers





74) Advanced topics?

Ans



75) Function modules used in F4 help.

Ans There are two types of function modules used in F4 help:

1) F4IF_FIELD_VALUE_REQUEST

2) F4IF_INT_TABLE_VALUE_REQUEST



76) Work most on which module: Name a few tables.

Ans Sales & Distribution Module

1) Sales Document: Item Data – VBAP

2) Sales Document: Partner – VBPA

3) Sales Document: Header Data – VBAK

4) Sales Document Flow – VBFA

5) Sales Document: Delivery Item Data - LIPS

6) Customer Master – KNA1

7) Material Data – MARA

8) Conditions (Transaction Data) - KONV


77) System Table used

Ans

1) Sales Document: Item Data – VBAP

2) Sales Document: Partner – VBPA

3) Sales Document: Header Data – VBAK

4) Sales Document Flow – VBFA

5) Sales Document: Delivery Item Data - LIPS

6) Customer Master – KNA1

7) Material Data – MARA

8) Conditions (Transaction Data) - KONV


78) From a table how do u find whether a material is used in another material BOM?

Ans


79) What is read line?

Ans READ LINE and READ CURRENT LINE – These statements are used to read data from the lines of existing list levels. These statements are closely connected to the HIDE technique.


80) How u used logical database? How is data transferred to program? Corresponding statement in LDB.

Ans


81) How do u suppress fields on selection screen generated by LDB?

Ans


82) Can there be more than 1 main window in SAP Script?

Ans No, there cannot be more than 1 main window in SAP Script because in WRITE_FORM, it asks for the parameter Window that will create the problem.

WRITE_FORM –

Exporting

Element

Window


83) Global and local data in function modules.

Ans


84) What are the differences between SAP memory and ABAP memory?

Ans ABAP Memory is a memory area in the internal session (roll area) of an ABAP program. Data within this area is retained within a sequence of program calls, allowing you to pass data between programs that call one another. It is also possible to pass data between sessions using SAP Memory.

SAP Memory is a memory area to which all sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session (as with ABAP memory) or to pass data from one session to another.



85) What are differences between At selection-screen and At selection-screen output?

Ans AT SELECTION-SCREEN event is triggered in the PAI of the selection screen once the ABAP runtime environment has passed all of the input data from the selection screen to the ABAP program.

AT SELECTION-SCREEN OUTPUT - This event block allows you to modify the selection screen directly before it is displayed.


86) What are the events?

Ans

87) What is get cursor field?

Ans GET CURSOR statement transfers the name of the screen element on which the cursor is positioned during a user action into the variable .

GET CURSOR FIELD [OFFSET ] [LINE ] [VALUE ] LENGTH ].


88) What is the inside concept in select-options?

Ans Select-options specify are displayed on the selection screen for the user to enter values.

Different Properties of Select-options:

1) Visible Length

2) Matchcode Object

3) Memory ID

4) Lowercase

5) Obligatory

6) No Display

7) Modify ID

89) What is the difference between occurs 1 and occurs 2?

Ans

90) What is the difference between Free and Refresh?

Ans Free - You can use FREE to initialize an internal table and release its memory space without first using the REFRESH or CLEAR statement. Like REFRESH, FREE works on the table body, not on the table work area. After a FREE statement, you can address the internal table again. It still occupies the amount of memory required for its header (currently 256 bytes). When you refill the table, the system has to allocate new memory space to the lines.

Refresh - This always applies to the body of the table. As with the CLEAR statement, the memory used by the table before you initialized it remains allocated. To release the memory space, use the statement






No comments: