Webi Query Splitting into 2 different queries

Hi Guys,
- We are migrating from 5.1.6 to Xi-R3 environment.
- We have 2 universes. Let me call them Unv-A and Unv-B.
- 230 reports point to Unv-A and 22 reports point to Unv-B.
Unv-B has most of the objects, tables, classes, contexts etc from Unv-A along with some additional or extra objects, tables, classes, joins and contexts.
We have analysed and merged the two universes Unv-A and Unv-B and named it as Unv-A since we have 230 reports pointing to Unv-A.
So far so good.
Now out of the 22 reports which were pointing to Unv-B, 10 reports are WEBI.
After pointing these 10 webi reports to the universe Unv-A, it is showing multiple queries in the SQL Editor.
some thing like
SQL Editor----
  Synchronisation
Select 1
Select 2
and each "Select" displays its own query
even though the 5.1.6 webi reports has a single query.
Most of these webi reports are referring to a set of aggregate objects which have the format like
@Aggregate_Aware(
              sum(Schema1.table A.Column A),
              sum(Schema1.table B.Column B),
              sum(Schema1.table C.Column C),
              sum(Schema1.tableD.ColumnD)
The report just picks up the first condition "Schema1.table A.Column A" irrespective of the context we specify and creates a synchronized query.
The first condition is picked even though the table is not present in the context, and a Synchronized query is created.
I removed the first condition in the function and checked. It is displaying the desired query and result.
Would like to know if this is the only method, is it an issue with Aggregate_Aware function or something I am missing.
Appreciate your help and response,
Hoping for a quick response and a solution.
Thank You,
Arun

hi arun
Did you checked for the contexts in the universe accordingly the way you joined the tables.
if not, name separate context for each groups of joins.
Regards
Dineshkumar

Similar Messages

  • SCs line items are getting splitted into different POs.

    Hi Experts,
    I am using SRM 5.0 (EBP4.0) ECS.
    When operational purchaser is doing carry out sourcing then SC line items are getting splitted into different POs whereas all the criteria are same I mean all the SC line items are having same
    1.Purcg.Grp
    2.Purch.Org.
    3.Company Code
    4.Plant/Location
    5.Vendor (Preferred)
    6.All product Cat.are assigned to one system only.
    (In BBP_PD for the SC I dont see any reason for the split)
    7.Using Intended for Gouping Option also at the time of Carry out sourcing.
    Earlier also I have raised the same question but I didnt get any reply, only some hints and other reference and help bu Yann but I am still facing the same issue and Pls help me if there is any OSS note for it .
    Here I'd like to let you know that I have seen same ticket and checked all the possible cause for split but never find any reason for split in this case.Pls help me on this issue urgently.
    Brgds
    Gopesh

    Hi
    As Yann told, there might be some standard BADIs for which we need to either modify the standard code in this case.
    Has SAP replied on this problem with any comments - on your OSS message yet ?
    <u>As far as I know, the following BADIs are some how, involved in the creation of the Local SRM PO. </u> 
    <b>BBP_ECS_PO_OUT_BADI </b>
    ( ECS: PO Transfer to Logistics Backend                  )
    <b>BBP_EXTLOCALPO_BADI </b>
    ( Control Extended Classic Scenario                   )
    <b>BBP_GROUP_LOC_PO   </b> 
    ( Exit Grouping of Items for Local Purchase Orders    )
    Please send me your detailed requirements at my email id for further analysis.
    [email protected]
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • EXCEL Web Query  - load into SAP via Web dynpro or standard ABAP

    Hi everybody
    I was wondering if you can run an EXCEL WEB Query from abap and then upload the data retrieved from the web into SAP using either a web dynpro application or standard SAP.
    For standard ABAP one could probably run the EXCEL web query by executing some code such as
    call method cl_gui_frontend_services=>execute
    exporting
    document = 'your excel web query file'.
    You could then save the data and using GUI_UPLOAD get it into sap.
    I'd really like to do it via a web dynpro application.
    Any ideas anyone.
    For guys who've never used EXCEL web queries --quite easy.
    Open EXCEL
    go to Import External Data
    Choose New web query
    Enter URL of where you want to retrieve your data from such as YAHOO finance etc.
    For example to get the components of the Dow Jones Composite Index (^DJA) use this url
    http://finance.yahoo.com/q/cp?s=%5EDJA
    click the yellow arrow on the table data you want to import. The arrow will turn Green and press IMPORT
    Then enter the cell number where you want to start importing data
    Hey presto you've got your data from the web.
    Cheers
    jimbo

    when you create a new webquery, in the properties, you can set when the page should refresh (data fetch to happen), you can set that to refresh at file open.
    then you can use either OLE or gui_upload to upload the excel to read the data.
    have couple of question:
    why do you want to choose excel webquery ?=> is it because the ability to get unstructured data from the web?
    what sort of data you are trying to read from the web?=> most of data centric sites (forex, stock quotes) will have either RSS feeds or some web APIs to get data which can be easily consumed by ABAP
    Regards
    Raja

  • BPM 1:N split into different service interfaces

    Hi everyone, just a quick question about multimapping scenarios.
    If I want to make a 1:N message split in BPM I should use a transformation step and specify a multiline container element to get the result of the transformation. That multiline container element is bound to a single message type so, If I want to split my incoming interface into different service interfaces (based on different message types), how can I handle that in BPM? Or is it just not possible?
    Thanks in advance.

    Hi,
    It is possible to specify more than one container element for the resulting messages of the transformation step
    Its possible.
    In operation mapping in IR if you add 3 interfaces in Target side and the same mapping if you select in BPM transform step then it will ask for three contaner.
    Create 3 contaneir.
    Select type as Abstract Interface.
    Then select individual interface in those containers.

  • Read line and split into different fields

    I have a flat file with space (multiple spaces between different fields) as a delimiter. The problem is, file is coming from 3rd party and they don't want to change the separator as comma or tab delimited CSV file. I have to load data in ODS (BW 3x).
    Now I am thinking to load line by line and then split data into different objects in Transfer rules.
    The Records looks like:
    *009785499     BC               2988              244        772       200
    *000000033     AB                     0                  0            0           0
    *000004533    EE                     8                  3            2           4
    Now I want data to split like:
    Field1 = 009785499
    Field2 = BC
    Field3 = 2988
    Field4 = 244
    Field5 = 772
    Field6 = 200
    After 1st line load, go to 2nd line and split the data as above and so on. Could you help me with the code pleaseu2026?
    Is it a good design to load data? Any other idea?
    Thanks.

    Hi Mau,
    First capture the data into the internal table (say itab).
    Loop at itab.
      it_final-field1 = itab+1(9).
      it_final-field2 = itab+12(2).
      it_final-field1 = itab+16(4).
      it_final-field1 = itab+21(3).
      it_final-field1 = itab+25(3).
      it_final-field1 = itab+29(3).
      Append it_final.
    Endloop.
    &*********** Reward Point if helpful**********&

  • One SC splitting into different POs

    Hi SRM Experts,
    There is an incident where user is creating one SC with different line item and it is creating more than one PO while the Basic data are same ie Vendor/Source of Supply,Recipient,PurOrg,Prod Cat etc all are same.
    Should purchaser use Submit to Grouping to make different line items into one PO?
    When we use Carry Out Sourcing-in the extended search tab one field comes like Intended for Grouping (Chech  box) what  does it mean when we check this field.

    Hi,
    Please note that when you order a shopping cart, always a split
    happens at the item level if there is no Fixed Vendor specified
    for the items.
    This is the same case if only a preferred vendor is entered
    entered, because a preferred vendor cannot necessarily be a
    Fixed Vendor.
    However, if the same fixed vendor is specified for all the
    items in the shopping cart, then there would not be any split.
    Unfortunately this is the standard design, as the system cannot put all
    items in the single PO since it would provide the user an option to
    enter different vendors for each item later.
    Apart from the above, the following aspects also need to be ensured :
    Same purchase organisation, purchase group, recipient, pc number,
    pc institute & number of external quotation, etc. then only one PO
    will be created. Otherwise, multiple PO's will be created.
    If you mix services and materials different PO's will be created as the
    type of line is also a precondition for creating multiple local POs.
    Once you ensure that the above is correct, then you should only get one
    PO being created in the backend.
    Please,reward point if useful.
    Christian

  • Why is text in my exported PDF split into different section? How do I fix it?

    I am exporting an INDD CS5 file to PDF to use as a template for others to edit and create new version from the template. When I export the PDF the text is broken up into separate pieces instead of keeping it as one line? I can;t figure out why or how to fix it.
    Example:
    One line is supposed to say "Cityname Market Update + Broker Logo Here"
    In the resulting PDF it is broken up into separate text sections
    Cit
    y
    name Mar
    ket Update + Br
    o
    ker L
    og
    o Her
    e
    Each of the text lines is in its own text box. I tried putting them on separate layers.
    I tried to export as EPS and the same thing is happening.
    I don't know how to resolve this issue! Please help

    It is for an online template site where users can edit and create as they see fit. It works by me uploaded a template as PDF or AI and is automajically converted to a working template on the site. For months it has worked great and what I export as PDF turns into a working template on the site.
    More recently The resulting templates have been jumbled up as I showed in the example above. I opened up the PDF to check it out and noticed all the text was getting sparated instead of staying together as a specific line as in my original INDD doc.
    Here is a screenshot of the indd file with separate text boxes on separate layers (I did the layers thing just to see if it would help...it didn't)
    I opened it up in Acrobat Pro to take a look at things and noticed all the text getting split up for some reason.
    Same thing when I look at it in Illustrator
    Some of it even looks to be getting outlined for some reason.
    I am just trying to figure out why it isn't exported as one line.
    Thanks for the help.

  • Data splitting into different rows

    Hi
    I have 2 columsn in table. Like this
    Record ID Error Code
    10 ABC,TRE,SDE,AQX,....
    I want to change this format to like this
    Record ID Error Code
    10 ABC
    10 TRE
    10 SDE
    10 AQX
    If anybody knows please reply me.
    Thanks

    If you have more than one row in your table you have to do something like this, else the examples above will not work:
    Based on the examples from Alex, see my previous link
    SQL> -- generating sample data:
    SQL> with t as (
      2  select 10 rec_id, 'ABC,TRE,SDE,AQX' err_code from dual union
      3  select 20 rec_id, 'BLA,YADDAH,STR' err_code from dual
      4  )
      5  --
      6  -- actual query
      7  --
      8  select rec_id
      9  ,      regexp_substr(err_code, '[^,]+', 1, rn) err_code
    10  from   t
    11  cross join ( select rownum rn
    12               from ( select max(length(regexp_replace(err_code, '[^,]+'))) + 1 mx
    13                      from   t
    14                     )
    15               connect by level <= mx
    16             )
    17  where regexp_substr(err_code, '[^,]+', 1, rn) is not null
    18  order by rec_id;
        REC_ID ERR_CODE
            10 ABC
            10 SDE
            10 TRE
            10 AQX
            20 STR
            20 BLA
            20 YADDAH
    7 rows selected.

  • IDoc Split to different IDocs!!!!!!!!URJENT

    Hi
    Is there any possibility to split the IDoc ?
    We have a scenario like - Header without any data - Segments with the data - trailer segment with the details of the segment count and parent idoc details.
    We received one Inbound IDoc with 20000 segments.
    While processing the IDoc, because of the huge data it is going to dump with low memory issue.
    Is there any possiblity to split the segments into seperate idocs...in WE19 we can cut down the segments and create seperate idoc but count is very high we are not able to identify the numbers count.
    Is there any other way we can process the IDoc splitting into different IDocs.
    VVR
    FICO Consultant

    Hi Vuppala,
    CAn you please help how u split the IDOC.
    I have ARTMAS IDOC and as there is huge data i need to split it.
    Can you please help
    Thanks,
    Akriti

  • Scenes split into individual SWF files?

    Can someone tell me how my movie got split into different swf
    files? i was using flash just earlier today?

    the only way is by the user - you must have tested each scene
    - tesing generates an swf
    automatically - look under your Control drop-down menu - you
    will see Test Movie (Ctrl+Enter) and
    Test Scene (Ctrl+Alt+Enter).
    Chris Georgenes
    Adobe Community Expert
    www.mudbubble.com
    www.keyframer.com
    www.howtocheatinflash.com
    maxinak wrote:
    > Can someone tell me how my movie got split into
    different swf files? i was using flash just earlier today?

  • Adding values from two different queries in one query

    Hi,
      I have developed a web template by combining 3 queries ,which were created from the same MultiProvider.These queries are having many different selections .Now I need to get the addition of values from these 2 queries into third query.
    Is there any way to combine the selections from these queries into one instead of recreating them again.I tried to use global strucuture but not successful.
    Kindly let me know is there any workaround for this.
    Thanks & Regards,
    Raja

    Hi ,
    You can do it by excel formula.
    sheet 1 --> 1st query
    sheet2 -->2nd query
    sheet3--> put calculations accroding to your requirement based on sheet1 & sheet2 into sheet3.
    Regards
    Pcrao.

  • Splitting one column into different columns.

    Hello Experts,
    How do i split datetime column into different columns while doing a Select statement.
    Ex:
    The column "REC_CRT_TS" has data like "2014-05-08 08:23:09.0000000".The datatype of this column is "DateTime". And i want it in SELECT statement like;
    SELECT
    YEAR(DATETIME) YEAR,
    MONTH(DATETIME) MONTH,
    DATENAME(DATETIME) MONTHNAME,
    DATEPART(DATETIME) WEEKNUM,
    DAY(DATETIME) DATE,
    DATEPART(DATETIME) HOUR
    FROM TABLE_NAME;
    The output should look like this;
    --YEAR| MONTH | MONTHNAME| WEEKNUM | DATE | HOUR
    --2014| 5 | May | 25 | 08 |08
    Any suggestions please.
    Thanks!
    Rahman

    I made a very quick research and I see in this blog post
    http://www.jamesserra.com/archive/2011/08/microsoft-sql-server-parallel-data-warehouse-pdw-explained/
    that  It also uses its own query engine and not all features of SQL
    Server are supported.  So, you might not be able to use all your DBA tricks.  And you wouldn’t want to build a solution against SQL Server and then just hope to upsize it to Parallel Data Warehouse Edition.
    So, it is quite possible that this function doesn't exist in PDW version of SQL
    Server. In this case you may want to implement case based month name or do it in the client application.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • Split data into different fields in TR

    I have a flat file with space (multiple spaces between different fields) as a delimiter. The problem is, file is coming from 3rd party and they don't want to change the separator as comma or tab delimited CSV file. I have to load data in ODS (BW 3x).
    Now I am thinking to load line by line and then split data into different objects in Transfer rules.
    The Records looks like:
    *009785499 ssss BC sssss 2988 ssss 244 sss 772 sss  200
    *000000033 ssss AB ssss        0  ssss   0 ssss 0 ssss 0
    *000004533 ssss EE ssss        8  ssss   3 ssss 2 ssss 4
    s = space
    Now I want data to split like:
    Field1 = 009785499
    Field2 = BC
    Field3 = 2988
    Field4 = 244
    Field5 = 772
    Field6 = 200
    After 1st line load, go to 2nd line and split the data as above and so on. Could you help me with the code pleaseu2026?
    Is it a good design to load data? Any other idea?
    I appreciate your helps..

    Hi,
    Not sure how efficient this is, but you can try an approach on the lines of this link /people/sap.user72/blog/2006/05/27/long-texts-in-sap-bw-modeling
    Make your transfer structure in this format. Say the length of each line is 200 characters. Make the first field of the structure of length 200. That is, the length of Field1 in the Trans Struc will be 200.
    The second field can be the length of Field2 as you need in your ODS, and similarly for Field3 to Field6. Load it as a CSV file. Since there are no commas, the entire line will enter into the first field of the Trans Structure. This can be broken up into individual fields in the Transfer Rules.
    Now, in your Start Routine of transfer rules, write code like this (similar to the ex in the blog):
    Field-symbols <fs> type transfer-structure.
    Loop at Datapak assigning <fs>.
        split <fs>-Field1 at 'ssss' into <fs>-field1 <fs>-field2 <fs>-field3....
        modify datapak from <fs>
    endloop.
    Now you can assign Field1 of Trans Struc to Field1 of Comm Struc, Field2 of Trans Struc to Field2 of Comm Struc and so on.
    Hope it helps!
    Edited by: Suhas Karnik on Jun 17, 2008 10:28 PM

  • Query to get the difference between 2 totals from 2 different queries

    I wanted to know if it is possible to get the difference between 2 totals from 2 different queries. I would explain with an example:
    1st query  - Select sum(homepass) from table 1
    2nd query – select sum(homepass) from table2
    Is it possible to display the difference like-
    Select sum(homepass) from table 1 - sum(homepass) from table2
    I know the above query would gives syntax error but is there a better way or a trick to get the above task accomplished from a single query.
    I hope, my question is clear.
    Please revert with the reply to my query.
    Regards

    tomernitin wrote:
    Try this one also:
    WITH adtn1
    AS
    SELECT 110 val1 FROM dual UNION ALL
    SELECT 100 FROM dual UNION ALL
    SELECT 90  FROM dual UNION ALL
    SELECT 10 FROM dual
    adtn2
    AS
    SELECT 10 val2 FROM dual UNION ALL
    SELECT 20 FROM dual UNION ALL
    SELECT 30  FROM dual UNION ALL
    SELECT 100 FROM dual
    SELECT(Sum(a1.val1)-Sum(a2.val2)) Diff FROM adtn1 a1,adtn2 a2;
    let me know if you still have any doubt.
    Um.... I don't think so. Not with the cartesian join between a1 and 2.

  • Query is dispalying different output in BEX and Web

    Hi,
    I am getting the correct output when i am running the standard query 0CQM_PCQMCCSI_Q0001 in the BEX analyzer.I am getting the wrong output if i run the same query through web.
    It is displaying the different key figure and characteristic in the output which is not defined in the query.
    If i copy the same query as Z query and execute it ,it is working fine in both BEX Analyzer and Web.
    Kindly suggest me regarding this.
    Thanks & Regards,
    Sangeetha.A

    Check your dataprovider assignments in your Web Query in your web items check charecteristics assignments

Maybe you are looking for

  • I can�t understand this

    Is Java a compiled language? Actually, Java is a compiled/interpreted language. See the links below. This is the best classification for the Java language, in my opinion. Read [_this thread_|http://forums.sun.com/thread.jspa?threadID=5320643&start=0&

  • Opening a link within iframe

    I have an apex page which generates a map link (e.g. http://maps.google.com?q=WC1A 2HR). In the report option, I have specified that as a link and displaying the column value with an icon. So far, when user clicked on the icon, it opened the link spe

  • Opatch error: Unable to lock Central Inventory

    A) When applying Oracle one-off patches I get this error: Unable to lock Central Inventory.  Stop trying per user-request? OPatchSession cannot load inventory for the given Oracle Home /oracle/VRQ/102_64. Possible causes are:    No read or write perm

  • Preview PDF before buying Photobook is missing

    I can't find this preview button anywhere, can someone tell me what is wrong? what can i do? Thanks

  • Iphone4 not recognized by computer when I plug it in.

    I plug my phone into my computer and it starts charging, but it's not recognized by itunes...any help? When I go to My Computer the phone isn't even recognized by my computer as a device. This is such a pain in the butt bc I can't update my iOS or ev