Skip to Content
0
Jan 09, 2019 at 07:27 AM

MODULEPOOL PROGRAM (DYNPREAD VALUE NOT ASSIGNED)

93 Views Last edit Jan 09, 2019 at 07:30 AM 3 rev

Hi Experts,

i need immediate solution for module pool program DYNPREAD value not assigned . (EKET-MENGE Value)

if i enter directly (dynpred-value) value assign its working good (Please refer below mentioned code and image)

  LS_DYNP-FIELDNAME = 'GS_MSEG-MENGE'.
  LS_DYNP-FIELDVALUE = '10.00'.
  LS_DYNP-STEPL = LV_INDEX.
  APPEND LS_DYNP TO LT_DYNP. CLEAR LS_DYNP.

If I mentioned field to (dynpred-value) value not showing in screen (please refer blow mentioned code)

  DATA : LV_MENGE TYPE MSEG-MENGE.
  SELECT SINGLE MENGE INTO LV_MENGE FROM EKET WHERE
                EBELN = GS_MSEG-EBELN AND EBELP = GS_MSEG-EBELP AND ETENR = GS_MSEG-ETENR .

  LS_DYNP-FIELDNAME = 'GS_MSEG-MENGE'.
  LS_DYNP-FIELDVALUE = LV_MENGE.
  LS_DYNP-STEPL = LV_INDEX.
  APPEND LS_DYNP TO LT_DYNP. CLEAR LS_DYNP.

Attachments