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

Hi Experts, replace my function display_basic_list?

Former Member
0 Likes
1,039

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
Read only

Former Member
0 Likes
969

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

Read only

Kanagaraja_L
Active Contributor
0 Likes
969

Check

Kanagaraja L

Read only

former_member194416
Contributor
0 Likes
969

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

Read only

0 Likes
969

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

Read only

0 Likes
969

Hi,

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

thanks.

Kind regards

Dawson

Read only

0 Likes
969

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