Skip to Content
author's profile photo Former Member
Former Member

Error in PO Idoc

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Dec 09, 2011 at 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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.