2014 Aug 04 10:05 PM
I am working on simple xml transformation to read xml string into ABAP structure and having an issue on with one of the children node (table) of parent node. Can someone give a pointer on how to access the child (table) node.?
I am not sure quite on how to access <tabstatus> table.
2014 Aug 04 10:13 PM
You need to create a deep structure similar to the XML structure. Mentioned this table name in the CALL transformation. The values get assigned to the table structure.
the other way is to convert the XML into Xstring using 'SCMS_BINARY_TO_XSTRING'. After that use SMUM_XML_PARSE to get the elements names and values.
Thanks
You need to create a deep structure similar to the XML structure. Mentioned this table name in the CALL transformation. The values get assigned to the table structure.
the other way is to convert the XML into Xstring using 'SCMS_BINARY_TO_XSTRING'. After that use SMUM_XML_PARSE to get the elements names and values.
Thanks
2014 Aug 04 10:13 PM
You need to create a deep structure similar to the XML structure. Mentioned this table name in the CALL transformation. The values get assigned to the table structure.
the other way is to convert the XML into Xstring using 'SCMS_BINARY_TO_XSTRING'. After that use SMUM_XML_PARSE to get the elements names and values.
Thanks
2014 Aug 04 10:19 PM
Once I create deep structure; would the following works to read table node?
<tt:loop ref="TabStatusues.TabStatus">
2014 Aug 04 10:34 PM
No.. Data will be assigned directly to the deep structure fields.
if S1 is the main structure and T1 is deep table structure then accessing using T2 = S1-T1[]. Here T2 table type is simialr to T1..
Hope this give you an idea. Let me know still if you have any Qs.
Thanks.
2014 Aug 04 10:44 PM
Can you provide me a sample code to read deep structure from root structure.. in simple transformations.
2014 Aug 05 7:24 PM
Please send me your code if you are getting any errors. I'll check and correct the issue..
2014 Aug 07 6:37 AM
Could you please search "simple transformation abap deep structure" and read first 5 results?
2014 Aug 06 2:09 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |