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: 

Call back program in Display_grid_list

Former Member
0 Kudos

Dear Gurus

CALL FUNCTION 'DISPLAY_GRID_LIST'
   EXPORTING
*             BASIC_LIST_TITLE           = 'Backlog Report'
     basic_list_title           = heading

*           FILE_NAME                  =
     head_line1                 = head1
     head_line2                 = head2
     head_line3                 = head3
*             HEAD_LINE4                 = ''


    current_report            = 'ZHAK_MM_RPT_SUPPLIERS_PAYMENT'
    TABLES
      data_tab                   = itab_inv
     fieldname_tab              = header.

is there any option for a call back program like in reuse_alv_grid Display?

if so please tell me

5 REPLIES 5

dev_parbutteea
Active Contributor
0 Kudos

Hi,

Use FM REUSE_ALV_LIST_DISPLAY.

Former Member
0 Kudos

Hi

The Exoprt parameter 'current_report' in the FM: 'DISPLAY_GRID_LIST' interface is the callback program variable.

'current_report = 'ZHAK_MM_RPT_SUPPLIERS_PAYMENT''

Thanks,

Surya

Former Member
0 Kudos

your current_report is the call back variable

try setting some user command then see if it returns to the program.

Regards,

Lalit Mohan Gupta.

Former Member
0 Kudos

how to set a user command?

0 Kudos

since there is no explicit field to set the user command for the function module .

when ever user interaction is there the default event

at user command should be triggered. in this event write your code for function code.

I am sorry to say but it is not possible for drill down reports, you can only give basic list.

But certainly if you want some buttons on the screen that will call some program or screen or some logic then you can possibly do.

Please try and spread the information if you find any way

My suggestion would be to use the function module.

'REUSE_ALV_LIST_DISPLAY' OR 'REUSE_ALV_GRID_DISPLAY'

Regards,

Lalit Mohan Gupta.