Skip to Content

ORDERS01: processing Idoc with unknown GLN

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 23, 2014 at 11:44 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Christian Gerken

      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

  • avatar image
    Former Member
    Sep 29, 2014 at 10:30 AM

    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

    Add comment
    10|10000 characters needed characters exceeded