‎2008 Apr 19 6:16 AM
Dear All,
The output from a FM is getting stored in an internal table IL_MDPSX. I am trying to read 3 values from a single line value which meets the criteria as per below,
IF Sy-Subrc EQ 0.
READ TABLE IL_MDPSX INTO IT_MDPSX
WITH KEY DELNR = V_DELNR DELPS = V_DELPS.
V_EDELET = IT_MDPSX-DELET.
V_EDELNR = IT_MDPSX-DELNR.
V_EDELPS = IT_MDPSX-DELPS.
ENDIF.
But the values are not being read, may i know what mistake i have done.
Regards,
Vivek
‎2008 Apr 20 12:41 PM
Hi,
u can use offset to extract the values.
Example:
let us consider IT_MDPSX contains these value
vivek 1234 xyzz
u can extract these values by using offset like this
V_EDELET = IT_MDPSX+0(5).
V_EDELNR = IT_MDPSX+6(4)..
V_EDELPS = IT_MDPSX+11(4).
reward if helpful
raam