Вы находитесь на странице: 1из 13

GUI Status SELECTION_SCREEN

Create the GUI Status „SELECTION_SCREEN“ for the report /SCMTMS/SCH_UPLOAD as described
below:

 Start transaction Object Navigator (SE80).

 In the repository browser, open the program /SCMTMS/SCH_UPLOAD.

 Right-click on the report /SCMTMS/SCH_UPLOAD and select Create -> GUI Status.

 On the popup, enter SELECTION_SCREEN in the field Status and the short text “Selection
Screen GUI Status”. Close the popup by pressing enter.
 Create the menu bar:

o Enter “Program” in the left menu bar field and double-click on it to open the list for
the menu entries.

o Enter ONLI as function code and press enter. Choose Static Text on the popup and
continue. Enter “Execute” as function text, ICON_EXECUTE_OBJECT as icon. Press
enter to close the popup.
o Enter SJOB as function code and press enter. Choose Static Text on the popup and
continue. Enter “Execute in Background” as function text. Press enter to close the
popup.

o Right-click on the next function code field and select “Separator line”.
o Enter SHOW_FILE as function code and press enter. Choose Static Text on the popup
and continue. Enter “Display Uploaded Files on DB” as function text and
ICON_READ_FILE as icon name. Press enter to close the popup.

o Right-click on the next function code field and select “Separator line”.

o Enter EXIT as code and press enter. Choose Static Text on the popup and continue.
Enter “Exit” as function text. Press enter to close the popup. Double-click on EXIT and
select E (Exit Command) as functional type on the popup. Press enter to close the
popup.
o The program menu should finally look like this:

o Create the “Edit” menu: Enter “Edit” in the field next to “Program”. Double-click on
the “Edit” field to open the submenu.
o Enter CANCEL as function code and press enter. Choose Static Text on the popup and
continue. Enter “Cancel” as function text and ICON_CANCEL as icon name. Press
enter to close the popup. Double-click on CANCEL and select E (Exit Command) as
functional type on the popup. Press enter to close the popup.

o Create the “Goto” menu: Enter “Goto” in the field next to “Edit”. Double-click on the
“Goto” field to open the submenu.

o Enter “Variants” as Text and press enter (this creates a submenu).

o Enter BACK as function code and press enter. Choose Static Text on the popup and
continue. Enter “Back” as function text. Press enter to close the popup. Double-click
on BACK and select E (Exit Command) as functional type on the popup. Press enter to
close the popup.

o Double-click on the “>” at the right to open the submenu of “Variants”.


o Enter the following function codes for this submenu (according to the steps
described above):

Code Function Text Icon Name

GET Get… ICON_VARIANTS

VSHO Display...

VDEL Delete...

SPOS Save ICON_SYSTEM_SAVE

 Create the application toolbar

o Enter for the first three items of the application toolbar the following function codes
and select the corresponding function key on the popup for each code.

Function Code Function Key

ONLI F8

GET Shift-F5

SHOW_FILE F7
 Enter the following function codes for the standard toolbar. Double-click on each function
code and check that the following values (e.g. the functional type) are set in the popup:

Code Function Text Functional Type

SPOS Save

BACK Back E (Exit Command)

EXIT Exit E (Exit Command)

CANCEL Cancel E (Exit Command)

 Save and activate the GUI status.


GUI Status FILE_ALV
Create the GUI Status FILE_ALV as described below:

 Right-click on the report /SCMTMS/SCH_UPLOAD and select Create -> GUI Status.

 On the popup, enter FILE_ALV in the field Status and the short text “File ALV GUI Status”.
Close the popup by pressing enter.

 Create the menu bar:

o Enter “List” in the left menu bar field and double-click on it to open the list for the
menu entries.
o Enter the following codes in the “List” menu, choose Static Text on the popup and
enter the following values:

Function Code Function Text Icon Name Functional Type

&RNT_PREV Print Preview ICON_LAYOUT_CONTROL

&RNT Print ICON_PRINT

DEL_FILE Delete ICON_DELETE

<ADD SEPARATOR LINE>

EXIT Exit E (Exit Command)


o Enter “Edit” in menu bar field next to “List” and double-click on it to open the list for
the menu entries.

o Enter the following codes in the “Edit” menu, choose Static Text on the popup and
enter the following values. (The menu entries shaded in grey can be skipped in order
to reduce the implementation effort. They will then be provided with the next
service pack.)

Function Code Function Text Icon Name Functional Type

&ALL Select All ICON_SELECT_ALL

&SAL Deselect All ICON_DESELECT_ALL

<ADD SEPARATOR LINE>

&ILT Set Filter ICON_FILTER

&ILD Delete Filter ICON_FILTER_UNDO

<ADD SEPARATOR LINE>

Sort in Ascending
&OUP ICON_SORT_UP
Order

Sort in Descending
&ODN ICON_SORT_DOWN
Order

<ADD SEPARATOR LINE>

%SC Find ICON_SEARCH

<ADD SEPARATOR LINE>

CANCEL Cancel ICON_CANCEL E (Exit Command)


o Enter “Goto” in menu bar field next to “Edit” and double-click on it to open the list
for the menu entries.

o Enter the following codes in the “Goto” menu, choose Static Text on the popup and
enter the following values:

Function Code Function Text Functional Type

BACK Back E (Exit Command)

 Create the application toolbar:

o Enter the following items of the application toolbar and select the corresponding
function key on the popup for each code. (The entries shaded in grey can be skipped
in order to reduce the implementation effort. They will then be provided with the
next service pack.)

Function Code Function Key

&ALL F5

&SAL F6

<ADD SEPARATOR LINE>

&OUP Shift-F6

&ODN Shift-F7

&ILT Ctrl-F6

&ILD F8
<ADD SEPARATOR LINE>

DEL_FILE Shift-F2

o Enter the following function codes for the standard toolbar. Double-click on each
function code and check that the following values (e.g. the functional type) are set in
the popup. (The entries shaded in grey can be skipped in order to reduce the
implementation effort. They will then be provided with the next service pack.)

Function Code Function Text Icon Name Functional Type

BACK Back E (Exit Command)

EXIT Exit E (Exit Command)

CANCEL Cancel E (Exit Command)

&RNT Print ICON_PRINT

%SC Find ICON_SEARCH

o Save and activate the GUI status.

Вам также может понравиться