2011 Dec 09 9:57 AM
Hi gurus,
we are trying to send MM PO from one of our company codes to another one (same system, same client).
The ORDERS IDoc is sent without error, but the we get an error message on the inbound side:
VKORG, VTWEG, SPART cannot be determined for customer XXX, vendor XXXX
Message no. VG204
Diagnosis
No sales organization, distribution channel or division were sent to the IDOC. This data is necessary if a sales order is to be added automatically. If this data is unavailable, you cannot create a sales order document.
Procedure
If data on the sales organization, distribution channel and division have not been entered in the IDOC, it must be determined using a user exit defined in the program.
I am using IDoc : ORDERS05
Message type : ORDERS
process code : ORDE
Kindly help me out .
Thanks in advance.
2011 Dec 09 10:18 AM
In the inbound side you are trying to create a sales order for which the mandatory parameters like Sales org,Division and Distribution channel is required.
The Mapping for the Customer /Vendor is maintained in Table EDSDC. you can goto SM30 and check V_EDSDC
2011 Dec 09 10:18 AM
In the inbound side you are trying to create a sales order for which the mandatory parameters like Sales org,Division and Distribution channel is required.
The Mapping for the Customer /Vendor is maintained in Table EDSDC. you can goto SM30 and check V_EDSDC
2011 Dec 09 10:22 AM
Hi Mithun,
Thanks for your reply .
I am not creating SO . i have to replicate same PO as inbound .
Edited by: shashank subhash on Dec 9, 2011 11:23 AM
2011 Dec 09 10:39 AM
In that case the process code that you have used in inbound is incorrect.
You can only generate a purchase order from an ORDRSP message if you use the VMI Scenario (Vendor Managed Inventory). The distribution of purchase orders (ALE) using the message category ORDERS is not supported in the R/3 standard system. However, you can create purchase orders via the message categories PORDCR (as of SAP R/3 4.0B) and PORDCR01 (as of SAP R/3 4.70). For this purpose, read the FAQ Note 582221.
2011 Dec 09 10:42 AM
Hello,
Using the testing scenario in the receiving system, with t-code we19.
Use the Idoc which has gone into error, check if the fields are populated or not.
If the fields are populated, then select standard inbound,
select the function module accordingly and run it in foreground and check if the values are getting populated.
If the fields are not populated, then check in the sender system, we05, whether the Idoc generated and the segment have values in the fields.