Part 3 : SAP ABAP Interview Questions and Answers

6/16/2010 No Comment
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?

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.

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


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.


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?


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?

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

91) What are elements?

92) Can we have more than one selection-screen and how?
Ans Yes, we can have more than one selection screen.

Selection-screen begin of block honey with frame title text-101.
Select-options : deptno for zrekha_deptt-deptno.
Selection-screen end of block honey.

Selection-screen begin of block honey1 with frame title text-102.
Select-options : dname for zrekha_deptt-dname.
Selection-screen end of block honey1.

93) How to declare select-option as a parameter?
Ans SELECT-OPTIONS: specify are displayed on the selection screen for the user to enter values.

Parameters: dname like dept-dname.

Select-options: dname for dept-dname.

94) How can u write programmatically value help to a field without using search help and
match codes?
Ans By using two types of function modules to be called in SAP Script:

1) HELP_OBJECT_SHOW_FOR_FIELD
2) HELP_OBJECT_SHOW


Related Posts


No comments :

 

Aired | The content is copyrighted and may not be reproduced on other websites. | Copyright © 2009-2016 | All Rights Reserved 2016

Contact Us | About Us | Privacy Policy and Disclaimer