03-16-2020 12:09 PM
Hi Experts,
Have designed a module pool program based on selection option POP-UP ALV will be generated, there user will select required line item and it will flow back to table controller of module pool.
Requirement is when we have multiple lines in result when we scroll up, ALV header too scroll up and unable to use page up , page down too... attached screen shot and code for reference.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
is_layout = l_layout
* i_grid_settings = lc_glay
i_callback_pf_status_set = 'STATUS_103'
i_callback_user_command = 'USER_COMMAND_103'
it_fieldcat = it_fieldcat
i_screen_start_column = 1
i_screen_start_line = 1
i_screen_end_column = 10
* i_screen_end_line = 20
TABLES
t_outtab = it_mb52
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
03-16-2020 12:15 PM
Hi
Are You using the container? The ALV is coming inside the container?
03-16-2020 12:20 PM
Yes Venkateswaran, it comes inside container...
03-16-2020 12:22 PM
I don't see any "ALV header" in your screenshot, or do you mean "ALV column header titles"?
03-16-2020 12:22 PM
Hi Abinath,
I am not sure if you put the object inside a container - and freeze the first row.- the whole object will scroll.
Why cant you use table control - to populate the table - instead of ALV
Regards,
Venkat
03-16-2020 2:00 PM
03-17-2020 10:34 AM
Hi Venkateshwaran,
Working on same didn't found any solution yet.
03-16-2020 2:07 PM
So you rewrote an F4 functionality with an old obsolete REUSE FM, could you consider:
03-17-2020 10:36 AM
Hi raymond.giuseppi
Thanks for your reply will try your suggestion