‎2009 Feb 09 8:32 PM
Hi All,
I have deep Structure PS_RJHAORDER-RJHABPZ_ITAB-BELEGEINH, BELEGEINH is the field which contains some value and I want to read that value and pass to the field of same type of BELEGEINH.
let's say....
LS_BELEGEINH = PS_RJHAORDER-RJHABPZ_ITAB-BELEGEINHbut I get error saying "PS_RJHAORDER doesn't have component called RJHABPZ_ITAB-BELEGEINH".
Please guide me on this.
Thanks,
Chandravadan
‎2009 Feb 09 8:47 PM
Hi Chandravadan,
you can't access directly a deep structure field like that because table PS_RJHAORDER-RJHABPZ_ITAB doesn't have a header line.
Create a auxiliary structure:
loop at PS_RJHAORDER-RJHABPZ_ITAB into ls_aux.
LS_BELEGEINH = ls_aux-BELEGEINH.
endloop.
regards,
Edgar
‎2009 Feb 09 8:47 PM
Hi Chandravadan,
you can't access directly a deep structure field like that because table PS_RJHAORDER-RJHABPZ_ITAB doesn't have a header line.
Create a auxiliary structure:
loop at PS_RJHAORDER-RJHABPZ_ITAB into ls_aux.
LS_BELEGEINH = ls_aux-BELEGEINH.
endloop.
regards,
Edgar