‎2007 Jun 08 7:47 AM
hi friends,
i have my vendor number as 00000I00015...
i have to convert it as I00015.
i have tried conversion_exit_aalpha_input...
but its not working...
Please suggest some solution..
Thanks
Praveen
‎2007 Jun 08 7:55 AM
YOU HAVE TO USE conversion_exit_aalpha_OUTPUT OR
SHIFT ITAB-LIFNR LEFT DELETING LEADING '0'.
REGARDS
SHIBA DUTTA
‎2007 Jun 08 7:53 AM
Hi,
Goto the Vendor Data element and double click that, you will get the Data element screen, there you will find the Conversion exit for the VENDOR field,
use that Function module to convert the Vendor Number
or else, use CONERSION_EXIT_ALPHA_INPUT
Regards
Sudheer
‎2007 Jun 08 7:55 AM
YOU HAVE TO USE conversion_exit_aalpha_OUTPUT OR
SHIFT ITAB-LIFNR LEFT DELETING LEADING '0'.
REGARDS
SHIBA DUTTA
‎2007 Jun 08 7:55 AM
hi,
try this.
data : v_matnr(40) type c,
v_mat type matnr.
v_mat = '000000123456789'.
pack v_mat to v_matnr.
write v_matnr.Rgds
Anversha
‎2007 Jun 08 7:57 AM
hi
good
CONVERSION_EXIT_ALPHA_OUTPUT converts any number with zeroes right into a simple integer
Example:
input = 00000000000123
output = 123
thanks
mrutyun^
‎2007 Jun 08 7:59 AM
Hi,
The conv exit doesnot work because 00000<b>I</b>00015 , the vendor num has an alphabet.
l_data TYPE lif16 VALUE '00000I00015'.
Use the below to do your task.
SHIFT l_data LEFT DELETING LEADING '0'.
replace l_data by your vendor num
‎2007 Jun 08 8:53 AM