cancel
Showing results for 
Search instead for 
Did you mean: 

creating SD order using MM puchase order in the same system with IDOC

eric_colas
Explorer
0 Kudos
165

Hi all,

I need to create an SD order automatically after an MM puchase order creation in the same system.

I think that it is possible to use IDOC interface.

Does anybody have a similar experience ?

regards,

Eric

Accepted Solutions (1)

Accepted Solutions (1)

former_member182096
Participant
0 Kudos

We have done this in a few ways...But before I explain the different ways, could you explain more about the basic requirement? Are you looking for an inter-company scenario where PO from one plant (to an IC vendor) can generate a demand for the Inter-company plant?

Regards,

Srini

eric_colas
Explorer
0 Kudos

Hi Srini,

this is a particular requirement in public sector for an intra-company scenario, a purchase order of service material must generate a service order in an other plant, we have controlling requirement (=> we need an SD order) and purchased service material are not the same than saled service material !

thanks for your help,

Eric

Edited by: eric colas on Dec 31, 2008 11:58 AM

Edited by: eric colas on Dec 31, 2008 11:58 AM

Answers (3)

Answers (3)

JackGraus
Active Contributor
0 Kudos

The standard MM outbound process code ME10 will create an outbound purchase order IDOC of type ORDERS. When you want to trigger inbound processing for this IDOC then copy the outbound process code ME10 to a customer outbound process code and change it from 'Processing with ALE service' to 'Processing w. trigger (inbound)'.

The standard SD inbound process code ORDE will create a sales order from an ORDER IDOC. When you copy this process code to a customer process code with the same name as the outbound process code, then the outbound ORDERS IDOC will be processed as an inbound IDOC.

Best regards Jack

eric_colas
Explorer
0 Kudos

Thanks for your help Jack...and happy new year !

Eric

Edited by: eric colas on Jan 1, 2009 7:06 PM

Former Member
0 Kudos

This message was moderated.

GauthamV
Active Contributor
0 Kudos

Phani Krishna wrote:

Please award points if helpfull.

Follow the rules of Engagement and avoid these statements.

Former Member
0 Kudos

Hi Eric,

while saving then MM PO try to find the user exit or enhancement spot where you can get the PO number , If PO number is created at that exit then create sales order by extracting sales order data.

You can use BAPI or FM to create sales order.

Please award points if helpfull.

Regards,

Phani.