Skip to Content
0

Material Number outputs with coma in between in Labels output

Jul 11, 2017 at 10:29 AM

120

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

5 Answers

Jayakumar Indracanti Jul 12, 2017 at 04:34 AM
1

Hello Ashish,

Can try to use the Material number symbol without NM.

Thanks and Regards

Jayakumar

Share
10 |10000 characters needed characters left characters exceeded
Gaurish Dessai Jul 14, 2017 at 11:06 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Jayakumar Indracanti Jul 12, 2017 at 10:30 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Mark Pfister
Jul 13, 2017 at 07:00 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Ashish Pradhan Jul 12, 2017 at 08:00 AM
0

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


Share
10 |10000 characters needed characters left characters exceeded