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: 

Hi Experts, replace my function display_basic_list?

Former Member
0 Kudos
176

Hi Experts,

my function call is the following code, how can I replace it with reuse_alv_grid_display or reuse_alv_grid_display_lvc, thanks in advance.


CALL FUNCTION 'DISPLAY_BASIC_LIST'
      EXPORTING
        basic_list_title           = blt
        file_name                  = 'fred'
        head_line1                 = hl1
        head_line2                 = hl2
        head_line3                 = hl3
        head_line4                 = hl4
*        dyn_pushbutton_text1       = layout_title
        dyn_pushbutton_text2       = 'Exit'
     IMPORTING
       return_code                 = pf_button_screen_1
      TABLES
        data_tab                   = out_lay3
        fieldname_tab              = fieldnames
        select_tab                 = selection_itab3
        error_tab                  = error_table
     EXCEPTIONS
       download_problem           = 1
       no_data_tab_entries        = 2
       table_mismatch             = 3
       print_problems             = 4
       OTHERS                     = 5.

KInd regards

Dawson

6 REPLIES 6

Former Member
0 Kudos
106

Handle the data preparation as per ALV function requirement and then pass them in the FM u want.

Kanagaraja_L
Active Contributor
0 Kudos
106

Check

Kanagaraja L

former_member194416
Contributor
0 Kudos
106

Yes you can change. Some changes may be necessary for fieldcat but you can change.

0 Kudos
106

Hi Dawson,

Were you able to correctly replace the function module REUSE_ALV_GRID_DISPLAY for your corresponding obsolete fuction module. If so please give your code replacement. I am facing the same issue and can have your code replacement has a reference to solve my problem.

Thanks and Regards

Deepika

0 Kudos
106

Hi,

I haven't solve this problem and if it is solved I will post the solution here.

thanks.

Kind regards

Dawson

0 Kudos
106

Hi,

do you have a skype account or some other communication tools so that we can communicate with that and we can discuss some problems we are facing.

my skype account: hkd_wangds

thanks.

kind regards

Dawson