cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC - create SD Contract from a Purchase Order

Former Member
0 Kudos

Hi,

I need to know if exist an IDOCs to create a SD Contract from a Purchase Order and another IDOC to change a Purchase Order from a SD Contract.

Regards,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi, you can simply use ORDER and ORDCHG. Additionally you need to map the IDOC to your contract order type in IDOC_INPUT_ORDERS (CALL CUSTOMER-FUNCTION '011') for Inbound processing.

I do not think there are other IDOC types

Former Member
0 Kudos

Hi, I'm new at IDOC stuff. I have two distinct processes:

1st - I have a report which will create a Purchase Order from a BAPI, after the PO has been created I need an IDOC to create a SD contract with PO data;

2nd - Someone change the SD contract, in this case I will need an IDOC to replicate the changes on PO.

Is it possible to do these with standard IDOC or I will need to develop new IDOC? Is it better, in this case, develop the IDOC or use standard BAPIs?

Thanks

Former Member
0 Kudos

Hi again,

1. PO will create ORDERS IDOC this is SAP Standard.

2. ORDERS IDOC will be send

3. IDOC Segment E1EDK14 qualifier 12 contains the order type. A contract is also a type of sales order. So we need to get the correct order type in the segment. One option is using the userexit proposed earlier another and even easier is asking the XI colleagues to do the change already in XI.

4. During Inbound processing the contract will now be created.

http://help.sap.com/saphelp_erp2004/helpdata/en/cf/ab3827940311d295e600a0c9306667/frameset.htm

You will send a ORDRSP from your Contract (I made a mistake earlier and said ORDCHG this would be the update of the contract from the PO...)

I think you will need to worry to much of the ORDRSP on the SD side as in fact the IDOC does not care if it is send from order or from a contract.

Depending on your configuration in MM it will update the PO.

http://help.sap.com/saphelp_erp2004/helpdata/en/1c/deffb0844f11d2b471006094b9476a/frameset.htm

Bascally in regards to quantity you will need to do more on the MM side because usually it is not expected that the Vendor is chnaging quantities etc... So it is still possible:

http://help.sap.com/saphelp_erp2004/helpdata/en/1c/deffb0844f11d2b471006094b9476a/frameset.htm

By the way we are having the scenario with the contract in our SAP sending ORDRSP and ORDCHG for contracts and it is working fine.

Hope it helps.

Former Member
0 Kudos

Many thanks

Former Member
0 Kudos

You are welcome. One more thing, on the MM side I am not 100 % sure if you will be able to change the quantities. I checked confirmation control customizing and did not see the option. Maybe via Userexit.

Former Member
0 Kudos

Hi SAPSD,

Currently we are trying to setup EDI-820 which is a Customer Payment order remittance. Do you have any idea how to achieve this functionality? With all my research I guess Message type we use is REMADV and Basic type is PEXR2002.

We are looking to configure Inbound customer payments for EDI 820. Please advice.

Thanks,

Victor

Former Member
0 Kudos

http://help.sap.com/saphelp_nw04/helpdata/en/f3/dcd135e31d11d194e100a0c942612c/frameset.htm

Hope that helps.. Never did this myself and I guess that you better should post the question in FI Forum..

Good Luck