‎2006 Oct 25 11:31 AM
when i pass an internal table to a subroutine, it is taking only body in that subroutine, i am not able to access header of this internal table it is gving error.
perform test tables i_tab.
is there any other way thru which i can acess header in subroutine.
‎2006 Oct 25 11:33 AM
Hi venkat,
1. It must be giving error bcos of the structure.
2. define the form using STRUCTURE
eg.
form myform TABLES Itab STRUCTURE T001.
write t001-bukrs.
endform.
regards,
amit m.
‎2006 Oct 25 11:33 AM
Hi venkat,
1. It must be giving error bcos of the structure.
2. define the form using STRUCTURE
eg.
form myform TABLES Itab STRUCTURE T001.
write t001-bukrs.
endform.
regards,
amit m.
‎2006 Oct 25 11:33 AM
Hi
Loop on that internal table, move data into a work area and then process.
Regards,
Raj
‎2006 Oct 25 11:34 AM
Hi venkat,
it depends on the declaration of the internal table, declare it with header line
or
in ur subroutine declare workarea and use that