Skip to Content
0
Jan 10, 2012 at 06:51 PM

Deep structure to XML and saving in SAP tables

108 Views

Hi all,

ich habe filled an internal table (deep strucure) with mutiple fields. Most of these fields are defined as structure.

Example: 1st field ist document number, 2nd field is defined as TLINETAB, 3rd field ist another document number, 4th field is filled with node table of a column tree, 5th field ist filled with the item table of a column tree and in the last field I save the ALV properties of buttons, defined with lvc_t_styl.

So my problem is that I want to save all these contents in database tables and restore in my application when the user ist starting again. How can I save this and how have I define the database table to save? I thought 1st field is e.g. document number, 2nd is a counter and 3rd field is a CHAR field. Then the internal table will be converted (XML?) and the result will be append to my table line by line.

Thanks for help and regards

Michael