Hello everybody,
maybe some of you are able to help me, please!
My problem is, that i want to display an F4-help-list that is based on the structure LQUA, but i restricted the shown fields by making some entries in fieldtab.
The value-tab i do import is correctly filled, the F4-Windows shows 1 Row, but is lacking of the expected values.
Furthermore i want to fill depending dynpro-fields on the go, but that doesn't work either. hmmm, its really enerving me...
where's the point? what am i doing wrong?
Thnx a lot for getting me out of my mess!
Here is the coding i use:
-
-
PROCESS ON VALUE-REQUEST.
FIELD lqua-lgtyp MODULE F4_lagerplatzliste.
-
-
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'LGTYP'
VALUE_ORG = 'S'
DYNPPROG = 'ZPI_AUFTRAG_MELDEN_CFX'
DYNPNR = '0100'
DYNPROFIELD = 'LQUA-LGTYP'
WINDOW_TITLE = 'Lagerplätze'
TABLES
VALUE_TAB = IT_LAGER *** is already filled by another module.
FIELD_TAB = FIELD_TAB
RETURN_TAB = RETURN_TAB
DYNPFLD_MAPPING = MAP_TAB
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
-
-
Example of the Table_Definition:
*LGNUM
MOVE 'IT_LAGER' TO FIELD_TAB-TABNAME.
MOVE 'LGNUM' TO FIELD_TAB-FIELDNAME.
MOVE 'D' TO FIELD_TAB-LANGU.
MOVE '0001' TO FIELD_TAB-POSITION.
MOVE '0000' TO FIELD_TAB-OFFSET.
MOVE '003' TO FIELD_TAB-LENG.
MOVE '003' TO FIELD_TAB-INTLEN.
MOVE '003' TO FIELD_TAB-OUTPUTLEN.
CLEAR: WA_MAP.
WA_MAP-FLDNAME = FIELD_TAB-FIELDNAME.
WA_MAP-DYFLDNAME = 'LQUA-LGNUM'.
APPEND WA_MAP TO MAP_TAB.APPEND FIELD_TAB.