Creation of query extract

Hello All,
Via the rscrm_bapi transaction I am trying to create a query extract but I receive the following error message "Error when scheduling the query (JOB_CLOSE)".
Please advise on what the problem is and how to rectify.
Regards,
Keith Kibuuka

You are probably logged onto an app server instance which is not running the required Backg process to schedule the jobs.
Do this. Go to SM51. Double click on the server instance which is running Backg (Background process). Now you will be logged onto the appropriate server. Now you can to schedule the RSCRM_BAPI job.
Good Luck
Uma

Similar Messages

  • Date format in Query Extract - Urgent

    Hi,
      I'm using Query-Extract (RSCRM_BAPI) to extract query data and store it in separate location.
    While extracting the data into .csv ot .txt file, date will be displayed as yyyymm (200807). As per the requirement we should display the date in the format mmm-yyyy (Jul-2008).
    Please help me. its very urgent.
    Thanks,
    Varun

    Hi ,
    This issue can be solved by writing a routine in update rules pls take the help of abap experts to solva this
    this is not a big issue for them
    Hope i have guided u properly
    Pls assign me points my boss ??
    Regards ,
    Subash Balakrishnan

  • Error while initializing OLAP BAPI query extract

    Hi,
       I am getting a error while scheduling a job thru RSCRM_BAPI:
    "Internal error in method CHECK_TABLE_NAME (RSCRMBW_EX_NAMESPACE_GET)"
    Has anybody faced this error before and/or know what to do about it?
    Thanks

    Just incase if you have not looked at note '526173'
    Symptom
    Namespace /BIC/ is set to not editable but a file extract should be created anyway. To create extracts the RSCRM internally generates a structure in customer name space. On this structure the whole creation of the extract is build. So this structure is needed and can't be removed.
    The standard way is that the RSCRM checks if the name space /BIC/ is editable. If not the structure won't be generated and the extract is aborted.
    The following modification will ignore this check. The extract could be generated anyway.
    Other terms
    RSCRM_BAPI namespace CSV extract RSCRM164 CHECK_TABLE_NAME RSCRMBW_EX_NAMESPACE_GET
    Solution
    Modification
    regards,
    Hari

  • 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.

  • Authorization Object for role creation for query display?

    Hi,
    Can Anybody here tell me what is the Authorization object that we use for role creation for query display?
    I want to assign a role to the newly designed query! that query does not have any role so far!
    Pls suggest me
    Thanks,
    Ravi

    Hi,
    I could make the authorization tab green by entering the authorization object!
    But user tab still remains red as it is not allowing me to enter my username in the user tab!
    in the user tab  i am unable to enter my user name?
    Any suggestions?
    Thanks,
    Ravi

  • Infoset query extract

    Hi BW gurus
    Can someone give me a solution to do query extracts to a flat file on queries built on infosets.
    rscrm_bapi does not support it, and creating infospokes is not feasible for this, i tried APD as well and looks like APD does not support infoset queries either. we are on 3.5
    Sam

    Try creating a multiprovider based on your Infoset, I had the same problem, awhile ago. RSCRM_BAPI doenst support flat file extraction from Infoset and we are in BI 7, eventually we took another route to get the flat file to them and not from the query.
    However, while testing it, it seemed to have worked. Let us know how you progressed.
    Best Wishes...

  • Query extraction to a flat file

    We have a requirement to extract the query result and send it as a flat file to a different system. The query is created on a multi provider and the key figures have lot of restrictions. We currently use RSCRM_BAPI for this. Would like to know if there is a better options, if any one has used it.
    Thanks,
    VJ Sudharsan

    Hi,
    It might help you:
    Program to run query and save to flat file
    Best regards,
    Eugene

  • Creation of query using SQ00

    Hi All,
    As business users we don't have access to SE16 or SE16N and during month end we have to check the deleted POs for the particular month and report it back. Each time we have to go to support team who will extract this data for us and this takes 2-3 days unnecessarily.
    Now I know we have to look in table EKPO, set date field between 01.08.2014 to 31.08.2014, and populate field LOEKZ = L to get the deleted POs for August month but I am unable to convert this into a SQ00 query. Can some of you experts help me with some kind of documentation or steps here to create the SQ00 query?
    Best Regards,
    Anup

    Hi Anup ,
    Method A
    1) . create an infoset on EKPO table . Go to extras , in the code section go to record processing and there write the below mentioned code :
    CHECK EKPO-LOEKZ = 'L'  .
    2).  now create a query on this infoset .
    Method B
    1). create an infoset on EKPO table .
    2). create a query on this infoset . Mark LOEKZ as selection screen field .
    So now when you execute the query ,  on selection screen pass 'L' to LOEKZ field .

  • ABAP Query Extracts

    hello experts ,
                              i am using ABAP query (sq01) infoset ( logical database ).Is it possible to add extract feature in the abap query selection screen . if possible then how?
    thanks
    vivek

    Hi Vivek,
    Its not possible. Whenever you activate your query it generates a standard program & its not modifiable.
    Regards
    Abhii

  • Query extraction help

    Hi,
    This is the query which I use, there is no problem with the query, but I need to organize the query output.
    =========
    select ds_key_id, ds_ver_num,
    ds.ds_cond_xml.extract('//condition/operator/text()').getStringVal() as operator_text,
    ds.ds_cond_xml.extract('//condition/RHS/value[@type="LIST_ITEM"]/text()').getStringVal() as keyword_val
    from dataset_version ds
    =============
    <?xml version="1.0" encoding="UTF-8"?>
    <conditions>
    <logical-operator type="OR">
    <logical-operator type="AND">
    <condition id="2" name="2" setid="1" setname="ConditionSet1">
    <LHS>
         <keyword id="2"></keyword>
    </LHS>
    <RHS>
         <value source="REFSVC" type="LIST_ITEM">USA</value>
    </RHS>
    <operator>NE</operator>
    </condition>
    <condition id="4" name="4" setid="1" setname="ConditionSet1">
    <LHS>
    <keyword id="4">
    </keyword>
    </LHS>
    <RHS><value source="REFSVC" type="LIST_ITEM">CS</value>
    </RHS>
    <operator>EQ</operator>
    </condition>
    </logical-operator>
    <condition id="1" name="1" setid="2" setname="ConditionSet2">
    <LHS><keyword id="1"> </keyword></LHS>
    <RHS><value source="LIST" type="LIST">98751</value></RHS>
    <operator>IN</operator>
    </condition>
    </logical-operator>
    </conditions>
    ================
    I am getting the output as below:
    169901     175651     NEEQIN     USACS98751
    I need to split the output 'EQ' and 'EQ' into two columns.
    How do i rewrite my query.
    Thanks.

    I am getting the output as below:
    169901 175651 NEEQIN USACS98751
    I get a bit of a different output for »keyword_val«:
    michaels>  with dataset_version as
      (select 169901 ds_key_id,
              175651 ds_ver_num,
              xmltype('<?xml version="1.0" encoding="UTF-8"?>
                        <conditions>
                          <logical-operator type="OR">
                            <logical-operator type="AND">
                              <condition id="2" name="2" setid="1" setname="ConditionSet1">
                                <LHS><keyword id="2"/> </LHS>
                                <RHS>
                                  <value source="REFSVC" type="LIST_ITEM">USA</value>
                                </RHS>
                                <operator>NE</operator>
                              </condition>
                              <condition id="4" name="4" setid="1" setname="ConditionSet1">
                                <LHS>
                                  <keyword id="4"/>
                                </LHS>
                                <RHS>
                                  <value source="REFSVC" type="LIST_ITEM">CS</value>
                                </RHS>
                                <operator>EQ</operator>
                              </condition>
                            </logical-operator>
                            <condition id="1" name="1" setid="2" setname="ConditionSet2">
                              <LHS>
                                <keyword id="1"/>
                              </LHS>
                              <RHS>
                                <value source="LIST" type="LIST">98751</value>
                              </RHS>
                              <operator>IN</operator>
                            </condition>
                          </logical-operator>
                        </conditions>') ds_cond_xml from dual)
    select ds_key_id,
           ds_ver_num,
           ds.ds_cond_xml.extract('//condition/operator/text()').getStringVal() as operator_text,
           ds.ds_cond_xml.extract('//condition/RHS/value[@type="LIST_ITEM"]/text()').getStringVal() as keyword_val
      from dataset_version ds
    DS_KEY_ID DS_VER_NUM OPERATOR_TEXT        KEYWORD_VAL        
        169901     175651 NEEQIN               USACS              
    1 row selected. 
    I need to split the output 'EQ' and 'EQ' into two columnsDon't get that one really. What is the desired output you'd like to achieve?

  • Query extract to CSV

    Hello Gurus,
           We have a requirment where we have to send out a query output exactly the way it is in to CSV format.
           Here I have tried RSCRM_BAPI and RSANWB (APD) but i am not comfortable with the output as it do not extarct the Text information on to the CSV/Table.
           In simple I want to output to be exactly like WAD --> export CSV format where i can schedule the process in the background/ PC
    Full points will be given to the best answers
    Thanks a lot!
             Anil Raparthi

    Hi,
    use RSCRM_REPORT to extract data from bex to CSV or TABLE.
    goto RSCRM_REPORT -> give query name and file name or table name,
    execute.
    thanks,
    pavan.

  • SAP Query - Extract part of field

    Hi,
    I created a query with a local field. I want to extract only the last 3 characters of a field.
    Is there a LEFT or RIGHT function I can use like in Excel?
    The field I want to extract it from is 12 characters long.
    Hope someone can help.
    Thanks, Lupe

    You can not fetch only 3 characters directly
    There are 3 ways you can achieve this
    1> Create additional field in the infoset and code the logic. (If this report is used frequently, you should use this)
    2> Download the output of query in the excel and perform excel actions (Use this if the report is not frequently required. Does not take much time to fetch 3 characters)
    3> if the report format is fixed, you can create ABAP report and code yo fetch only 3 characters

  • POWL creation from Query

    Hi,
    I had created a query using SQ01. Now i want to create the POWL from this query and from the existing queries.
    Is there any document to create it.
    Anurodh

    hi,
    Use the below link. It has the document for POWL creation from Infoset query:
    [Powl from Infoset Qery|http://help.sap.com/bp_ekit604/BBLibrary/Documentation/k52_How_to_Guide_EN_DE.doc]
    Regards,
    MAdhu

  • Need help with GREP query-Extract

    Hi folks,
    I'm trying to tighten up a GREP query I was able to piece together.
    This Find string allows me to find text within the <ex> tags and delete the tags themselves. The Change field then applies my Extract paragraph style.
    (?s)(<ex> *)(.+?)( *</ex>)
    What I need it to do is add a blank line above and below the extract. Can that be added to the string?
    TIA

    Yes, by changing to \r$2\r
    BUT, is this text already a paragraph? If it is, it would be better to add space before and after as part of the style. If it's not, I'm not sure that adding the returns in the same operation isn't going to change the text from which it is extracted as well, so you might want to search first for <ex>.+?</ex> and change to \r$0\r without changing the formatting, then run what you have now to change the format on the extract.

  • Creation of query

    Hi Friends,
    Consider the following scenario.Following are the stock values on each day in an ODS.
    <b>DATE     MATERIAL     QTY
    1-Jan     A     100
    1-Jan     C     1000
    5-Jan     A     110
    8-Jan     B     50
    9-Jan     B     75
    9-Jan     C     1100
    11-Jan     A     120
    18-Jan     B     10
    19-Jan     A     75
    26-Jan     A     225
    29-Jan     C     750</b>
    (Note: MATERIAL refers to compound of Material, plant, storage location, etc.)
    the user runs the query on Jan 7 for balance on Jan 6 (through a date variable) the max date in the ODS for Material A is Jan 5 and that for material C is Jan 1. The query should retrieve 110 units for A and 1000 for C.  The front end variable controls the time slice....
    <b>How do I put this in a query</b>? Any help will be appreciated.

    Hi,
    Try the following approach. This is just an idea.I never used this in my project.
    1) Use one z Key figure to represent the Quantity. This KF should have 'Last Value' for Exceptional Aggregation and 0calday as the 'Agg Reference char'.
    2) In the query define a variable on 0calday to take user single entry(say ZVAR1)
    3) Define restriction on quantity(z KF) with this variable like as follows:
    KF : ZKeyFigure
    0calday  > ZVAR1.
    With rgds,
    Anil Kumar Sharma .P

Maybe you are looking for