document not posted

Question: I have been asked to look into why an idoc for one of our clients is not posting. This is an inbound idoc which is attempting to create a sales order (type ORDERS01).

The error message in full is below:

-----------------------------------

VKORG, VTWEG, SPART cannot be determined for customer ********** , vendor

Message no. VG 204



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.

-----------------------------------

My course of action has been to send the entire idoc to the spool together with another one of the same type and with the same number of segments which is posting successfully so that I can compare the two. The three fields flagged up in the error message are not included in the segments of the idocs in either case.

However, by doing this I have not found any major differences between the two. The customers they are posting to also look to have been set up the same way. I was thinking the one which had not been posted to did not have a sales organization, distribution channel or division set up properly which may have been causing the error. This doesn't look like being the case though.

This client is running version 4.5B.

Is there something I am missing here?

Answer:
Hi Psychic,

I don't know if this will help you or not since I haven't experienced your problem, but you may want to check out transaction VOE2. This transaction allows you to add entries to the EDSDC table. This table provides the correlation between the SAP customer number, vendor number, sales org., distribution channel, division, and sales document type. I hope this helps.

Answer:
Hi Type-O.

I believe this may well be the solution. I have not been allowed to run VOE2 in the PRD system but have had to do it in DEV and transport it. I don't really understand why you shouldn't be able to do this through Partner Profiles in PRD as it seems that every time you need to set up a new customer in EDI you'd have to do a transport.
Copyright ?2007 - 2008 www.jt77.com