Integrating MM & SD Modules in Same Client to Create Delivery in Supplying Company Code & do GR in Receiving Company Code By I-Doc Message Type DESADV Part2

This document is in continuation of http://www.sapnoob.com/knowledge-base/integrating-mm-sd-modules-in-same-client-to-create-sales-order-in-supplying-company-code-using-po-raised-in-receiving-company-code-by-i-doc-message-type-orders-part1/

In this document I’m going to explain about processing Deliveries in SD & Goods Receipts in MM Modules using EDI- IDocs, Outbound and inbound deliveries in Logistics Execution.   After completion of GR in MM, a confirmation message is sent back to SD module as a Proof of delivery.

Prerequisites:

1. A sales order created against the PO as explained in above link.

2. Knowledge of Inbound and outbound deliveries.

Follow the below steps for processing outbound and inbound deliveries with IDocs.

Step1. Create Condition Record in transaction NACR for message type LAVA as shown below.

/wp-content/uploads/2013/08/1_269567.jpg

Enter the Sales Organization (6666) and Customer Number (100211) with Transmission medium 6 (EDI).

/wp-content/uploads/2013/08/2_269568.jpg

Note: The Partner function maintained here (SH) is to be used in step No. 2   as partner role.

Step2. In Transaction WE20 for partner profile customer (100211) maintain outbound parameters with partner role SH, message type DESADV & Basic Type DESADV01 as explained in the previous document Part1.

/wp-content/uploads/2013/08/3_269569.jpg

In Message control tab maintain message type LAVA with process code SD05 as shown below.

/wp-content/uploads/2013/08/4_269576.jpg

Step3. In Transaction WE20 for partner profile Logical System (RD2CLNT800) maintain inbound parameters with message type DESADV and process code DESA.

/wp-content/uploads/2013/08/7_269577.jpg

Follow the below steps for processing Proof of Delivery with IDocs.

Step4. In Transaction XD02 for Customer  100211 in sales area (6666, 66, 66) data shipping tab, mark the check box of relevant for POD as shown below.

/wp-content/uploads/2013/08/8_270052.jpg

Note: If you mark this check box you can bill the customer only after receipt of Proof of delivery from him. You can also mark this check box in sales order Item shipping tab.

/wp-content/uploads/2013/08/2_269568.jpg

Step5: Create Condition Record in transaction NACR for message type OPOD as shown below.

/wp-content/uploads/2013/08/9_269629.jpg

Enter the inbound delivery document type (EL) and vendor Number (2096) with Transmission medium 6 (EDI).

/wp-content/uploads/2013/08/10_269630.jpg

Note: The Partner function maintained here (VN) is to be used in step No. 6   as partner role.

Step6. In Transaction WE20 for partner profile vendor (2096) maintain outbound parameters with partner role VN, message type STPPOD & Basic Type DELVRY03 as explained in the previous document Part1.

/wp-content/uploads/2013/08/11_269634.jpg

In Message control tab maintain message type OPOD with process code OPOD as shown below.

/wp-content/uploads/2013/08/12_269635.jpg

Step7. In Transaction WE20 for partner profile Logical System (RD2CLNT800) maintain inbound parameters with message type STPPOD and process code DPOD.

/wp-content/uploads/2013/08/13_269637.jpg

Testing:

Step1. Create outbound delivery in Transaction VL01N for the sales order created in previous document Part1.

/wp-content/uploads/2013/08/14_269638.jpg

Carryout Post Goods Issue by entering storage location (0001) & Picked quantity (10).

/wp-content/uploads/2013/08/15_269639.jpg

Make sure that message LAVA was sent successfully in VL02N >> Extras >> Delivery Output >> Header.

Step2. In Transaction WE02 Check the outbound & inbound IDoc status of message type DESADV.

/wp-content/uploads/2013/08/16_269640.jpg

Step3. In Transaction ME23N check the Purchase order is updated with inbound delivery in Item confirmations tab. Note the Inbound delivery number and go to transaction VL32N

/wp-content/uploads/2013/08/17_269642.jpg

Step4. In Transaction VL32N carryout Post Goods Receipt by entering receiving storage location & Quantity in stock placement tab.

/wp-content/uploads/2013/08/18_269643.jpg

/wp-content/uploads/2013/08/19_269644.jpg

Make sure that message OPOD was sent successfully in VL32N >> Extras >> Delivery output.

Step5. In Transaction WE02 Check the outbound & inbound IDoc status of message type STPPOD.

/wp-content/uploads/2013/08/20_269645.jpg

Step6. In Transaction VLPODA check the Proof of delivery document created against the outbound delivery.

/wp-content/uploads/2013/08/23_269649.jpg

/wp-content/uploads/2013/08/21_269646.jpg

/wp-content/uploads/2013/08/22_269647.jpg

Step7. In Transaction VLPODL confirm the Proof of Delivery as shown below.

/wp-content/uploads/2013/08/24_269648.jpg

/wp-content/uploads/2013/08/25_269650.jpg

If the Status is success then you can process Billing to the customer.

/wp-content/uploads/2013/08/26_269652.jpg

-End Of Document Part2

In Continuation of this document I will explain about ‘processing billing in SD and logistics invoice verification in MM for the above business process using IDocs’ in my next document http://www.sapnoob.com/knowledge-base/integrating-mm-sd-modules-in-same-client-to-do-billing-in-supplying-company-code-do-liv-in-receiving-company-code-by-i-doc-message-type-invoic-part3/

Was this article helpful?

Related Articles

Leave A Comment?

You must be logged in to post a comment.