You are on page 1of 87

THE SCENARIO:MODULE POOL PROGRAM(MPP)

MCQS

1. In order to exit out the screen if AT EXIT-COMAND needs to be used then function code of which
type needs to be selected?

A. EXIT

B. E

C. S

D. EX

ANS: Fun. Type ‘E’ for AT EXIT-COMMAND.

2.After the application is ready in order to execute the application which option can be shown?
A. F8
B.CUSTOM T-CODE
C.EXECUTE IN NEW WINDOW
D.ALL THE ABOVE
E.NONE OF THE ABOVE
so In order to execute mpp u need to create a dedicated T-code
,F8 is also works but under dependency.

You will have an option to execute via selecting execute-> in a new window but that option is
dependent on the tcode created,..it just executes the tcode in a new window

If u use custom code u execute by /otcode_name for this there is no dependency

Ans option B

3.Team is planning to keep a check on the screen so that none of the fields can be left blank,
they decided to use chain-endchain for the same, Choose the correct syntax?

A. PROCESS BEFORE OUTPUT.


CHAIN.
FIELD Employeeid,
Employeername,
Email,
Mobilenumber.
MODULE VALIDATE_INPUT.
ENDCHAIN.

B. PROCESS AFTER INPUT.


CHAIN.
FIELD Employeeid,
Employeername,
Email,
Mobilenumber.
MODULE VALIDATE_INPUT.
ENDCHAIN.

C. PROCESS AFTER OUTPUT.


CHAIN.
FIELD Employeeid,
ENDCHAIN.
CHAIN.
FIELD Employeername,
ENDCHAIN.
CHAIN
FIELD email,
ENDCHAIN.

CHAIN
FIELD Mobilenumber.
MODULE VALIDATE_INPUT.
ENDCHAIN.
MODULE VALID_INPUT.

Ans. B.

4. in order to perform user defined checks in the application which of the following method can
be used?
A. issue error or warning message in PAI Module
B. issue error or warning message based on the outcomes.
C. Use VALUES statement in fow logic to define the value values.
D. All of the above.
E. None of the above.

ANS: all of the above


5. In order to initialize the screens and responds to the user’s request on the screen which
option from below can be selected?
A. Screen
B. Flow logic
C. Dynpro.
D. Screen elements.
Ans. B.

6.The screen has BACK EXIT and CANCEL button. Please find the correct syntax to create the PF
Status?
A. SET PF-STATUS ‘Z_STATUS’.
B. SET PF_STATUS ‘Z_STATUS’.
C. SET PF-STATUS Z_STATUS.
D. SET PF_STATUS ‘Z_STATUS’.

7.While creating the screen for entering the participant details choose which option is not
mandatory to enter in the screen attributes?
A. Short Description
B. Screen type
C. Next screen
D. Screen number

Giving short description is mandatory, and choosing Screen Type is also have to be chosen
as either normal, subscreen or module dialog box.

Next Dynpro(screen) is not mandatory.

Ans: Next screen


8. Consider the application is designed in a way that there are multiple screen, In order to
control the screen flow i.e. navigating from one screen to the other which all statements can
be used.
A. SET SCREEN <Screen number>.
B. LEAVE SCREEN.
C. LEAVE TO SCREEN<SCREEN NUMBER>.
D. CALL SCREEN<SCREEN NUMBER>{STARTING AT X,Y}.

9. ABAP team wants to ensure that the mobile number entered on the screen should be a
valid number of 10 digit. Before saving it in the database table , choose the correct way of
writing the validation of the same?

A.PROCESS AFTER INPUT.


FIELD PHONENUMBER MODULE VALIDATE_PHONE.
A.PROCESS BEFORE OUTUT.
FIELD PHONENUMBER MODULE VALIDATE_PHONE.
A.PROCESS BEFORE INPUT.
MODULE VALIDATE_PHONE ON FIELD PHONENUMBER.
A.PROCESS ON VALUE REQUEST.
FIELD PHONENUMBER MODULE VALIDATE_PHONE.
Ans. A(.PROCESS AFTER INPUT.
FIELD PHONENUMBER MODULE VALIDATE_PHONE.)

10. In screen for input field employeenumber when user enters the value into it program
should check if that value is available in custom table? Where the logic should be written for
the same?
A. AT SELECTION SCREEN.
B. PAI.
C. INITIALIZATION.
D. START-OF-SELECTION.

Ans. B (Process After Input)


1. What’s the procedure to upload a color logo in sap
server?

ANSWER: C

GOTO CODE SE78->Graphics Folder->Select BMP->Click on Import->Upload image file path->Select


Color bitmap image radio button -> execute.

INFO
2. A table is created in main window with line type (%LINE1). The table has 3
sections. What are those?
A. Header, Main and footer
B. Header area, Main and footer area
C. Header area, main area and footer area
D. Header, Main area and footer
OPTIONS: D

3. Where can the input parameters be defined in the smart form?

ANS B
4. To Print multiple copies of the same document with different headings, which of the
following should be used?

ANS: COPIES WINDOW

5.How to display amount in words in Smart Forms?

ANS: USING Fn MODULE : spell_amount


6.

Option(Multiple Choice)

1 Table type should be used as the reference type for a table parameter.
2 Structure types should be used as the reference using LIKE keyword for a table
parameter
3 Type group name used as the reference type for a table parameter
4 The structure used as reference type in the table parameter in the form should be
declared in the driver program.

ANS: B and D
Assoc type mentioned below, structure of it is declared in se38(report/driver program)
7

Create a table line in main area and then pass data there

8. which of the following system fields can be used to display the current page number in
form

Options.

1 &SFSY-PAGENO&
2 &SFSY-JOBPAGES&
3 &SFSY-FORMPAGE&
4 &SFSY-PAGE&

ANS: &SFSY-PAGE&
9. Pargraph format is created in the smart styles .where should this be assigned so that is
applicable to all fields in a smart form?

1. In form attributes, output options

2. In text, output options

3. Global definations, output options

4. From attributes, output Options, text properties

ANS: FORM ATTRIBUTES ->OUTPUT OPTIONS

10. where can we declare a global variable within Smartform?

1 In global definitions , global data.

2 In form interface, global data.

3 In attribute, general attribute

5 In global definition, global data

ANS: IN GLOBAL DEFINITIONS ->GLOBAL DATA


OPTION A IS CORRECT

REASON

You can see that the above structure was not mentioned in the options

Moreover option B limits to bdcstructure(refer 3rd image)

And third options limits to store the sequential file (NB, …..)(refer 3rd image)

2Q
Refer the dynpro field to answer this here it is (EBAN-MATNR) in field name
Only if the prog name is present or the fields that exits then only we have to write them, ignore the
blank values and start from where the value starts like fnam,fval in example

EBAN-MATNR was placed in similar position so answer is D


ANSWER D

4QUESTION

Answer B
5Q

Ans: option B

You might also like