Ansicht
Dokumentation

ABENSEL_SCREEN_PARAM_VALUE_ABEXA - SEL SCREEN PARAM VALUE ABEXA

ABENSEL_SCREEN_PARAM_VALUE_ABEXA - SEL SCREEN PARAM VALUE ABEXA

TXBHW - Original Tax Base Amount in Local Currency   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

- Value Properties of Parameters

The example shows how to use the value_options additions of the statement PARAMETERS.

Source Code

Execute

Description

This example program consists of five parts, each illustrating one of value_options additions of the statement PARAMETERS. Each example corresponds to a block on selection screen 100.

  • Part 1: The input fields of the parameters on the selection screen are prefilled with default values. The user can accept or change this value. The default value of the field name is the user name. The default value for date appears in the format defined in the user master record.
  • Part 2: Once parameters have been entered in the fields field1 and field2, they are displayed in uppercase (field1) and without any changes (field2) on a list.
  • Part 3: The search help DEMO_F4_DE is defined in the dictionary. The search help reads the columns CARRID and CARRNAME of the database table SCARR. Only CARRNAME is listed but CARRID is marked as an export parameter. Selecting a line places the ID of the airline CARRID in the input field.
  • Part 4: The parameter p_prog is linked with the SPA/GPA parameter rid, which is used in the current AS ABAP version to store the name of the program processed last. The SPA/GPA parameter rid, for example, is also linked with the input fields for the program name on the dynpros of the transactions SE38 and SA38. For demonstration purposes, this parameter is explicitly set to the value "TEST_PROGRAM" in this example.
  • Part 5: The parameter p_carr is declared with reference to the field CARRID of the database table SPFLI. For this field, the check table SCARR is specified in the ABAP Dictionary. The user can only enter those values for the ID of the airline which are also contained in SCARR. The possible entries help of the input field for p_carr displays the allowed values.





ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2415 Date: 20240423 Time: 072941     sap01-206 ( 37 ms )