Skip to Content
author's profile photo
Former Member

Sapscript in_tab-value to lf_vbeln in Perform

Hello guys,

I'm trying to pass value of sales order number from in_tab-value Sapscript form into a variable of type vbeln. How do I get the leading zero's in the order number?

e.g if order is 127, i would like to have the value 000000127 in a variable.

Regards,

Ahmad

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 11:04 AM

    You can assign like this

    &itab-vbeln(K)& it will be with leading zeroes.

    regards

    shiba dutta

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 11:01 AM

    use CONVERSION_EXIT_ALPHA_INPUT to convert your field into proper format i.e. to get leading aeros...

    Give standard field in Output so that fieldd value will get converted into required standard field format...

    Message was edited by:

    sharayu kumatkar

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 11:02 AM

    OVERLAY '000000000' WITH over <variable>.

    Message was edited by:

    Muthurajan Ramkumar

    Add comment
    10|10000 characters needed characters exceeded