Ansicht
Dokumentation

ABENDYNPRO_F4_HELP_DYN_ABEXA - DYNPRO F4 HELP DYN ABEXA

ABENDYNPRO_F4_HELP_DYN_ABEXA - DYNPRO F4 HELP DYN ABEXA

TXBHW - Original Tax Base Amount in Local Currency   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

- Obsolete Input Help Using SELECT

The example illustrates how obsolete dynpro input help works.

Source Code

Execute

Description

The static next dynpro number of dynpro 100 is 100. The input fields are taken from the program fields carrier and connection. The function code of the pushbutton is CANCEL with the function type E. The dynpro field carrier is assigned the search help DEMO_F4_DE with the search help parameter CARRID, which accesses the database table SCARR. The dynpro flow logic is as follows:

PROCESS BEFORE OUTPUT.
PROCESS AFTER INPUT.
  MODULE cancel AT EXIT-COMMAND.
  FIELD carrier VALUES ('AA', 'LH').
  FIELD connection SELECT *
                      FROM  spfli
                      WHERE carrid = carrier
                        AND connid = connection.

When selecting the F4 help for the individual fields, the user is shown the following types of input help:

  • For the airline carrier, the search help displays the list of airline names and copies the airline ID for the selected line into the input field. If the airline code is not one of those listed in the VALUES list of the flow logic, the input check raises an error message in the PAI event. The search help, therefore, overrides the VALUES addition for the input help, but not for the input checks. For this reason, a VALUES addition should not be used here.
  • For the connection, the flow logic displays the list of selected entries from the database table SPFLI and copies the connection number of the selected line into the input field.





Vendor Master (General Section)   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 2482 Date: 20240419 Time: 133357     sap01-206 ( 40 ms )