‎2008 Dec 04 1:33 PM
Hi,
Function Module 'Import_dynpro' returns a table of screen fields.
I want to know when a screen field, is a input field, a output, a check box ...
Which table elements are important?
CALL FUNCTION 'IMPORT_DYNPRO'
EXPORTING
dylang = sy-langu
dyname = l_repid
dynumb = l_nr
IMPORTING
header = ls_d020s
TABLES
ftab = lt_dy.
‎2008 Dec 04 1:38 PM
IMPORT DYNPRO - Import a screen
Note
This statement is for internal use only.
Incompatible changes or further developments may occur at any time without warning or notice.
Basic form
IMPORT DYNPRO h f e m ID id.
Effect
Imports the screen specified in the field id. Loads the screen information into the structure h (screen header, structure D020S) and into the internal tables f (field list, structure D021S), e (flow logic, structure D022S) and m (matchcode information, structure D023S).
The Return code is set as follows:
SY-SUBRC = 0:
The screen was successfully imported.
SY-SUBRC = 4:
The screen does not exist.
/thread/1154428 [original link is broken]
Check this link
‎2008 Dec 04 1:38 PM
IMPORT DYNPRO - Import a screen
Note
This statement is for internal use only.
Incompatible changes or further developments may occur at any time without warning or notice.
Basic form
IMPORT DYNPRO h f e m ID id.
Effect
Imports the screen specified in the field id. Loads the screen information into the structure h (screen header, structure D020S) and into the internal tables f (field list, structure D021S), e (flow logic, structure D022S) and m (matchcode information, structure D023S).
The Return code is set as follows:
SY-SUBRC = 0:
The screen was successfully imported.
SY-SUBRC = 4:
The screen does not exist.
/thread/1154428 [original link is broken]
Check this link
‎2008 Dec 04 3:23 PM
But my problem is an other:
I want to know which elements of structure D021S shows, if a field is a input, a output, a checkbox ... ?
I want to find out which fields of a dynpro are input fields and which are only descriptions.