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

Reading the xml into internal table.

former_member267368
Discoverer
0 Likes
881

Hi experts,
I am trying to read xml file into internal table. For this purpose i am reading the xml into xstring and then pushing it into internal table.

So far i have used SXMB_GET_MESSAGE_PAYLOAD which gives the following xml

Call Inbound Proxy->Payloads->MainDocument(image attached below)

tempsnip.png

SXMB_GET_XI_MESSAGE_INT ,SXMB_GET_XI_MESSAGE both these FM's gives me the xml (image attached below).

tempsnip.png

But the xml i want is in the Inbound Message(Receiver)->Payloads->MainDocument (image attached below).

tempsnip.png

Please if someone can suggest an FM or class to fetch the same.

Thanks and Regards.

Hi experts,
I am trying to read xml file into internal table. For this purpose i am reading the xml into xstring and then pushing it into internal table.

So far i have used SXMB_GET_MESSAGE_PAYLOAD which gives the following xml

Call Inbound Proxy->Payloads->MainDocument(image attached below)

tempsnip.png

SXMB_GET_XI_MESSAGE_INT ,SXMB_GET_XI_MESSAGE both these FM's gives me the xml (image attached below).

tempsnip.png

But the xml i want is in the Inbound Message(Receiver)->Payloads->MainDocument (image attached below).

tempsnip.png

Please if someone can suggest an FM or class to fetch the same.

Thanks and Regards.

0 REPLIES 0