Part 2: SAP ABAP Interview Questions and Answers

6/15/2010 No Comment
55) What are Extracts?
Ans Extracts are dynamic sequential datasets in which different lines can have different structures. We can access the individual records in an extract dataset using a LOOP.

56) How would u go about improving the performance of a Program, which selects data from MSEG & MKPF?
Ans



57) How does System work in case of an Interactive Report?
Ans




58) What is LUW?
Ans Logical Unit of Work




59) Different types of LUWs. What r they?
Ans Two types of LUW are:

1) DB LUW - A database LUW is the mechanism used by the database to ensure that its data is always consistent. A database LUW is an inseparable sequence of database operations that ends with a database commit. The database LUW is either fully executed by the database system or not at all. Once a database LUW has been successfully executed, the database will be in a consistent state. If an error occurs within a database LUW, all of the database changes since the beginning of the database LUW are reversed. This leaves the database in the state it had before the transaction started.
2) SAP LUW - A logical unit consisting of dialog steps, whose changes are written to the database in a single database LUW is called an SAP LUW. Unlike a database LUW, an SAP LUW can span several dialog steps, and be executed using a series of different work processes.

60) What is First event triggered in program?
Ans




61) What are various Joins? What is right outer join?
Ans



62) How do u find out whether a file exits on the presentation server?
Ans eps_get_directory_listing for directory



63) Systems fields used for Interactive Lists AND Lists
Ans Interactive System Fields: SY-LSIND, SY-CPAGE, SY-LILLI, SY-LISEL, SY-LISTI,
SY-LSTAT, SY-STACO, SY-STARO

Lists: SY-COLNO, SY-LINCT, SY-LINNO, SY-LINSZ, SY-PAGNO,
SY-TVAR0…..SY-TVAR9, SY-WTITL

64) Logo in SAP Script?
Ans RSTXLDMC OR

Steps for making and inserting Logo in SAP Script:

First Procedure:

1) Draw the picture
2) Save it
3) /nSE78
4) Write name & Choose Color
5) Click on Import
6) Browse picture
7) Enter

Second Procedure

1) /nSE71
2) Insert
3) Graphics
4) Click on stored on document server
5) Execute
6) Choose name of BMAP

65) What are the difference between call screen and leave screen?
Ans Call Screen: Calling a single screen is a special case of embedding a screen sequence. If you want to prevent the called screen from covering the current screen completely, you can use the CALL SCREEN statement with the STARTING AT and ENDING AT

CALL SCREEN 1000.

CALL SCREEN 1000 STARTING AT 10 10 ENDING AT 20 20.

LEAVE SCREEN statement ends the current screen and calls the subsequent screen.
LEAVE SCREEN.
LEAVE TO SCREEN 2000.
66) If internal table used in for all entries in empty then what happens
Ans No, records will be displayed.

67) If I forgot some command in SAP Script e.g.: suppress zero display - How to do find it?
Ans Suppressing of entire screens is possible with this command. This command allows us to perform screen processing “in the background”. Suppressing screens is useful when we are branching to list-mode from a transaction dialog step.

68) How to write a BDC - how do u go about it?
Ans Steps for writing BDC

1) /nSE38
2) Declare Tables, Data (for ITAB) and Data (for BDCITAB)
3) Call function ‘Upload’.
4) Write code for the First Screen, Radio Button, Filename, Change Button, Second Screen, Utilities (Create Entries), Third Screen and Save.
5) Call transaction ‘SE11’ using BDCITAB mode ‘A’.
6) Save, Check Errors, Activate and Execute.




69) What is Performance tuning?
Ans




70) Define Documentation.
Ans




71) Brief about Testing of programs.
Ans




72) How do u move on to the next screen in interactive reporting?
Ans Write code of the following:

1) Top-of-Page during line-selection
2) At line-selection

73) Create any functions? How to go about it?
Ans Steps for creating the Functions:

First Procedure:

1) /nSE37
2) Goto
3) Function Group (FG)
4) Create Group
5) Name of FG (ZREKHA_FG)
6) Short Text
7) Save
8) Local Object

Second Procedure

1) Environment
2) Inactive Object
3) Function Group (ZREKHA_FG)
4) Activate
5) Back

Third Procedure

1) Name of Function Module (ZREKHA_FM)
2) Create
3) Write FG Name (ZREKHA_FG)
4) Short Text
5) Save

Fourth Step:

Call function ‘ZREKHA_FM’.

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