Ansicht
Dokumentation

ABAPIMPORT_DYNPRO - IMPORT DYNPRO

ABAPIMPORT_DYNPRO - IMPORT DYNPRO

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

IMPORT DYNPRO

This statement is for internal use only.
It must not be used in application programs.


IMPORT DYNPRO h f e m ID id.

Effect

The dynpro specified in the structure id is imported. To enable this, the structure id must contain two components for the name of the program and the ID of the dynpro in the following order:

  • A component of type PROGNAME
  • A component of type SYDYNNR.

The dynpro information is loaded into the structure h (dynpro header, structure D020S) and into the internal tables f (field list, structure D021S), e (flow logic, structure D022S), and m (matchcode information, structure D023S). Standard tables without secondary keys can be specified for f, e, and m.

Note

As an alternative to a structure, a character-like field (including string) can be specified for id, where the field contains the chained content of the structure components, including trailing blanks.

System Fields

sy-subrc Meaning
0 The dynpro was imported.
4 The dynpro does not exist.

Example

Reading of the attributes of dynpro "0100" of the program DEMO_DYNPRO.






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

Length: 2022 Date: 20240419 Time: 095426     sap01-206 ( 29 ms )