RSCRMBW_REPORT

Hi,
I'm using function module RSCRMBW_REPORT to extract a query in a CSV file.
Now, I'd like to extract a second query and put the results at the end of the existing CSV file. Do you know how I can manage this ?
Best regards,
David

Hi David,
Welcome to SDN!!
There is no standard functionality for this. You would have to cut and paste the contents of the 2nd query below the 1st query output.
One thing you can try is to use workbooks and have both the query in the same sheet.
Bye
Dinesh

Similar Messages

  • How to using RSCRMBW_REPORT

    Hi,buddies:
        who have an example about how to using RSCRMBW_REPORT?
        thanks in advance.
    Martin Xie

    Hello,
    There no tran RSCRMBW_REPORT,
    I think ur looking for this transaction
    RSCRM_REPORT - BW Queries with ODBO (to 2nd 0B)
    RSCRM_BAPI - Generation of Query Extracts
    Almost equel purpose. U can send query result to .CSV or SAP Table.
    Thanks,
    Kishore

  • How can I execute a query using RSCRMBW_REPORT?

    Hi everybody,
    I have read the document:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3ba5e590-0201-0010-59b1-cab51fd245b7
    and found it is very intersting for my requirement.
    I copied the report,and modified it regarding our case.But during the second call,I get runtime error.
    I debugged the code, and found the error results from method GET_CUBETYPE() of class CL_RSCRMBW_BAPI.In this method,it tries to create a object which is TYPE REF TO cl_rsd_dta.
    CREATE OBJECT lr_dta
         EXPORTING
           i_infoprov    = g_s_status-infocube
    But g_s_status-infcube is null.
    I am not able to find where this 'infocube' component  in this g_s_status struction is filled,even I found,I don't know how I can give this infocube parameter from report which 2 FM are called.
    My code is following:
    parameters: p_repuid TYPE RSCRMSTATUS-REPORTUID
    DEFAULT 'Z_IC_01/Z_COMP_Q003'.
    parameters: p_split type BAPI6110DIM-DIM_NAM.
    data:name_query TYPE CHAR50,
         result_table LIKE RSCRMSTATUS-TABNAME,
         it_return LIKE BAPIRET2 OCCURS 2 WITH HEADER LINE,
         infocube TYPE CHAR30,
         compid TYPE CHAR30.
    AT SELECTION-SCREEN  ON VALUE-REQUEST FOR p_repuid.
    CALL FUNCTION 'RSZ_COMPONENT_TREE_GET'
        EXPORTING
          i_title    = 'Query auswählen'(031)
        IMPORTING
          E_INFOCUBE = infocube
          E_COMPID   = compid
        EXCEPTIONS
          OTHERS     = 1.
      IF sy-subrc GT 0.
      ENDIF.
    concatenate infocube '/' compid into p_repuid.
    START-OF-SELECTION.
    CALL FUNCTION 'RSCRMBW_REPORT'
    EXPORTING
    i_mode = 'OPEN'
    i_reportuid = p_repuid
    I_PACKSIZE = 10000
    I_EXECMODE = 'TABLE'
    I_EXTRACT = 'ZBWTEST'
    I_SPLIT = p_split
    I_CLEAREXTRACT = 'X'
    TABLES
    E_T_RETURN = it_return.
    CALL FUNCTION 'RSCRMBW_REPORT'
    EXPORTING
    i_mode = 'START'
    i_reportuid = p_repuid
    I_PACKSIZE = 10000
    I_EXECMODE = 'TABLE'
    I_CLEAREXTRACT = 'X'
    TABLES
    E_T_RETURN = it_return.
    So far this creation of report is only the 2nd step.But I am not sure how step 3 to step 6 should be done so that the report can be execute exactly.
    What should I do? Pleas help me!
    Thanks in advance
    Regards,
    Liying
    Message was edited by: Liying Wang
    Message was edited by: Liying Wang
    Message was edited by: Liying Wang

    Liying
    Were you able to get a solution to this problem? I am facing the same issue too. The g_s_status-infocube is showing blank.
    Regards
    Dilip

  • FM RSCRMBW_REPORT: What parameters for extracting query in itab?

    Hello,
    I'm trying to extract query data to a XML-file (in order to use it as a connection source for a XCelsius-dashboard).
    Therefore I use the FM RSCRMBW_REPORT as shown in Eddy De Clercq's tutorial:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3ba5e590-0201-0010-59b1-cab51fd245b7
    But I have a problem with the parameter i_extract while running the FM the second time:
    What table do I need here? And what kind of structure does this table need?
    Or is there any other solution for extracting query data to a XML-file? An ideal solution would be a XML-file with the same structue as the query.
    I have tried the FM RRW3_GET_QUERY_VIEW_DATA but the problem is that I can't get the query's structure.
    Thank you.

    Robert,
    I have integrated XML data from this webservice into Excel using XML Maps ... it works perfectly fine with the RESTFul Web service..
    Once you have the XML Map in the excel sheet - create your table by dragging and dropping necessary fields and then point the dataset to your Xcelsius container...
    I have not tried to change the XML in the BSP till now .. but one thing you can do otherwise is
    have a custom FM based on the function by the same name RRW3_QUERY_VIEW_DATA and then you have AXIS_DATA and CELL_DATA and you can create your own XML string by manipulating the content...
    Or you can directly call the web service QUERY_VIEW_DATA using the webservice option in Xcelsius...
    I have still not found out why the variable name tag is required but have given you other ways of integrating SAP BI with Xcelsius...

  • RSCRMBW_REPORT Background Jobs & Process Chain

    Hello Everyone,
    I have a program in a process chain that runs a query through rscrmbw_report. The program is the first step in the chain, followed by a DTP. When we have previously ran this program in our production box, we found that the we did not get all of the data from the query. We believe the fault is with the DTP running asynchronous to the background jobs of RSCRMBW_REPORT- In SM37, we believe we have found jobs from the report positioned before and after the DTP job.
    I've made some slight changes and on a small volume of data (~1000), the chain works with no issue. However, I am concerned with dealing with a large number of records (~1,000,000+). As of now, I'm not sure I believe the analysis of the background jobs because there are still jobs that appear before and after the DTP, but the data is consistant between the destination of the DTP and the query.
    Any advice on how to ensure those jobs run before my DTP? I've tried using commit work and wait, which I believe works because the DB should be open while the query jobs are running and I believe that the statement will wait for those jobs to finish before proceeding out of the code and to the DTP.
    Thanks & Regards,
    Christian

    HI,
    The background control options are available to directly schedule the start process. You can start the process chain immediately (when activating the process chain), at a specified time, or after a particular event. When you activate the process chain the start process is scheduled in the background, as defined in your selections.
    If there are not sufficient options available, you can trigger the start of the process chain using API. You can use the SAP NetWeaver Scheduling Framework to start the chain and to have more extensive scheduling options.
    You can also trigger the start of a process chain using a metachain. A metachain is a process chain, for which you determine this start condition, that is fixed to another process chain. The process chain is started directly by this metachain.
    Tarak

  • Functionality of function module - RSCRMBW_REPORT?

    Hi Experts,
    Can anyone explain me the functionality of function module RSCRMBW_REPORT.
    I am passing query name to a web service which use one function module -
    in turn call the function module RSCRMBW_REPORT.
    I am getting message as " Query has not been intialized" (in function module RSCRMBW_REPORT)
    when I have tried to debug the code . I have checked the query & it is working fine.
    I am not able to understand the exact problem but need information on this module.
    Thanks
    Shamkant

    Hi,
    I am using i_execmode = 'ONLINE' while calling function module 'RSCRMBW_REPORT' in my code.
    Can anyone suggest me which are the mandatory parameters to be passed?
    Also for parameters I_GET_TEXTS  & I_GET_CMP_VALUES what values should be used/provide?
    If anyone has used function module 'RSCRMBW_REPORT' please suggest me your inputs as I am not able to resolve the problem.
    Thanks in advance.
    Shamkant

  • RSCRMBW_REPORT and pathname

    Hi gurus,
    does anybody know how to define a path (logical? phisical?) for RSCRMBW_REPORT? I tried with I_PATH parameter but, altough report execution goes fine, it seems that path is ignored.
    Can you help me?
    Thanks in advance,
    M.

    Hi Friend,
    I think you mean RSCRM_REPORT and not RSCRMBW_REPORT.
    I think you want to store the some BW query extract into a file.
    If yes, then select your query in RSCRM_REPORT -> Click on Extract -> Select Extract Type as File (Fixed Length) or File (CSV) which ever you want -> Give some technical name of the extract (this is nothing but the file name you want) -> Give File Parameters where you can give the File path to Application Server directory say for example "/usr/sap/DBC/DVEBMGS03/data/" (you can use F4 and select) and File Separator (if necessary).
    After this you can give Start conditions and schedule it to run whenever you want.
    Hope this helps.
    Regards
    Hemant Khemani

  • Get query results to itab; using RSCRMBW_REPORT?

    Hi,
    I am interested in "calling" a BW query from an R/3 system and getting the results in an internal table.  I'm on the path of using function module RSCRMBW_REPORT, but I'm not sure how to use it since I keep getting an error: "Could not find query definition:" - maybe I am not using the correct parameters?
    Currently I'm using:
    I_MODE                          OPEN
    I_REPORTUID                     Z0VENDOR_TEST >>>the name of the query that I'm trying to test
    (along with the defaults).
    If anyone can please help out; I'd really appreciate it
    Thanks!!

    Hi
    look at these threads:
    Re: Calling BW queries programatically
    Re: RSCRM_BAPI
    I hope it helps.
    Edan

  • Error while downloading data Using RSCRM_BAPI

    Hi Folks,
    I am getting the below mentioned error message while downloading the data from BW report to csv file using RSCRM_BAPI.
    Can anyone help on this error ?
    Internal error in method CHECK_TABLE_NAME (RSCRMBW_EX_NAMESPACE_GET)

    hi lakshmi:
    I also tried to use this t-code. but this has lots of restrictions..and its not recommended to use this t-code for complex queries.There are OSS NOtes out there for restrictions for this t-code.
    I got to know from other forums on SDN that there is other RSCRMBW_REPORT FM. which is better to use. but not able to use it... there is specific way for that FM. If you try that and if it works for you please let me also know.
    Also, try to look at this forums:
    Error Using RSCRM_BAPI T-Code
    Problem with RSCRM_BAPI (extraction to Fixed Lenght txt file)
    RSCRM_BAPI Schedule and monitor
    RSCRM_BAPI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3ba5e590-0201-0010-59b1-cab51fd245b7
    Hope this helps.
    KSmith

  • Scheduling RSCRM_BAPI extract as a SAP job

    Hi all,
       Of late I have trying to executing Bex query extract thru RSCRM_BAPI and needed a way to be able to schedule an user defined job so for that so that I have control in terms of when I execute the job. 
    I went thru SDN and found this Function module RSCRMBW_REPORT which is supposed to do the part however I am getting a error since my BEx query has a variable screen and I dont know how I can take care of that.  I am currently getting the error from the function module:
    "The entry type of variable ZPM_MEDT requires you to enter values"
    Where ZPM_MEDT is a date variable on my Bex report.
    So the question is how do I get my variables to my Bex report while using Fn module RSCRMBW_REPORT.  I tried Bex personalization it didnt work.
    For more information on RSCRMBW_REPORT module please refer.
    Providing job names in trx RSCRM_BAPI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3ba5e590-0201-0010-59b1-cab51fd245b7

    Hi,
    I seen this transaction running on back ground, unfurtunately I didnt run it but this is my experience.
    We used it to run availability check every 4 hours and the system performance gets lows, of course it depends on technical architecture and volume of material. It reads every line on sales ordes that, in ours scenarios was so high (about 5000 lines in one day or more).
    It works perfectly, but buffers get alarme on pics of the operations.
    If you program it on low transaction volume, if can be very good, you may also talk before with your basis and explain him this performance issue, maybe he can help.
    I hope you find this hopeful.
    Regards,
    RP

  • Function module to create query view from technical name of the query ?

    Hi Experts,
    I am trying to create webservice definition using function module.
    In this code, I am calling function module 'RSCRMBW_REPORT' which requires query view name ( we can see this in RSCRM_BAPI) as a value for parameter i_reportuid.
    For the time being I am hardcoding the value but I need to use a function module which will convert techincal name of query into query view.
    Can anyone have any idea about the above requirement? Or is there any other way to solve the problem?
    Thanks in advance
    Shamkant
    Edited by: SHAMKANT SONAWANE on Apr 7, 2009 5:38 AM

    Hi,
    You can use FMs CONVERSION_EXIT_GENID_INPUT  and CONVERSION_EXIT_GENID_OUTPUT to get query view.
    First call FM CONVERSION_EXIT_GENID_INPUT with parameter input as query technical name then it will return Output in the form of GENID .
    Pass this GENID as input parameter to FM CONVERSION_EXIT_GENID_OUTPUT to get query view as output.
    Eg :
    Test for function group      RRI5
    Function module              CONVERSION_EXIT_GENID_INPUT
    Uppercase/Lowercase
    Runtime:        6,652 Microseconds
      Import parameters               Value
      INPUT                           Y0IC_C03_Q0018_2
      Export parameters               Value
      OUTPUT                          4D1I916ID7TWS1CK27154WYZ8
    Test for function group      RRI5
    Function module              CONVERSION_EXIT_GENID_OUTPUT
    Uppercase/Lowercase
    Runtime:        2,818 Microseconds
      Import parameters               Value
      INPUT                           4D1I916ID7TWS1CK27154WYZ8
      Export parameters               Value
      OUTPUT                          0IC_C03/Y0IC_C03_Q0018_2
    0IC_C03/Y0IC_C03_Q0018_2 is expected query view.
    Hope it helps...
    regards,
    Raju

  • Remote  Cube back ground processing

    Hi gurus,
    Is it possible to execute a Query which is on a remote cube in Back ground.
    In my situation: I am loaded the data into the regular cube and then reconciling this cube data with the remote cube data ( which picks the data from R/3 tables using a fucntion module.)
    Is it possible to run this Query in Background job.
    I came accross the sm36 option, but I don't know the exact time when to start the job as the base cube data load should be finished before this query executes and the matter of fact there are 9 cubes which should complete the load and then the respective queries should start exectuing.
    Thank you

    Ohter options are:
    Create a report calling function module RSCRMBW_REPORT.
       Catch: You need to call the FM twice in your report once to initialize with OPEN and second time to run with START (passing values to i_mode)
    Create a report calling function module WEBQUERY
      Catch: You will have to deal with all the HTML generated with the query result

  • Problem while extracting using RSCRM_BAPI in user defined job

    Hi all,
    Of late I have trying to executing Bex query extract thru RSCRM_BAPI and needed a way to be able to schedule an user defined job so for that so that I have control in terms of when I execute the job.
    I went thru SDN and found this Function module RSCRMBW_REPORT which is supposed to do the part however I am getting a error since my BEx query has a variable screen and I dont know how I can take care of that. I am currently getting the error from the function module:
    "The entry type of variable ZPM_MEDT requires you to enter values"
    Where ZPM_MEDT is a date variable on my Bex report.
    So the question is how do I get my variables to my Bex report while using Fn module RSCRMBW_REPORT. I tried Bex personalization it didnt work.
    For more information on RSCRMBW_REPORT module please refer.
    Providing job names in trx RSCRM_BAPI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3ba5e590-0201-0010-59b1-cab51fd245b7

    Sorry for the delay in reponse.  I have changed the all variables either to populater by user exit or hard code it to a filter (constant).  But I am having problem executing the function RSCRMBW_REPORT
    I am using the following parameters and getting the subsequent error message.
    I_MODE:  OPEN/START
    I_REPORTUID: YC_OO/ZYM_OO_Q0002_2
    I_REPNAME: ZYM_OO_Q0002_2
    I_PACKSIZE: 0000010000
    I_EXECMODE: TABLE
    I_EXTRACT: ZOCARRY
    I_USER: R2067Z
    I_LANGU: EN
    I_SEPARATOR: ;
    I_BATCH_TIME: 00:00:00
    I_CLEAREXTRACT: X
    I_CHECK_MEMBERS: X
    Rest all fields blank.
    Now I am getting short dump in the GET_CUBETYPE() method in the CL_RSCRMBW_BAPI class.  For some reason the cube name is not being parsed from the report ID name "YC_OO/ZYM_OO_Q0002_2".  Am I missing something?
    Also is there any other way SAP provides to schedule RSCRM_BAPI queries to a table externally without using standard job scheduliing from within the RSCRM_BAPI transaction.
    Thanks

  • How to put RSCRM_BAPI in the process chain?

    Dear All,
    I've used RSCRM_BAPI to extract data from a query into a table. These data in the table needs to be extracted again to the PSA in BW.
    So I need to run the  job defined in RSCRM_BAPI after the data has been  loaded into cube and run the infopackage to extract data after the job has finished.
    How can I put these actions in the process chain?
    Thanks.
    Bolun

    Hello Bolun,
    Yes you can schedule RSCRM_BAPI extracts in a process chain. You have to write a program that will invoke the RSCRM APIs. You can use the program below.
    data  error(50) type c.
    data  g_t_return    LIKE bapiret2 OCCURS 0.
    data: l_proc        like rscrmmon-processed.
    data: gv_batchid    like RSCRMMON-BATCHID,
          gv_jobname    like TBTCO-JOBNAME,
          gv_actstatus  like TBTCJOB-STATUS,
          gv_jobcount   like TBTCO-JOBCOUNT,
          gv_dbstatus   like TBTCJOB-STATUS,
          l_status      type RSCRMBSTAT,
          l_wait        type i.
    parameter: repuid TYPE rscrmrepuid obligatory.
    parameter: extrname TYPE tabname obligatory.
    parameter: repvar like RSCRMSTATUS-REPVAR.
    parameter: overwrt like RSCRMCONTXT-ACTIVE default 'X'.
    start-of-Selection.
    *Open Query
      CALL FUNCTION 'RSCRMBW_REPORT'
        EXPORTING
          i_mode      = 'OPEN'
          i_reportuid = repuid
        TABLES
          e_t_return  = g_t_return.
      if g_t_return is not initial.
        read table g_t_return TRANSPORTING NO FIELDS with key type = 'E'.
        if sy-subrc <> 0.
          concatenate 'Errors occurred when opening query' error into error.
          message error type 'E'.
          exit.
        endif.
      endif.
    *use this if you want pass a variant.
    *Get variable values
    *     CALL FUNCTION 'RSCRMBW_VARIABLE_POPUP'
    *         EXPORTING
    *               i_reportuid = repuid
    *               I_VARIANT = repvar
    *         TABLES
    *               e_t_return  = g_t_return.
    *Execute Report
      CALL FUNCTION 'RSCRMBW_REPORT'
        EXPORTING
          i_mode         = 'START'
          i_reportuid    = repuid
          i_execmode     = 'TABLE'
          i_extract      = extrname
          I_CLEAREXTRACT = overwrt
        IMPORTING
          E_BATCHID      = gv_batchid
          E_JOBNAME      = gv_jobname
          E_JOBCOUNT     = gv_jobcount
        TABLES
          e_t_return     = g_t_return.
      if g_t_return is not initial.
        read table g_t_return TRANSPORTING NO FIELDS with key type = 'E'.
        if sy-subrc <> 0.
          clear error.
          concatenate 'Errors occurred when executing query' error into error.
          message error type 'E'.
          exit.
        endif.
      endif.
      if sy-subrc = 0.
        WHILE ( L_STATUS NE 'SUCC' ).
          CALL FUNCTION 'RSCRMBW_BATCH_STATUS_CHECK'
            EXPORTING
              I_BATCHID       = gv_batchid
            IMPORTING
              E_STATUS        = l_status
            EXCEPTIONS
              NO_JOB_DATA     = 1
              INHERITED_ERROR = 2
              OTHERS          = 3.
          IF l_status = 'RUNN' or l_status = ' ' or l_status = 'SCHE'.
            WAIT UP TO 30 SECONDS.
          ENDIF.
        ENDWHILE.
        IF l_status = 'SUCC'.
          if sy-subrc = 0.
            write 'Query finished'.
          else.
            clear error.
            concatenate 'Job ' gv_batchid ' failed.' into error.
            Message error type 'E'.
          endif.
        ENDIF.
      endif.
    *Close report
      CALL FUNCTION 'RSCRMBW_REPORT'
        EXPORTING
          i_mode      = 'CLOSE'
          i_reportuid = repuid.
    end-of-selection.
    Use the ABAP Program process to execute this program. Create the data load processes so that they execute on successful finish of this program.
    I hope this makes things clear.
    Regards
    Arvind

  • BSP in BW

    Hi girus
    i have to create BSP application for Reporting in BW.can someone send me a sample programm.
    i donot know anything about it please send me a valuable document or code if possible
    my mail is.
    [email protected]
    regards,
    Mangra

    Hi Mangra,
    Heres an article which  may help you,i read it somewhere:
    Summary
    It is quite remarkable to see how web technology has evolved. When I started using the Internet, approximately 10 years ago, I depended on a vt100 connection and a 4800 kbps modem with our provider. Browsing was purely textual with a lynx-type program. Then along came a connection to the CompuServe network, which was a big step forward thanks to its graphical interface. I said in an interview back at that time (1995) that the Internet wouldn't break through since there wasn't enough information and use for everybody. But who was I? Someone said the same thing later since he had something of his own, called "MSN." That seemed to be a mistake too. The browser war, Java applets, the Internet boom: We've seen them coming, and mostly going, fast - really fast. I won't show you any photos of the so-called personal computers from 1954 to prove my point.
    Nowadays, the most complex web applications are available. All of our students can register, maintain their data, view their programs of study and schedules, etc., via the web. It's all possible.
    By Eddy De Clercq
    26 Dec 2004
    The Need for Speed
    All these applications produce management information, which needs to be processed in a particular manner. That's where SAP Business Information Warehouse fits in. A lot of advanced BW (web) reports are created for different domains, such as personnel and student administration. An example of student administration reporting is the number of students registered. As you might expect, this kind of report draws a lot of attention from a lot of people. So we need a solid, fast solution in order to provide accurate figures.
    No Web Reports
    For this particular project, we've chosen not to use web reports within BW. There are several reasons for this:
    The load from the R/3 ERP info into InfoCubes takes a long time, so we can only load new data once a night.
    The fact that the data itself is static means that the BW queries only need to run once. The figures won't change if you run the queries multiple times, it would only influence the performance of other possible queries.
    The web interface capabilities of BW 3.0x are rather limited. Upgrading to BW 3.5 is in our planning for 2005.
    No Documentation
    One thing that I can say already - it wasn't easy. It's not that the coding itself is difficult as such, but a lack of proper documentation made it difficult to work out how to do it. Despite that, we discovered three possible ways to achieve our goal:
    InfoSpokes is the newest technology. It's more geared towards direct raw access to InfoCubes and bulk exports though. So, it's no good for our query-based solution.
    The FM WEBQUERY wraps HTML around the result. We want to create our own HTML.
    The transaction RSCRM_BAPI is meant for scheduling queries. There are some caveats which make this solution unworkable for us. First of all, job names are generated at random, so one can't schedule jobs with job dependencies. Secondly, scheduling parameters are much less detailed than those which are used to in transaction SM37.
    The solution for us was the FM RSCRMBW_REPORT. It does all the things we need. The only problem is the documentation, which is non-existent.
    Now that we have a solution for our problem, let's look at the rest of what needs to be done. As I said, I presume that you have already done BW-related tasks, like creating InfoCubes, defining loads, queries, etc. If not, see your BW expert(s).
    Step 1
    Schedule your InfoCube loads.
    Step 2
    Create a report that calls the FM RSCRMBW_REPORT on your BW system.
    CALL FUNCTION 'RSCRMBW_REPORT'
    EXPORTING
    i_mode = 'OPEN'
    i_reportuid = name_query
    I_REPNAME =
    I_REPTXT =
    I_SAVE_AS = ' '
    I_OVERWRITE = ' '
    I_PACKSIZE = 10000
    I_EXECMODE = 'TABLE'
    I_FUNCNAME =
    I_DESTINATION =
    I_EXTRACT = result_table
    I_PATH =
    I_REPEAT = ' '
    I_USER = SY-UNAME
    I_LANGU = SY-LANGU
    I_SPLIT = ' '
    I_SEPARATOR = ';'
    I_BATCH_DATE =
    I_BATCH_TIME =
    I_BATCHID =
    I_UNIQUECHECK =
    I_CLEAREXTRACT = 'X'
    I_CHECK_MEMBERS = 'X'
    I_USE_OLAP =
    I_REPAIR_VIEW = ' '
    I_NO_BATCH =
    I_VIEWID =
    I_GET_TEXTS = ' '
    I_GET_CMP_VALUES = ' '
    IMPORTING
    E_REPORTUID =
    E_BATCHID =
    E_CUBENAME =
    E_DONE =
    E_JOBNAME =
    E_JOBCOUNT =
    TABLES
    E_T_AXIS =
    E_T_CELL =
    E_T_COUNT =
    E_T_RETURN = it_return
    E_T_MDX =
    E_T_AXIS_V2 =
    E_T_CELL_V2 =
    E_T_MEMVAL_V2 =
    As you can, see there are many configurable parameters, but no available documentation. We had to look at the code in order to know which parameters are the minimum requirements.
    They are:
    i_mode: The FM has several operational modes. First, you need to "initialise" everything with OPEN, and then it needs to run a second time with START. SO DON'T FORGET: the FM needs to be called TWICE with the same parameters (except for this one).
    i_reportuid: The name of the query.
    i_packsize: Setting the size packaging by character. It seemed to influence the transaction RSCRM_BAPI (see also note 739776), so we've also set it in here.
    i_execmode: We want a table as result.
    i_extract: The name of the result table.
    i_split: Data-splitter.
    i_clearextract: Delete content before new extract.
    e_t_return: Result codes.
    As previously mentioned, the FM needs to be called twice. So it might be a good idea to loop over these FMs if you have several queries to run.
    Step 3
    Schedule this report (transaction sm37) and let it wait until the load of InfoCubes job is terminated. Another option is to put this report as a step after the load in the same job.
    Step 4
    This depends a bit on how your data is managed and how your queries are defined. If you did a lot of normalization and used a lot of keys, you might need to write another report that joins you data with the description table(s). You can opt to do these joins in the query report. I like to keep them apart for testing purposes. Sometimes I only need to run the queries or vice versa.
    Step 5
    Schedule this report (transaction sm37) and let it wait until the query run job is terminated. Another option is to put this report as a step in the job after the load a query run.
    Step 6
    You may also need to create a backup mechanism that enables you to easily go to an older version if needed.
    Step 7
    So we now have as a result some tables on the BW system that can easily be retrieved. Write some remote enabled FM(s) to read these tables.
    The BSP Application Itself
    Step 1
    Write the BSP that calls the FM(s) on the BW servers and wrap some layout around it.
    Step 2
    Test the whole bunch.
    Conclusion
    This method isn't comparable with OLAP, but is ideally suited to "static" data. The data only changes overnight, so there is no need to spend CPU time that other applications might need. The result can be seen at: http://www.kuleuven.ac.be/studinfo.
    thanks,
    ashish.

Maybe you are looking for