cancel
Showing results for 
Search instead for 
Did you mean: 

ORDERS01: processing Idoc with unknown GLN

former_member230869
Participant
0 Kudos

Hello,

I have a question regarding order creation with idocs of type ORDERS01.

I have an idoc with Segment E1EDKA1 with qualifier WE. Additionally the field ILNNR is filled with a GLN, which is not maintained in KNA1.

By processing that idoc I expect, that the order will not be created due to the unknown GLN of the the ship-to-Party - but it is!

SAP takes the first ship-to-party of the partner functions of the sold-to-Party and saves the order.

My understanding  is that the GLN is checked against KNA1 and in case that the GLN is unknown, the idoc processing will abort.

Where do I have to make changes? is that include ZXVEDU03?

Thanks.

Chris

Accepted Solutions (0)

Answers (2)

Answers (2)

shashi_thakur
Contributor
0 Kudos

Hi Chris,

If you do not wish to use the EDPAR table, then yes you can use the User-exit ZXVEDU03 for determining the Partner based on the GLN number.

Regards,

Shashi Thakur

0 Kudos

Hi Chris

Customer GLN code comes from "EDPAR" table.

Go to transaction SM30 and maintain EDPAR table.

The function of EDPAR table is to map the customer's GLN code with corresponding SAP code, as per the partner function.


Table contents as as follows: (Eg)


Customer       Funct    External Partner       Int No.

SAP code      SP/BP       GLN Code        SAP Code



Regards

Kunalesh

former_member230869
Participant
0 Kudos

Hi,

thanks for reply.

That could be helpful, but causes a lot of Manual work. My aim is not to maintain EDPAR table for all customers. SAP should check KNA1 table and match the correct ship-to-party.

So there should be function to use. That is what I'm asking for.

Regards.

Chris

0 Kudos

HI Chris

You can maintain GLN code in Customer Master --> General Data --> Control Tab

Fields: Location 1, 2 & 3.

Incorporate the values in Idoc using Z development.

Regards

Kunalesh