RSCRM_BAPI extract

Hi ,
I have a doubt in RSCRM_BAPI extract. We have to extract the data from a multiprovider using RSCRm_BAPI. And the extract should be enabled using an event generated by a process chain.
So, wat happens here is I save the extract with the sheduling option as event in RSCRM_BAPI. But the file is extracted only once i.e for the first execution of the process chain. Whn the chain is triggered for the second time the file is not getting extracted. The process chain will be triggered everyday which means the data will be replaced every day.
Please help me out.
Regards,
Srivatsan.S

Hi srivastan,
When you schedule a RSCRM_BAPI extract through an event, it should work. When ever you trigger the event RSCRM_BAPI extract should take place.
Check one thing. Go to SM64 and from there manually trigger the event and check whether extract is run or not, also check the time of the extract generated.
- Jaimin

Similar Messages

  • 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

  • Problem with RSCRM_BAPI (extraction to Fixed Lenght txt file)

    Hi Experts,
    I have a question about a RSCRM_BAPI limitation:
    I want to extract a Query, using this transaction, to a fixed lenght .txt file. The query has a tabular structure like this:
    CHARACT1 | CHARACT2 | CHARACT3 | CHARACT4 | KEYFIG_MONTH1 | KEYFIG_MONTH2 | .... | KEYFIG_MONTH12.
    so i have a tabular structure with some CH and a KF repeated for the 12 month of the year.
    The problem is that the fixed lenght .txt file extracted with RSCRM_BAPI stops to the month 11, month 12 is discarded. If i try to extract a .csv file with the same query all the 12 month are included in the file.
    Question: Is it possible that RSCRM_BAPI has a row lenght limitation considering the fixed lenght .txt file?
    Many thanks in advance.
    Fabio

    How did you sechudle the Query/Report Using BAPI, i'm having similar Problem. Please Can you help me out.
    My problem is , i have a query which is schedule for every month 2 wed and a bapi is associated to The query.
    for some reason's the query is not working properly .
    Can you please help.

  • RSCRM_BAPI - Extract Table

    Hi All,
    I am using  RSCRM_BAPI  to fetch data from query into extract table.
    The table name will be automatically assign pre-fix "/BIC/0C" in front of the customize table name.
    Thus, it is not allow to transport the table, may I know how to transport this table from Dev to QA system?
    Please advice and thank you in advance.
    /Jamie

    Hi.
    As I know you should create extract manually in each environment.
    Regards.

  • 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

  • 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

  • RSCRM_BAPI inconsistent error

    Hi,
    I have a problem with transaction RSCRM_BAPI.
    If hi create a new extract in a table this error message appear:
    <i>Metadata for extract /BIC/0CZ_STET_T is inconsistent
    Error 0 when generating from extract /BIC/0CZ_STET_T
    Metadata for extract /BIC/0CZ_STET_T is inconsistent
    Error 0 when generating from extract /BIC/0CZ_STET_T</i>
    Anybody can help me?
    Michel

    Hi Michel,
    there are a lot of restrictions on objects to be used in query for Tcode RSCRM_BAPI, please check the corresponding How To doc in www.service.sap.com/bi in previous release section.
    I think you are using an object not allowed for RSCRM_BAPI extraction.
    Ciao.
    Riccardo.

  • [Broadcasting] Broadcast to file system

    Hi,
    I didn't find this option among the standard ones.
    I would like to send the queries, workbooks, ... to a file system, let's say the application server.
    Is this possible ?
    Does it require a lot of modification ?
    Thanks in advance.
    Best regards,
    Guillaume

    Hi,
    Broadcasting to application server is not possible using information broadcaster.
    Instead you can use RSCRM_BAPI or  RSCRMREPORT_BAPI
    Before using RSCRM_BAPI, first check whether it is suitable for your requirements, because it has some restrictions see OSS 605208
    Problem with RSCRM_BAPI (extraction to Fixed Lenght txt file)
    workaround to limitation
    or
    You can modify the Report "WRITEQUERY" accroding to your requirements. I have done this long back. (extracted bw query result and saved it in application server).
    if it is useful assign points
    Regards,
    Senthil Kumar.p

  • RSCRM_BAPI scheduling of extract jobs after an event

    Hi
    We are using RSCRM_BAPI to extract data from 3 BW queries and export the data to a CSV file so that it can be picked up and loaded to another system.
    The extracts run fine, but I am trying to find a way of including them within the BW process chains with a dependency on the final cube load. This way we can ensure that they are triggered when the data has correctly loaded.
    Any suggestions please?

    Get the list of Start Variants from table RSPCTRIGGER by giving the list of event ID's or EVENTID <> Blank.
    Then enter this list of start variants in RSPCCHAIN to get the list of process chains.

  • RSCRM_BAPI removing filters of View for File Extract execution.

    Hi folks,
    I m working on BI 7.0.
    I have a view , which has poor performance, as query based on DSO , I want to execute the view in background with a variant.
    I created an extract using a variant In RSCRM_BAPI.
    But in output i can see only those values.. same as in output when i  saved View .
    On filter button in RSCRM_BAPI ,
    there are sum active filters on view.. which filter out the data and not considering the Variant i provide..
    If i make them inactive in RSCRM_BAPI. it doesnot allow to save the view
    and hence the Extract is not working
    Has anyone  worked on similar scenario ?
    Thanks..
    Sonal....
    Edited by: Sonal Patel on Dec 18, 2009 1:55 PM

    Hi,
    You can run it in background using RSCRM_BAPI, but you need to maintain Customer Exit/SAP Exit variable/Constaants for all Variables, Bcoz it will run in background so the selection screen need to fill automatically.
    Re: Running Quaries automatically and saving them in as a Excel file in Server
    Re: Data transfer to external systems
    Re: Loading from a Custom R/3 Table
    Re: How can I schedule my Bex report to execute in background
    Re: How can I insert the RSCRM_BAPI into Process chain?
    Thanks
    Reddy

  • 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

  • Error while Extracting data using RSCRM_BAPI

    Friends
    We are on 3.5 system upgraded recently. I am getting the following Error message while trying to extract data from a query to a table using the transaction RSCRM_BAPI. The Error message says ' Internal Error in Method CHECK_TABLE_NAME(RSCRMBW_EX_NAMESPACE_GET).
    This was working fine prior to upgrade. I scoured all the OSS notes, could not find an appropriate one to solve the issue.
    Have you had this problem and any thoughts on resolution ? Appreciate your inputs very much.
    Regards
    Mathur Sreedhar

    Hi Mathur,
    did you ever resolved this Issue? if so can yoou share with me the solution. i am having the same problem, we are in 3.0 . it works fine in Development and Test. but when i try it in Production . i get this error.
    'Internal error in method CHECK_TABLE_NAME (RSCRMBW_EX_NAMESPACE_GET)..
    if you know the answer. would please share with me.
    your help would be greatly appreciated.
    Thanks.
    Sreeni.

  • How to schedule Query Extracts using RSCRM_BAPI

    Hi,
    Can you give me the link to the document How to schedule Query Extracts using RSCRM_BAPI  . I do not have userid password to view the same.
    Thanks for the help.

    Hi,
    this is the link for the document..
    https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700004400232004E
    thnks.

  • Query Extract (rscrm_bapi): Influence Job Name

    Hi,
    I'm using txn rscrm_bapi to extract data to a table.  The job name that is used when i run the extract process is always the same.  It's a fixed alpha numeric string.  Is there a way to change the job name?  I want it to have a descriptive name like RSCRM_BAPI_EXTRACT_DATA.
    Thanks,
    Audrey

    Hi Audrey,
    I had the same problem ... don't think it's possible to modifiy the Job Name. Let me know if you will find a soluton.
    Bye
    GFV

  • Error while doing BAPI extract using tcode  RSCRM_BAPI

    Hi,
      I am trying to extract a OLAP Bex query into a table.  However, I am getting the error message that
    Error: Metadata for extract /BIC/0CZCARRYOVR is inconsistent
    Error: Error 0 when generating from extract /BIC/0CZCARRYOVR
    Where ZCARRYOVR is my extract table.  What could be the reason?
    What had happened is that I created this extract table before and then deleted it from SE11.  But now I cannot create the table while extracting.  If I give a brand new table name then it works fine.  Is there any place where table metadata is stores.  I checked TADIR table and there was no extry.  I should have used SE14 and delete the table from database but cant use it now since the dictionary table doesnt exist.
    thanks

    Hi ,
    I have the same issues. If you have solved the issues can you please let me know the solution for this.
    Regards,
    Varma

Maybe you are looking for

  • I bought Adobe Dreamweaver CS5.5 in 2012, computer crashed and need a download link to install on new computer

    I need a download link for Adobe Dreamweaver CS5.5. My old computer died and I need to install on my new computer. I have looked everywhere but can only find current versions. Does anyone have a download link to DW CS5.5? Thanks

  • Iphone won't download all photos into window photo gallery, downloads old random photos for some reason.

    Hi my iphone has just started to not download the most recent photos but photos from months ago each time in a random order. I cannot down load my most recent photos but can e-mail them. I am using Windows photo gallery or Picture Motion Browser. Any

  • SWF Movie Randomly Plays In I.E.

    Good Morning from Rainy Seattle Washington. I like water, but this is getting ridiculous up here. Anyways, I'm designing a web site for a client, and he would like to have just a simple flash movie with photos displayed when the site loads. I created

  • IT0014 wage type not processed

    Hi, When  IT0014 wage type created in middle of the month say 17.07.2009 till 31.12.9999, the wage type is taken into payroll process only during next payroll period, i.e in this case it is processed only during Aug09  it is not taken into process fo

  • Parallel Approvals in AME

    Hi All, I have a question from my fellow colleague which I am not being able to respond to clearly. Hope someone can help me. The question is about the usage of Parallel Approvals. Can Parallel Approvals work ONLY when there is an approval group with