BEx Query and BAPI RSR_OLAP_BADI

Implemented the badi so that Virtual Key Figure could be populated.  (Cube does not have std cost, so it's defined as VKF.  Std cost resides in custom table.  By providing Material number from query it could be retrieved thru BADI.)
Unfortunately, cube is cumulative, thus in badi I need to pass 'I_NCUM' as 'X'.  I am unable to do so, as parameter I_NCUM is not changeable.  I may have to implement it differently.  Do not know how.  Any help would be appreciated.
Thank you

Hi,
   You could use a formula variable directly in the query. Create it of type customer exit and then code it to retrieve the standard cost.
Regards.

Similar Messages

  • Future of BEx Query and BEx Query Designer

    Folks, I understand SAP's future reporting tools is BO suite. All of us need to move to the new tools which are better or more reliable in 2010. Meanwhile our customers are reluctant to use BEx tools for any new development. Being on the techi side I dont see how BEx Query will be replaced by Voyager or Polestar or WebI or Crystal. I just need to report on my multiprovider without a universe layer. Have any of you experts come across documentation that layed out future of BEx tools explaining the end of support period? I have see roadmaps for tool availability but no dates for end of support.
    Thanks in advance.

    AFAIK,
    Bex Query designer and BEx query will continue... Polestar might be proposed as an alternative for BEx but then it is meant for ad-hoc analysis ... but BEx query and Query designer have specific query requirements also...
    Voyager etc will start coming in...

  • I need to know the user who has created/modified a SAP Bex Query and WAD

    Hi!
    I need to know the user who has created and modified a SAP Bex Query and SAP  Web Application Designer. Does it possible to know this information by a table or view?
    Best Regards
    Ramon Sanchez

    Hi,
    In BEx query, when you click "Queries" to open the query, the list of queries are displayed. Highlight the query, click on the "Properties On/Off' icon(right most on the top), you would see all the details.
    In WAD, before opening the template, click on "Properties On/Off'" icon to see the details.

  • BW Bex query and Webi question

    Hi All.
    Just a quick question on Bex queries. We are selecting a Bex query as a source for universe. However on the webi side we only want to see a subset of the data.
    1) The question is Would this rerun the entire BEX query on the BW side ? Or is there a better way to design the universe ?
    2) Also are there any best practices on how to desing Webi reports from BW BEX queries and also Infocubes etc ?
    Thanks in advance.

    Hi puneet,
    The WebI builds a query on the BEx results. The query is related only to those items used in the WebI report. However, the BEx query must have the results in it, as the WebI does not execute it. I am not aware of a best practices document.
    Regards
    Alan

  • Query related to BEx query and web template migration

    Hi,
    We are upgrading our BW system from BW 3.5 to 7.3 and also planning to migrate the existing BEx 3.X queries and web templates to BEx 7.x version.
    We have BEx queries and web templates published on enterprise portal in roles.
    My query is that after we migrate BEx 3.5 queries and web templates to new version, do we need to re-publish these (migrated) queries and web templates on the portal or users will be able to access the reports without any issues.
    or are there any post migration steps that we need to follow so that reports (with migrated version) are available to the end users through portal as before.
    Thanks,
    Tarun.

    Hi,
    We are upgrading our BW system from BW 3.5 to 7.3 and also planning to migrate the existing BEx 3.X queries and web templates to BEx 7.x version.
    We have BEx queries and web templates published on enterprise portal in roles.
    My query is that after we migrate BEx 3.5 queries and web templates to new version, do we need to re-publish these (migrated) queries and web templates on the portal or users will be able to access the reports without any issues.
    or are there any post migration steps that we need to follow so that reports (with migrated version) are available to the end users through portal as before.
    Thanks,
    Tarun.

  • Bex query and tranport of copies

    Hi All,
    I would like to transport some Bex queries from the <b>production</b> system to the <b>developpement</b> system. In other words, i wd like to copy the prod queries on the developpement system.
    It seems that is possible with a <b>transport of copie</b> process.
    Can you give me please the procedure or explain me the way to do.
    Thank you in advance
    Message was edited by:
            Pontoise Pontoise

    Hi,
          you can transport the queries in transport connection.
    there u ll find options "Bex requests and development classes" of transporting of querieequests.

  • Function Module to Execute BEx Query and Save as work book.

    Hi
    I have a requirement for executing the Query after the data is loaded into the cube and save as Workbook and emailing to the user. Is there any Function module to Execute the Query and saving as Work book? . Please suggest me the way how to approach the problem.
    Thanks for your help in advance.

    Hi,
    It is possible to execute the Query and send the result as workbook vial email to the user.
    For that use should use Information Broadcaster.
    Steps:
    1. Goto information broadcaster.
    2. Choose object type as "Query"
    3.Click create new setting.
    4. Give description and choose distribution type as "Broadcast E-mail"
    5.Choose output format "XML(MS Excel)
    6.In recipient tab Give valid e-mail addres which you want to send.
    7.Save it. and give technical name
    8.Click schedule.
    9.choose "Execution with Data Change in the InfoProvider " correspondig infoprovider will be shown (check the check box)
    10. that's it. whenever data loaded in your infocube, it will be automatically executed and send to user mail.
    <removed> if u want more information let me know.
    Regards,
    Senthil Kumar.P

  • Delete the link between the BEx Query and workbook

    Hi Experts,
    I have a workbook it contains 6 querirs, now i want to delete both.
    insteated of delete the first queries in workbook, i deleted directly workbook.
    now its not allowing me to delete queries.
    i think internally it will maintain a link in some table and there was a programme to delete that link between the queries and workbooks.
    Please let me know the programme name which we can delete the links between the queries and workbooks.
    Thanks,
    Babu

    Before even going for changing the table entries.
    You can go to query and do "Where used" list if it refers only to the same workbook(which you deleted) then it may be inconsistency.
    But the chances are the query is used in workbook or WAD etc and is present in someone else's favorites so that would make the workbook void.

  • Can I precalculate a BEx query and email the results as an attachment?

    We are on BW 3.5, currently pulling data from R/3 4.6C (but upgrading to ECC 6.0 in mid-July). I have been successful (once, once I was able to talk my email administrator into letting a  .js file through) in sending an email, but the results are in HTML in the body of the email.  I need to send the results as an Excel spreadsheet attachment.  From all of the SAP documentation I've read, it seems this should be possible, but I haven't been able to make it happen. It seems to ignore the setting in the Broadcast scheduling screen. I've tried it with both "Execute" and time-based scheduling.
    Many thanks for any documentation, pointers, or magic tricks.

    Hi,
    This can be done via Information Broadcasting.
    Pls check
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/359840dfa5a160e10000000a1550b0/frameset.htm
    For Bi 7
    http://help.sap.com/saphelp_nw70/helpdata/en/a5/359840dfa5a160e10000000a1550b0/frameset.htm
    Eddy
    PS. Reward useful answers and earn points yourself

  • Problem with bex query listing sales "this month" and "same month last year

    Hi,
    I've created a query in BW BEx, where I have a mandatory variable for 0calmonth, and I list 0material and sales (in volume, liter). And I have a restricted key figure giving me sales (volume in liter) restricted with 0calmonth = variable - 12, to give me the sale for the same month the user select, previous year.
    This seems to be working, the sum is correct, but when adding up the number for the sales in the month previous year, the numbers does not fit the sum in the end.
    I think the report only lists materials with sales the month selected in the variable, if a material has not been sold that month, but in the same month last year, it's not listed in the reports, but it's added in the sum in the end.
    Example.
    We have three records like this:
    material - calmonth - volume
    101 - 01.2010 - 5
    101 - 01.2011 - 8
    201 - 01.2010 - 7
    The report will give the following (calmonth variable = 01.2011)
    Material - volume this month - volume same month last year
    101 - 8 - 5
    Sum 8 - 12
    Any way to solve this issue? We noticed because we run BO - Webi on top of the BEx query, and BO sum's the values per material, and in webi the report would give us the sum 8 and 5.
    Any input is appreciated.
    Regards,
    Øystein

    Hi,
    thanks for your reply.
    The error is that the report only seems to list materials that has been sold "this month", and if the same material was sold the same month last year, it will also list the volume for this.
    But if the material is only sold in the same month last year, it's not listed in the report, but it's calculated into the sum at the end.
    The report is listing material, which is why the error presents itself, as you said
    Getting 8 minus 12 is correct unless you drill down by material. In that case, it should be 8 minus 5 and 0 minus 7.
    The row with 0 - 7 is not shown, and my guess is that the report will only list materials that has sales this month (which has been selected in the variable)
    Regards,
    Øystein
    Edited by: Oystein Gundersen on Mar 21, 2011 4:36 PM

  • Error message when connecting to Bex Query in WebI

    Hi all,
    I've a Bex Query and I created a universe on top of that Query. I selected few characteristics and one keyfigure in WebI to build a report. When I ran the query I'm getting a error message as below :
    A database error occured. The database error text is: Failed to execute MDX Query. Reason : Error occured when starting the parser: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'. (WIS 10901)

    Hello John:
    I realize you are using webi, but a similar error is documented for Crystal Reports in the following KB:
    [1369523 - Crystal Reports and SAP BW -- 'Database Connector Error: BAPI Error #:0' |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333333363339333533323333%7D.do]
    See if the troubleshooting tip there helps.
    - Ludek

  • GetCellData error in WebI to SAP BEx Query

    Hi all,
    We have  multicube with a BeX query and and universe. We have created roles with authorizations and restrict users on Retun Line and Business Unit. We have created the authorization variables in the BeX query on Return Line and on Business Unit.
    When we create a query only using Return Line, the authorization works and returns the correct result. When we use only Business Unit we got no results which is incorrect, but when we use a query in Webi with both Return Line and Business Unit we get the following error:
    "A database error occured. The database error text is: Error in MDDataSetBW.GetCellData. See RFC trace file or SAP system log for more details. (WIS 10901)"
    Any ideas where the issue can be? We have double checked the authorizations in BW and they seem fine. We have also assigned ALL BU's on Business Unit in so not to restrict anything.
    Any help would be appreciated.
    Jacques

    Hi Ingo,
    We are still having issues with the authorizations. I think this is where the root of all evil is...
    My account has SAP_ALL so I can run eveything just fine.
    An account has been created to test against... XUSER. This user belongs to roles, ZCBW_BARTN_100 to restrict data on the Return, ZCBW_BUPC_B00000 to restrict data in Business Unit and Profit Centre, and a 3rd role ZFBW_GEN_BU_ENDUSER that is used for general authorisations for the user - I think.
    When the report is refreshed an error is raised: Failed to retrieve data form the database.... Database Error:'BAPI error #: 0. Unknown error when executing MDX.' When I remove ZFBW_GEN_BU_ENDUSER from XUSER, Crystal 2008 raises and error in the line of "XUSER has no RFC authorization for function group SYST. So this is leading me to think the issue is in the setup of this ZFBW_GEN_BU_ENDUSER role and certain access/autthorization has been removed preventing the user from executing the MDX via BOBJ correctly.
    When one has a user account, what is the minimum authorization needed in a role to be able to execute queries from BOBJ using the MDX drivers? I think this may resolve the issue as the guys here have really locked down on a lot of stuff.
    Thanks
    Jacques

  • No data in Crystal report created on SAP BW BEx Query

    Hi Experts,
    I am trying to create a Crystal report on top of a BW query. I am able to login to the BW system and open the BEx query and the objects are coming into the crystal report.
    But when I drag and drop some objects into the details area and try to preview sample - it does not show any data (it shows accessing database but doesnt bring any data)
    I copied the generated SQL query in to the section in the BW system in transaction code 'MDXTEST' and it runs correctly and shows me the result below there.
    Just to try - I unchecked 'Use MDX..' check box by following the path SAP->Settings to check if that could bring back data ... and YES that worked which means data is not coming from the BW query with MDX connection but when MDX seems to be fine and retrieve result when I run the sql statement in tcode MDXTEST.
    Also when I do preview samples - I can see in SM50 in BW system that it is trying to run the report just that I am not able to see any data in my crystal report.
    Any help in this regards would be greatly appreciated.
    Thanks in advance.
    Regards,
    Sunny

    Hello
    The order of display of attributes in Webi and Crystal report would be different.
    Collapse the infoobject and skim through the attributes, you should be able to find them.
    Vishal

  • Adding New Fields to a BEx Query does not show up in the CR field explorer

    This could be a silly question.
    I have a CR report based on a BEx query.  I had to add a couple of new fields to the BEx query, and when i want to add those fields to the CR report, I don't see them even after I do a refresh in the field explorer. 
    How do i see this new fields in the CR report?
    Help Please
    Thanks

    Hi,
    you can open the report and go to the menu Database > Verify Database.
    that should add the new fields to the list of fields in CR
    Ingo

  • Bex Query not passing blank columns to crystal reports

    good morning ladies and gentleman,
    i have created a bex query that shows all employees from the master data table and links to the cats table to show absence hours...
    in bex, all employees are showing and some of the employees have hours showing for sick time. very good...
    i have created a report in crystal with this bex query and it does not show rows from the master data that do not have a link to the cats table. only the rows that have a link to the cats table are showing up.
    the reason i need the master data from the employee table is that the users want to divide the total hours off(sick time) per department by the total employees in that department.
    i have tried to create a formula that will add 1 to the hours sick field, then all the rows should have a amount in it. but, it still does not show the employees who do not have sick time.
    here is the sql query from crystal.
    SELECT {[Measures].[4J8L2TQJ3P517ISQ1R4Y8UZ36], [Measures].[4J9PY3UANRIW2HW15YSOED92A], [Measures].[4J9TLIO0NDQROSA2YONCW6HB6]}
    ON COLUMNS, 
    NON EMPTY
    CROSSJOIN([0EMPLOYEE].[LEVEL01].MEMBERS, [0EMPLOYEE__0COMP_CODE].[LEVEL01].MEMBERS)
    DIMENSION PROPERTIES [0EMPLOYEE].[50COMP_CODE], [0EMPLOYEE].[50MAST_CCTR] ON ROWS
    FROM [ZCATS_MC1/ZZCATS_MC1_Q001C]
    SAP VARIABLES [0I_DAYS] INCLUDING [0CALDAY].[20100502] : [0CALDAY].[20100903]
    this is kind of an emergency and i have been working on this for two days and cannot come to a resolution.
    if anyone can help, i would appreciate it.
    i am guessing that there is a option somewhere that will allow blank records to show.
    please help.
    thanks,
    erik

    miss stated the issue. created new note.

Maybe you are looking for

  • Open .psd in FW CS3 and maintain paths?

    I have a .psd file that when I open in FW CS3 it maintains all the layers just fine, but when I go to click on an object like a box it just shows as a bitmap rather than a path. So I can't edit the color or size. Any workaround? thanks much, Justin

  • Sharepoint web part Page Load issue

    Hi ,  We are developing Sharepoint 2013 Integration application, We are fetching the data from third party application and dumping data into sharepoint List for offline analysis. Synchronization steps 1) fetch data from third party application 2) del

  • Acrobat 9 Professional Import Annotation failed

    Hi guys, I am using Acrobat 9 professional to import annotations from different pdfs to another pdf. However for a certain PDF comments are not being imported at all.  I only get a message saying that "No Comments were Imported" . The file is not rea

  • How to change the posting period !

    Hello everyone I get the problem with posting period. I ready open the posting period for 2014.  The posting periods should be set per month and have erroneously been defined as per year. I ready follow the guide, but it is only successful in my test

  • How do i get windows7 to recognize my mouse ands keyboard

    i made a windowspartition on a iMac. I installed the windowshelpfiles, but now windows doesn't recognize my mouse and keyboard. Not the usb-mouse and keyboard and neither the wireless apple-keyboard en trackpad. Any suggestions that give me a chance