YT

Tuesday, 17 October 2017

How to Create Sales Order from XML ?

How to Create Sales Order from XML ?

Difference between Idoc & Sproxy

IDOC :It has Standard Structure, Sender Communication Channel is not required,Used only for asynchronous Communication.


Proxy: Depending upon the requirement have to create the structure, It supports huge volume of data processing, Can be used for both sync & async .

Task : Create Sales Order from XML
Tcode : Sproxy
                   1.      Click on Open Object & Enter Web services Definition : ECC_SALESORDERERPCRTRC2









2. WSD – SYNCHRONOUS INBOUND  SERVICE OPERATION (A2X)
Link -
Step 2 : Click on Reference Object
Step 3 : Check Service Provider 


















    Step 4 : Click on this icon to simulate Proxy




    Step 5 : A pop will get open on click of icon at step 4 , select Generate Request Template and Execute 









    Step 6 : A page will open with XML file which needs to be edited based on requirement. Click on XML Editor.  














  Step 7 : This is the most important step and based on the value which will be entered in editor will be used to process sales order . 
Header Details 
If you are using external number range for sales order <ID > Highlighted must be provided . 
All basic requirement will be provided in SAP ES Marketplace against each WSDL. 




Item Details : This XML shown below has item details with line item conditions 













    Step 8 : After editing XML , click on pretty printer to adjust all gaps . Click on execute to run Sproxy and check response 


     Step 9 : Check in Tab Response 
Order was successfully created 





Check in SAP : Open VA03 











   Check details which was entered in XML editor . 






This is how we create sales order from Sproxy . This is used in industry which has to be integrated with legacy system and there are lot of volumes of transaction happening in a day . Other methods are by creating from BAPI or IDOC but they have certain limitations . 

Do comment and subscribe to our you tube channel for more updates . Stay Connected !

Thanks 
Eklavya Studios

No comments:

Post a Comment

SAP FUNPARK - Learning

How to Create Sales Order from XML ?

How to Create Sales Order from XML ? Difference between Idoc & Sproxy IDOC  :It has Standard Structure, Sender Communication Ch...