‎2006 Dec 02 4:57 AM
Hi,
I havent declared an internal table inside an internal table.
I know tht the internal table must be without header line.
Can any one give me some sample code for multidimensional internal table.
Thanks in Advance.
Kalpanashri Rajendran.
‎2006 Dec 02 5:01 AM
hi
TYPES: tt_bkpf TYPE STANDARD TABLE OF bkpf,
tt_bseg TYPE STANDARD TABLE OF bseg.
TYPES: BEGIN OF ty_mkpf,
mblnr TYPE mkpf-mblnr,
mjahr TYPE mkpf-mjahr,
END OF ty_mkpf,
tt_mkpf TYPE STANDARD TABLE OF ty_mkpf.
DATA: it_acc_gl TYPE STANDARD TABLE OF bapiacgl09,
it_acc_rec TYPE STANDARD TABLE OF bapiacar09,
it_amount TYPE STANDARD TABLE OF bapiaccr09.
TYPES: BEGIN OF ty_bapi_struc,
mblnr TYPE mkpf-mblnr,
doc_head TYPE bapiache09,
acc_gl LIKE it_acc_gl,
amount LIKE it_amount,
END OF ty_bapi_struc,
tt_bapi_struc TYPE STANDARD TABLE OF ty_bapi_struc.
data: IT_bapi_struc type table of ty_bapi_struc.
I think you understand the declaration.
Thanks
Sekhar