Two Structure Query with APD

I am using a query which has two structures within APD and got an error during activation.
I found OSS note 751577 which explains the workaround for queries with two structures, even though I added additional columns as suggested in the note I am still getting the error message during activation.
Let me know if anyone was able to get queries with two structure working with APD.
Thanks!
-Deepu

Hi Thomas,
I have a query with 2 structures. Note 751577,
The Analysis Process Designer supports only queries with one structure, the structure for key figures.
Check whether your query includes two structures.
If it does, the following workaround is available: Multiply the number of rows by the number of columns.
If a query has four rows and five columns, you must create twenty columns, for example, to make a permitted query available.
I tried this workaround as mentioned but still end up getting the same error msg.
Could you please help me?
Regard,
Rohit
Edited by: rohitmulay on Mar 31, 2011 7:00 AM

Similar Messages

  • Two structure query with overlapping selections?

    Hi experts!
    I have a big Keyfigure structure in the column containing quite comlex restrictions and selections.
    Now I would like to create a row structure consisting of several selections where I restrict on different characteristics. However it seems like it's not allowed to create a row selection containing a characteristic that is already used in a selection in the columns.
    e.g
    a column selection is keyfigure A restricted on characteristic B = 'X'
    then it seems not to be allowed to create a row selection using B as restriction?
    Do any of you experts know if this can be bypassed?
    Thanks!
    Best regards,
    MR

    Ok,
    Thanks a lot for your swift answers and suggestions.
    However I was hoping not to have to use the cell definitions to handle this.
    The tricky part is that the keyfigure structure is rather large (approx 30 columns)
    and that quite a number of rows (that is row selections) are required (approx 20 rows), which by only using cell definitions will be rather cumbersome (>600 formulas).
    But anyhow, thanks for your answers!
    br,
    mr

  • Incorrect query result with Top N condition and two structures

    Hi,
    I have created a query on a FI-GL infocube with the characteristic 0BUS_AREA in rows and two structures in columns. The first structure has two items / selections (each item is a selection of several GL accounts). The second structure has two items (the first one contains the key figure 0BALANCE for the current period and the second item is a formula that calculates the absolute value of the first item. The first item is hidden). The (simplified) result looks like this (sorry, not very pretty!):
    Business Area Clients Clients fae
    Business Area1 10 15
    Business Area2 20 7
    Business Area 3 15 8
    Overall result 45 30
    I then added one condition using the Top N operator. The condition is defined for all the elements of the structures. When I execute the query, I sometimes obtained an incorrect number of Top N records selected. The problem seems to occur when N is greater than the number of available Business Areas for an element of the structure.
    For example, if N = 8 and data only exists for 5 Business Areas for the structure element Clients, I may end up with 10 Business Areas for the second structure element Clients fae when I only expect 9 (i.e. the top 8 Clients fae + 1 of the Top 8 Clients for which there is no data under Clients fae).
    Has anybody encoutered that kind of problem ?
    Many thanks.
    François.

    Pascal,this is a known behavior with conditions.When you apply condition it just hide the extra rows and it does not impact the result row.So your result row actually shows the value irrespective of the condition you apply.
    Now with the help of local functions like calculate result as summation you can show the correct sum after applying the condition but when you try to use that result in some calculation then it takes the original value thereby discarding the calculated value.
    Same is happening in your case as well.Its taking the original value i.e 350 and not the calculated sum after condition i.e 270.
    Hope this helps.
    Regards,
    AL

  • 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

  • Crystal report based on BW query with two structures

    Hi,
    I use a BW query with 2 structures. In the rows there is a structure of restricted characteristic 0material. I used this characteristics several times in different rows to restrict these rows to specific products.
    Cars
    motorcycles
    Others
    In the columns I have a structure of key figures. Every key figure is restricted to a specific time intervall.
    So in BW the executed query looks like this:
                           Key figure 1         Key figure 2        Key figure 3
      Cars                   10                     30                         100
      motorcycles        20                   100                          30
      Others                30                    40                           39
    If I use the same query in Crystal then I have access to the 3 keyfigures and to one structure element.
    How can I ensure that the query is displayed in CR like in BW? I tried to work with crosstabs but I was not able to get the same display like in BW.
    Thanks for any help.
    BR, Andreas

    Try posting your question to the BW / SAP forum.

  • APD Query with estructure

    I guys
    I have a query with estructure and selection, but when use this query in the process APD how datasource, show the next issue...
    The technical field name KYF_0001 for field 48PZJIN0JCKGZKDDE2NCD3WUA may only appear once per input or output structure
    Technical key for message: CX_RSAN_SVC_CHECK_ANALYSIS_N=>NODE_FIELDNAME_NOT_U
    I saw the name´s of each element in the APD process and have two elements with the same name  KYF_0001, but I don´t know where changue these.
    Thanks by your help

    Hi Marcos,
    well, there are some restrictions when using a query in APD. Please see note 751577 for details. A query needs to have one structure (namely for keyfigures) only. APD tries to generate a table with columns just on basis of the query definition, i.e. a fixed table structure. Hence, the drill down is put into the rows. And in the drill down, only characteristics are allowed, not structure members.
    Cheers,
    Thomas

  • Report on BEx query with 2 structures (one in rows and one in columns)

    Hi, experts! I have to make Crystall report on BEx query with 2 structures, one in columns (with KF's), and one in rows. Is it possible to create such report? Because when I create such report, I cant see fields in structures, only characteristics fields.
    Ok, I found samr problem in another thread. Sorry.
    Edited by: Mikhail Sychev on Dec 5, 2009 9:53 PM

    Hey Flora,
    Happy to hear that its working now.
    Answering your question, again its upto the connection and report format you are using. Based on your question i hope you your report output should be like this.
    You cannot map to two labels for the series, again this report format is possible only in cross tab through Webi. I would suggest you to concatenate the material and month in a dimension in webi like below.
    I have done the concatenation in excel level, i would suggest you to do that in webi. Try to reduce the formula as much in excel.
    or
    If you are using Query browser connection, then i would suggest you to create a separate report which will display the actual vs plan material wise, here you need to pass the material as a prompt.
    Hope this helps in clear, please revert me for any clarification.

  • Report Designer with two Structure in Column

    Hi Experts,
      Is not possible a Report Designer use a query with 2 structure in column ?
      If  i need use two structure in the column, exist a workaround for this case ?
    Tks and best regads ...
    Alex

    Unfortunately not.
    You may try to work around to have set of virtual chars and key figures; but resposne time will not be encouraging.
    Ravi Thotahdri

  • Query with structures

    Hi Friends,
    I have a Query in 3.5Version which has 2 Structures ( one in Row and 2nd one in Column).
    If i select "Apply Zero Suppression to Structure Elements" on any one of the Structure.  Query gives no data and says "No Applicable data found". If i remove this tick mark, it shows corret data.
    Any idea why it is happening plz.
    Thanks
    Tony

    Hi Tony,,
    I have faced Same problem.... when u select the structure with apply zero suppression means it will effect that structure...
    if it is there any 0 values in u r report particular row it will not display values.... 
    i think u have select the tick mark apply zero suppresion two structures it will not display values ....
    u can select any one and do it it will work fine... i think in u r report if it is there any 0 values for particular structures it that values will not display in the reports.....
    i think it wil help u......
    as per my suggestion i have solved my problem....
    Best Regards,
    Venkat.

  • Performance between two partitionned tables with different structure

    Hi,
    I would like if there is a difference between two partitionned tables with different structure in term of performance (access, query, insertions, updates ).
    I explain myself in detail :
    I have a table that stores one value every 10 minutes in a day (so we have 144 values (24*6) in the whole day), with the corresponding id.
    Here is the structure :
    | Table T1 |
    + id PK |
    + date PK |
    + sample1 |
    + sample2 |
    + ... |
    + sample144 |
    The table is partionned on the column date, with a partionned every months. The primary key is based on the columns (id, date).
    There is an additionnal index on the column (id) (is it useful ?).
    I would like to know if it is better to have a table with just (id, date, value) , so for one row in the first table we'll have 144 rows in the future? table. The partition will already be on the columns (id, date) with the index associated.
    What are the gains or loss in performance with this new structure ( access, DMLs , storage ) ?
    I discuss with the Java developers and they say it is simpler to manage in their code.
    Oracle version : Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Thanks & Regards
    From France
    Oliver
    Edited by: 998239 on 5 avr. 2013 01:59

    I mean storage in tablespaces and datafiles on disk.
    Can you justify please and give me concrete arguments why the two structures are equivalent ( except inserting data in T(id, date,value))
    because i have to make a report.i didnt say any thing like
    two structures are equivalent ( except inserting data in T(id, date,value)i said
    About structure : TABLE1(id, date, value) is better than TABLE1(id, date, sample1, .... sample144)because
    1) oracle has restriction for numbers of column. Ok you can have 144 columns now but for future if you must have more than 1000 columns , what will you do?
    2) Restrictions on Table Compression (Table compression is not supported for tables with more than 255 columns.)
    3) store same type values on diffrent columns is bad practise
    http://docs.oracle.com/cd/B28359_01/server.111/b28318/schema.htm#i4383
    i remember i seen Toms article about this but now i cant find it sorry ((( if i found i will post here

  • Two structures on same axis in query designer

    Hi,
    I developed a query with two structures column axis in Bex query designer (in BI 7)
    when I open this query in report designer is showing this error
    " T<b>he Report Designer does not support this query drill down. Column axis may contain one structure only: remove any additional dimensions</b> "
    Can you please help me on this issue.

    Hi Ram,
    sorry for the late reply, had a weekend break.
    If a query (or query view) contain two structures and also one or
    more characteristics then a dynamic section will be used. The dynamic
    section will generate individual cells for each intersection of the two
    structures, this means you will be able to re-position those cells freely.
    <b>Also you cannot use a query or query view which contains more than one
    structure in the columns.</b>
       and you are having two structures in your columns, that is the reason you are getting the error message. It doesn't matter even if your query runs fine in WAD and Query designer, but your structure placements doesn't satisfy the Report Desinger specs.
    Hope it helps,
    Venkat
    *thanks = points in SDN

  • 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

  • More than two structures in query

    Is it possible to use more than two structures in query?

    Hi,
      you can have only two structures in a query. by default you will have one in the columns. And you can have one in the rows.

  • Get the Common from Two Internal Tables with same structure

    Hi ,
    I need to get the Common data from Two Internal Tables with same structure with using the looping method.
    For e.g.
    I have two internal table say ITAB1 and ITAB2.
    ITAB1 has values A,B,C,D,E,F
    ITAB2 has values A,H,B,Y,O
    Output at runtime should be : A,B

    Hi mohit,
    1. If u want to compare all fields,
       for matching purpose,
       then we can do like this.
    2.
    report abc.
    data : a like t001 occurs 0 with header line.
    data : b like t001 occurs 0 with header line.
    loop at a.
      LOOP AT B.
        IF A = B.
          WRITE :/ 'SAME'.
        ENDIF.
      endloop.
    ENDLOOP.
    regards,
    amit m.

  • Performance of APD with source as 'Query with conditions'

    Hi,
    I have a question regarding the performance of an APD query with conditions when it is run in the background.
    I have an infocube with 80 million records.I have a query to find Top 15 (Condition In query) Customers per territory.
    With the help of an APD Query (Source) i wanted to populate the details (customer category , etc) of the Top 15 Customers into a DSO (Target)
    Right now it takes 6 minutes to run the query in web.
    I wanted to know how feasible it is to use an APD (run in backgrnd) to dump the results of the BEx query (which has conditions Top 15) into DSO.
    Also , what other options do i have ?
    Appreciate your answers.
    Regards

    Thomas thanks for the response.  I have checked the file on the app server and found that the lines with more than 512 characters are being truncated after 512 characters.  Basis team is not aware of any such limits on the app server.  I am sure few on the forum would have extracted data to a file on the application server using APD.  Please note that the file extraction to the client workstation is working as expected (posts lines more than 512 characters).

Maybe you are looking for

  • Matshita DVD-R UJ-868 not working in Windows XP

    I am currently running bootcamp 3.1 and when im booting in XP the DVD-R drive doesnt work. It can take a cd and spin it but it cant read it or eject it. I checked it under the hardware settings and there is a (!)on the icon stating that the propor dr

  • Gomogeneous System Copy

    Hi all, We have two BW servers: one for Production and another one for development and testing. So, second BW system will have two source R/3 systems connections: with QA & DEV. Time to time the client is going to make gomogeneous copy of PRD R/3 to

  • Check the object of whose instance it is in an HashSet

    Hi guys, I have 2 subclasses. I am adding instances of those classes in one HashSet. But afterall i need to check how many instance found in this HashSet. I tried to return data in an HashSet again. However returned HashSet has no element. Student cl

  • How display numeric datas in a JTable column on the right side?

    Hallo ! I have a JTable using the AbstractTableModel. How can I display the numeric values on the right side of the column? Wolfgang

  • LIBTUX_CAT:489: ERROR: Performed tpreturn() with outstanding replies

    Hi all, We have three asynchronous call (tpacall with flags TPNOTRAN). Service A: tpacall(TPNOTRAN) Service B -> tpcall Service X tpacall(TPNOTRAN) Service C -> tpcall Service Y tpacall(TPNOTRAN) Service D -> tpcall Service C If one call returns fail