Wednesday, May 14, 2008

IBM abap interview Questions phase - 3

What is the difference between the long form and the short form of making database changes?

What is the advantage of using the SAP long form over the short form of database changes?

Can ‘Where’ clause be used when updating database entries?

Ans :- Yes.

Describe array operations and their advantages?

Why is it so important for a programmer to check the lock entries in the database?

How can you find a lock entry for a database table?

What steps are necessary to set a lock on a record within a database table?

How do you unlock the entry? Why is this necessary?

What is the difference between ‘SET SCREEN ###’ and ‘SET SCREEN ###. LEAVE SCREEN.’?

After a ‘CALL SCREEN ###’ command, where does the processing return after the screen has been executed?

Which is more similar to a call with return, the ‘SET SCREEN’ or the ‘CALL SCREEN’?

What function is performed by the ‘SET SCREEN 0’ command?

Where must you place the ‘SET PF-STATUS.’ Command in your on-line program?

Why it is a good idea to clear the ok_code after deciding which action to take?

How do you specify that a function is an exit type command?

What are screen groups?

What is the correct syntax for dynamically modifying a large number of screen fields?

What is the purpose of the MODIFY command when performing dynamic screen modifications?

Various Event for a screen?

Ans :- Clicking Push Button, Function Key, Menu Option.

How do you run a report for a row in table?

Ans :- Using Graphics Multiplexer. There is an option some thing similar to screen capture which captures data only. Using that data you can draw graphs (3D and 2D). This option is available all the time from Menu! -> Generate Graphics which captures the data then you need to drag and select the data you want to draw a graph on. Once you select you can click on Graphics, which launches graphics multiplexer.

What are user Exits and transactions?

Ans :- Generally, user exits are the forms defined within SAP standard code (usually starting with user exit). These predefined areas in the code allow programmers to insert custom defined code into the standard processing of a transaction (e.g. allow resorting of the batch sequence in VA01 batch processing). There are many specific examples if you are interested, but usually user exits are searched for when a specific use is being analysed.

How do you import a UNIX program using BDC?

What is variable selection with variants?

Ans :- It is possible to fetch values for variants from table TVARV fields. In this case the value of TVARV field is set before running the program with the variant. This is variable selection since variant runs with different values. This is especially useful for batch mode runs.

How do you run programs with variant?

Ans :- Current screen will have “Execute with variant” and “Overview of variants” buttons if variants can be used. Choose to run with “Execute with variant” and run with a variant.

What is SPA/GPA? When do you use it?

Ans :- You can set and display default values in fields. You make the assignment using PID in field attributes and check SPA or GPA option. Other way of using this is using SET PARAMETER and GET PARAMETER commands.

Ex:- SET PARAMETER FIELD EMPL-EMPID ID ‘EMP’

GET PARAMETER ID ‘EMP’ FIELD EMPL-EMPID

How can you test Flow Logic?

Ans :- You need to create a transaction for this screen first. If you go to Screen -> Test then it will show a radio button where you can either check with Screen Flow Logic or with Out Screen Flow Logic.

What happens if you choose Hold Data option in screen attributes?

Ans:- System automatically shows the data if the user returns to the screen.

What happens if you enter 0 in NEXT Screen attribute?

Ans :- It does not go to any other screen and it moves back one level. However you can control this in run-time using SET SCREEN command.

Where do you use Pop-Up Windows?

1. Data Input (prompting the user to enter data).

2. Online Control (Define or restrict the online flow for the user).

3. Data backup (Do you want to save the data? Yes or No).

4. Confirmation messages and Include messages.

How many menu titles can you have in a main menu?

Why and How do you display a message?

Ans :- Message is used to INFORM, WARN, EXIT with MSG, or CANCEL with MSG in a transaction. Message is displayed using:-

MESSAGE xnnn

Where x is Type and nnn is the number of message. In addition Message class is set at Program name line, e.g., PROGRAM xyz MESSAGE-ID cc where cc is message class.

What are various message types?

Ans :- I-Info, W-Warning, E-Error, A-Abend, S-Success.

How do you create Message class?

Ans :- Tools à Case à Development à Program maintenance à Messages

Enter name and go to next screen to enter messages.

What has to be done to the packed fields before submitting to a BDC session?

Did you use full graphical user interface in SAP R/3?

No comments:

Tutorials on SAP-ABAP

Adobe Interactive Forms Tutorials

Business Server Pages (BSP)

Userexits/BADIs

Web Dynpro for ABAP (Step by step procedure for web dynpro,Tutorials on Web Dynpro,)

ALV Tutorials

goodsites