Skip to Content

Problem reading infocube

Hi gurus i have this problem, i use the RSDRI_INFOPROV_READ' for retrieving data from an infocube for

the year 2007, and it works fine, but when i use the same function for retrievieng data for the year 2008, it doesnt work, what should i do? i use the following funtion and i only change the year it works fine with 2007, but id doesnt work for 2008.

CALL FUNCTION 'RSDRI_INFOPROV_READ'

EXPORTING

i_infoprov = 'ZBCS_C50'

i_th_sfc = g_th_sfc

i_th_sfk = g_th_sfk

i_t_range = g_th_range

i_reference_date = sy-datum

i_packagesize = ' '

i_authority_check = 'R'

IMPORTING

E_T_DATA = g_t_data

e_end_of_data = g_end_of_data

CHANGING

c_first_call = g_first_call

EXCEPTIONS

illegal_input = 1

illegal_input_sfc = 2

illegal_input_sfk = 3

illegal_input_range = 4

illegal_input_tablesel = 5

no_authorization = 6

ncum_not_supported = 7

illegal_download = 8

illegal_tablename = 9

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2008 at 03:39 PM

    When you say it doesn't work, you mean it returns no records, correct?

    This function module requires that you look through it as below. Have you done that, and then looped through and collected the results?

    WHILE g_end_of_data = rs_c_false.
      CALL FUNCTION 'RSDRI_INFOPROV_READ'
        EXPORTING
          i_infoprov             = 'ZBCS_C50'
          i_th_sfc               = g_th_sfc
          i_th_sfk               = g_th_sfk
          i_t_range              = g_th_range
          i_reference_date       = sy-datum
          i_packagesize          = ' '
          i_authority_check      = 'R'
        IMPORTING
          e_t_data               = g_t_data
          e_end_of_data          = g_end_of_data
        CHANGING
          c_first_call           = g_first_call
        EXCEPTIONS
          illegal_input          = 1
          illegal_input_sfc      = 2
          illegal_input_sfk      = 3
          illegal_input_range    = 4
          illegal_input_tablesel = 5
          no_authorization       = 6
          ncum_not_supported     = 7
          illegal_download       = 8
          illegal_tablename      = 9.
    ENDWHILE.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 19, 2009 at 04:51 PM

    thanks i solved by my self

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi ,

      I have same problem as you had in past.

      Please suggest me for the same .

      I am getting x_message exception while executing the rsdri_infoprov_read Function Module.

      Please suggest me so that i can solve my problem .

      Regards,

      Rohit

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.