Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Multi dimensional Internal Table

Former Member
0 Likes
621

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.

1 REPLY 1
Read only

Former Member
0 Likes
385

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