Application Development 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: 

ORDERS05 for creating purchase order inbound

0 Kudos

Can ORDERS05 IDOC can be used as inbound to create purchase order?

1 ACCEPTED SOLUTION

ziolkowskib
Active Contributor

Hi divya.soundar,

In theory it could be as outbound ORDERS05 can be generated based on Purchase Order using processing codes ME10 / ME11.
However I do not recall any standard processing codes for inbound processing that would end up in creation of Purchase Order based on ORDERS05 - in case of inbound processing ORDERS05 is creating Sales Order document (i.e. process code ORDE).
That would actually make sense as Purchase Order created by a customer is matching a Sales Order in supplier system.
For Purchase Order creation I would suggest using PORDCR103 and process code BAPI.
If you really need to create a Purchase Order document based on ORDERS05 I would suggest creating your own custom function module and matching processing code - Purchase Order can be created using function module BAPI_PO_CREATE1.
Regards,
Bartosz

2 REPLIES 2

ziolkowskib
Active Contributor

Hi divya.soundar,

In theory it could be as outbound ORDERS05 can be generated based on Purchase Order using processing codes ME10 / ME11.
However I do not recall any standard processing codes for inbound processing that would end up in creation of Purchase Order based on ORDERS05 - in case of inbound processing ORDERS05 is creating Sales Order document (i.e. process code ORDE).
That would actually make sense as Purchase Order created by a customer is matching a Sales Order in supplier system.
For Purchase Order creation I would suggest using PORDCR103 and process code BAPI.
If you really need to create a Purchase Order document based on ORDERS05 I would suggest creating your own custom function module and matching processing code - Purchase Order can be created using function module BAPI_PO_CREATE1.
Regards,
Bartosz

Sandra_Rossi
Active Contributor
0 Kudos

This question has been already asked in the forum:

"ORDERS05" "inbound" "purchase order" site:sap.com