Automatic generate specification of Bex query

Dear Experts
   Does anybody know how to generate a document which include the all of Bex query specific informatin, for example: structure, filter, what's the detailed line under the structure, and what's detailed infoObject restrain under the line, etc
   in the metadata repository, I can not get such detailed information.
thanks in advance

hi Jie,
try to activate trace (ST05) before change the query structure, filter etc, and deactivate after that, and 'display trace' and explore the query tables got from trace list like
RSZELTXREF (field LAYTP = FIX is for filter)
RSZELTDIR (field DEFTP = STR for structure)
RSZSELECT RSZRANGE RSZCALC
RSZCEL RSZELTPRIO RSZELTTXT
RSZELTATTR RSZCOMPDIR
hope this helps.

Similar Messages

  • Programmatically refreshing an LOV automatically generated in an af:query

    Hello,
    I am using 11.1.1.6.
    I have created a VO with LoVs created on two of the attributes, linked to view accessors. I also created a ViewCriteria which was used to create the af:query panel.
    The LoVs were created using the choice list option type and show a list of query options on the query panel.
    This query panel works fine. The problem is that another page allows the user to create and delete items from the list of query options. When the apply those changes, the query panel
    does not get refreshed and the user is allowed to choose values from the LoV that were just deleted.
    Is there a way to programmatically "reload" the af:query panel such that the ViewAccessor that is responsible for the LoV list is rerun and the LoV values are refreshed?
    Thank you!

    Hi,
    Do you found a solution for that problem, I'm looking to do the same as you. I created a button to update the ViewObject by a function in the shared AM when i click on the button some LOV is refreshing but not the LOV in the af:query even if i put a poll to update the af:query.
    If you have some idea, thanks for sharing,
    Nico

  • BEx Query MDX code

    Hi,
    please could you tell me how can I retrieve the MDX code generated by a BEx query? Is there any command in the Query Designer or Analyzer that allow you to see the script used by the query to extract data from DB?
    Thank you!

    Hi
    We have some reference material in the SAP library in additional development technologies
    Check
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d9/ed8c3c59021315e10000000a114084/frameset.htm
    Bye

  • BICS - Passing variables to a BEx Query

    Hi Experts,
    We are currently developing dasboards in Dashboard Design (XCelsius) using BICS. Since we want to leverage the 'create once, reuse many times' principle, we would like to populate our (data intensive) dashboard using 8 connections that fill out different values in one and the same BEx Query. The results (8 crosstabs) will be put in our embedded sheet on 4 different tabs.
    All data has to be refreshed before components are loaded (so this option is set for all connections).
    Furthermore, we set the 8 connections with the following parameters:
    [definiton tab].[input values].[variables].[BEx variable] > link to a cell containing tech name of input value
    [definition tab].[input values].[filters].[key figures] > link to a cell containing the tech name of the key figure we want to display in the crosstabs.
    Now, we are facing 2 problems:
    1. The variables are not automatically passed to the BEx query (we see a BEx web variable input screen on launch)
    2. The key figures are not filtered (we did set the tech key i.e. 8KPM8AAGH55L3ONGZC0Y27FBG)
    Does anyone have similar experiences, using BICS and (ideally) found a solution yet? I'd like to avoid creating 8 different BEx queries to solve this. Thank you in advance!
    KR, Bart Santing

    Hi,
    You have to map the excel cell to the exact keyfigure or vriable.
    For example.
    I have two filters in my BEx Query. Calendar Year & Country
    For mapping these filters expand the ==>Filters in Data Manager of xCelsius. Then you can see Calendar Year and Country. Map Calendar Year to an excel cell as well as map the country to another excel cell.
    Do this same for variable also.
    Thanks,
    Ajish George

  • Bex Query generated code hack

    Hi SDN,
    Is it possible to manipulate characteristic values based on the key figure values in BEX Query output. Is that hack possible to control the query generated code at all?..
    per say  i have query out put like this (in a very simplified version)
    Material  customer  Quantity customer_pcount
    M1             C1                100          1
    M2             C2                150          0
    when  customer_pcount = 0 related customer value  need to be blank.
    Out put should look like this:
    Material  customer  Quantity customer_pcount
    M1             C1                100          1
    M2                                150          0
    thanks

    Hi deepu,
    Thanks for the reply :
    If I have VBA code in Bex will it reflect the same changes when query published in portal??

  • Designer is slow when generating a new universe based on a BEX query

    Hi
    When we generate a universe on the basis of a BEX query, so it may take up to 30 minutes before we have a universe.
    Regards,
    Rikke

    Hi,
    could you setup the tracing on the client with the Universe Designer and post a link that as the file for download ?
    you can follow the note here for the tracing details:
    Windows : Note 1260004
    also make sure that the client is on the same fixpack level as the backend
    Ingo

  • How to Generate a MDX statement using a BEX query

    Hello,
    Is there any possiblity in BW to generate a MDX statement using a BEx query?
    Thanks,
    Ravi

    BW does not generate any MDX statement for Bex query.I have tried ample number of times to acheive this but failed.
    Like an Infocube the Query is also an object where in you can write MDX queries on BEx Queries.
    As it is I never found BW rendering MDX queries.But with MDX queries you can get something but how far it helps I don't know.
    RSCRM_BAPI is obsolete and it is recommended to use RSCRM_REPORT somewhere I have read ,but when I went to that transaction I never found that "MDX" button at all.
    It was converted to "OLAP Check" which gave me some warning on the key figures and that's it.
    Somehow I feel BW is not comfortable with MDX.
    Regs
    Gopi

  • How to not Automatically Execute a BEX Query in CRM 7.0

    We have configured a Bex Query (Template 7.x) to be executed in the Customer Interaction Center (CRM 7.0) and when we run it the report runs wide open without any user input. Does anyone know how we can force the variable screen to be displayed so the user can enter the desired selection criteria? If I open up the report using the BI URL it behaves as desired, but when it in rendered as a BI Report in CRM it runs wide open. Any help would be much appreciated.

    Hello,
    Please check the web template properties and select the show variable screen option. It should work fine after this.
    BR,
    Michael

  • Bex Query - Specific calculation in query result

    Hi experts!
    I've received a requirement and I cannot find any way to delivery it using the stantard operation or configuration into Bex Query.
    We have a query which have three KF with summarization in result. The new requirement is based in the KF "POND" to change the calculation in the result. Below are the actual result and the expected result.
    The actual query result.
    Line
    OP
    QTD
    TMP
    POND
    A1
    1614073
    702
    19
    13338
    Total A
    702
    19
    13338
    B1
    1587949
    840
    235
    197400
    B2
    1610938
    4.240
    28
    118720
    Total B
    5.080
    263
    316120
    Total A + B
    5.782
    282
    329458
    The expect result based on the new requerment
    Linha
    Ordem de Produção
    QTD
    TMP
    POND
    A1
    1614073
    702
    19
    13338
    Total A
    702
    19
    19
    B1
    1587949
    840
    235
    197400
    B2
    1610938
    4.240
    28
    118720
    Total B
    5.080
    263
    62
    TOTAL A + B
    5.782
    282
    57
    Check out the "Total A" result for KF "POND", the new calculation is the sum of KF "POND" divided by the sum of KF "QTD" (13338 / 702 = 19)
    The same to "Total B" result for KF "POND", the calculation is the sum of "POND" divided by sum of KF "QTD" ( (197400 + 118720) / (840 + 4240) = 62).
    I've been using all recourses into Bex query, but I've haven't found any way to deliver this requirement, though.
    I'd really appreciate if anyone could give me some suggestion to deliver this requirement.
    Thank you.
    César Sevilha.

    Hi Suman!
    Thanks for your replay.
    The collision options wont help me because I have calculation on the same structure.
    I need to keep the division POND by QTD in the result. Check out the table below.
    The Formula Bex Query (POND / QTD) is a simple division between  KF POND by KF QTD, the result
    is a totalization of lines A and B.
    The requirement is to keep this division on the result. Check out the column Requirement, this is the result expected.
      Line
      OP
      QTD
      POND
    Formula
    Bex Query (POND / QTD)
    Requirement
    A1
    1614073
    702 KG
    13.338 KG
    19 KG
    19 KG
    Total A
    Result
    702 KG
    13.338 KG
    19 KG
    19 KG
    result (POND) divided by result (QTD)
    B1
    1587949
    848 KG
    197.400 KG
    233 KG
    233 KG
    B2
    1610938
    4.318 KG
    118.720 KG
    27 KG
    27 KG
    Total B
    Result
    5.167 KG
    316.120 KG
    260 KG
    61 KG
    result (POND) divided by result (QTD)
    Total A + B
    Result
    5.869 KG
    329.458 KG
    279 KG
    56 KG
    result (POND) divided by result (QTD)
    I'd like to know how to keep the division in the result.
    Example:
    The result of Total B should be 61 kg which is the result of division between the result of KF POND (316.120) by the result of QTD (5167).The currently formula has as result the totalization  of B1 and B2.
    Thank you in advance.
    César Sevilha.

  • No data in WEBI report - but plenty of data in the underlying Bex query...

    HI all - I have a problem with my webi queries - which are sometimes breaking...
    We run in the XI 3.1 ans SAP int, kit - SP 2 on both.
    Sometimes af perfectly well functioning webi report suddenly returns no values - stating that the query didn't find anything. However - if I run the bex query with the same selections I get plenty of data. So there is data. Therefore it might be a Int. kit problem - however, when I bulid a new webi report - similar to the first one, with same dimensions etc. but without all the formatting - It runs fine too!!!!
    So it seems like somehow the original webireport has lost the connection to the measueres which it holds - has anyone any idea to what the cause might be and how to fix it?
    By the way - I havre refreshed the Universe and there is nothing to update.
    BR
    Jess

    Hi Ingo - the MDX statement from the MDX trace - does not yield any data - However, if I make a similar selection in the BEX, there i data avaiable - so it might be a problem with the how the MDX statement is generated.
    I've trouble shooted further and my learnings are so far:
    The problem is caused by a combination of 5 dimensions
    If you remove either one of the 5 dimensions - the query returnsdata
    If you add a specific meausure (a restricted bex key figure) - data is also returned - also in the other measures.
    The MDX statement looks like this:
    SELECT  { [Measures].[D6ZWIC1Q7MOA2YCJM1LAPRQNG], [Measures].[D6ZWIC1Q7MPTG70294GIUMJ70], [Measures].[D6ZWIC1Q7NGQDWFMH0MZ7LEP8], [Measures].[D6ZWIC1Q7NI9R53543I7CG78S], [Measures].[D6ZWIC1Q7NWVQXAK7CQUMKQEK], [Measures].[D6ZWIC1Q7NYF45Y2UFM2RFIY4] }  ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [0CALMONTH2].[LEVEL01].MEMBERS, [0REPTT].[LEVEL01].MEMBERS ), [0EMPLSGROUP].[LEVEL01].MEMBERS ), [0PAYSCALEAR].[LEVEL01].MEMBERS ), [0ORGUNIT].[LEVEL01].MEMBERS ), [ZBOORGUNT                     ORGEH                         01].[LEVEL00].MEMBERS ) ON ROWS FROM [ZMPHPTGL1/ZDQHPTMN1] SAP VARIABLES [0P_CALMO] INCLUDING [0CALMONTH2].[12] [0P_CALYE] INCLUDING [0CALYEAR].[2009]
    Where all the measures in fact are restricted keyfigures from the Bex query. The dimensions are business content characteristics, as are the variables used.
    The above MDX statement returns nothing - but if you remover either one of the dimensions in the cross joins - the expected data is returned.
    Any ideas to why that happens?
    BR
    Jess

  • BEx Query via ABAP Programm (without Querydesigner) ???

    hello friends,
    is there anybody who knows a solution to gernerate a BEx Query without using the BEx Querydesigner, with ABAP coding, only!? I´m looking for a solution, whre f.e. the customer selected character, keyfigures and selections in an external applikation (maybe ms excel) and from there an ABAP programm takes the information and generate a BEx Query?
    I´m not sure if these considerations could be come reality, but maybe there is a solution, or some ideas and input from your side!?
    thx...

    hi anass,
    thx for your reply. Yes i know this feature, but this isn´t a solution for my tasks. Becaus I need a "regular" query at the end of the process, which i can implement in an WAD template. and on top I need the queries for BW IP planning applications, so the tool must generate planning queries with input ready cells.
    I think these facts and many many side effects like variables, hierachies, structuredefinions and so on, will destroy my "dreams" of such a 'query-generating-tool'. probably a very easy query will be a problem for automatic generation, because there are many sap tables where the queryinformation will be stored, with id references, and so on...
    br david

  • Two problmes between  Crystal Reports 2008 and Bex Query

    Hi Gurus.
    I have two problems with Crystal Reports 2008 when It obtains data from a Bex Query (SAP MDX query connection).
    1)     I have defined some Parameters Fields using the follow options:
    Type: String
    List of Values: Dynamic
    Value Options Level1:
                         Show on (Viewer) Panel :Editable
                          Prompt text: <text>
                          Sort Order: Ascending by value
                          Prompt With description Only : False
                          Optional Prompt: True
                          Allow multiple values: True
                          Allow discrete values: True
                          Allow range values: False
    When I execute the report with the client of Crystal Reports 2008 (the developer tool), in the initial screen shows a list box where I can select the values from the left box and add it to the left box (as a usually filter). When the number of options (LOV) is more than  the maximum of the system, I have a input box bellow the list box, where I can insert any value (manually) and a button to insert it into the left box. When I publish the Report in the infoview, this filter is modified and the input box where I can introduce manually values is not showed and I can insert only the values showed in the list box, it causes that I can`t select a lot of values that is in the master data of SAP BW, because they arenu2019t listed in the list box.
    There is any option to ability this option in the infoview.
    2)     My Bex query, have a date filter with variable in the restricted key figures, when I execute a Crystal Reports, the infoview (and the Crystal Reports 2008 designer) ask me 2 times the same date, first only the date and second the date and the rest of parameters (introduced in the report of Crystal Reports).
    Why I need insert the date 2 times? How can I modify the Crystal Report for ask me only one time all the parameters?.
    Thanks.

    Hi Abhilash.
    Thank you for your information.
    1) Yes, the parameters are created in the Crystal Reports designer. I have created the parameters in the Crystal Report because I use the same Bex Query to create some Crystal Report, in other case, I will need create some Bex Query.
    2)The Bex query has the date filters and I have created some filters in Crystal Reports designer, the date filter from the Bex query is created automatically in the Crystal Report Designer but I don't use it, I haven't created it anytime. I use my filters only in the record selection. The date filters from the Bex query is showed as Static, and I can`t delete it, if I modify the parameter to dynamic or static with values, at first step ask me again static without values and the second step of the report execution ask me the parameter as I have defined in Crystal Reports Designer, my parameters fields are dynamic. A lot of reports have subreport, but I have created one of them without subreport (to trial) and the Crystal Reports ask me the date filters at first execution, and when I insert the date filters, in the second step, ask me the date filters again and my parameters fields again.
    Thank you again.

  • Problem with Queries Structures in Bex Query Designer and Universe Designer

    Hi everyone,
    I have a problem when i try to do a Universe from a Bex Query Designer.
    When I use a Characteristic Restrictions in a Structure, the universe only show me the structure without the objects inside it.
    EJ:
    1) Bex Query Designer
    Colunms
    (Structure) ZSRT_123
                          - (Characteristic Restrictions) Reg Guayana
    >          (InfoObject)     0Product = 'XXX'
    >          (InfoObject)     0Country = 'YYY'
         - (Characteristic Restrictions) Reg Caracas
    >          (InfoObject)     0Product = 'AAA'
    >          (InfoObject)     0Country = 'BBB'
    Rows
    (Structure) ZSRT_456
                   (Key Figure)     Net Sales
    2) Universe designer
    (Class) ZSRT_456
    >(Measure)      Net Sale
    (Class)     ZSRT_123
    >(Dimension)      ZSRT_123
    The universe dont translate the two Characteristic Restrictions in the structure ZSRT_123.
    Any information would be much appreciated. Thank you.

    Hi,
    I assume that you are using BOE XI 3.1 SP2.
    We have added an option in SP2 to generate or not the L00 level.
    Unfortunately this option applies not only on characteristics but also on hierarchies, hierarchies variables and structures: that's the reason why you have no elements belonging to the structure generated.
    I recommend to always generate L00 in order to have your structure generated correctly.
    This issue will be fixed in SP3.
    Regards,
    Didier

  • Condition (Defintion) in BEX Query Designer

    Hi Experts,
      I am trying to define a condition in BEX Query Designer.
    I defined my condition and bit confused with Characterstic Assignment
    What Happens if is select 9What is the difference)
    1) All Characterstic in the Drilldown Independtly
    2)Most Detailed  Characterstic Along the Rows
    3)Most Detailed Characterstic Along Columns and
    4)Individual Chars and Chars.Combinations
    Thanks

    Hi,
    <b>● All Characteristics in the Drilldown Independently</b>
    This setting allows you to apply a condition in a general way. Depending on which characteristics you use in the drilldown, you obtain different results.
    Note that the characteristics that are already used in an active condition for characteristic combinations are not included.
    This option is optimized for ranked list conditions, but can also be used for threshold value conditions with relative values.
    <b>●Most Detailed Characteristic Along the Rows or Columns</b>
    This option is optimized for threshold value conditions. The condition is applied to the most detailed characteristic of the rows or columns.
    Note that this function is not supported when executing the query in the BEx Analyzer. For more information, see Restrictions in the BEx Analyzer.
    <b>● Single Characteristics and Characteristic Combinations</b>
    This setting allows you to evaluate the condition for characteristics or characteristic combinations defined for specific drilldowns only. You can select any characteristic (of the characteristics used in the query in rows, columns, or in the free characteristics) or a characteristic combination.
    ○       If you only want to evaluate the condition when a certain characteristic is present in the drilldown, select this characteristic.
    ○       If you want to evaluate the condition for characteristic combinations, select multiple characteristics.
    Source:
    help.sap.com
    For more information and examples please check the following link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/73/702e39074dc93de10000000a114084/frameset.htm
    Hope it helps.

  • Short dump in report generation for bex query

    Hi,
    I have e newly installed SAP NetWeaver 7.3 and I'm not able to run BEx-Queries. When I start transaction RSRT and try to generate the report for the selected bex query, I get the following short dump:
    Category               ABAP Programming Error
    Runtime Errors         RAISE_EXCEPTION
    ABAP Program           SAPLRRSI
    Application Component  BW-BEX-OT
    If I start the test in RSRV for that query I get:
    Generation limits for the generated report
    Unable to load report GPEM3XZBL2Y9VX9H6SN
    Am I missing a profile parameter for that generartion limits or something else?
    Thanks in advance!

    Hi,
    Check whether your SAP GUI is activated and installed correctly.
    check following threads
    Runtime error RAISE_EXCEPTION has occurred
    Dump when activating Business Content 7.35
    Thanks and regards
    Kiran

Maybe you are looking for

  • Can Credit Memo be booked against an Invoice?

    While raising a Credit Memo is it possible to refer or link the Credit memo being raised to the Invoice?

  • Airport Express gives heavy 'rumble' on hifi-amplifier, but not on headphone

    The Airport Express gives a good sound connected with a headphone or a set of speakers. But when I connect it to the aux-port of my hifi-amplifier I get a heavy 'rumble' or crunchy sound. Very weak I can hear the music. Direct connection of the Ipod

  • Add Dashboard to report.

    Hi, I want to add dashboard to my report program is it possible  in R3?? Thanks.

  • SISO OFDM TDD Example not working

    I was trying to use SISO OFDM example. But to surprise Its not working in both the two cases:- 1. Loopback over air (.GVI gives no error but VLC is not receiving ant stream) 2 No loopback : An error is returned on turning on the Base station:- The mo

  • Adobe Illustrator: High Performance Build Testing

    The Adobe Illustrator team is experimenting with technology that enables extremely fast rendering of Illustrator artwork. This provides significant improvements in zooming and panning artwork in Illustrator. The team is looking for volunteers to test