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

Table type/structure to XML

Former Member
0 Likes
1,707

Hi Everyone

I would like to Export a u201CTable Typeu201D to XML or any other readable format. I need to send the SE11 structure of the Table/Structure to a 3rd party vendor so they can create the table on there side.

Can any one give me a Function module or Class that will download the Table type/Structure to a readable format.

Thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,204

Why don't you take a dump from table DD03L. This table contains information about Table fields, their length, data type position and key field information etc.You can download them to any format you want from Table content(SE16) output screen by menu path System->List->Save->Local file.

Hope it helps.

Regards,

R

3 REPLIES 3
Read only

Former Member
0 Likes
1,205

Why don't you take a dump from table DD03L. This table contains information about Table fields, their length, data type position and key field information etc.You can download them to any format you want from Table content(SE16) output screen by menu path System->List->Save->Local file.

Hope it helps.

Regards,

R

Read only

uwe_schieferstein
Active Contributor
0 Likes
1,204

Hello Wian

Fm DDIF_FIELDINFO_GET returns all metadata of a DDIC structure (alternatively you may use RFC_GET_NAMETAB or DD_GET_NAMETAB_FOR_RFC).

You can convert the itab data (DFIES or X031L) into an XML using CALL TRANSFORMATION.

Or you may have a look at function group SDIXML (available on ERP 6.0).

Regards

Uwe

Read only

Former Member
0 Likes
1,204

Hi Guys

Thanks for your replys

The problem is that table and structures I would like to send to the 3rd party guys is nested with other table types and structures. These functions and DD03L table does not display the nested table but only the first level.

If the table was rather simple then I would run the Functions for the nested structures and put all the fields together manualy but the problem is that the table is very complex and I will change a lot over time depending on requirements. Therefore I need some sort of automated solution.