cancel
Showing results for 
Search instead for 
Did you mean: 

Parsing XML Files to ABAP

Former Member
0 Kudos

Hello All,

There is a requirement for parsing of XML files to ABAP.

1.How do we pick an XML file from Application server and also from FTP server?

2.After picking the XML file how to parse that XML file to process it to create material master?

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi deepti,

Please find the below link which might help you [XML to ABAP|http://www.heidoc.net/joomla/content/view/15/31/]

also...

http://abapstuff.blogspot.com/2005/09/parsing-xml-releases-46c-and-up.html

Regards,

Madhusree

Former Member
0 Kudos

Hi,

Ur scenario is File to R/3

For creating material master ..i guess there is IDoc named MATMAS.

U can make use of it and execute File to IDoc Scenario.

link for File to IDoc--

https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/fileToIDOC&

U need to pick XML file from FTP server...No need to parse XML file...just create data type which represents ur xml file structure and map it to IDoc fields.

regards,

Manisha

jagesh_lakdawala
Active Participant
0 Kudos

Hi Deepti,

In this case, you can use the File-XI-SAP R/3 (Asynch) scenario.

Read the XML file from the FTP server and pass this data to SAP R/3 through the SAP XI.

Create the server proxy in SAP R/3 using transaction SPROXY and apply the business logic in the

server prosy method 'EXCEUTE_SYNCHRONOUS'.

if you want further details then please elaborate your question in details.

Thanks & Regards

Jagesh

jyothi_anagani
Active Contributor
0 Kudos

Hi,

This is enough to do that

[A Step-by-Step Simple File-to-File Scenario: SAP XI|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4013f6bb-7ec3-2b10-62b5-e5be01e498f7]

Thanks.

former_member732072
Active Participant
0 Kudos

Hi Deepti,

Please have a look at the following links and see if it helps you.

Best Regards