Ansicht
Dokumentation

ABAPIMPORT_DYNPRO - IMPORT DYNPRO

ABAPIMPORT_DYNPRO - IMPORT DYNPRO

CPI1466 during Backup   Vendor Master (General Section)  
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.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2022 Date: 20240623 Time: 184930     sap01-206 ( 34 ms )