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

How to enable save button in ALV Grid using Custom Function module

Former Member
0 Likes
2,009

Hi Experts,

I am using the Custom function module to display Records in ALV Grid, i tried to enable the Save button using standard GUI  and custom GUI status but its not working..Please help me on this

For Reference

Best Regards,

Girish Kumar.

2 REPLIES 2
Read only

rajkumarnarasimman
Active Contributor
0 Likes
697

Hi Girish,


Girish Kumar Vedurupaka wrote:

I am using the Custom function module to display Records in ALV Grid, i tried to enable the Save button using standard GUI  and custom GUI status but its not working..Please help me on this

In ALV Display report, why you need the save button here? Are you going to update the ALV values?

If the Custom GUI PF status is created, please assign the Custom PF status in the attribute i_callback_pf_status_set = 'GUI_STAT_NAME' as shown below.


CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program       = SY-REPID

i_callback_pf_status_set = 'GUI_STAT_NAME'

----

----

Regards

Rajkumar Narasimman

Read only

0 Likes
697

Hi Rajkumar Narasimman,

Here We are using custom function module. We don't have an option to pass the GUI status to the Function module...When I click on save button displayed records are updated to the database, but the save button seems to be disable.we can do it by the standard function module, According to my requirement i have to use custom function module only.

For Reference

Regards

Girish Kumar.