‎2010 Sep 06 5:19 AM
I created a new screen with one of the field like LIPS-VBELN, but when the Delivery number is entered, the leading zeroes are lost. Now I'm trying to use CONVERSION_EXIT_ALPHA_INPUT to force the screen display of the leading zeroes, but it does not work. Is there any setting of the screen field that I can check to get leading zeroes defaulted? Any other suggestions?
‎2010 Sep 06 5:41 AM
Hello Adrian,
SAP documentation on Conv. Exit says:
The function module ..._OUTPUT is automatically executed when values are displayed in this screen and the corresponding converted content is used.
So i guess you understand "why" the leading zeroes are vanishing ! Btw i'm not convinced why you need the leading zeroes anyway ?
BR,
Suhas
‎2010 Sep 06 5:26 AM
Hi,
Have you used the same data type(VBELN) to get the output from the FM CONVERSION_EXIT_ALPHA_INPUT.?
Regards,
Selva M
‎2010 Sep 06 5:33 AM
Input is char, output is numeric. The conversion works, but I think the problem is in the screen itself. I do not want to change the screen field to char, similar to standard SAP. I think it is not possible to retain the leading zeroes, because correlating SAP transactions also don't display the leading zeroes.
‎2010 Sep 06 5:44 AM
‎2010 Sep 06 6:07 AM
I'm not changing the type to e.g. type n as I don't want to work with any intermediate values. I'll simply justify it by referring to SAP standard display being exactly the same. Regards, Adrian
‎2010 Sep 06 6:08 AM
‎2010 Sep 06 5:41 AM
Hello Adrian,
SAP documentation on Conv. Exit says:
The function module ..._OUTPUT is automatically executed when values are displayed in this screen and the corresponding converted content is used.
So i guess you understand "why" the leading zeroes are vanishing ! Btw i'm not convinced why you need the leading zeroes anyway ?
BR,
Suhas
‎2010 Sep 06 6:43 AM
hi....
i Think insted of CONVERSION_EXIT_ALPHA_INPUT ,you hav to use CONVERSION_EXIT_ALPHA_OUTPUT. iT MIGHT BE WORK
Thanks & Regards
Arijit