Skip to Content
0
Oct 15, 2003 at 12:01 PM

Deep tables for XML output

71 Views

I am writing an ABAP that extracts sales document info and writes it to an xml file.

My problem is defining a deep table such that one field (column) in the table contains a nested table with multiple rows.

My data definition is shown below:

TYPES: BEGIN OF MATCH,

VBELN TYPE VBAK-VBELN,

VKORG TYPE TVKO-VKORG,

begin of comments,

tdline type tline-tdline,

end of comments,

TECH_NAME TYPE SDPARTNERLIST-NAME1,

END OF MATCH.

DATA: IT_MATCH TYPE STANDARD TABLE OF MATCH.

DATA: WA_MATCH TYPE MATCH.

Second question how to load the nested table?

Any suggestions are appreciated.