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

filter

Former Member
0 Likes
678

Hi all,

I have done a report which has vendor number, cost center and wbs element using ALV grid display. I have declared all the fields as in the database fields. when filter is applied on these fields the data is not retrieved. Only after padding zeroes to the input data i get the data.Is there any way to avoid entering the zeroes manually? I know we can use the conversion exit alpha function module , but how will that apply to the filter? If any one is aware please help.

4 REPLIES 4
Read only

Former Member
0 Likes
606

change the variable to type n.in which variable u want padding zero than u don't need to pad zero manualy.

Read only

0 Likes
606

Have you defined the fields (vendor,wbs,cc) with type (e.g. lfa1-lifnr)?

A.

Read only

0 Likes
606

Yes Andreas I have cleared this in the message itself.

Read only

0 Likes
606

Ya Kishan This i have kept it as a last option , but I wanted to know why it is not working in the grid display. But if we see in SE16 we can filter for any character field and it pads itself, how is it possible. so i thought that there should be some standard way of doing it.