2008 Jun 24 7:02 AM
Hi Friends,
I am sending P.O. from one system to other,using message type ORDERS and basic type ORDERS05 .
On receiving system I am using inbound process code ORDE.
Sending is successful but on receiving side its giving me error, VKORG, VTWEG, SPART cannot be determined for customer 0000000001 .
So please suggest me some solution on this ,,
Proper points will be rewarded to helpful answer.
Thanks,
Brijesh........
2008 Jun 24 7:25 AM
Hi,
In your case order is getting posted at receiver side. before creating/posting order it check the sales group,customer,materials you are using to create are exists in system or not.
Prior to posting the transactional data we should ensure that all the required master data available are not..
First maintain the masterdata .. then try..
Reward if find useful
2008 Jun 24 7:32 AM
Hi USHA,
the error that i m gettin is
"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."
So it is saying that idoc do not have the required field,
So what you suggest for this???
2008 Jun 24 9:48 AM
Hi Brijesh,
Sales order Type, Sales org, Distribution Channel and Divison are mandatory fields for creating a Sales Order.
You can send all those details in the E1EDK14 segment in the idoc to create a sales order.
If you are not getting those details in the IDOC, then you need to do the config in the VOE2 transaction.
You can use either of the above options and that will resolve your problem.
Thanks,
Mahesh.
2008 Jun 24 1:20 PM
Hi Mahesh,
As suggested by you I had config VOE2 giving vendor,customer,sales org.,division,dis.channel and ord type. but still the segment containing this field is not appearing,segment that are not appearing are
E1EDK14 006 , E1EDK14 007 , E1EDK14 008.
So please give some suggestions.
Thanks & Regards,
Brijesh Soni
2008 Jun 24 3:31 PM
Hi,
Customer Vendor No DChal DChall Desp Division Div Desp Sales type Sales type Desp
0000000001 0000003070 12 Sold for resale 00 Sham Division OR Standard Order
u need to maintain the values in this way......
Best regards,
raam
2008 Jun 24 9:52 AM
Hi Brijesh,
I faced the same problem in IDOCs.
U need to main the entries in transaction VOE2 . the IDOC will pick up the sales area from this transaction .
If u are not maintaing this transaction then u need to write an exit to get the sales area.
U need to code in Function module IDOC_INPUT_ORDERS
In this function module u find PERFORM check_idoc_orders.
In this perform u have CALL CUSTOMER-FUNCTION '007'
In 007 u have a include INCLUDE ZXVEDU09.
In this include u need to write the code to populate the sales are in the IDOC.
Best regards,
raam
2008 Jun 25 7:30 AM