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.

Similar Messages

  • How to query a cube using SQL ?

    Hi I have a MOLAP cube say CubeA with dimensionA having Attribute A1 and dimensionB having attribute B1
    the measure of cube is M1.
    Any idea how i can query the cube using SQL dislaying both the dimensions with the measure interlinking them.
    I just need a general overview of how to sql query a cube .. I have the dimensions and sttributes and name of the cube but i ineed to know how to query it... I was given an example
    SELECT
    t.time_long_description,
    p.product_long_description,
    c.customer_long_description,
    f.sales,
    f.sales_ytd
    FROM
    time_calendar_view t,
    product_std_view p,
    customer_std_view c,
    sales_cube c
    WHERE
    t.dim_key = f.time
    AND p.dim_key = f.product
    AND c.dim_key = f.customer
    AND t.level_name = 'CALENDAR QUARTER'
    AND p.level_name = 'BRAND'
    AND c.level_name = 'STATE';
    but i cant understand it.. i cant figure out what are the dimensions and where are the attributes...
    Any idea would great...

    There's a nice tutorial here: http://st-curriculum.oracle.com/obe/db/11g/r1/olap/cube/querycubes.htm
    Here are a few basics. Note that the link between the dimensions is the join between the dimension or hierarchy views and the cube.
    * The primary key to every dimension and hierarchy view is DIM_KEY.
    * The primary key to the fact table is dim1, dim2, dim3, so all joins are between dim_keys and dim1, dim2, etc.
    * Dimension, hierarchy and cube views contain rows for both leaf (detail) and summary rows (that means cubes can return very, very large numbers of rows is you aren't careful)
    * You typically want to query for the aggregate level data rather than use SUM ... GROUP BY. Let the cube do the work and let it manage calculations.
    * Dimension views contain rows for all dimension member. hierarchy views contain rows for only members of the hierarchy.
    * You typically select one of the long or short description columns to display data within an application.
    Here's a commented version of your query:
    SELECT
    t.time_long_description, -- long descriptions
    p.product_long_description,
    c.customer_long_description,
    f.sales, --measures
    f.sales_ytd
    FROM
    time_calendar_view t, --hierarchy views
    product_std_view p,
    customer_std_view c,
    sales_cube c --cube view
    WHERE
    t.dim_key = f.time ; -- joins between hierarchy and cube views
    AND p.dim_key = f.product
    AND c.dim_key = f.customer
    AND t.level_name = 'CALENDAR QUARTER' -- Filters to ask for data at the quarter
    AND p.level_name = 'BRAND' -- brand
    AND c.level_name = 'STATE'; -- and state levels.
    You want to have a filter on every dimension to avoid return all rows in the fact table for that dimension (remember, the cube contains summary rows). If you want to drop a dimension from a query (e.g., you don't want product in the query, intending for the query to be the aggregate of all products), filter to an all/total level.
    e.g.,
    and p.level_name = 'ALL PRODUCTS'
    or
    and p.long_description = 'All Products'
    There are many variation of this query, but if you understand the basics you'll work your way there.
    And, never do a select count(*) from a cube. Doing so will select the entire cube, detail and summary data.

  • 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

  • How to create olap cube using Named Query Table in Data source View

     I Create on OLAP Cube using Existing Tables Its Working Fine But When i Use Named Query Table with RelationShip To other Named query Table  It Not Working .So give me some deep Clarification On Olap Cube for Better Understanding
    Thanks

    Hi Pawan,
    What do you mean "It Not Working"? As Kamath said, please post the detail error message, so that we can make further analysis.
    In the Data Source View of a CUBE, we can define a named query. In a named query, you can specify an SQL expression to select rows and columns returned from one or more tables in one or more data sources. A named query is like any other table in a data source
    view (DSV) with rows and relationships, except that the named query is based on an expression.
    Reference:Define Named Queries in a Data Source View (Analysis Services)
    Regards,
    Charlie Liao
    TechNet Community Support

  • Build essbase cube using Sql query.....

    Hi Team, Can we build dimensions as well as load data into essbase cubes using sql query generated from cognos cube. If so , please guide me the procedure

    I'm not sure about cognos, if you can create an ODBC connection you can try using that in SQL load rules and see if that works.
    Opening an SQL Database
    Regards
    Celvin
    http://www.orahyplabs.com

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

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

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

  • Query on Cube jumps to Query on ODS ; Query on ODS takes Long time

    Hi All,
    Perormance Issue:  Query on Cube jumps to Query on ODS.
    Query on ODS taking long time.(JumpQuery)  
    Specific to ODS Query: When i have checked the Query on ODS(individually) also taking longer time
    Actually ODS contains quite huge data. Indexes already maintained.
    I have checked the RSRT- Execute SQL and Debug Option also. Indexes maintained Perfectly .
    Order of objects in ODS indexes are matching the order of Objects in SQL stat of RSRT Trans. Inspite of that taking long time.
    I have checked both the ways jumpquery aswellas individually .
    My question is when the query is jumping from cube to query on ODS how to check the performance, how the query is executing in background when switching over to the second query, Moreover calculated keyfigure has been used for jumping to the target query.
    How can query(ods query)  time is optimized or improve performance when jumping  from query on Cube ?
    can any body help?
    Rgds,
    C.V.
    Message was edited by:
            C.V. P

    What i understand is that you need to optimise the Query jumping time . But this will be very less compared to the time taken by the query on the ODS.
    Ideally you shouldnt be making a BEx Query on the ODS , as this takes a long time. What you can do is try executing the Bex Query on the ODS to find out as to where the issue lies. If this query is taking a long time , there is not muich that you can do here.

  • 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

  • Can we Report BW Cube using Cognos Fornt End tools

    Hello, Experts.
    We need some inputs on how to Report BW cubes using COGNOS front end tools.  
    is this possible?
    do we need to develop new cubes out in cognos again for making reports?
    and in BW cube some attributes of material are not navigational if we go to cognos  can we use this attributs for drill down or filtering?
    Thanks in Advance.
    Bharath.

    i am currently working on bi 7 with cognos 8.2 and go live very soon
    - best approach is to use query as datasource for cognos (cognos consultants agree)
    .......without query as datasource, cognos cannot see any reusable objects.
    - If i recall, cognos can leverage attributes as navigational even if bw does not have them set that way.
    - one downside is that you need to make sure all your rkf descriptions are locked down 100% because cognos uses the description in their xml definitions.
    - Make sure you have an experience cognos framework modeler that knows ins and out and does not use simple wizards.  same happened to us and lots of settings occured very late and slowed project.
    reach out to me via my profile and i can give you pointers.

  • Sample needed to query BW cube

    I have two BW(BPC) cubes which are HANA enabled. I have heavy data processing logic currently in BADI and I am trying to push that into HANA DB layer, possibly as a SQL procedure.
    1) Can someone point me to some sample/direction to achieve this
    2) Any samples on how to query BW cubes and update them back
    3) Is this the right forum for this question?
    Appreciate any leads
    ~Dilkins

    Hi,
    Sorry coz i didn't tell you that I'm using Business Object, crystal report . Thru crystal report I want to extract data from BW cube or Query.  In other word, the database connection is from BW server.
    I try to design the report thru OLAP report and extract multiple cube from BW, and i'm only can see one of the cube. The others cube I can't see. And then i try to retrieve data from existing cube that i can see, and i got this error 'Database Connector Error: 'Function module "/CRYSTAL/MDX_GET_STREAM_INFO" not found. Where can i get the function module.
    Can you help me on this.
    Thank you in advance for your help
    Regards,
    Akma

  • Slicer in Query (In the Tcode:RSCRM_BAPI)

    Hi,
    I wish to know the significance of the SLICER when we get into rscrm_bapi transaction.
    kindly explain me what is the significance and uses of it.
    Thank you,
    Regards,
    Ram

    Hi,
    Thank you, can you also please tell me if we can put up any characteristics of rows under it as i am having more than 16 characteristics.
    If NO, can you tell me is there any other way where we can have more than 16 char using rscrm_bapi to send the query ouput to a table.
    Thank you,
    ram

  • Error extracting data from essbase cube using MDX method

    Hi,
    We have some problems extracting data from essbase cube using MDX method, we believe that the problem is the MDX query, this is the problem and query:
    ERROR:
    [DwgCmdExecutionThread]: Cannot perform cube view operation. Analytic Server Error(1260046): Unknown Member SELECTNON used in query
    com.hyperion.odi.essbase.ODIEssbaseException: Cannot perform cube view operation. Analytic Server Error(1260046): Unknown Member SELECTNON used in query
         at com.hyperion.odi.essbase.wrapper.EssbaseMdxDataIterator.init(Unknown Source)
    MDX:
    SELECT
    NON EMPTY {[YearTotal].[Jan]} ON COLUMNS,
    NON EMPTY {[Total Movimientos].[Presupuesto Base]} ON AXIS(1),
    NON EMPTY {[Año].[FY11]} ON AXIS(2),
    NON EMPTY {[Escenario].[Presupuesto_1]} ON AXIS(3),
    NON EMPTY {[Version].[Trabajo]} ON AXIS(4),
    NON EMPTY {[Moneda].[Moneda Input]} ON AXIS(5),
    NON EMPTY {[Centros de Costo].[1101]} ON AXIS(6),
    NON EMPTY {Descendants([Resultado Operacional],4)} ON AXIS(7)
    FROM [DSR02].[ROP]
    We try extract data using a sample cube and work fine, this is the mdx query:
    SELECT
    {[Actual],[Budget]} ON COLUMNS,
    {[Sales]} ON ROWS,
    NON EMPTY {[Product].levels(0).members} ON PAGES,
    NON EMPTY {[East].levels(0).members} ON AXIS(3),
    NON EMPTY {[Year].levels(0).members} ON AXIS(4)
    FROM Sample.Basic
    The model reversed ([DSR02].[ROP]) have the same structure than query need, the query and the model are fine, definitely we can´t see the problem, someone can help us?
    Regards

    You will be able to test the MDX query in EAS, it is usually best to test the query first before trying to use it in ODI.
    Is there any reason you are using MDX to extract the data, have you tried reportscript as I usually find it more efficient to extract the data.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for