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

Confusion on IDOC types for creation of PO

Former Member
0 Kudos
1,360

Hi,

Requirement is sending PO from sendin SAP system to receiving system.

For sending am using-

Processing code ME10

On serching forums and tutorials, i came across IDOC type- ORDERS05 but this idoc type is for both PO and SO.

PORDCR04 idoc type for creation of PO only.

Some post says PORDCR04 doesnt create PO header text.On the other hand,For inbound processing of PO idoc ( using ORDERS05 ) processing code is not available.

I will be thankful if somebody can guide me which of these idoc types is preferable.

Thanks.

Edited by: Sanjay_lnt on Jan 8, 2011 3:49 PM

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Kudos
791

Hello Sanjay

The outbound ORDERS IDoc is used to send purchase orders to a supplier/vendor. The inbound ORDERS IDoc will create a sales order in the ERP of the supplier/vendor.

In order to create purchase orders you would need to use the PORDCR04 IDoc type.

Regards

Uwe

5 REPLIES 5
Read only

uwe_schieferstein
Active Contributor
0 Kudos
792

Hello Sanjay

The outbound ORDERS IDoc is used to send purchase orders to a supplier/vendor. The inbound ORDERS IDoc will create a sales order in the ERP of the supplier/vendor.

In order to create purchase orders you would need to use the PORDCR04 IDoc type.

Regards

Uwe

Read only

0 Kudos
791

Hi Uwe ,

Thanks for reply. Will you please clarify if you mean outbound PO will be converted to inbound SO at customer end?( with ORDERS idoc type ) and with pordcr only replication of PO from one system to another?

Also for creation of so from PO do i need to use process code corresponding to SO creation ith message type orders?

Edited by: Sanjay_lnt on Jan 9, 2011 10:24 AM

Read only

0 Kudos
791

Hell Sanjay

Outbound ORDERS (= Purchase Order) and inbound ORDERS (= Sales Orders) are like siblings which reflect the customer / supplier relationship.

In case of the PORDCR04 IDoc it is somewhat different because does it make sense to have the same purchase order in different system?

In our case a POS (= point of sales) system is used to create a purchase order (for replenishment) which is then converted (via SAP-PI) into an inbound PORDCR04 IDoc in the ERP system. Out of this purchase order a replenishment delivery (for the shops) is created.

Regards

Uwe

Read only

0 Kudos
791

HI Uwe,

I conclude PORDCR will be used to tyransfer PO from one syetem to another only in case of replinishments.(??)

Also will you please answer if for creation of so from PO do i need to use process code corresponding to SO creation with message type orders?

Read only

0 Kudos
791

Hello

I am aware of one case in our system landscape in which PORDCR01 IDoc type is used, and this is the replenishment for the POS. The processing code for the inbound IDocs is BAPI which is linked to fm BAPI_IDOC_INPUT1.

Regards

Uwe