cancel
Showing results for 
Search instead for 
Did you mean: 

How to format a product ID/material number

Former Member
0 Kudos

Hi - we have a 12-digit product ID, that for display purposes only (like on an invoice or an order), we would like to display with hyphens, as 1234-5678-9123.   Is there a function that will allow us to format for display?

Thanks!

Carolyn

Accepted Solutions (0)

Answers (3)

Answers (3)

amit_tunara
Active Contributor
0 Kudos

Hi Carolyn,

You can use a standard method to define the template for output of article number.

Please use transaction code OMSL and define your template like this.

Here Underscore (_) represents the character of your article number and Hyphen ( - ) is added as an extra character. Please note if you want to include hyphen in the output of article number then make the length as 14 to accommodate two hyphens.

I hope this will help.

Regards,

Amit

moazzam_ali
Active Contributor
0 Kudos

Hi

In ABAP Reports and smartforms/prints forms of invoice and sale order it is possible through ABAP code. If you are talking about in VA03 of VF03 SAP standard screens then its not possible.

Thank$

former_member182609
Active Contributor
0 Kudos

Where you want to display ?.If it is just reporting purpose then ask your ABAP person to include logic into required format.