SAP Output Determination Procedure

Purchase Order (PO) Output Determination Procedure (Schema)

SPRO-MM-Purchasing-Messages-OutputControl-MessageDeterminationSchemas-DefineSchemaForPurchaseOrder

Steps

  1. Define Access Sequence
  2. Define Condition / Output Type (with Access Sequence), including Processing Routines (Program and Form)
  3. Define Procedure : Condition / Output Types
  4. Assign Procedure to Purchase Order
  5. Maintain Condition record (NACR/NACE)

Sales Order (SO) Output Determination Procedure

SPRO-SD-BasicFunction-OutputControl-OutputDetermination-OutputDeterminationUsingConditionTechnique-MaintainOutputDeterminationForSalesDocument

Steps

  1. Define Access Sequence
  2. Define Condition / Output Type (with Access Sequence), including Processing Routines (Program and Form)
  3. Define Procedure : Condition / Output Types
  4. Assign Procedure to Purchase Order
  5. Maintain Condition record (NACR/NACE)

Cheers

SAP Tax Calculation Procedure

SPRO-FI-GS-Tax-Calc Procedure. (For VAT in & VAT out) / (PPN masukan & PPN keluaran)

Steps

  1. Define Access Sequence
  2. Define Condition Type (with Access Sequence)
  3. Define Procedure : Condition Types
  4. Assign Procedure to Country
  5. Maintain Condition record (FTXP)
•SPRO-FI-GS-Tax-Calc Procedure

Cheers

SAP Sales Order Pricing Procedure

In SD, Pricing Procedure (T-Code OVKK) is determined based on :

Pricing Procedure = Sales Organization + Distribution Channel + Division + Customer Pricing Procedure + Document Pricing Procedure

  • Sales Area is determined in Sales Order Header Level.
  • Customer Pricing Procedure is determined from Customer Master – Sales Data – Sales Tab – Pricing Section.
  • Document Pricing Procedure is determined from Sales Document Type (TCode VOV8) / Billing Type (TCode VOFA) (if configured).
  • Once the pricing procedure is determined, Condition records are fetched. If appropriate condition records are found, the price is determined. If Mandatory pricing condition is missing, system will through an error message.

Diagram

Customer Pricing Procedure (XD03)
•SPRO-SD-BF-Pricing

Cheers

SAP Purchase Order & Stock Transport Order Pricing Procedure

In customizing “Determine Calculation Schema for Standard Purchase Orders” (SPRO-MM-Purchasing-Conditions-Define Price determination process-Define Schema Determination): Determine which Procedure (Calculation Schema) will be used for Purchasing Org + Schema Vendor Group combination. Blank Purchasing  Org + Vendor Group will be the default Calculation Schema (RM0000)

Steps

  1. Define Condition Table
  2. Define Access Sequence
  3. Define Condition Type (with Access Sequence)
  4. Define Calculating Schema : Condition Types
  5. Define Schema Group Of Vendor
  6. Define Schema Group Of Purchasing Organization
  7. Assign Schema Group Of Vendor to Purchasing Organization
  8. Assignment of Schema Group Of Vendor ,Schema Group Purchasing Organization and Calculation Schema
  9. Assign Vendor to Schema Group of Vendor (XK02) 10.Maintain Condition record (MEK1)

Reference: https://answers.sap.com/questions/6263054/purchase-order-price-determination.html

Vendor Schema Group (XK03)

Cheers

SAP Automatic INV-INV RECEIPT (LIV) By IDoc Message Type INVOIC

In this example:

Purchasing Company (Passive Toller): CC: Z006, Receiving Plant: Z006, Purch Org: Z007

  • Selling Company (Active Toller): CC: Z007, Delivering Plant: Z007, Sales Area: Z007 Z3 Z4

Preparation

1. Check Logical system assigned to your client in transaction SCC4

2. Create RFC destination (of type  ABAP Connection)  to the logical system in transaction SM59.

Here give the same name as of logical system & fill target host & system number.

In logon & security Tab fill client, username & password.

To check the connection click on Remote logon & connection test.

If you are able to remotely log in to target client then  proceed to the next step.

3. Create a port of type Transactional RFC in transaction WE21.

You can give port name manually or else system will assign one based on your selection.

Select IDoc version as SAP release 4.X & give RFC destination name which was created in Step No.2.

Vendor Master

4. Create Vendor Master in Transaction XK01 with Organizational elements of Purchasing System i.e., Company Code:Z006 & P. Org: Z007.

In Correspondence Company Code data, maintain  Account with Vendor field  with the customer number that you will create in Step No.7

Customer Master

4.A Create Customer Master in Transaction XD01 with organizational elements of Sales System i.e., Company Code: Z007 Sales Area: Z007, Z3, Z4.

In Correspondence tab of Company Code Data, maintain Account at customer field with vendor number created in Step No.4.

4.B In Transaction XD02 for Customer 61 in sales area (Z007, Z3, Z4) data Shipping tab, mark the check box of relevant for POD.

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.

Customer Partner Profile

5. In transaction WE20 create Partner of type KU (Customer) & give the Customer number created in Step No.7 & Save it. Now Click on ‘+’ button in Outbound parameters area.

6. Enter the Partner Role BP (Bill-To-Party) and select Message type as INVOIC.

6.A. In Outbound options tab, enter the Receiver port which was created in Step No.3.

Select the Transfer IDoc Immed to transfer the IDoc as soon as it was created.

Select the Basic type as INVOIC02

6.B. In Message Control tab Enter Application V3 (Billing) Message type RD00 (Invoice) and select Process code as SD09 (INVOIC:Invoice).

6.C. In EDI Standard tab maintain as shown (EDI Standard=E, Message Type = INVOIC).

For more details press F1 in that particular field.

LS Partner Profile to create Inbound Delivery

7. In transaction WE20, expand Partner type LS(Logical System) & select the Logical system which was assigned to your client in Step No.1 (This Logical system already exists & don’t required to create).

Click on ‘+’ button in Inbound parameters area as shown. Select Message type as INVOIC.

7.A. In Inbound options tab, Select the Process code INVL (Logistic Invoice Verification) and select Trigger Immediately to process the IDoc immediately.

Billing Output Condition Record

8. Create Condition Record in transaction NACR for Output type RD00 with Key Combination S. Org / Customer

8.A. Enter the S. Org Z007 and Customer 61with Transmission Medium (6 EDI), Date = 4

Note: The Partner function maintained here (BP) is to be used as partner role.

Material Master

9. Create Material Master in Transaction MM01 with organizational elements of purchasing system i.e., Plant: Z006. Maintain Basic Data, Purchasing, Plant storage data & Accounting views.
Fill Gross weight & net weight fields in Basic Bata tab. remaining as normal.

10. Extend the material created in Step No.13 in transaction MM01 with organizational elements of Sales system i.e., Plant: Z007, Sales Area: Z007, Z3, Z4. Maintain Sales 1 & 2, Sales plant data, Storage plant data, Accounting views.

Map Tax Codes

11. In the below path Convert the External Tax codes (Tax code in Billing) used in to Internal tax codes to be used for Invoice verification. Table T076M

11. Note: You can use any one format shown. All formats will work. If system not possible to convert the external tax code then Error Msg. FD008 will come.

Ex. Assigning a new tax key for S1 and VAT 10.000 not possible. Message no. FD008,

Where S1 is Output tax code which is used in billing,

VAT is standard key used by EDI to convert tax by using Tax percentage Ex.10.000.

Note. Enter tax rate with decimal places

SPRO-MM-LIV-EDI-AssignTaxCodes

Assign Customer to Company Code

12. Assign customer name (61) to a company code (Z006) in which the invoice is to be posted as shown.

Table T076B

Note: Use Prefix Zeros if required to the customer name. If System not possible to determine a company code in which the invoice to be posted, then Error Msg.FD006 will come.

Ex. A company code cannot be determined for & & & Message no. FD006.

Note. the below ABAP Code is used to determine the company code.

CHECK I_E1EDKA1-PARVW EQ ‘RE ‘.

SELECT SINGLE * FROM  T076B WHERE  PARART    = I_IDOC_CONTRL-SNDPRT

                              AND    KONTO     = I_IDOC_CONTRL-SNDPRN

                              AND    BUKRSNAME = I_E1EDKA1-PARTN.

SPRO-MM-LIV-EDI-AssignCompanyCodes

Maintain EDI Program Parameters

13. Maintain EDI program parameters for partner Logical system (ROLCLNT100) & company code (Z006). Here Maintain the Invoice document type to be used  & remaining as per requirement.

Table T076S.

Note: IF the system Not possible to determine program parameters Error Msg. FD145 will come.

Ex. Program parameters for LS RD2CLNT800 8888 have not been set Message no. FD145.

SPRO-MM-LIV-EDI-EnterProgramParameters

Diagram

Testing – Create Billing

1.A. In Transaction VF01 create billing document against delivery document as shown

Optional: with reference to Outbound Delivery created from OD-ID-POD automated

1.B. In Conditions observe the tax details (0 %) & Tax Code (S1) as shown

1.C. Save the billing document & make sure it is released (forwarded to accounting). Check the message RD00 was sent successfully (Goto – Header – Output). Check the accounting document created against the billing document

Testing – Check Outbound IDoc

2. In Transaction WE02 check the status of Outbound & Inbound IDocs of message type INVOIC

Testing – Check Inbound IDoc

3. If they are processed successfully note the Invoice document number from the status of inbound IDoc.

Testing – Check IDoc generated Invoice Receipt

4.A. In Transaction MIR4 Display the Invoice document

4.B. Observe the above details, document type used for invoice & block status of the invoice document.

4.C. Check the accounting document by clicking on Follow-On Documents

Reference: https://blogs.sap.com/2013/08/28/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/

Cheers

SAP Automatic OD-ID-POD By IDoc Message Type DESADV

In this example:

  • Purchasing Company (Passive Toller): CC: Z006, Receiving Plant: Z006, Purch Org: Z007
  • Selling Company (Active Toller): CC: Z007, Delivering Plant: Z007, Sales Area: Z007 Z3 Z4

Preparation

1. Check Logical system assigned to your client in transaction SCC4

2. Create RFC destination (of type  ABAP Connection)  to the logical system in transaction SM59.

Here give the same name as of logical system & fill target host & system number.

In logon & security Tab fill client, username & password.

To check the connection click on Remote logon & connection test.

If you are able to remotely log in to target client then  proceed to the next step.

3. Create a port of type Transactional RFC in transaction WE21.

You can give port name manually or else system will assign one based on your selection. Select IDoc version as SAP release 4.X & give RFC destination name which was created in Step No.2

Vendor Master

4. Create Vendor Master in Transaction XK01 with Organizational elements of Purchasing System i.e., Company Code:Z006 & P. Org: Z007.

In Correspondence Company Code data, maintain  Account with Vendor field  with the customer number that you will create in Step No.7

Vendor Partner Profile

5. In transaction WE20 create Partner of type LI(Vendor) & give the vendor number created in Step No.4 & Save it.

Click on ‘+’ button in Outbound parameters.

6. Enter the Partner Role VN and select Message Type as STTPOD.

6.A. In Outbound options tab, enter the Receiver port which was created in Step No.3. Select the Transfer IDoc Immed to transfer the IDoc as soon as it was created. Select the Basic type as DELVRY03

6.B. In Message Control tab, enter the Output Message type OPOD and select Process code as OPOD.

6.C. In EDI Standard Tab maintain as shown. For more details press F1 in that particular field.

Customer Master

7.A Create Customer Master in Transaction XD01 with organizational elements of Sales System i.e., Company Code: Z007 Sales Area: Z007, Z3, Z4. In Correspondence tab of Company Code Data, maintain Account at cust field with vendor number created in Step No.4.

7.B In Transaction XD02 for Customer 61 in sales area (Z007, Z3, Z4) data Shipping tab, mark the check box of relevant for POD.

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.

Customer Partner Profile

8. In transaction WE20 create Partner of type KU (Customer) & give the Customer number created in Step No.7 & Save it.

Now Click on ‘+’ button in Outbound parameters area.

8. Enter the Partner Role SH and select Message type as DESADV.

8.A. In Outbound options tab, enter the Receiver port which was created in Step No.3.

Select the Transfer IDoc Immed to transfer the IDoc as soon as it was created.

Select the Basic type as DESADV01

8.B. In Message Control tab Enter the confirmation Message type LAVA and select Process code as SD05.

8.C. In EDI Standard tab maintain as shown.

For more details press F1 in that particular field.

LS Partner Profile to create Inbound Delivery

9. In transaction WE20, expand Partner type LS(Logical System) & select the Logical system which was assigned to your client in Step No.1 (This Logical system already exists & don’t required to create).

Click on ‘+’ button in Inbound parameters area as shown. Select Message type as DESADV.

9.A. In Inbound options tab, Select the Process code DESA and select Trigger Immediately to process the IDoc immediately.

LS Partner Profile to create POD

10. Similarly maintain Inbound parameters for Message type STPPOD to the same logical system with Process code DPOD (Acknowledgement of Receipt / Proof of Delivery POD)

Outbound Delivery Output Condition Record

11. Create Condition Record in transaction NACR for Output type LAVA (Outbound Delivery Shipment Notif) with Key Combination S.Org & Customer

11.A. Enter the S.Org: Z006 & Customer:61 and press enter. Select Medium 6(EDI), 4(send immediately) & Language EN (English). Then save it.

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

Inbound Delivery Output Condition Record

12. Similarly Create Condition record in transaction NACR for Output type OPOD (Inbound Delivery – POD Confirmed) with Key Combination Delivery Type.

Material Master

13. Create Material Master in Transaction MM01 with organizational elements of purchasing system i.e., Plant: Z006. Maintain Basic Data, Purchasing, Plant storage data & Accounting views.

Fill Gross weight & net weight fields in Basic Bata tab. remaining as normal.

14. Extend the material created in Step No.13 in transaction MM01 with organizational elements of Sales system i.e., Plant: Z007, Sales Area: Z007, Z3, Z4. Maintain Sales 1 & 2, Sales plant data, Storage plant data, Accounting views.

Diagram

Testing – Preparation

Preparation:

1.A. Change SO POD Relevant in Line Item Shipping Tab in VA02

1.B. Check Incompletion Log and complete the SO

Testing – Create Outbound Delivery

1.B.1 Create Outbound Delivery in Transaction VL01N

Optional: with reference to Sales Order created from PO-SO automated

1.B.2 Carryout Post Goods Issue by entering storage location (Z700) & Picked quantity (1).

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

In messages observe LAVA message was triggered with medium 6(EDI).

Testing – Check Outbound IDoc

2. In Transaction WE02, check the IDoc Status of message type DESADV.

2.A Check the outbound IDoc status of message type DESADV. If it is successfully processed it will have status 3.

Testing – Check Inbound IDoc

3. Check Inbound IDoc of Message type DESADV. Here the IDoc 373013.
If it is successfully processed and have status 53 then get the sales order number as shown.

Testing – Check IDoc generated Inbound Delivery

4. 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

5. In Transaction VL32N carryout Post Goods Receipt by entering receiving storage location & Putaway Qty in Stock placement tab

Testing – Check Inbound Delivery Output

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

Testing – Check Outbound IDoc

6. In Transaction WE02, check Outbound IDoc status of Message type STTPOD.

Here IDoc 373014 as shown. If it is successfully processed it will have status 3.

Testing – Check Inbound IDoc

7. Then Check Inbound IDoc of Message type STTPOD.

Here the IDoc 373016. If it is successfully processed and have status 53 then check information message saying delivery  800000120 successfully processed as shown.

Testing – Check IDoc updated Inbound Delivery

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

9. In Transaction VLPODL confirm the Proof of Delivery as shown

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

Reference:

https://blogs.sap.com/2013/08/28/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/

Cheers

SAP Automatic PO-SO By I-Doc Message Type ORDERS

In this example:

  • Purchasing Company (Passive Toller): CC: Z006, Receiving Plant: Z006, Purch Org: Z007
  • Selling Company (Active Toller): CC: Z007, Delivering Plant: Z007, Sales Area: Z007 Z3 Z4

Preparation

1. Check Logical system assigned to your client in transaction SCC4

2. Create RFC destination (of type  ABAP Connection)  to the logical system in transaction SM59.

Here give the same name as of logical system & fill target host & system number. In logon & security Tab fill client, username & password. To check the connection click on Remote logon & connection test. If you are able to remotely log in to target client then  proceed to the next step.

3. Create a port of type Transactional RFC in transaction WE21.

You can give port name manually or else system will assign one based on your selection. Select IDoc version as SAP release 4.X & give RFC destination name which was created in Step No.2

Vendor Master

4. Create Vendor Master in Transaction XK01 with Organizational elements of Purchasing System i.e., Company Code:Z006 & P. Org: Z007.

In Correspondence Company Code data, maintain  Account with Vendor field  with the customer number that you will create in Step No.7

Vendor Partner Profile

5. In transaction WE20 create Partner of type LI(Vendor) & give the vendor number created in Step No.4 & Save it.

Click on ‘+’ button in Outbound parameters.

6. Enter the Partner Role VN and select Message Type as ORDERS.

6.A. In Outbound options tab, enter the Receiver port which was created in Step No.3. Select the Transfer IDoc Immed to transfer the IDoc as soon as it was created. Select the Basic type as ORDERS05

6.B. In Message Control tab, enter the Output Message type of Purchaser order Ex. NEU and select Process code as ME10.

6.C. In EDI Standard Tab maintain as shown. For more details press F1 in that particular field.

Customer Master

7. Create Customer Master in Transaction XD01 with organizational elements of Sales System i.e., Company Code: Z007 Sales Area: Z007, Z3, Z4.

In Correspondence tab of Company Code Data, maintain Account at cust field with vendor number created in Step No.4.

Customer Partner Profile

8. In transaction WE20 create Partner of type KU (Customer) & give the Customer number created in Step No.7 & Save it.

Now Click on ‘+’ button in Outbound parameters area.

8. Enter the Partner Role SP and select Message type as ORDRSP.

8.A. In Outbound options tab, enter the Receiver port which was created in Step No.3.

Select the Transfer IDoc Immed to transfer the IDoc as soon as it was created.

Select the Basic type as ORDERS05

8.B. In Message Control tab Enter the confirmation Message type of Sales Order Ex. BA00 and select Process code as SD10.

8.C. In EDI Standard tab maintain as shown.

For more details press F1 in that particular field.

LS Partner Profile to create SO

9. In transaction WE20, expand Partner type LS(Logical System) & select the Logical system which was assigned to your client in Step No.1 (This Logical system already exists & don’t required to create).

Click on ‘+’ button in Inbound parameters area as shown above. Select Message type as ORDERS.

9.A. In Inbound options tab, Select the Process code ORDE and select Trigger Immediately to process the IDoc immediately. 

LS Partner Profile to update PO

10. Similarly maintain Inbound parameters for Message type ORDRSP to the same logical system with Process code ORDR (order confirmation)

PO Output Condition Record

11. Create Condition Record in transaction NACR for Output type ZNEU (purchase order Print out EDI) with Key Combination P.Org & EDI Vendor

11.A. Enter the P.Org: Z007 & Vendor:100000 and press enter. Select Medium 6(EDI), 4(send immediately) & Language EN)English). Then save it.

Note: The Funct selected here is used as partner role in Step No.6.

Note: In Output type you have to maintain this message(ZNEU) in step No.6.

SO Output Condition Record

12. Similarly Create Condition record in transaction NACR for Output type BA00(Sales Order Confirmation) with Key Combination Order Type.

Material Master

13. Create Material Master in Transaction MM01 with organizational elements of purchasing system i.e., Plant: Z006. Maintain Basic Data, Purchasing, Plant storage data & Accounting views.

Fill Gross weight & net weight fields in Basic Bata tab. remaining as normal.

14. Extend the material created in Step No.13 in transaction MM01 with organizational elements of Sales system i.e., Plant: Z007, Sales Area: Z007, Z3, Z4. Maintain Sales 1 & 2, Sales plant data, Storage plant data, Accounting views.

PIR

15. Create standard Purchasing Info Record in Transaction ME11, with vendor: 100000, Material; ZTESTMAT006T, P.Org:Z007, Plant: Z006.

15.A. In General Data maintain Vendor Material Number field with material Number in Sales system (Same number as both systems are using same material number).

15.B. In Condition tab maintain Gross price. Ex. 110,000 IDR per KG

Input Tax Condition Record

16. Create Condition Record for Input Tax Condition type MWVS/ZTX0 in transaction FV11. Select Key Combination Ex. Domestic Taxes. Where A0 is the Input Tax code with 10% input tax in Country Indonesia

Can also be maintained in SPRO-FI-GS-Tax-Calculation-MaintainTaxCode (FTXP)

Price Condition Record

17. Create Condition record For Gross Price Condition Type ‘PR00’/ZPR0 in transaction VK11 with required Key Combination & maintain the Gross Price. Ex.110,000 Per KG

Output Tax Condition Record

18. Create Condition Record for Output Tax condition type MWST/ZTX1 in transaction FV11 with required Key Combination. Where A0 is the ouput Tax Code with 10% output tax in country Indonesia.

Can also be maintained in SPRO-FI-GS-Tax-Calculation-MaintainTaxCode (FTXP)

Sales Area for Customer Vendor combination

19. Maintain the Sales Area for the Customer & Vendor combination in Transaction VOE2

Can also be maintained in SPRO-SD-EDI-EDIMessage-ConfigureEDIPartners-AssignCustomer/VendorToSalesOrganization Data

Note: Maintain the vendor number manually (as there is no search help) with prefix zeros if required as SAP will look for the same.

Automatically allocating a sales area (sales org, distr. chan., division)(Z007 Z3 Z4) to an incoming sales order from a customer (61). You enter the internal SAP customer number, and the vendor number (the number by which the customer identifies your company) and then specify the sales area and the document type against which the sales order will be created

External Ship to Party To Internal Cust

20. Convert External Partner Numbers to internal partner numbers. Here we have to convert external ship to party(Z006 receiving plant) to internal ship to party 61. To achieve this make entries as below in Transaction VOE4.

Can also be maintained in SPRO-SD-EDI-EDIMessage-ConfigureEDIPartners-ConvertExternalToInternalPartnerNumbers

Map the customers external partner numbers (their plants/ship to addresses) to your own internal customer numbers in KNA1

Modify Pricing Procedure

21. In your sales pricing procedure ZTAXPR make sure that condition types EDI1 & EDI2 exists at the end of the schema as shown.

Those two condition types stores unit price and total value of item expected by customer(i.e., Price maintained in PO).

These two condition types are for information purpose & can be used for blocking sales order & billing if the price differs from price in sales order. Transaction V.25 is to be used to release from blocking.

Can also be maintained in SPRO-SD-BF-Pricing-PricingControl

Diagram

Testing – Preparation

1.A. Make sure the stock exists in delivering plant(Z007) using MMBE

Testing – Create PO

1.B.1 Create PO in Transaction ME21N in receiving plant Z006

In PO Item Materials Data tab observe Vendor mat. no field filled or not. if you haven’t created info record you can maintain manually.

1.B.2 Create PO in Transaction ME21N in receiving plant Z006

In Confirmation tab maintain Confirmation Control key as 0001(Confirmations) & mark Acknowledgement required check box.

1.B.3 Create PO in Transaction ME21N in receiving plant Z006

In messages observe ZNEU message was triggered with medium 6(EDI). Save the PO & make sure PO message was sent. Use transaction code ME9F if required.

Testing – Check Outbound IDoc

2. In Transaction WE02, check the IDoc Status of message type ORDERS and ORDRSP.

2.A Check the outbound IDoc status of message type ORDERS. If it is successfully processed it will have status 3.

Testing – Check Inbound IDoc

3. Check Inbound IDoc of Message type ORDERS. Here the IDoc 3720.

If it is successfully processed and have status 53 then get the sales order number as shown.

Testing – Check IDoc generated Sales Order

4.A Open the sales order in Transaction VA03. Observe PO Number, order quantity, delivery date & customer material number.

4.B In item Conditions Tab observe condition types EDI1 & EDI2 are updated with Unit price & total value of material ordered in PO respectively

4.C In item Order Data tab observe details

Testing – Check SO Output

5. Now make sure sales order Message type BA00 was sent.

In VA03, goto Extras > Output > Header > Edit.

Testing – Check Outbound IDoc

6. In Transaction WE02, check Outbound IDoc status of Message type ORDRSP.

Here IDoc 372015 as shown. If it is successfully processed it will have status 3.

Testing – Check Intbound IDoc

7. Then Check Inbound IDoc of Message type ORDRSP.

Here the IDoc 372016. If it is successfully processed and have status 53 then check information message saying purchasing doc 4500000180 successfully processed as shown.

Testing – Check IDoc updated PO

8. Now Display the purchase order in ME23N and in item Confirmations tab observe the sales order number is updated with confirmed schedule line as shown.

Reference: https://blogs.sap.com/2013/08/22/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

Cheers

SAP Order Type

  • CO Internal Order: SPRO-Controlling-Internal Orders-Order Master Data-Define Order Types
  • PS Network: SPRO-Project System-Structures-Operative Structure-Network-Setting for Network-Define Network Type
  • PP Production Order: SPRO-Production-Shop Floor Control-Master Data-Order-Define Order Type
  • PM & CS Work Order: SPRO-PM&CS-Maintenance & Service Processing- Maintenance & Service Order

Note: Network in PS is like PP Production Order, PM Work Order or CO Internal Order

Cheers