sapdev logo background
sapdev logo sapdev logo
Comments

SAP DYNPRO F4 HELP DYN ABEXA documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

Screens, Screen Input Help
The example shows how to use the screen input help.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
The static next screen number of screen 100 is 100. The input fields have been taken from the program fields carrier and connection . The function code of the pushbutton is CANCEL with the function type E . The screen field carrier is assigned the search help DEMO_F4_DE with the search help parameter CARRID , which accesses the database table SCARR . The screen 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 choosing the F4 help for the individual fields, the user receives the following input helps:
  • For the airline carrier, the search help displays the list of airline names and copies the airline ID for the selected row to the input field. If the ID does not match the VALUES list of the flow logic, the input check triggers an error message at PAI . This means that the search help overrides the VALUES addition for the input help but not for the input check. You should therefore not use a VALUES addition.

  • For the connection, the flow logic displays the list of selected entries from database table SPFLI and copies the connection number of the selected row to the input field.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




  • DYNPRO_F4_HELP_DIC_ABEXA
    DYNPRO_FIELD_ABEXA




    comments powered by Disqus