Skip to Content
author's profile photo Former Member
Former Member

&CAUFVD-MATNR& with leading zeros in sapscript

Hi,

i use &CAUFVD-MATNR& in an sapscript-formular for an PP-Order.

It prints the MATNR without leading zeroes.

How is it possible to print this field with leading Zeros?

Thanks.

Regards, Dieter

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jun 17, 2008 at 07:39 AM

    hi,

    use these function modules.

    CONVERSION_EXIT_ALPHA_INPUT Conversion exit ALPHA, external->internal

    CONVERSION_EXIT_ALPHA_OUTPUT Conversion exit ALPHA, internal->external

    reward points if hlpful.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 07:40 AM

    Hi!

    Try it this way: &CAUFVD-MATNR(Z)&

    Regards

    Tamá

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 08:12 AM

    Use &CAUFVD-MATNR(F f )&

    Where f = fill character

    Ex:

    &KNA1-UMSAT& -> 700.00

    &KNA1-UMSAT(F*)& -> **700.00

    &KNA1-UMSAT(F0)& -> 00700.00

    Regards,

    Joy.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 09:50 AM

    thanks to all,

    i solve it with perform in script

    , special thanks to gautham.

    Regards,

    Dieter

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.