Query on RSCRM_BAPI

Gurus-
My Query has 142 columns and I am trying to export the query output to a word document using RSCRM_BAPI.
When I check the output file which I got through RSCRM_BAPI, it is truncating lot of columns. Is there any limitations with the columns if we use RSCRM_BAPI transaction? if so how many?
Please revert me back with ur suggestions.
Thanks in advance

Hi,
As per note Note 605208 - RSCRM - Restrictions: RSCRM uses the ODBO interface.  This interface has a restriction of 20 dimensions. ( Characteristis and structure used in the query are considered as dimensions ).
Hope this helps...

Similar Messages

  • Problem in executing query in RSCRM_BAPI  & output in application server!

    hi Experts,
    We executed a query using RSCRM_BAPI transaction and write it to the application server.We found the following problem.
    In the query we have restricted the keyfigures such that each have 2 decimal places but when we execute the query using RSCRM_BAPI and writing into the application server the more than 2 decimal places are coming in to the file.
    For example:
    In the query the value is 12.12 but in the application server its written as 12.1200000
    So the width gets elongated and some of the keyfigures are truncated.
    We have already have gone through the restrictions in the SAP Note Number 605208
    Please help us to find a solution to get output of keyfigures same as whatever coming in the output of query.
    Thanks in advance
    Somenath

    sorry, i mistakenly sent it in different id....this is my id.......if it is useful assign points to this id...
    Using RSCRM_BAPI, RSCRM_REPORT, suitable for simple query.
    In your query you are using Restricted, calculated keyfigure.in that case RSCRM_BAPI, RSCRM_REPORT has some restriction.
    Check OSS 605208 which describes RSCRM_BAPI restrictions .
    Re: Master Data Datasources
    You can Modify the Wrtiequery abap program for your requirement.
    or
    Create a ABAP program for extracting a bw query and upload it in Application server in csv format.
    Thanks,
    senthil kumar

  • 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 message "Error when scheduling the query(JOB_CLOSE)".

    Hi all,
    While using query extractor (rscrm_bapi) I am getting error message "Error when scheduling the query(JOB_CLOSE)".
    Could you please find what this error is?
    Thanks,
    Uday.

    Hi Uday,
    This problem can occur if you changed the query definition.
    In this case the query definition would be inconsistent with the existing extract structure.
    Certain Meta information is maintained with each extract defined using the RSCRM_BAPI. If the definition of the query is changed and you need to use the same extract table then you need to delete the extract using the report RSCRMBW_DEL_ALL_EXTRACTS selecting the extract you want
    to delete.
    After this you could use the same table name for any further extract that you need to create.
    One caution is that the extract table should not be deleted through any other transaction before you run the report.
    Rgds,
    Colum

  • 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

  • APD query key date with variable for time dependent MD display attributes

    Hello,
    In a APD I use a query as a source with a query key date that is filled with a customer exit variable.
    When I run the query as a user, the time dependent MD display attributes look fine. However, when I use the query in an APD, I get no values for the time dependent display attributes.
    Any suggestions?
    Thanks

    Hi,
    Try to run query using RSCRM_BAPI Tcode, this you can also schedule in background
    Thanks
    Reddy

  • While sheduling report using tcode - RSCRM_BAPI

    Hi,
    we are executing query in RSCRM_BAPI through event we are getting below eerror.
    Error when scheduling the Query (JOB_CLOSE).
    Can you please advice how to resolve.

    Hi.
    The solution depends on which error message you get in log.
    Plz provide exact error message from log as described above.
    Regards.

  • How can I create a chain process with rscrm_bapi

    Hello
         We have generated a table, as result of the execution of a query with the transaction rscrm_bapi. It's made manually, and now we want to do it in a chain process so that the table will be generated automatically.
         How can I do this?. Are there any manual? or Anyone know how to do it, step by step?
    Thank you very much.

    Hello,
    managed the execution of rscrm jobs in PC as follows:
    1. Execute query through RSCRM_BAPI transaction
    2. goto sm37 and copy the Jobname (the active one)
    3. Create following progromm
    *& Report /WST/RSCRM_START *
    REPORT /WST/RSCRM_START .
    parameter: l_bid TYPE sysuuid_c.
    CALL METHOD cl_rscrmbw_bapi=>exec_rep_in_batch
    EXPORTING
    i_barepid = l_bid
    4. Execute Programm and fill the Parameter with the Jobname
    5. Save as a new program variant and use in PC as a normal program
    Very strange and I think not very nice that sap uses the jobname to control the execution....but with this workararount it works very nice.
    I hope that helps.
    Regards,

  • RSCRM_BAPI in Process Chain

    Hi,
    We are having a RSCRM_BAPI which extracts data from a report and push it to a table. We need to include this process in our process chain. We are running on BI 7.0.
    How?
    regards,
    Sanjai

    Hi,
    1. Execute query through RSCRM_BAPI transaction
    2. goto sm37 and copy the Jobname (the active one)
    3. Create following progromm
    *& Report /WST/RSCRM_START *
    REPORT /WST/RSCRM_START .
    parameter: l_bid TYPE sysuuid_c.
    CALL METHOD cl_rscrmbw_bapi=>exec_rep_in_batch
    EXPORTING
    i_barepid = l_bid
    4. Execute Programm and fill the Parameter with the Jobname
    5. Save as a new program variant and use in PC as a normal program

  • RSCRM_BAPI  how to???

    Dear All,
                   I want to extract data from Query report and load that extraction into Cube. I have heard extraction from query is possible through RSCRM_BAPI transaction . Could anybody send me HOW TO docs or any info on step by step extraction of query using RSCRM_BAPI ?
    Regards,
    Ratish
    [email protected]

    Hi Ratish,
       By using the RSCRM_BAPI u can Extract the date into Table or CSV file or save the file to the Application server . Just select the query from which u want to extract the data the the respective output file .
    Double click on the Query then u will go to next screen where u will find a Extract Button just select it and specify the Extract type and execute . This will copy the query result to ur file . And u can use that for ur Need .
       Procedure:
    1. Goto RSCRM_BAPI,
    2. Choose your query.
    3. Choose view and double click on it.
    4. Click on Extract(button) on tool bar(top right),
    5. F1 Help is available. Place the cursor and click F1, you will get some info.
        after that from CSV to you can load the data into ur cube... this is one procedure... otherwise... by using APD you can  send ur data from querys  to data targets.
    Hope it helps u .
    @jay
    AJAY KUMAR . N

  • Rscrm_bapi error

    Hi,
    i tried to execute a query using rscrm_bapi. After selecting a query, when i goto 'Query Definition' screen, i am getting warnings for some of the variables in the query.
    S:RSCRM:260 0SALEORG
    Message no. RSCRM260
    I am getting this message for 5 other variables. I ignored these warnings. When i tried to extract the data to a file (I entered data in selection screen for 'SalesOrg').
    I am getting the error: '<b>Query Metadata is not complete</b>'.
    I noticed that, when i execute the query without entering any data for 'SalesOrg' in the selection screen, I do not get any error. The problem is I have to make selections.
    I generated the query without any problem using RSRT and RSRT2. Even now, i get the same error. How to resolve this?
    Thanks

    Hi Guys,
    I think i figured it out.
    If we have variables in the query that have 'Can be changed during query navigation ' checked, then I was getting the warning. If I tried to enter any values for these variables, I was getting 'Query metadata is not complete' error.
    But if you have these variables in filters, you shouldn't have a problem.
    Thanks to A.H.P because I happened to see 'How to paper' posted by him in response to someone's question regaring rscrm_bapi. In this paper it has been mentioned that we cannot use 'Dynamically changeable' variables.
    Regards
    Can you let me know If i am right or wrong in my analysis?
    Message was edited by:
            Sachin Guptha
    Message was edited by:
            Sachin Guptha

  • Using rscrm_bapi

    Hi Everyone,
    Its like i am working on a unique requirement as followed.
    For certain reasons, i have to make the BW reports available elsewhere (i.e other DW which is a client specific one). For this purpose we use XI to integrate.
    As i have some restrictions,selections and also some new key figures to be made availabe, after all the developments at query designer, using tcode:rscrm_bapi i can give a table name and extract the query output and made available on the table.
    XI would take when a datasource available in a table. But when i extract to the table it will accept only when characteristics upto 16.
    In my case i have 36 characteristics.For this particular i have gone for File CSV while extracting using rscrm_bapi. But here the problems are
    1.Field descriptions are not available on the file, so with out them there is no relevance
    2.When i notice the sequence in the query definition (i.e when we select the query in rscrm_bapi) and query definition are different.
    So in the above scenario, would any one suggest any other option for me else using the same option how do i overcome the above mentioned issues?
    I rule out the option of using Infospoke, because there lot of restrictions to be considered while the development of extract.
    I welcome all your ideas and any suggestions and aslo assure you that reward the valuable answers.
    Incase if you require anyother details , pls let me know?
    Thanks
    Regards
    Ram

    webservice in BW (its available from BW3.5 and above)
    check this link for more details.
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1550b0/frameset.htm
    <i>1. As i am using the variables, i should see and give selection parameters.</i>
    its a gui which you have to develop, which will take parameters and trigger the XI process along with the values and in turn XI will trigger the process in BW to get the data and then pass it on to the other system.
    <i>2. For two fields i should also ensure the availability of text in the extract</i>
    while developing the query, you have to make sure to set key and text for the characteristics.
    <i>3.All the field descriptions to be made available.</i>
    in the FM i have mentioned these values are returned.
    <i>4</i>
    you have to write these logics.
    <i>5.will i be able to include this in process chain?</i>
    yes
    Regards
    Raja

  • How to call program through process chain

    Hi Gurus,
    I am in the position to execute the abap program through process chain, I have used  abap program as process type in process chain(First time I am using this process type).when I am executing the process chain, the abap program is not executing.Eagerly anticipating your reply.
    Regards
    Shiva

    Hi
    I managed the execution of rscrm jobs in PC as follows:
    1. Execute query through RSCRM_BAPI transaction
    2. goto sm37 and copy the Jobname (the active one)
    3. Create following progromm
    *& Report /WST/RSCRM_START *
    REPORT /WST/RSCRM_START .
    parameter: l_bid TYPE sysuuid_c.
    CALL METHOD cl_rscrmbw_bapi=>exec_rep_in_batch
    EXPORTING
    i_barepid = l_bid
    4. Execute Programm and fill the Parameter with the Jobname
    5. Save as a new program variant and use in PC as a normal program
    I hope that helps.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    regards
    ashwin

  • No Service Implementation Available

    Hi Gurus,
    I have issue when I am executing Bex Query in Browser( Able to execute same query in Analyzer ). Below are the error details
    Diagnosis
    You have attempted to open query ZSD_MF02_Q001_PERFMANCE from the Query Designer. However, this query does not exist in the database in the system to which you have made a connection.
    System Response
    Opening the query was terminated.
    Procedure
    Make sure that you have connected to the correct BW system. Note: The query may have been deleted by another user.
    Cannot load query "ZSD_MF02_Q001_PERFMANCE" (data provider "DP_1": No service implementation available).
    If I need to configure any settings in SPRO, please advise me the steps.
    Your quick help is really appreciated.
    Thanks
    Ganesh Reddy.

    Hi
    You have attempted to open query ZSD_MF02_Q001_PERFMANCE from the Query Designer. However, this query does not exist in the database in the system to which you have made a connection.
    You are able to open your Query in Browser because it is saved in the History. But actually, the query is deleted from the Analyzer(May be by other User).
    Best Approach:
    Goto Query designer and check whether the Query is available or not?
    Goto RSRT and make necessary Cache settings and Query Read Mode in Properties tab.
    Check the query in RSCRM_BAPI t-code for inconsistencies.
    You may get some clue.............
    Regards,
    Suman

  • How create a complex process with excpetion handling

    i need to modell a complex process which consists of subprocesses
    e.g. a shell command as subprocess
    now i want informations in the audit browser which process component fails at runtime, for example: think that the shell script fails and returns with exit 3
    i have no information in the runtime audit browser that the subprocess failed - it will always displayed as "processed" (without an error)
    so how can i make errors/warnings visible in the execution log of the audit browser

    Hello,
    managed the execution of rscrm jobs in PC as follows:
    1. Execute query through RSCRM_BAPI transaction
    2. goto sm37 and copy the Jobname (the active one)
    3. Create following progromm
    *& Report /WST/RSCRM_START *
    REPORT /WST/RSCRM_START .
    parameter: l_bid TYPE sysuuid_c.
    CALL METHOD cl_rscrmbw_bapi=>exec_rep_in_batch
    EXPORTING
    i_barepid = l_bid
    4. Execute Programm and fill the Parameter with the Jobname
    5. Save as a new program variant and use in PC as a normal program
    Very strange and I think not very nice that sap uses the jobname to control the execution....but with this workararount it works very nice.
    I hope that helps.
    Regards,

Maybe you are looking for