Skip to Content

Material Number outputs with coma in between in Labels output

Hi Experts

I am having an issue in output of material number when adjusting decimal values. Request your help on this.

The desired output for molar mass values is 268.07 g/mol which is achieved through RGV set up by selecting option given below

rgv-setup.png

However when doing so, the material number is output with coma "," in between

material-number-output-1.png

Required format of material number should be 000146486

I tried using the Code as given below for Material number output, but still the output does not give the desired result

material-number-code.png

material-output-2.png

Currently the code is written like this

existing-code.png

Request you suggestions on this.

Ashish

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Jul 12, 2017 at 04:34 AM

    Hello Ashish,

    Can try to use the Material number symbol without NM.

    Thanks and Regards

    Jayakumar

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 14, 2017 at 11:06 AM

    Hello Ashish,

    This issue was discussed in the below thread:

    https://answers.sap.com/questions/214350/issue-with-masking-numbers-in-sap-glm-labels.html

    Cause: Implementation of SAP Note 1830050

    Resolution: 1939941 - Exceptions for symbols with numeric masks.

    Side-effect notes: 2322373 - Exceptions for symbols with numeric masks

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 12, 2017 at 10:30 AM

    Hi Ashish

    Not sure if those C14K will work for the Method in WWI as their interface structure is different from C14N* FM used in WWI.Check those before applying the FM. I believe those are called in some existing check routines.

    Further for Parameter symbols you can to apply only FM and no User Exits.

    You can have a small FM to remove the trailing Zeros when expanding the code.

    Thanks and Regards

    Jayakumar

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 13, 2017 at 07:00 AM

    Hi Ashish,

    If the FM's don't work (what prevented you from trying them out), check the following OSS Notes:

    If that doesn't help make a copy of C14N*SYMBOL_METHOD and remove the leading 0 by using the conversion routines for MATNR .

    data: LV_matnr type matnr.
    lv_matnr = X_RCGLSYVAL.
    write LV_matnr to  X_RCGLSYVAL.

    Hope this helps


    Mark

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 12, 2017 at 08:00 AM

    Thanks Jaya for your suggestion

    I tried using the CODE without masking but in that case the output shows the leading zeros.

    Not sure if any of this FM can be amended and used as user exit

    C14N_NUMERIC_FORMAT

    C14N_MASK_CHECK

    Regards,

    Ashish

    Add comment
    10|10000 characters needed characters exceeded