Ansicht
Dokumentation

ABENSEL_SCREEN_PARAM_SCREEN_ABEXA - SEL SCREEN PARAM SCREEN ABEXA

ABENSEL_SCREEN_PARAM_SCREEN_ABEXA - SEL SCREEN PARAM SCREEN ABEXA

BAL_S_LOG - Application Log: Log header data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

- Display Properties for Parameters

The example demonstrates how the select_options additions of the statement PARAMETERS can be used.

Source Code

Execute

Description

This example program consists of six parts, each representing one of the screen_options additions of the statement PARAMETERS. Each example corresponds to a block on selection screen 100.

  • Part 1: If the cursor is not on the input field, a symbol appears in the input field of the parameter p which tells the user that an entry in this field is required and that the program cannot continue if no entry is made in this field.
  • Part 2: The three parameters p1, p2 and p3 have the same length (10) but are displayed in different lengths on the selection screen. Up to ten places, however, can be entered in any of the fields.
  • Part 3: Two checkboxes appear on the left side of the selection screen with the selection text appearing on their right. The checkbox b has the default value "X". The elements of the modification groups sc1 and sc2 (see part 6) can be shown and hidden together with the two checkboxes. The display is switched immediately since the event AT SELECTION-SCREEN is raised if one of the checkboxes is chosen. The function code is not needed. Instead, the content of a or b is evaluated at PBO.
  • Part 4: Radio buttons r1, r2, and r3 form group rad1, while s1, s2, and s3 form group rad2. On the selection screen, r2 and s3 are selected, while all others are not.
  • Part 5: The parameter p_carrid is displayed with a length of 20 and filled with the label "Lufthansa". The user can select another airline, which assigns the three-character airline ID to the parameter. When the function code onli, which is assigned to the function Execute in the GUI status of the default selection screen, is assigned, the events AT SELECTION-SCREEN and START-OF-SELECTION are raised.
  • Part 6: The parameters test1 and test3 are assigned to the group sc1, while test2 and test4 are assigned to group sc2. During the AT SELECTION-SCREEN OUTPUT event, the INTENSIFIED field of internal table screen is set to 1 or 0, depending on the content of the group1 field. On the selection screen, the lines for test1 and test3 are highlighted whereas those for test2 and test4 are not.





SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 3009 Date: 20240419 Time: 024833     sap01-206 ( 64 ms )