Get BEx query name in ABAP Class

Hi,
I have setup a Virtual Key Figure and need to get the BEx    query name within the implemented RSR_OLAP_BADI Class Compute method.
Is there a system variable that holds this?
Thanks in Advance

Hi.
Look at among components of importing parameter I_S_RKB1D of method you mentioned.

Similar Messages

  • How can I get the query name/aggregationslevel in my planning function?

    Hi,
    is it possiable to get the query name/aggregationslevel in a planning fuction?
    thanks for your idea.
    hongwei

    Hi,
    The interface IF_RSPLFA_INFOPROV_DESC
    provides methods for retrieving the most important properties of an InfoProvider from the point of view of the implementation class of a planning function type.
    Methods GET_T_CHARNM and GET_T_KEYFNM return the names of the characteristics and key figures in the InfoProvider.
    You can get the properties of the InfoObjects and compound information by calling method GET_TAB_IOBJ_PRO and GET_TAB_IOBJ_CMP .
    Does this help?
    Best Regards
    Shyam

  • Bex query for BW abap report/ transaction

    Hi Experts, Here is a scenario: I developed ABAP program in BW using multiple DSOs for complex logic. Since I cannot use abap program directly in BO reports, I need to develop a query in BW for my abap program. Is it possible to develop a bex query for BW abap report / transaction in BW? I have limited knowledge on BW and BO. Please help me. Thanks in advance Raghu

    First of all thanks for your suggestion Matthew..!
    As you said, I created virtual info cube based on function module.
    In the info cube, I defined (4)dimensions and (1)key figure.
    In the fucntion module, appropriate below parameters defined and code written for the data table (e_t_data)
    CALL ZFM_XXXXXXX 
    EXPORTING   
    i_infoprov =                " Name of InfoProvider   
    i_th_sfc =                  " rsdri_th_sfc: List of Characteristics    
    i_th_sfk =                  " rsdri_th_sfk: List of Key Figures
    *   i_t_range =                 " rsdri_t_range: Range List
    *   i_tx_rangetab =             " rsdri_tx_rangetab: Table from Range List
    *   i_first_call =              " rs_bool       First Call
    *   i_packagesize = 100000      " i             Package Size 
    IMPORTING   
    e_t_data =                  " standard table:  Data Table   
    e_end_of_data =             " rs_bool       :End of Data Reached   
    e_t_msg =                   " rs_t_msg      : BW: Table with Messages
    Test:
    Right click the info cube and choose "displayed data", immediately it triggered above function module.
    when I see the import parameters data,
    no characteristcs data in i_th_sfc. But, key figures has data (1 record) in i_th_sfk.
    Not sure, Did I missed anything? Please help me.
    Thanks in advance

  • How to get the query name from  portal report name

    Hi Experts ,
    I am given a portal report Name and asked to do changes to the queries of that ,so how do i get the query name ,
    Thanks in Advance
    Nitya

    Hi Nithya,
    You can get the technical name by selecting the role in the portal where the report is enclosed you will generally find the report in description then identify the report you are looking then double click on that you will get a window pop-up in that you will have details tab there click on the details the your Query technical name will be displayed.
    EX : zqry_w001 Then replace W with Q and seach in analyser or Designer.
    Regards
    Amar.

  • How do I get the directory name that a class is located in?

    How do I get the directory name that a class is located in? I have a class located under /com/dhcmc and I want to be able to retrieve the "/com/dhcmc" that the class is residing under so that I can then use this directoy name to build a relative path name for the other directories supporting the application such as the images directory etc i.e.
    |---com
    |   \---dhcmc       (my class resides here)
    |       +---images  (supporting app dirs under the class dir)
    |       +---config  (supporting app dirs under the class dir)

    You can try the methods.
    Class.getClassLoader()
    Class.getResourceAsStream()
    Class.getResource()
    You probably wont get the complete directory path, but you might
    be able to load the files relative to your classes directory.

  • How to find bex query name of which dashboard built on?

    How to find bex query name of which dashboard built on?

    Hello,
    When you add a "SAP BW Connection" to you dashboard, you find in the output parameters the query technical name and the query description. you can bind it to the embedded spreedsheet and then use it in yoyr dashboard
    Best regards,
    Mohamed AISSA

  • Running the BEX query from webdynpro ABAP

    Hi Gurus,
    Can someone provide the code for running the BEX query from WDA.
    Thanks,
    David.

    Hi! Do you want to get query results in ABAP or to open excel from browser?

  • How to get the function name in controller class

    Hi experts ,
    I am new to the OAF framework.
    i have created the two functions and bot he the function have the same controller class .i want to capture the function name or function id in the controller class.
    can you please let me know how to get the function id or function name in the controller class.

    Hi apurba,
    Thanks for the quick reply.
    i am trying to get the function name from the FunctionSecurity class,
    However in FunctionSecurity class there is no such method defined as getFunctionName();
    my requirement is ,i have two functions functionA and functionB defined.
    both the function has the same controller class.in controller class ,i need to get the function name ,based on the function name
    i will redirect the page to respective page.
    looking forward for you response.
    appreciate your help
    Thanks,
    KT

  • How to get bex query changes reflected in webi.

    Hi expert,
             I am using sap bex query in WEBI by BICS connection, but I have done some change in bex query, how can I get those changed reflected in webi.
    Many Thanks,

    Hi Zhang,
    Please review following link which would help you to understand the impacts of changes in the BEx Query to associated universes and webi reports.
    http://wiki.scn.sap.com/wiki/display/BOBJ/Impact+of+a+BEx+query+change+to+universes+and+WebI+documents
    Regards,
    Veer

  • How to get fully qualified name for a class with just the class name

    I want to get the fully qualified name of the class at runtime. The only piece of information which I have is the class name.
    I want to create a runtime instance of a class with the class name [Just the class name].
    Is there is any way to achieve this using ClassLoader?
    Could anyone suggest me an idea?
    Cheers,
    Vinn.

    Nope. If you are given "List", will you decide that means "java.util.List" or "java.awt.List"? Of course you could prompt the user to make the decision for you, I suppose. But using a class loader isn't going to make the task any easier.

  • Bex Query- Use of ABAP code in Calculated Keyfigure/formula

    Dear Experts.
    I am wondering if there is any way to use ABAP in the formula editor of the Bex Query desinger.
    I have to build a report with very complex formulas (a lot of key figures, comporations, If then else ) an I think it would be easier to build all then in ABAP.
    So what I am looking for is any kind of user-exit/Badi that allows to calculate a Calculated Key figure/fomula in ABAP with the same data that is availabe in the fomula editor.
    If SAP is not providing this, this is clearlly a must for next releases.
    Thanks a lot and best regards,
    Alfonso.

    Dear Ananda.
    Thnaks for your reply, but could you please extend your answer a little bit more?
    As far as I know, Formula customer exit variables are only called once and they don´t provide the rest of the keyfigures and characteristic use in the drilldown level, so for my needs they are useless.
    Regarding IF-then-else statement in the formula, I already know about it. Actually what I am trying to avoid is to use them. In order to build my query I might need to build really big formulas with a lot of If-then-else, making it quite complex what the formula is doing. This is the reson I want to do it on ABAP.
    Please any other ideas?
    Thanks a lot.

  • How could be delete bex query name those have already transport in bw prd??

    Hello Expert,
    I would like to delet bex query technical name with description those have already transport in bw prd ,
    Beacuse I have to enchanment same name of report. I did copied  and save as different name of dev bex qurey in dev.
    I would like to delete old report name and rename
    so, how could be achieve
    Regards
    Wasem

    Hi Wasem,
    Confirm first your reports are transported to BW PRD,if transported successfully to BW PRD.
    Then manually delete report by open that report in query designer by simple choose delete option from  query menu.It will prompt to collect in a request.Keep in mind do not transport that request to BW PRD.Just delete that request in BW Dev system.
    Regards,
    Rajesh

  • BI BEX Query execution from ABAP into a File w/ Text

    We are currently running BI 2004s and have a requirement from a user to load a file (preferably excel but a csv or txt file would also work) on a server with the results of a BEX Query and they need the format to look exactly like the Bex results including the columns for the char. text that are specified in the Bex query properties.  If we could run this ABAP program in background and foreground - that would be a big plus.
    I have searched and reviewed many of the FM, programs and transactions in this forum to do something like this but the text is always missing.
    Any suggestions (the simpler the better) would be appreciated.
    Thanks,
    SJ

    Sudheer,
    Yes, I did try RSCRM_BAPI.  It looks very promising but the text is not there.  Example - Business area 9160 shows up but the text for it "SAFLEX" does not and this text does show up in BEx.

  • Getting BEx query header data into Xcelsius for line chart Category Labels?

    Hello - Is it possible to get header data from BEx queries into Xcelsius so they can be used for Category Labels in a line chart?
    We have a BEx query that displays 16 weeks of shipment trends by column and text variables are used to display the respective date selection for each of the weeks in the query header but When connecting QaaWs to Xcelsius, the header row does not get displayed.
    When using LiveOffice, the header row seems to come thru with the correct dates for each of the weeks but if you are stacking more than one connection than you will get an extra header row for each connection.
    Are there any tricks to hide a header row in a LiveOffice document?
    Is there anyway to display the header row from QaaWs in Xcelsius?
    Any other work arounds?
    Thanks,
    Derek

    Derek,
    Below are my inputs...
    -->Using QAAWS you will not be able to get the header data, so you will have to maintain header data manually in Xcelsius (Spreadsheet).
    -->Using Live office you will be able to get the header data, and if you are using multiple live office connections, then you need to use cell reference formulas and format the spreadsheet (Xcelsius) as you require.
    -Anil

  • How to get the method names in a class

    hi  friends,
    Could any of you tell me the report or function module  to display all the method names in a given class.
    thanks in advance.
    regards,
    kumar

    Hi Kumar ,
    Open ur class in SE24 transaction ,there is a tab for methods ..
    u'll get the list of methods form there ... n in source u'll get their operative details
    Regards
    Renu

Maybe you are looking for

  • Spry Collapsible Panel Problem with Safari

    Hi my Spry Collapsible Panel looks great in Firefox, Camino, and IE, but the top border, which I am using as a line to divide items in the list, and which I have specified in the CSS page, doesn't show up in Safari and Google Chrome.  Just nothing, a

  • Hp Touchsmart Computer Help for a Chicago Non-profit

    Hello All, Im wondering if someone can point me in a general direction, I work at a non-profit http://www.associationhouse.org/Main/Services.html  and need help with an HP IQ815 Touchsmart Computer with Vista Home.  We have a couple of said Touchsmar

  • XML parser for C 2.0.4

    Can someone from the Oracle xmlteam for the C parser please look at OTN Technical discussion XML parser for C 2.0.2 - LPX-00208 in the OTN XML Discussions? The last part of it is about 2.0.4. Thanks! John Butler

  • Change of account on nokia radio mix

    I am not sure how to change the account on the Nokia radio mix. Tried following the steps mentioned in the manual but unsuccessful. I cant see the account change option on the settings... Please help. Currently I see mu yahoo address in there and I s

  • Wrong info about PCI-4452 on Catalog 2005?

    Hi. I found that on page 254 of Catalog 2005 there's a table where it says that NI PCI-4452 has IEPE conditioning. Is that true? Regards, Daniel Ramírez MSc - Mechanical Engineer Universidad de Concepción