Query in extraction using RSCRM_BAPI

Hi ,
We have a RSCRM_BAPI query created on a multiprovider. The infoproviders have amount Key figures in it. So 0currency is associated along with the key figures.
0plant  Fis period   Key figure1   key figure 2   key figure 3
While we try to generate a CSV file using RSCRM_BAPI, the file generated has a blank column next to every key figure.
we are expecting the output file to be of the same format as specified above.
we need to load this file into another flow.
What we could fgure out was that every Key figure has a blank clumn for currency, which we dun want to provide.
Please provide me a solution to generate the file exactly as the sam format.
Thanks and regards,
Srivatsan.s

Hi,
Please use NODIM in the query for the key figures.
-Vikram

Similar Messages

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

  • 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

  • Query to cube using rscrm_bapi

    can we load data from a query with newselection to cube using rscrm_bapi.
    During  check these warings occurs
    Key figure  (F) is not a basic key figure
    Key figure  has no fixed currency; requires currency conversion
    please suggest
    Regards,
    Raj

    Hi All,
    I have already tried with APD, but no luck.....
    following error occurs
    while executing APD, following error occurs
    The technical field name KYF_0001 for field D56LC57R0X09TDN1TCY56IDF4 may only appear once per input or output structure....
    and then no execution is possible and that particular field has been mapped between source and target.
    also have query with char structure
    so then started with RSCRM_BAPI........in here i have structure in cloumns with new selection and new formula..........and now i get this messg
    Key figure  (F) is not a basic key figure
    Key figure  has no fixed currency; requires currency conversion.........(how do i check this......at cube level one one currency........)
    help needed
    Regards,
    Raj.

  • 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

  • Using RSCRM_BAPI to convert data from Query and load into PSA to DSO

    Hi Experts,
    I have a complex query which is being executed in BeX.
    I need to go in the reverse direction and extract the data from the Query and load into the PSA and then to a DSO.
    I am using RSCRM_BAPI for this purpose and have got data into the extract table successfully.
    But , my query has some variable screen wherein we need to give some inputs for selection.
    I have create those Infoobjects and put them in the DSO.
    How do I capture these inputs of  the selection screen for storing in fields of my DSO as the Extract table does not store these inputs  ???

    write the whole insert query desired by you with the help of excel formulas.they are very easy or google 'how to use excel formulas".
    then copy the fromula to whole set of data in excel fields.
    run the insert query in excel as batch.
    i hope this helps.

  • When to go for generic extraction using view and infoset query?

    Hi,
                        Can anyone clarify me when we should go for generic extraction using view and when we should go for generic extraction using infoset query....
    Also what is the difference between view and infoset?
    I tried but could not find out....
    Regards,
    Kalyani.

    Hi Kalyani,
    We normally go for View or infoset when the data to be fetched in BW is distributed in different tables in SAP R/3.
    Had the data been available in one table we can easily build our datasource on that table but if there are more tables then its not possible to do it without Views or Infosets. You can use Function Modules to build your datasource in case it involves complex logic to figure out the data from various tables.
    Depending upon the table relationships we create view and include various fields from these tables in that view. Same is with the Infosets, you can have more flexible options like Outer Join, left outer Join etc.
    Regards,
    Pratap Sone

  • Generic Extraction using Infoset Query

    Hi Experts,
    I am trying to create on Infoset query on the R3 side for creating one generic Extractor Joining EKKO and EKPO table.
    u2022I have created the User group in SQ03.
    u2022I have created the Infoset in SQ02 and selected few 5/6 fields from each EKKO and EKPO tables into the Field Groups of the Infoset.
    u2022I have generated the Infoset and assigned it to the user group created on SQ03
    u2022I have created a query on SQ01 using this Infoset and deselected the u201Ctextu201D fields created by default and selected the Basic list. Done everything needs to be done in there.
    Now when I am going to RSO2 and created the extractor using that Infoset, I am not seeing the Function groups that I have created in the Infoset in the Extract Structure, rather its pulling all the fields that is there in the Infoset joining both tables. It should show me those 5/6 fields that is there in the field group.
    I just want to see only those 5/6 fields in the extract structure of the DS.
    I am not sure what is missing.
    Any documentation on the same or if anyone faced similar problem, please help.

    Hi,
    You can create the infosets in r/3 using the t code Sq01,sq03 etc.
    You can create a generic extractor in r/3 using the tcode rso2 and that you can specify the infoset name.
    Regards,
    K.Manikandan.

  • Problem using RSCRM_BAPI

    Hi all:
    I am trying to use t-code rscrm_bapi...
    but its giving me error in technical name of the extract and path for .csv file, when i select the option "extract". I need query output in .csv file.
    can someone send me the detailed steps for this ?
    Also, Please add this questions in my original problem for using rscrm_bapi t-code.
    it is giving me error for not having authorization to create extract !!
    I already tried to refer few forums on this topic but not getting any solution for problem.
    I will comeback and give the points for the answer.
    thank you,
    KS

    Hi Keral -
           You can give any name that makes sense to you (like the report number)for the technical name of the extract. As for the path, I usually have the file store on the application server by the giving the path (for example, /datastaging/BWP/in/BAPI_FOLDER). (From here if you need, you can save the file as an excel file onto your desktop). In short below are the steps,
    1) Use the t-code RSCRM_BAPI, select the query you are interested in extractiing
    2) Hit extract and it will ask you for a technical name which can be any meaningful name, choose FILE (CSV) option, give the file name (BAPI_EXTRACT) and give the path /datastaging/BWP/in/BAPI
    3) Schedule this job and when finished, check in your application server using t-code AL11.
    FYI, I was not successful in saving the file directly onto the workstation, so I endup saving it onto the application server and from there pull it onto my desktop.
            Hope this helps.

  • Using RSCRM_BAPI with Huge Data Volume

    Hi,
    I am using RSCRM_BAPI to extract a query output into a database table. But, the query returns a large volume of data. I am not sure whether RSCRM_BAPI works fine when data volume is huge. Please suggest whether using this will be a good design or any other method is available to take care of such a scenario.
    Regards,
    Dibyendu

    I have used RSCRM_BAPI when the records were exceeding 65000(limitations of excel) and it worked for me...
    I think should work for you also....
    But there are some limitations....
    like u cannot see texts etc,,,,
    Assign point if it helps,
    Ajay

  • 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

  • Error while using RSCRM_BAPI with remote cubes

    Hi,
       We are getting short dump while trying to use RSCRM_BAPI with hierarchies i.e.display hierarchies to extract data to a flat file.
    We do get a warning that display hierachies are not longer supported in 2004s with RSCRM_BAPI and have been going on and on with SAP development.  They are saying we need to find alternatives.
    I wanted to know if anybody has tried using display hierarchies with RSCRM_BAPI in 2004s if not then I would like to know what are my options in getting a flat hierarchy report on to a flat file? 
    I dont think infospoke supports flat hierarchy extracts as infoproviders dont store hierarchy information.
    Thanks

    Heres my thought -
    to use Bex Broadcaster to download the information,am not sure if RSCRM_BAPI is replaced by new functionality ,might wait for SAP to confirm.
    <b>Key capabilities:-</b>
    1)The right information:Based on BExqueries, views, workbooks, Web applications & enterprise reports
    2)In different formats:HTML, MHTML, PDF, ZIP, printer formats, online links, SAP alerts…
    3)To the right people:e.g., single users, groups, distribution lists, user-specific or role-specific (incl. non-SAP users)
    4)In different channels:e-mail, Portal, BExPortfolio (unified access based on Knowledge Management folders), collaboration rooms, Universal Work List…
    At the right time:event driven, exception driven, ad-hoc, scheduled
    Bex Broadcaster + Information Broadcasting
    Note 760775 - Settings for Information Broadcasting
    Functions of Bex broadcaster
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/220c40ac368f5ce10000000a155106/frameset.htm
    Hope it Helps
    Chetan
    @CP..

  • XML sql query not displayed using SQLPLUS

    Have a registered schema and 1 xml document successfully inserted using Oracle 10.2.0.3.0
    I then run the following query:
    select extract(object_value,'/warehouse/warehousename')from xwarehouses;
    Expecting 1 record to be returned in SQLPLUS but get the following result:
    EXTRACT(OBJECT_VALUE,'/WAREHOUSE/WAREHOUSENAME')
    1 row selected.
    Can anyone shed any light?

    Thanks A-non.
    I checked the long and longchunksize settings and they are the same as yours.
    Your sample code runs perfectly but still my original problem remains.

  • Generic Extraction - Using Function Modules

    Hi Friends,
    Can you pl let me know the step by step process for creating generic extraction using function module?
    Thanks in Advance.
    Regards,
    Ari.
    Please search the forum before posting a thread
    Edited by: Pravender on Aug 5, 2010 7:31 PM

    Hi,
    Plz find this doc.
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33.
    And go this link...
    http://www.sdn.sap.com/irj/scn/advancedsearch?query=genericextractionwithfunctionmadule
    Regards.....KP
    Edited by: kundan.sap on Aug 5, 2010 4:35 PM

  • Generic extraction using table

    Hello friends,
    We have three methods in Generic extraction, as we know.
    1. Using view/Table
    2. Using FM
    3. Using Infoset Query
    I know pretty well the extraction using View, but when do we use "Table"?
    Is there a specific method to perform generic extraction using TABLE?
    Please clarify

    Thanks for the replies.
    In case of a generic extraction with view, i've followed the below procedure.
    1. RSO2.
    2.create a generic datasource by giving a view name and selecting the fields for selection criteria, save and generate.
    3. replicate data sources in BW.
    4. create an infosource and assign the data source, mapping and create an infopackage to load data.
    Now ,
    1. how do we enable Delta for this method?
    2. Is  this possible at all? if yes, how?
    3. How do we proceed after the replication of DataSources in BI? specifically, procedure in BI?
    Pls clarify.

Maybe you are looking for

  • MozBackup no longer works. Please help.

    When I try to backup Thunderbird using MozBackup, just before the process finishes I get the error message "Backup''s file isn't valid. Backup has failed". This has never occurred when I have backed up Thunderbird in the past. Can anyone help me plea

  • Only Keep photos after wiping iPhone

    Ok so I want to restore my iPhone 4. I am going to manually reinstall the apps I want and use iCloud to get my contacts, calendars and mail back. The only thing I'm not sure of is my photos. I don't sync my photos with anything in itunes and since I

  • Can't access uploaded file in weblogic server

    I uploaded a file using java network and io classes.The file at the server location got permissions as rw-r----- after upload. But I am not able to access the file after this upload using java Runtime. When I execute a cp command to copy the file to

  • Funky Leopard Boot

    Hi All. I installed Leopard and then BootCamp over an existing Boot Camp Beta. I'm getting TaskManager.exe not responding errors, a couple of crashes, no keyboard control over the DVD/CD writer/reader and some other funkiness. For instance CtrlOption

  • IBooks problem after iOS8 download

    My iBooks is not functioning correctly after iOS8 download. Keeps looping trying to download books, so cannot select to transfer to iCloud. Also while reading book shuts down & closes.