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

upgrade FM conversion

Former Member
0 Likes
439

hi all ,

i am upgrading the SAP system from 4.6 C to ECC 6.0 , i met this funciton , i know i should use REUSE_ALV_GRID_DISPLAY or REUSE_ALV_GRID_DISPLAY_LVC , but the function is totally diffrent i think , could you give some tips about the conversion between this 2 FMs ?(DISPLAY_BASIC_LIST' -> REUSE_ALV_GRID_DISPLAY OR DISPLAY_BASIC_LIST' -> REUSE_ALV_GRID_DISPLAY_LVC )

    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
*    FOOT_NOTE1                 = FN1
*    FOOT_NOTE2                 = FN2
*    FOOT_NOTE3                 = FN3
*   LAY_OUT                    = 0
        dyn_pushbutton_text1       = layout_title
        dyn_pushbutton_text2       = 'Exit'
*   DYN_PUSHBUTTON_TEXT3       =
*   DYN_PUSHBUTTON_TEXT4       =
*   DYN_PUSHBUTTON_TEXT5       =
*   DYN_PUSHBUTTON_TEXT6       =
*   DATA_STRUCTURE             = ' '
*   CURRENT_REPORT             =
*   LIST_LEVEL                 = ' '
*   ADDITIONAL_OPTIONS         = ' '
*   WORD_DOCUMENT              =
*   APPLICATION                =
*   OLDVALUES                  = ' '
*   NO_ALV_GRID                =
*   ALV_MARKER                 =
     IMPORTING
       return_code                = pf_button_screen_1
      TABLES
* BEG KERR-5GJUS7
*       data_tab                   = customer_sum_lay1
        data_tab                   = out_lay1
* END KERR-5GJUS7
        fieldname_tab              = fieldnames
        select_tab                 = selection_itab1
        error_tab                  = error_table
*   RECEIVERS                  =
     EXCEPTIONS
       download_problem           = 1
       no_data_tab_entries        = 2
       table_mismatch             = 3
       print_problems             = 4
       OTHERS                     = 5

Best regards

Kevin

hi all ,

i am upgrading the SAP system from 4.6 C to ECC 6.0 , i met this funciton , i know i should use REUSE_ALV_GRID_DISPLAY or REUSE_ALV_GRID_DISPLAY_LVC , but the function is totally diffrent i think , could you give some tips about the conversion between this 2 FMs ?(DISPLAY_BASIC_LIST' -> REUSE_ALV_GRID_DISPLAY OR DISPLAY_BASIC_LIST' -> REUSE_ALV_GRID_DISPLAY_LVC )

    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
*    FOOT_NOTE1                 = FN1
*    FOOT_NOTE2                 = FN2
*    FOOT_NOTE3                 = FN3
*   LAY_OUT                    = 0
        dyn_pushbutton_text1       = layout_title
        dyn_pushbutton_text2       = 'Exit'
*   DYN_PUSHBUTTON_TEXT3       =
*   DYN_PUSHBUTTON_TEXT4       =
*   DYN_PUSHBUTTON_TEXT5       =
*   DYN_PUSHBUTTON_TEXT6       =
*   DATA_STRUCTURE             = ' '
*   CURRENT_REPORT             =
*   LIST_LEVEL                 = ' '
*   ADDITIONAL_OPTIONS         = ' '
*   WORD_DOCUMENT              =
*   APPLICATION                =
*   OLDVALUES                  = ' '
*   NO_ALV_GRID                =
*   ALV_MARKER                 =
     IMPORTING
       return_code                = pf_button_screen_1
      TABLES
* BEG KERR-5GJUS7
*       data_tab                   = customer_sum_lay1
        data_tab                   = out_lay1
* END KERR-5GJUS7
        fieldname_tab              = fieldnames
        select_tab                 = selection_itab1
        error_tab                  = error_table
*   RECEIVERS                  =
     EXCEPTIONS
       download_problem           = 1
       no_data_tab_entries        = 2
       table_mismatch             = 3
       print_problems             = 4
       OTHERS                     = 5

Best regards

Kevin

1 REPLY 1
Read only

Former Member
0 Likes
400

Solved