Skip to Content
avatar image
Former Member

Supress Zeros

Hi All,

I want to remove the leading zeros in my script form for matnr.

I tried like &LTAP-MATNR(Z)&, its still showing the zeros.here MATNR is a Char.

Please help me out.

Thanks in Advance,

Praveen

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Feb 01, 2007 at 06:09 PM

    Hi,

    Please try this.

    &LTAP-MATNR(CIZ)&,

    Regards,

    Ferry Lianto

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 01, 2007 at 06:11 PM

    Hi,

    It should come if you write &LTAP-MATNR(Z)& , Z means NO-ZERO. if you still have the problem, then write a perform USING this material No and changing the NEW MATERIAL no, and in the program inside the FORM AND ENDFORM, write the logic or write the Conversion Exit function moduel to avoid the Zeros, so this value will come to the scrip, then print the new value

    Regards

    Sudheer

    Add comment
    10|10000 characters needed characters exceeded