cancel
Showing results for 
Search instead for 
Did you mean: 

PO XML File

Former Member
0 Kudos

I have a Purchase Order XML File. I need to create the Sales Order using that XML File. How can i achieve this ?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I Myself solved the issue.

Former Member
0 Kudos

Hi,

First try to relate the tablesie. Based on PO we need to create the SO for this we need to relate table based on some common document/ reference number.

To save data to XML file, Pls try to use this FM-

BBP_PO_SAVE_XML,

BBP_PO_SAVE_XML_47A,

To read data from XML file-

BBP_PO_GETDETAILS

BBP_PO_GETITEMS

I think we need to go for parsing in order to read a XML file.

CEP_DOC_PARSE_SML_AND_SAVE

CEP_XSTRING_PARSE_XML_CLASS

Pls try them out as I havent worked on them.

If youn are working on any CRM then we can relevant FM in the FM list by searching.

Try to find in SE37 - xml to get more FM list.

Other way- In SE24- search as XML we can find some XML services clases to read data from XML.

OS that we can capture ther PO number and pass to any BAPI_Salesorder create FM to create a sales order.

Reward if helpful.

Regards

Chandralekha

Former Member
0 Kudos

Hi,

https:// download.microsoft.com/download/4/D/2/4D26B8CD-6ADF-4E1A-B85D-9AAA44E6C055/nav_tech_%20wp_biztalk.doc

Refer the above document.

Regards,

Jagadish

Former Member
0 Kudos

Hi Jagadish,

The above link is not working

Former Member
0 Kudos

Hi Manjunath,

You can find a related thread in the following link,

http://sap.ittoolbox.com/groups/technical-functional/sap-dev/problem-while-creating-sales-order-usin...

and refer the following link also.

http://64.233.167.104/custom?q=cache:7MIDAQfDlmkJ:download.microsoft.com/download/9/4/9/949C821A-FE2...tocreatesalesorderbasedonpurchaseorderinxml%2Bsap&hl=en&ct=clnk&cd=1&gl=us&client=pub-3687694581336538

Regards,

Jagadish