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

Which do we achieve Hide functionality in ALV's.

Former Member
0 Likes
464

Hello Friends,

In ALV's How do we get Hide Functionaly. we use selfield in form definition. but In function module, which parameter acts as a HIDE.

Thanks & Regards

Sathish Kumar.

3 REPLIES 3
Read only

Former Member
0 Likes
444

Hi satish,

YOu have to pass a name of a form where you can define the logic for handling user commands:

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_CALLBACK_PROGRAM = W_REPID

I_CALLBACK_PF_STATUS_SET = 'PF_STATUS'

I_CALLBACK_USER_COMMAND = 'USER_COMMAND'

FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM

P_SELFLD TYPE SLIS_SELFIELD.

*The field p_selfld will have the clicked row's contents.

ENDFORM.

Regards,

Ravi

Read only

Former Member
0 Likes
444

the parameter you are seeking for is "INACTIVE"