Wednesday, May 14, 2008

IBM abap interview Questions phase - 2

11. 23

Which is the best example of a foreign key?

(a) Data element.

(b) Domain.

(c) A ‘VALUES’ statement within the PAI module of the flow logic.

(d) A check table.

Ans :- d

12.

An on-line program consists of:

(a) Flow Logic, a screen, and an ABAP program module pool.

(b) A Screen, an ABAP program module pool, and a transaction.

(c) Flow logic, screen and a PAI event.

Ans :- b

13. 24

PBO’s:

(a) Are events performed in the screen after the user has entered some data?

(b) Is a module pool for an on-line screen?

(c) Is an on-line event?

(d) Contains all logic for error messaging.

14. 25

All of the following are examples of automatic screen field checks except for:

(a) Data formatting.

(b) Check tables.

(c) Values table.

(d) ‘VALUES’ statement in the PAI of the flow logic.

15. 26

A ‘COMMIT WORK’ command:

(a) Reads in a logical database.

(b) Closes a logical unit of work and confirms the changes in the database.

(c) Cancels a logical unit of work and rolls back all changes made with the UPDATE.

(d) Is automatically performs at each ‘UPDATE dbtab’ command line

Ans :- b

16.

The following is an example of a call ‘without return’:

(a) CALL TRANSACTION ‘VAO1’.

(b) SUBMIT ‘SAPMV45A’.

(c) CALL SCREEN 0.09.

Provide short answers for each of the following questions in the space provided:-

1.

Why would you use the DESCRIBE table command?

Ans :- To find out no. if entries in ITAB and to find the value of occurs.

2. 32

What are the 3 categories of DATA in the SAP system?

3. 34

What ABAP/4 command is used to process a logical database?

Ans :- GET

4. 35

At what 2 points in the ABAP code can the STOP command branch to?

Ans :- If you use the STOP statement within an event block, the system stops processing the block immediately. 1

5. 36

What is the difference between the templates ‘%’ and ‘_’ during string comparison?

6. 37

Where is the processing logic located in an on-line program?

Ans :- PBO,PAI.

7. 38

Describe the on-line processor. What is its function?

8.

How is data passed from the screen fields to the ABAP/4 program?

Ans :- GET PARAMETER ID.

9.

What does the TOP Include do for you as a coder?

10.

What are the steps in creating a screen?

11.

Where are the module statements declared? Where is the logic within each module?

12.

What is the significance of the word ‘OUTPUT’ in the declaration

MODULE TEST_KNOWLEDGE OUTPUT

-

-

ENDMODULE.

13.

Describe the fields on the screen attributes screen. Screen types, follow up screens, cursor position, etc.

14.

What is gained by using the Dictionary Fields menu option when creating your screen?

15.

How do you assign an OK_CODE for a push button? How is it used in your ABAP?

16.

What are the two effects of a foreign key from a user standpoint?

Ans :- Foreign keys are used to check input on screens, and to define the relationships netween the tables in a view, matchcode object, or lock object.

17.

What are user defined validation checks in the flow logic?

18.

Does the VALUES command in the flow logic go in the PAI or the PBO event?

19.

If an error occurs in the module pool, which fields are available for entry and which are display only fields?

20.

Which table stores the one-line messages? What is the message class and what is its significance?

Ans :-

21.

What does the ‘WITH’ statement add to a message?

Ans :-

22.

What effect does the FIELD statement have within the flow logic?

23.

Is the SET PARAMETER statement to be issued in the PBO or the PAI module? Why?

24.

Where does the GET PARAMETER statement get its values? Which field gets populated with the new value?

25.

Where can the SET CURSOR command be executed? What is its effect?

26.

What are matchcodes and how do they effect a screen field? Where are they specified in the on-line program?

27.

What is the effect of an ON CHAIN-REQUEST command in your flowlogic?

28.

What commands are used to change database table entries?

Ans :- UPDATE.

29.

How can you check if the changes to the database were successful?

Ans :- SY-SUBRC = 0.

11. 23

Which is the best example of a foreign key?

(a) Data element.

(b) Domain.

(c) A ‘VALUES’ statement within the PAI module of the flow logic.

(d) A check table.

Ans :- d

12.

An on-line program consists of:

(a) Flow Logic, a screen, and an ABAP program module pool.

(b) A Screen, an ABAP program module pool, and a transaction.

(c) Flow logic, screen and a PAI event.

Ans :- b

13. 24

PBO’s:

(a) Are events performed in the screen after the user has entered some data?

(b) Is a module pool for an on-line screen?

(c) Is an on-line event?

(d) Contains all logic for error messaging.

14. 25

All of the following are examples of automatic screen field checks except for:

(a) Data formatting.

(b) Check tables.

(c) Values table.

(d) ‘VALUES’ statement in the PAI of the flow logic.

15. 26

A ‘COMMIT WORK’ command:

(a) Reads in a logical database.

(b) Closes a logical unit of work and confirms the changes in the database.

(c) Cancels a logical unit of work and rolls back all changes made with the UPDATE.

(d) Is automatically performs at each ‘UPDATE dbtab’ command line

Ans :- b

16.

The following is an example of a call ‘without return’:

(a) CALL TRANSACTION ‘VAO1’.

(b) SUBMIT ‘SAPMV45A’.

(c) CALL SCREEN 0.09.

Provide short answers for each of the following questions in the space provided:-

1.

Why would you use the DESCRIBE table command?

Ans :- To find out no. if entries in ITAB and to find the value of occurs.

2. 32

What are the 3 categories of DATA in the SAP system?

3. 34

What ABAP/4 command is used to process a logical database?

Ans :- GET

4. 35

At what 2 points in the ABAP code can the STOP command branch to?

Ans :- If you use the STOP statement within an event block, the system stops processing the block immediately. 1

5. 36

What is the difference between the templates ‘%’ and ‘_’ during string comparison?

6. 37

Where is the processing logic located in an on-line program?

Ans :- PBO,PAI.

7. 38

Describe the on-line processor. What is its function?

8.

How is data passed from the screen fields to the ABAP/4 program?

Ans :- GET PARAMETER ID.

9.

What does the TOP Include do for you as a coder?

10.

What are the steps in creating a screen?

11.

Where are the module statements declared? Where is the logic within each module?

12.

What is the significance of the word ‘OUTPUT’ in the declaration

MODULE TEST_KNOWLEDGE OUTPUT

-

-

ENDMODULE.

13.

Describe the fields on the screen attributes screen. Screen types, follow up screens, cursor position, etc.

14.

What is gained by using the Dictionary Fields menu option when creating your screen?

15.

How do you assign an OK_CODE for a push button? How is it used in your ABAP?

16.

What are the two effects of a foreign key from a user standpoint?

Ans :- Foreign keys are used to check input on screens, and to define the relationships netween the tables in a view, matchcode object, or lock object.

17.

What are user defined validation checks in the flow logic?

18.

Does the VALUES command in the flow logic go in the PAI or the PBO event?

19.

If an error occurs in the module pool, which fields are available for entry and which are display only fields?

20.

Which table stores the one-line messages? What is the message class and what is its significance?

Ans :-

21.

What does the ‘WITH’ statement add to a message?

Ans :-

22.

What effect does the FIELD statement have within the flow logic?

23.

Is the SET PARAMETER statement to be issued in the PBO or the PAI module? Why?

24.

Where does the GET PARAMETER statement get its values? Which field gets populated with the new value?

25.

Where can the SET CURSOR command be executed? What is its effect?

26.

What are matchcodes and how do they effect a screen field? Where are they specified in the on-line program?

27.

What is the effect of an ON CHAIN-REQUEST command in your flowlogic?

28.

What commands are used to change database table entries?

Ans :- UPDATE.

29.

How can you check if the changes to the database were successful?

Ans :- SY-SUBRC = 0.

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