Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ALE IDOC

Former Member
0 Kudos
199

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

7 REPLIES 7

Former Member
0 Kudos
148

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

0 Kudos
148

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???

0 Kudos
148

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.

0 Kudos
148

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

0 Kudos
148

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

Former Member
0 Kudos
148

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

Former Member
0 Kudos
148

thanks