Mpool Ques N Ans
Mpool Ques N Ans
Mpool Ques N Ans
Transaction code- The transaction code starts an ABAP program from its initial
screen. It can be created via Maintain Transaction (SE93) or ABAP Workbench
(SE80) itself.
ABAP program - An ABAP program is the main program that contains all the other
components such as selection screen, GUI status, GUI title, screen flow logic and
dynpro. It can be created via ABAP Editor (SE38) / ABAP Workbench (SE80).
Selection screen - Selection screen is the initial screen a user will see to key in inputs
upon executing a program for e.g. executing a transaction code. We can define a
selection screen via ABAP Editor (SE38) / ABAP Workbench (SE80).
GUI status - Each screen requires a GUI status, which defines the menu bar, standard
toolbar, application toolbar and function keys. It can be created via ABAP Workbench
(SE80), using the Menu Painter. Right click on program name and go to Create →
GUI Status.
GUI title - Each screen requires a title, which can be set via GUI title and created via
ABAP Workbench (SE80), using the Menu Painter. Right click on program name and
go to Create → GUI Titles.
Screen flow logic - The screen flow logic is the procedural part of a screen. It
contains four event blocks for the screen events PBO, PAI, POH and POV.
Dynpro - Dynpro is a screen with screen elements such as container, label, text input
and etc. It can be created using Screen Painter. Please bear in mind to create dynpros
with Responsive Dialog Screen
Screens can be created using the Screen Painter in the ABAP Workbench. A
screen consists of a screen mask and its flow logic. Since the flow logic
influences the program flow, screens are also referred to as "dynamic
programs".
Four type of screen are there:
Selection screen.
Subscreen.
Model Dialog box ( pop up)
Normal screen.
The Screen Painter is a ABAP Workbench tool that allows you to create screens for your
transactions. You use it both to create the screen itself, with fields and other graphical
elements, and to write the flow logic behind the screen.
10. What is Menu Painter?
The Menu Painter is one of the tools of the ABAP Workbench. You use it to design user
interfaces for your ABAP programs and to define the functions that you want to use within
these interfaces.
11. What is Dynpro?
Creating a Screen
1. Start the Object Navigator (transaction SE80) and navigate to the program for
which you want to create a screen.
2. In the Screen Number field, enter a screen number.
3. Choose Create.
4. Define the screen attributes. For more information, see Maintaining Screen
Attributes.
5. Save and activate the screen.
13. Describe screen attributes.
Screen Attributes
--A normal screen occupies a whole GUI window.
--Modal dialog boxes only cover a part of a GUI window. Their interface elements are also
arranged differently. ...
--A subscreen is a screen that you can display in a subscreen area on a different screen in the
same ABAP program.
14. What are screen elements?
screen elements are objects that represent elements displayed in the user interfaces of the
applications you want to control through your automation project.
The main input help available from the ABAP Dictionary is in the form of search helps. Search helps are
independent Repository objects that you create using the ABAP Dictionary. They are used to present input
help for screen fields. You can link search helps to table fields and data elements. As well as search helps,
you can still, in exceptional cases, use check tables, fixed values, or static input help.
Search helps
There are two kinds of search helps: elementary and collective. An elementary search
help represents a search path. It defines the location of the data for the hit list, how values are
exchanged between the screen and the selection method, and the user dialog that occurs when
the user chooses input help. A collective search help consists of two or more elementary search
helps. A collective search help combines all the search paths that are meaningful for a field. The
collective search help is the interface between the screen and the various elementary search
helps.
Check tables
The ABAP Dictionary allows you to define relationships between tables using foreign keys. A
dependent table is called a foreign key table, and the referenced table is called the check table.
Each key field of the check table corresponds to a field in the foreign key table. These fields are
called foreign key fields. One of the foreign key fields is designated as the check field for checking
the validity of values. The key fields of the check table can serve as input help for the check field.
Fixed values
You can restrict the values that a domain in the ABAP Dictionary may take by assigning fixed
values to it. The fixed values can be used as input help for the fields that are defined using that
domain. However, the value table of a domain is not used for input help. It is only used as a default
value for the check tables of the fields that refer to the domain.
Fields with the types DATS and TIMS have their own predefined calendar and clock help that can
In a program, you can use one of the two following ABAP statements to leave a
screen: LEAVE SCREEN. LEAVE TO SCREEN Next Screen . The LEAVE SCREEN statement ends
the current screen and calls the subsequent screen.
19. How are sequences of screens called?
In executable programs, the screen sequence is controlled by events, which occur in a fixed
order.
The major difference between the program flow of an executable program and a dialog program is
that, in a dialog program, you can program screens to appear in any sequence you want. In executable
programs, the screen sequence is controlled by events, which occur in a fixed order. In a dialog program,
the programmer is free to program any sequence of screens, and the user can affect the program flow by
his or her actions.
Messages are texts that are created using a message maintenance (transaction SE91) and
stored in the system table T100. In ABAP programs, the statement MESSAGE is the main
element for using messages
21. How are messages sent?
???
Message Types
???
??
https://help.sap.com/docs/sap_gui_for_windows/63bd20104af84112973ad59590645513
/cc0b81d35895470594f7230790f23304.html
32. Describe the function codes of the application toolbar.
function code are values that are returned by clicking any button in ur application tool bar or
button in module-pools programme These vales are compared against sy-ucomm in addition
there is one table that stores function code into of standard SAP program table name is -
"RSMPTEXTS".
33. How do you find the cursor position?
To find out the cursor position, use the following statement: GET CURSOR FIELD f [OFFSET
off] [LINE lin] [VALUE val] [LENGTH len]. This statement transfers the name of the screen
element on which the cursor is positioned during a user action into the variable f .
Conditional module calls can also increase the performance, particularly with modules that
communicate with database tables. You can ensure that a PAI module is only called when a
certain condition applies by using the following statement: FIELD f MODULE mod ON INPUT|
REQUEST|*-INPUT.
Use
It is normally necessary to check user input for validity and consistency. There are three
kinds of input checks on screens:
Automatic Input Checks
Automatic input checks are called in the PAI event before data is transported back to the
ABAP program and before dialog modules are called.
Checking Input in the Screen Flow Logic
Input checks in the flow logic can be performed before you call dialog modules.
Input Checks in Dialog Modules
These input checks are programmed in PAI modules. If the user enters an incorrect value,
you can make input fields ready for input again without repeating the PBO processing.
36. What are the various fields of automatic input checks?
???
You can get the screen fiield values by identifying the Program and screen field name . Press
F1 on the fiield -> Technical Info -> Here you can identify the program name , screen number
and screen field name
38. What are the input checks available in a dialog module?
https://help.sap.com/docs/SAP_NETWEAVER_AS_ABAP_752/
f68e489816e043f1add91d69a6842931/4a43a2d65a503f04e10000000a421937.html
39. How are attributes set dynamically?
??
To create a dialog transaction, use transaction SE93 (Transaction Maintenance) or the Object
Navigator. In the Object Navigator, choose Workbench → Edit Object. The Object Selection
dialog screen appears. Choose the tab More and enter the name of the transaction you want
to create in the Transaction field.
44. How are report transactions created?
https://help.sap.com/docs/
SAP_NETWEAVER_700/12aa7f056c531014aa5bca7aee037e55/430f4c879f2d6f41e10000000a42203
5.html