11-05-2007 1:33 AM
I have a variable which data type is c(15), and which store the vendor code. It could be 4 digital, 5 digital and so on. I would like to concateneate zero and vendor code, but the vendor code is variants, the mechanism should be 15 - vendor code length. How can i fill the remaining to zero. Thanks!
11-05-2007 1:40 AM
Hi,
Instead of defining vendor number as C(15) refer to the standard data element LIFNR.
Then you can use FM CONVERSION_EXIT_ALPHA_INPUT for your purpose. Pass the same vendor number as impoting and exporting parameter to this FM and it will append it with zeros.
Regards,
Atish