Application Development 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: 

doubt in using alv's in FM

Former Member
0 Kudos

Hi Folks,

I am trying to use alv grid list display in function module with at user-command event to call specific transaction in my report. But its not working, when i am doing this fucntionality in report its working fine but i want to do in FM and call this FM in my report. Is it possible to use at user command How to achieve this.

I have one more qsn: i am displaying KUNNR values in internal tab, but i want to avoid leading zero's in itab-kunnr, how to do this.

Thanks in advance.

regards

Rajesh

1 REPLY 1

Former Member
0 Kudos

Hi Rajesh,

1.

For calling your own functions implement handler for CL_GUI_ALV_GRID event USER_COMMAND and

register it SET HANDLER me->handle_user_command FOR gr_your_alv.

2.

For formating ALV content use the fieldcatalogue:

<fcat>-edit_mask

<fcat>-convexit

Kind regards,

Silke