cancel
Showing results for 
Search instead for 
Did you mean: 

Material Number outputs with coma in between in Labels output

ashish25bp
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (5)

Answers (5)

gaurishdessai
Participant

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

former_member408313
Active Participant

Hello Ashish,

Can try to use the Material number symbol without NM.

Thanks and Regards

Jayakumar

Mark-Pfister
Active Contributor
0 Kudos

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

former_member408313
Active Participant
0 Kudos

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

ashish25bp
Participant
0 Kudos

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