SAP ABAP Interview Questions IV
What are Interactive Reports?
Ans     An output list which displays just the basic details & allow user to interact, so that a new list is populated based on user-selection. With interactive list, the user can actively control data retrieval and display during the session.
Â
What are the commands used for interactive reports?
Ans     Top-of-Page during line-selection
Â
What are the system fields u have worked with? Explain?
Ans     I had worked with the following (30) system fields:
Â
1)Â Â Â Â Â SY-DBSYSÂ Â Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Central Database
2)Â Â Â Â Â SY-HOSTÂ Â Â Â Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Server
3)Â Â Â Â Â SY-OPSYSÂ Â Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Operating System
4)Â Â Â Â Â SY-SAPRLÂ Â Â Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â SAP Release
5)Â Â Â Â Â SY-SYSIDÂ Â Â Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â System Name
6)Â Â Â Â Â SY-LANGUÂ Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â User Logon Language
7)Â Â Â Â Â SY-MANDTÂ Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Client
8)Â Â Â Â Â SY-UNAMEÂ Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Logon User Name
9)Â Â Â Â Â SY-DATLOÂ Â Â Â Â Â Â Â Â Â - Â Â Â Â Â Â Â Â Â Local Date
10)Â SY-DATUMÂ Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Server Date
11)Â SY-TIMLOÂ Â Â Â Â Â Â Â Â Â - Â Â Â Â Â Â Â Â Â Local Time
12)Â SY-UZEITÂ Â Â Â Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Server Time
13)Â SY-DYNNRÂ Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Screen Number
14)Â SY-REPID -Â Â Â Â Â Â Â Â Â Â Current ABAP program
15)Â SY-TCODEÂ Â Â Â Â Â Â Â Â Â - Â Â Â Â Â Â Â Â Â Transaction Code
16)Â SY-ULINEÂ Â Â Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Horizontal Line
17)Â SY-VLINEÂ Â Â Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Vertical Line
18)Â SY-INDEXÂ Â Â Â Â Â Â Â Â Â Â - Â Â Â Â Â Â Â Â Â Number of current loop Pass
19)Â SY-TABIXÂ Â Â Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Current line of internal table
20)Â SY-DBCNTÂ Â Â Â Â Â Â Â Â - Â Â Â Â Â Â Â Â Â Number of table entries processed
21)Â SY-SUBRCÂ Â Â Â Â Â Â Â Â Â - Â Â Â Â Â Â Â Â Â Return Code
22)Â SY-UCOMMÂ Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Function Code
23)Â SY-LINCTÂ Â Â Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Page Length of list
24)Â SY-LINNOÂ Â Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Current Line
25)Â SY-PAGNOÂ Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Current Page Number
26)Â SY-LSINDÂ Â Â Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Index of List
27)Â SY-MSGIDÂ Â Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Message Class
28)Â SY-MSGNOÂ Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Message Number
29)Â SY-MSGTYÂ Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Message Type
30)Â SY-SPONOÂ Â Â Â Â Â Â Â Â -Â Â Â Â Â Â Â Â Â Â Spool number during printing
Â
What is the difference between Primary key and Unique Key?
Ans     Primary Key – It can accepts 0 value and cannot be NULL.
           Unique Key – It can be NULL.Â
Â
What is the transaction code for Table maintenance?
Ans     SM30
Â
If u are using Logical Databases how will u modify the selection-screen elements?
Ans     Select-options : dname for deptt-dname.
Â
What is an RFC?
Ans     Remote Function Call
Â
Â
If u are using RFC and passing values to a remote system how does it work?
What are the events in Screen Programming?
Ans     There are two events in Screen Programming:
Â
PBO (Process Before Output) – Before the screen is displayed, the PBO event is processed.
PAI (Process After Input) – When the user interacts with the screen, the PAI event is processed.
POH (Process On Help) - are triggered when the user requests field help (F1). You can program the appropriate coding in the corresponding event blocks. At the end of processing, the system carries on processing the current screen.
POV (Process On Value) - are triggered when the user requests possible values help (F4). You can program the appropriate coding in the corresponding event blocks. At the end of processing, the system carries on processing the current screen.
Â
Â
What is the significance of HIDE?
Ans     Its stores the click value and display the related record in the secondary list.























