Sei sulla pagina 1di 3

19. There is a screen 500 with next screen set as 501 in its screen attribute.

Business want
that in some of the condition instead of going to screen 501 it should go to screen 502 after
screen 500 finish its execution .how will you achieve this?
A. Use statement LEAVE TO SCREEN 502. in PBO of screen 501.
B. Use statement SET SCREEN 0. In PAI of screen 500.
C. Use statement SET SCREEN 502. IN PAI of screen 500.
D. It is not possible to over right the next screen attribute set into screen 500.
Appropriate answer is C.
As it will override the next screen attribute set into the screen 500.
20. you want to hide a P_MATNR field from the screen how will you achieve it?
A. LOOP AT SCREEN WHERE NAME = P_MATNR.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDLOOP.
B. LOOP AT SCREEN.
If SCREEN-NAME EQ P_MATNR.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
C. LOOP AT SCREEN WHERE NAME = P_MATNR.
SCREEN-ACTIVE = 0.
ENDLOOP.
D. READ TABLE SCREEN WITH KEY NAME = P_MATNR.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
So seams tricky??? But for SCREEN it is only possible to use LOOP AT SCREEN. where
condition in LOOP and read table statement with screen is not at all possible So
Answer is B.
21. A database table without MANDT field is called?(Select most appropriate anser)
A. Client dependent
B. Client in-dependent
C. Structure (What an option!!!!!!!!!!)
D. Database View.
Answer is : B.
22. To define the internal table using statement: Data : it_tab type XYZ
Where XYZ should be of type.
A. Data base table
B. Structure
C. Table type
D. View
Answer is : C. (As Rest will define work area not the internal table.)
23. Internal table ITAB has the following data
Name Salary
John 80000
Bob 20000
Amar 10000
David 50000
What will be the sy-subrc in following case.
Read table ITAB into WTAB with key Name = David using binary search.
A. 0
B. 4
C. 8
D. 12
As the mandatory condition to use binary search in internal table is that it should be sorted.
Without sorteing it will lead to incorrect result.
So answer is : B
(Note: what will be answer if you read ITAB without binary search? )
24. Business want to put validation on plant No. For all the screen. The requirement is to
give Error message whenever user give plant 567.what can be most appropriate way to
achieve this?
A. Screen EXIT
B. Function module EXIT
C. Field EXIT
D. USER EXIT
Answer is: C.

Potrebbero piacerti anche