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

GLM - material specification assignment

Dear Experts,

For GLM ( CBGL_MP01), as a matter of practice, one material should be assinged to only one specificaiton where as my client has same material assinged to real sub, trade sub etc...

How to overcome this issue and use GLM.


Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Best Answer
    Posted on Jul 17, 2012 at 10:59 AM

    Dear Reddy,

    you can define at the IMG activity a default specification type for GLM.Open the the activity Specifiy Specification Types.


    Select the specification type and set in the detail view the label-relevant falg

    If you set only on the REAL_SUB the falg your problem shall be solved.Default2.PNG

    There is also a exit in the CBGL_MP01 were you can implement a more complex own filter so that i.e. only the REAL_SUB is used for GLM after your filter. To add your own filter filter you have to make an implemention of method CBGL_LB26_MATNR_TO_SUBID in BADI interface IF_EX_EHS_GLM_BADI_005



    GLM BADI_05.PNG (10.9 kB)
    Default.PNG (10.3 kB)
    Default2.PNG (25.5 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 16, 2012 at 07:24 PM

    Dear Reddy

    the same material number should only be assigned to REAL_SUB or DG_CL_SUB according to SAP standard. If the material is assigned as well to a "trade sub" then you need to ask your self: which data should be used (in this case which document = label). The same is true in other EH&S subscenarios (SVT, DG filling, HS filling, MSDS shipment etc.).

    A third relation is not supported in SAP standard.

    Sometimes it is possible to have a "sequence". This is rarely used in SAP EH&S. This is the case in DG filling process. Here first it is checked whether the material is assigned to DG_CL_SUB or then to REAL_SUB. I am not sure if there is an user exit available which you could use in CBGL_MP01 so that the label report is checked on REAL_SUB level and not on trade sub level. Further on you need to maintani normally the LabelView to help the system, to find the right label.


    Add comment
    10|10000 characters needed characters exceeded