Ansicht
Dokumentation

ABENDYNP_FIELD_DATA_TRANSPORT - DYNP FIELD DATA TRANSPORT

ABENDYNP_FIELD_DATA_TRANSPORT - DYNP FIELD DATA TRANSPORT

General Data in Customer Master   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

- FIELD, Data Transport at PAI Time

If the statement FIELD is used in the event block at PAI, the statement controls the data transport for the specified dynpro field. By default, all dynpro fields are transported to the ABAP program directly at the event PAI and before the processing of the corresponding event block. If one or more FIELD statements are used, only those dynpro fields are transported directly at the event PAI that are not specified after a FIELD statement.

The transport of the content of a dynpro field dynp_field specified after FIELD to the identically named global ABAP data object takes place when the corresponding FIELD statement is executed. If a dynpro field is specified in more than one FIELD statement, its value is passed when the first corresponding FIELD statement is executed. There are the following exceptions:

  • The statement FIELD is ignored by the OK field. The OK field is always transported directly at the event PAI.
  • A field whose content is empty at PBO and which is not changed by the user is not transported by the FIELD statement. This applies to the entire line in the LOOP statements for table controls and step loops.

Notes

  • The effect of the statement FIELD on the data transport at the event PAI is independent from its association with a MODULE statement.
  • If an empty field that has not been modified by the user is filled with a value in a PAI module before the FIELD statement is executed, this value is not overwritten by the FIELD statement using the initial value.
  • A dynpro field must not be used in a PAI module, before it is passed by the dynpro. Otherwise, the ABAP field contains the same value as at the end of the previous dialog step.
  • When dynpro fields are defined with reference to flat structures in the ABAP Dictionary, the identically named global data objects of the ABAP program must be declared with the statement TABLES as interface work areas. Otherwise, no data transport takes place, neither with nor without FIELD.
  • If a dynpro field is defined with reference to a data element in the ABAP Dictionary, and an obsolete field exit is assigned to this field in a customer system, the function module of the field exit can be executed during the transport. This usually changes the value of the dynpro field.
  • Any dynpro fields, except fields of type STRING or SSTRING, are empty if they contain nothing but blanks in the screen display. Dynpro fields of type STRING or SSTRING are empty if they do not contain any characters. An initial time field with the characters 000000 or a numeric field with the value 0 are, for example, not empty and are transported by FIELD. CLEAR ... WITH space can be used to insert blanks in character-like fields.





Vendor Master (General Section)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 4195 Date: 20240426 Time: 192012     sap01-206 ( 78 ms )