09-28-2007 11:58 AM
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
09-28-2007 12:04 PM
You can assign like this
&itab-vbeln(K)& it will be with leading zeroes.
regards
shiba dutta
09-28-2007 12:01 PM
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
09-28-2007 12:02 PM
OVERLAY '000000000' WITH over <variable>.
Message was edited by:
Muthurajan Ramkumar
09-28-2007 12:04 PM
You can assign like this
&itab-vbeln(K)& it will be with leading zeroes.
regards
shiba dutta