Skip to Content
author's profile photo Former Member
Former Member

Label printing by GLM: Determination of countries in delivery scenario

Hi all,

In GLM transaction CBGL_MP01, for delivery scenario, I have a question regarding the way to get back the countries according to the delivery number.

Actually in my system, once I filled my delivery number, the system retrieves the country of :

- my shipping point

- the route

- the ship to party

I would like to have only the country of my shipping point and country of my ship to party. I don't need to have the country of my route.

How can I do that in the system? Is there a standard solution? (function modul,...) or do I need to create a specific solution?

Thanks for your help


Edited by: Ludovic Roux on Dec 1, 2011 5:36 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Dec 05, 2011 at 04:33 PM

    Hello Ludo,

    the GLM standard is working like you described it in your thread. There is an user exit and a BAdI where you can overwrite the data that will be read from your delivery note.

    The data determination of the delivery scenario is implemented as an user exit.

    (Transaction SPRO -> EH&S -> Product Safety -> GLM - > Specify Labeling Scenarios.

    Mark the scenario "Delivery" and hit the detail button. The parameter "FM for Data Determ." contains the user exit. There is a default implementation of this user exit from SAP "CBGL_LB71_DELIVERY_MATDATA_GET".

    Within that default implemenation is a BAdI "EHS_GLM_BADI_003". I would suggest to implement this BAdI and adapt the values of the parameter X_COUNTRY_TAB.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Mike,

      Thank you for your reply.

      I implemented the badi and effectively I find my countries in the parameter X_COUNTRY_TAB.

      I will going to use this solution and add a specific in the Badi in order to not take into account the country of my route.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.