Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CONVERSION_EXIT_ALPHA_INPUT

Former Member
0 Likes
1,197

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?

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,103

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

7 REPLIES 7
Read only

Former Member
0 Likes
1,103

Hi,

Have you used the same data type(VBELN) to get the output from the FM CONVERSION_EXIT_ALPHA_INPUT.?

Regards,

Selva M

Read only

0 Likes
1,103

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.

Read only

0 Likes
1,103

Hi,

I think this thread will solve ur problem, check the last message

goto screen painter Layout->double click on NUMC field mention Convrsion exit in that as 'ALPHA'.

Regards,

Selva M

Read only

0 Likes
1,103

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

Read only

0 Likes
1,103

.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,104

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

Read only

Former Member
0 Likes
1,103

hi....

i Think insted of CONVERSION_EXIT_ALPHA_INPUT ,you hav to use CONVERSION_EXIT_ALPHA_OUTPUT. iT MIGHT BE WORK

Thanks & Regards

Arijit