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

rrw3_get_query_view_data

Former Member
0 Likes
723

I am trying to execute rrw3_get_query_view_data from r/3 development server to BW development server.Executed

the function with RFC target system  and  able to see the data. However, if put it in the abap program, its giving me

exception 5  (invalid input). Can anybody help. I am forwarding my code. Any help is very much appreciated.

Regards,

CALL FUNCTION 'RRW3_GET_QUERY_VIEW_DATA'
  EXPORTING
    i_infoprovider                = 'C_VBCCL'
    i_query                       = 'VETICAL_QRN_DETAIL'
*   I_VIEW_ID                     =
*   I_T_PARAMETER                 =
  IMPORTING
    e_axis_info                   = i_axis_info
    e_cell_data                   = i_cell_data
    e_axis_data                   = i_axis_data
    e_txt_symbols                 = i_txt_symbols
  EXCEPTIONS
    no_applicable_data            = 1
    invalid_variable_values       = 2
    no_authority                  = 3
    abort                         = 4
    invalid_input                 = 5
    invalid_view                  = 6
    OTHERS                        = 7

2 REPLIES 2
Read only

aferngas
Active Participant
0 Likes
540

Hi Harsha,

If your program is placed in R/3 system, you should use "DESTINATION" addition of "CALL FUNCTION" statement and determine which RFC destiny corresponds to BW system.

Regards,

Alex

Read only

Former Member
0 Likes
540

Dear Alex,

Thanks, I have fixed it already. Thanks a ton for the suggestion.