Multiple Structures in a Query - Is it possible?

We would like to create two structures that will be used to group two characteristics in the rows. Each structure would contain two selections. In the columns, we have a single key figure of value. In the rows, we have a structure that groups one characteristics (i.e. storage location) into two groups - 'held for blankets' and 'non blankets'. We would like to create another structure containing a special grouping on another characteristic with select Material codes, such as 'strategic materials' and 'non strategic'. We would like to have them in two structures so that we can do analysis on the intersection of the two groups. Can this be done? Query Designer does not seem to allow a second structure.

David,
In query we can have maximum of two structures.one in coulumns,one in rows or both in columns or rows.
A characteristic can't be included in a KF structure and a KF can'be included in a characteristic structure...
It can't be two KF structures.it can be two Characterstics Structure or one KYF Strycture and one CHAR Structure.
Hope it helps.
Thanks
Mona

Similar Messages

  • APD using Query with multiple structures as a data source

    All,
    I want to set up an automatic process which executes a query and exports it to a shared drive as a csv file. I have tried various options , when I try to use APD to set up the extract, I get an error and this is because the query that I am trying to use has Strucutres in both rows and columns. Hence, I am unable to use this option. I tried RSCRM_BAPI, It works well, but there is an issue with scheduling this in Process chain. I created an event and scheduled this as a job to trigger after "event" as per SAP instructions, but the job does not exist and it is not possible to trigger it through the Process chain unless the variables are hard coded in the query which I do not want to do.
    Can any one tell me if there is a way to deal with APD using Query with multiple structures?
    Would really appreciate if some one can give me the right solution...
    Thanks

    Hi Tanu ,
    APD is an option but its not very good with large amount of data or hiearachies or if you have attributes in you query structure .
    One more option for this requirement is use of report program using function module RRW3_GET_QUERY_VIEW_DATA .
    This will work fine with multiple structure etc .
    There are some overheads with this FM  ex: if amount of data is too much then program will give dump .Solution for that is we call the FM in LOOP by diving amount of data need to be fetched .ex:  we can read data quarter wise.
    For using this function module what you can do is write an ABAP program (At SE38 ) .which will call this FM and then write the output into a flat file which you can save at application server (AL11) .From there other system can read it .
    To automate this whole process you can further add all the report programs into a process chain (RSPC) which can be schedule as per requirement .
    To pass input parameters you can use variants that will pass the values to the report .
    Check thi link for sample code :
    [http://www.tricktresor.de/content/index.php?navID=696&aID=496]
    Hope this will be helpful .
    Regards,
    Jaya Tiwari

  • Is it possible LSMW recording method using multiple structures

    Hi,
    can any body tell me, is it possible LSMW recording method using multiple structures
    i,e using Header details one flat file structure and Item details another flat file structures

    Hi,
    Check this link..
    LSMW multiple structure migration

  • In a hierarchical query, is it possible for a row to have more than one immediate ancestor?

    Hi
    Question:
    In a hierarchical query, is it possible for a row to have more than one immediate ancestor?
    Answer:
    No
    No?  Surely, it's yes?
    Thanks,
    Jason

    As Frank pointed out already hierarhical most often means a tree (data structure) to deal with.
    There must usually be just one boss (the root) in which case the answer is no.
    Something to read: http://en.wikipedia.org/wiki/Tree_(data_structure)
    You can find out Solomon spoke about a generalization therein.
    Related to forum troubles:
    If I login first thing after reaching forum, the behaviour is rather consistent - I'm allowed to post answers, otherwise ...
    Regards
    Etbin

  • Taking display value for calculations using structures in Bex query

    Hi
    I am using Bex analyzer to do a simple report with two key figures ‘Sales’ and ‘Plans’ from cube and two more calculated key figures ‘Abs Deviation’ and ‘% error’. The report displays at category and product levels. Category is higher and one category contains multiple products.
    The simple formulas for the two calculated KF are,
    1. Abs Deviation = Abs (Sales – Plans).
    Abs Deviation is set with the property Calculate result as ‘summation’ to add up Abs deviations at product level to show at Category level.
    2. % Error = Abs Deviation / Plan.
    The issue is with the % Error value at category level. At product level, all the values are showing correctly.
    To illustrate the issue with a simple test case,
    CategryProductSale-PlanAbs Dev----%Error
    C1--P1--100-60---40--
    67%
    C1--P2---50120---70--
    58%
    C1 Total--150180---110--
    17%
    Observe that in the output the calculation for ‘%Error’ at product level is correct all the way. But the summary
    calculation for ‘Error%’ i.e. C1 total which is showing as 17% is wrong. The correct value as per the formula should be 110/180 = 61%.
    SAP, through OSS replied that it is not a bug but the default behavior of OLAP calculation. OLAP processor first calculates the formula for % Error and then shows the display value at C1 total for Abs Dev. Meaning, ‘% Error’ is calculated first and next the summation for Abs dev is displayed. Abs dev 110 at C1 level is only a display value but not the value taken for % Error at C1 level. Instead OLAP calculates the Abs Dev at C1 level by Total sale – Total plan = 180 – 150 = 30 and the % Error calculation takes this 30 value in the formula and gives % Error = 30/180 * 100 = 17% at C1 level. But 17% doesn't make any sense to the user. Further, to display value of 61% at % Error at C1, it is being advised that by defining two structures, I can force the calculation to take display value of 110 in the % Error calculation at C1 level by using the cell editor.
    Has any body tried to achieve similar result as above by defining two structures and cell editor in the query? If so, can you please throw some pointers of how to define two structures in a query and how to force the % Error at category level to take the display value of 110 in the calculation? I have gone through the documentaion on structures and cell editor but the approach is not at all clear.
    Thanks in advance for your suggestions.
    Prasad
    Unilever Asia IT department

    Hi,
    Have u read aabout the Formula Collision.
    Take a look on this link .
    http://help.sap.com/saphelp_bw32/helpdata/en/d2/02223c5f00612be10000000a11402f/frameset.htm
    Read the Formula Collision, and let us know , whether your pb is solved by changing the Formula Collision of % error formula.
    With rgds,
    Anil Kumar Sharma .P
    Kindly assign points , If it really helps you.

  • Executing Multiple Statements in a Query

    Is is possible to pass multiple statements in a query?
    ie.
    delete from table1
    insert into table1 values(1, 'cat')

    You can use a refcursor to return a result set from Oracle. Very cool and has been present Oracle since 1995 (Oracle 7'ish days). e.g
    procedure foo (arg1 in varchar2, my_cursor in out rc)
    is
    begin
    \t open my_cursor for
    \t select * from nov25t1 where col1 = arg1;
    end;
    This will return a ref cursor from the stored proc. You can use the ref cursor in most programming languages. I happen to be familiar with Java so it would be used as:
    (skipping a lot of code....this is just for demo purposes)
    OracleCallableStatement stmt = conn.prepareCall(....);
    stmt.registerOutParameter(2,OracleTypes.CURSOR);
    stmt.execute();
    //this is the interesting part
    ResultSet rs = (ResultSet) stmt.getObject(2);
    The documentation for ref cursors is in:
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/06_ora.htm#1554
    HTH.
    -Raj Suchak
    [email protected]

  • Using several global structures in one query?

    Hello Together,
    I want to use several global structures in a query and group them for instance in the rows. I have tried it out, and it does not seem to be possible.
    Any ideas- can I overgo this problem somehow?
    Thanks,
    Elisabeth

    Hi Elisabeth,
    This should help:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a5632e09411d2acb90000e829fbfe/content.htm

  • Multiple structures in BEx used in CR

    hi,
    I have a BEx-query (P&L) which uses multiple structures.
    When I open it in CR I see my key figures OK, but the other structure is displayed as one field.
    I want to format my report in CR so that some fields in the structure are indented, some should be bold etc etc.
    When my list of fields in the structure are displayed as only ONE field in CR this formatting will be set on all fields in the structure and that's not what I want.
    I have a workaorund for this, but it's quite complex for the end users so I wonder if you have any news on if and when we will be able to get a BEx-query with multiple sttructures in CR and in CR be able to format each field in the structure in an easy way.
    Kind regards
    /martin

    hey, i have the same problem.. whats your workaround? Can you give me a hint?

  • How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    unless i'm missing something, i think you got mixed up, this is easy google for walk throughs
    i'm assuming this is the new 3tb tc AC or 'tower' shape, if so, its wifi will run circles around your at&t device
    unplug the at&t box for a minute and plug it back in
    factory reset your tc - unplug it, hold down reset and keep holding while you plug it back in - only release reset when amber light flashes in 10-20s
    connect the tc to your at&t box via eth in the wan port, wait 1 minute, open airport utility look in 'other wifi devices' to setup the tc
    create a new wifi network (give it a different name than your at&t one) and put the tc in bridge mode (it may do this automatically for you, but you should double check) under the 'network' tab
    login to your at&t router and disable wifi on it
    add new clients to the new wifi network, and point your Macs to the time machine for backups

  • Multiple usage of Source System is not possible with installed DMIS version on source

    Hello folks!
    I`ve got a problem trying to adjust the Data Replication to SAP BW (on HANA) using SAP LT Replication Server.
    I`ve deleted one connection and after that I`m trying to create new one through  Configuration & Monitoring Dashboard (transaction LTR) with the same source / target systems.
    As result when on the second step (Specify Source System) I specify RFC destination of the source system it appears an error with text
    "Multiple usage of Source System is not possible with installed DMIS version on source".
    But there`s no any adjusted connection in system now..
    Please, help me to understand  how to fix that problem, I can`t find a solution

    Hi,
    When you say that you 'deleted one connection', did you delete the RFC connection or the SLT Configuration? If it is not a real multiple usage scenario, then deactivate the 'allow multiple usage' flag, else install the correct DMIS version on both SLT and source.
    Thanks
    kris

  • The structure in the query

    HI,BW experts, I have a question about the structure of the query :is there only one key figure in the query?in my query ,i have a key figure structure already, could I create another key figure structure,and how to ?
    Thanks for your help.

    Hi Cindy
    If your query already has a structure then why you want to create a new one? add new key figures to the exisiting structure.
    If you have to create new structure for key figures then
    GO to Query change in Query designer & in Columns section do right mouse click and select structure. This will add new structure and then you can add new key figures to that if you need.
    Hope this helps
    Regards
    Pradip

  • Netweaver 04s - Use of two structures in the query craeted dump

    I have used two structures in a query, The same query works fine in current BW 3.5 system but in BI 7.O sandbox (copy of prod), it dumps out.
    When I check the query, it does give these message (same as in PROD, where it runs without a problem).
    - Different hierarchies are used for characteristic Cons Group
    - Number variable ZFV_HTES cannot be replaced.
    - Fiscal year variant is to be specified for key figure Cumulative (YTD) Value in Group Currency

    Hi Rakesh.
    Did you get a satisfactory outcome to this problem? Does the current patch of Netweaver 04S cover it?
    Would appreciate your reply, please.
    Patrick

  • Always hided elements in structure (SAP BW query) are "activated" in WebI

    Hello WebI-experts
    We have an interesting challenge to get resolved, hopefully you can help us.
    As datasource we use a SAP query with two structures.
    One structure contains a variable (variable 0CMONTH of character 0CALMONTH) which is only relevant for the initial prompt, e.g.: 03.2010.
    This prompting variable itself has the property of "Always Hide" under Display setting.
    All the other elements of this structure have the setting "Always Show".
    The Universe on this SAP BW query already shows NOT the elements of this structure. It "only" shows the structure itself as dimension (icon).
    When designing a WebI query and executing it the result is:
    Showing the values for all the elements with property setting "Always Show" AND wrongly also the only one with "Always Hide". It is required to exclude the "Always Hide" element of the structure from the reporting view.
    Questions:
    1.) Are there any means to show the elements of the SAP BW query structure in the universe and therefore also in the WebI query? If there are no means....then question 2.
    2.) How can we exclude the "Always Hide" element of the structure from the reporting view?
    Thanks for any advise.
    Chäsitzer

    Hi
    I have altered the SAP BW query in the following manner:
    The "always hided" element in the structure of the query has been erased.
    The current structure only consists of 0CALMONTH variables, 0CMONTH, which itself are off-set ones, e.g.
    STRUCTURE in the query: (consists of 12 months)
    current month (variable 0CMONTH)
    current month -1  (variable 0CMONTH, off-set -1)
    current month -2  (variable 0CMONTH, off-set -2)
    current month -3  (variable 0CMONTH, off-set -3)
    current month -4  (variable 0CMONTH, off-set -4)
    current month -5  (variable 0CMONTH, off-set -5)
    current month -6  (variable 0CMONTH, off-set -6)
    current month -7  (variable 0CMONTH, off-set -7)
    current month -8  (variable 0CMONTH, off-set -8)
    current month -9  (variable 0CMONTH, off-set -9)
    current month -10  (variable 0CMONTH, off-set -10)
    current month -11  (variable 0CMONTH, off-set -11)
    The universe itself consists "only" of this structure, the 12 months off-set variables are not displayed respective editable.
    How can we display the exact 0CALMONTH variable values, counting down from the current month, in our WebI report, e.g.:
    Rows of WebI report SHOULD show:
    Nov 2010
    Oct 2010
    Sep 2010
    Aug 2010
    Jul 2010
    Jun 2010
    May 2010
    Apr 2010
    Mar 2010
    Feb 2010
    Jan 2010
    Dec 2009
    Thanks for your help.
    Chäsitzer
    Edited by: Chäsitzer on Nov 5, 2010 3:41 PM
    Edited by: Chäsitzer on Nov 5, 2010 3:42 PM
    Edited by: Chäsitzer on Nov 5, 2010 3:43 PM

  • How to make Multiple parameters to sql query string seperated by ,(comma) ..

    Hi,
    I would like to konw how I can make multiple parameters to sql query string seperated by ,(comma)  ..
    For example, this parameters can be printed like 'abc,dde,ggf,eeg' ,once I use  "join(Parameters!rpCode.Value,",")" with report builder , 
    By the way, when I test this multiple parameters by Query Designer of report builder there was no problem,.(using Define query parameters, I put abc,dde,ggf,eeg)
    however, when I run this report , it won't be executing ,  with (rsErrorExecutingCommand)
    Plz, help me....

    If its sql query then it should like this
    Select t.*
    from table t
    inner join dbo.ParseValues(@Parameters,',')f
    on f.val = t.ID
    ParseValues can be found him
    http://visakhm.blogspot.in/2010/02/parsing-delimited-string.html
    or easier way is
    Select t.*
    from table t
    where ',' + @Parameters + ',' LIKE '%,' + CAST(t.ID AS varchar(10)) + ',%'
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to create parameter with multiple selection in a query (SQ02) ?

    Hi Exports
    Do you know how to create parameter with multiple selection in a query (transaction SQ02)?
    thanks.

    Hi
    i know how to create user parameter at SQ02,
    the question is how to create multiple selection parameter?

Maybe you are looking for