Navigation Attribut is not shown in two rows in the Query

Hello,
we are using a multiprovider with the infoobject 0material. In the multiprovider we use a navigation attribut MH_PR_ST of 0material.
Normally, the query rows should show the material number and the corresponding attribut MH_PR_ST, but in some materials in the multiprovider exist some rows where the attribute is shown correctly from the master data table and in some rows the attribute is not shown.
Therefore in the query two rows are shown:
Material No. MH_PR_ST Key Figure
4711           A                    10
4711           #                       5
Sum                                  15
With all other navigation attributs there is only 1 row.
Do you have any good ideas?
Thank you very much + best regards,
Ilona

Hi,
Assuming the second row comes from one of your basic cube; since it looks that 0MATERIAL is populated (it is coorectly identified), ensure that the identification of the nav 0MATERIAL__MH_PR_ST is done properly in your multiprovider.
hope this helps...
Olivier.

Similar Messages

  • Navigational Attributes are not shown in query

    Dear all,
    I have a problem in a query. I need to present values using by using Navigational attribute in the query, the thing is that it does not recognize my navigational attribute. I have checked the characteristic in the Multiprovider and Infocube as navigational. And in the Multiprovider I have identified the navigational attribute from the right source.
    What I think is strange is that I can see the navigational attribute when I see the data in infocube but not in the query. Does anyone knows what I might be doing wrong?
    Best Regards and many thanks,
    Mazzz

    Hi
      plese try to find out the data for this fields through LISTCUBE,if you gets data here for that navigation attr then it has to appear in your query designer also.
    and also once again check your idetification for the navigation attr in multi provider  whether its taken from write souce or not.and plese chk through your cube also for the navigatin.
    in cube navigational attr has to mark then in the same way in the multi provider also
    mahesh
    Edited by: Mahesh Kumar on Jun 2, 2008 10:47 AM

  • Navigational attribute data not visible in BEx Report

    Hello All,
    I am facing following problem in one of my BEx reports:
    I am fetching data from an ODS. With other columns of ODS,  I have also to show few navigational attributes( which are master data of some info-object) . In report the corresponding data in navigational attributes is not visible for few records, although when I see the master data of this Info-object (whose navigational attributes I have to include), in  Adm. Wrkbench the data is visible. I wonder what step is missing.
    Many Thanks for helping me out.
    Best Regards,
    Sumita

    Hi Roberto,
    While trying to activate the Infoobject's master data (by right-click) I get the following message,
    "Lock NOT set for: Loading master data attributes"
    And the data is not activated.
    Can you please suggest what needs to be done.
    Thanks & Regards,
    Sumita

  • Master data values(navigational attributes) are not turning up in the cubes

    Hi all,
    I have a cube, which contains 0cust_sales as master data and i have clicked on the navigational attributes of 0cust_sales like customer grp1, 2,3,4,5 etc
    But then i have the 0cus_sales number 6100034 with all the navigational attributes turning up when i look up at the master data in the quality system.
    But then for the same customer number i can see the customer number but no navigational attributes are turning up!!
    I have activated master data and the master data contents are active!!
    Can anyone pls update me on this!!
    Thanks
    Pooja

    Hi
    It is not part of dimension only 0CUST_SALES is part of dimension,
    And ocust_sales-customer grp1, 2,3,4,5 are navigational attributes in the info cube. I have just included them as navigational attributes enabled in the info cube.
    And when i loaded the data for customer say 6111035 from the ods to the cube. I can see the data for customer 6110035 but cant see the navigational attributes getting populated.
    But when i look at the same in the master data for 0cust_sales i can see the values for the navigational attributes too!!
    Thanks
    Pooja

  • SUM two ROWS in the SAME Table

    Hi,
    I have a problem with this issue. I want to sum two rows from the same table, but I don´t know how to do that. I tried to do it with CTE, but always I get the same error "Ambiguous". I would like to ask you, if there is other manner to get that
    data (sum two rows) and if it is possible to see examples about it.
    Thank you  in advance

    Hi Vaibhav,
     I leave you my scrip:
    USE Modelling
    GO
    --TABLE Aer_Lingus_Income_Statement
    IF OBJECT_ID('Aer_Lingus_Income_Statement') IS NOT NULL
    DROP TABLE Aer_Lingus_Income_Statement
    GO
    CREATE TABLE Aer_Lingus_Income_Statement
    ID [nvarchar](255) NOT NULL,
    Name_Account [nvarchar](255) NULL,
    Company [nvarchar](255) NULL,
    Level0_Account [nvarchar](255) NULL,
    Level1_Account [nvarchar](255) NULL,
    Level2_Account [nvarchar](255) NULL,
    Level3_Account [nvarchar](255) NULL,
    Level4_Account [nvarchar](255) NULL,
    Level5_Account [nvarchar](255) NULL,
    Level6_Account [nvarchar](255) NULL,
    Level7_Account [nvarchar](255) NULL,
    Level8_Account [nvarchar](255) NULL,
    Year_2006 decimal (15,2) null,
    Year_2007 decimal (15,2) null,
    Year_2008 decimal (15,2) null,
    Year_2009 decimal (15,2) null,
    Year_2010 decimal (15,2) null,
    Year_2011 decimal (15,2) null,
    Year_2012 decimal (15,2) null,
    Year_2013 decimal (15,2) null,
    GO
    ALTER TABLE Aer_Lingus_Income_Statement
    ADD CONSTRAINT PK_Aer_Lingus_Income_Statement PRIMARY KEY (ID)
    GO
    INSERT INTO Aer_Lingus_Income_Statement
    SELECT *
    FROM Aer_Lingus_data_Income
    IF OBJECT_ID('Aer_Lingus_Income_Statement_Historic') IS NOT NULL
    DROP VIEW Aer_Lingus_Income_Statement_Historic
    GO
    CREATE VIEW Aer_Lingus_Income_Statement_Historic
    as
    Select Level0_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Level0_Account ='Revenue'
    Group by Level0_Account
    UNION ALL
    Select Name_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Name_Account= 'Passenger revenue' and Level0_Account ='Revenue'
    Group by Name_Account
    UNION ALL
    Select Name_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Name_Account= 'Ancillary revenue' and Level0_Account ='Revenue'
    Group by Name_Account
    UNION ALL
    Select Name_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Name_Account= 'Other revenue' and Level0_Account ='Revenue'
    Group by Name_Account
    UNION ALL
    Select Name_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Name_Account= 'Cargo revenue' and Level0_Account ='Revenue'
    Group by Name_Account
    UNION ALL
    Select Level0_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Level0_Account ='Operating expenses'
    Group by Level0_Account
    UNION ALL
    Select Level1_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Level1_Account ='Staff costs' and Level0_Account ='Operating expenses'
    Group by Level1_Account
    UNION ALL
    Select Level1_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Level1_Account ='Depreciation, amortisation and impairment' and Level0_Account ='Operating expenses'
    Group by Level1_Account
    UNION ALL
    Select Name_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Name_Account ='Aircraft operating lease costs' and Level0_Account ='Operating expenses'
    Group by Name_Account
    UNION ALL
    Select Name_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Name_Account ='Fuel and oil costs' and Level0_Account ='Operating expenses'
    Group by Name_Account
    UNION ALL
    Select Name_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Name_Account ='Maintenance expenses' and Level0_Account ='Operating expenses'
    Group by Name_Account
    UNION ALL
    Select Name_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Name_Account ='Airport charges' and Level0_Account ='Operating expenses'
    Group by Name_Account
    UNION ALL
    Select Name_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Name_Account ='En-route charges' and Level0_Account ='Operating expenses'
    Group by Name_Account
    UNION ALL
    Select Name_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Name_Account ='Distribution costs' and Level0_Account ='Operating expenses'
    Group by Name_Account
    UNION ALL
    Select Name_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Name_Account ='Ground operations, catering and other operating costs' and Level0_Account ='Operating expenses'
    Group by Name_Account
    UNION ALL
    Select Level1_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Level1_Account ='Other (gains)/losses - net' and Level0_Account ='Operating expenses'
    Group by Level1_Account
    UNION ALL
    Select Name_Account , sum(Year_2006) as Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    Where Name_Account ='Employee profit share' and Level0_Account ='Operating expenses'
    Group by Name_Account
    GO
    WITH sumasRevenue
    AS (
    SELECT Name_Account, ID
    , sum(Year_2006) AS Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    WHERE Level0_Account = 'Revenue'
    GROUP BY Name_Account, ID
    WITH ROLLUP
    , total
    AS (
    SELECT Y2006,Y2007 ,Y2008,Y2009 ,Y2010 ,Y2011 ,Y2012 ,Y2013
    FROM sumasRevenue
    WHERE Name_Account IS NULL
    sumasOperatingExpensive
    AS (
    SELECT Name_Account, ID
    , sum(Year_2006) AS Y2006, sum (Year_2007) as Y2007, sum (Year_2008) as Y2008, sum (Year_2009) as Y2009, sum (Year_2010) as Y2010,
    sum (Year_2011) as Y2011, sum (Year_2012) as Y2012, sum (Year_2013) as Y2013
    FROM Aer_Lingus_data_Income
    WHERE Level0_Account = 'Operating expenses'
    GROUP BY Name_Account, ID
    WITH ROLLUP
    , total1
    AS (
    SELECT Y2006,Y2007 ,Y2008,Y2009 ,Y2010 ,Y2011 ,Y2012 ,Y2013
    FROM sumasOperatingExpensive
    WHERE Name_Account IS NULL
    SELECT distinct ID , s.Name_Account,
    (s.Y2006* 1.0 - t.Y2006) AS [V2006] ,(s.Y2007* 1.0 -T.Y2007 ) as [V2007] , (s.Y2008* 1.0 /T.Y2008 ) as [V2008],(s.Y2009* 1.0 /T.Y2009 ) as [V2009],
    (s.Y2010* 1.0 /T.Y2010 ) as [V2010],(s.Y2011* 1.0 /T.Y2011 ) as [V2011],(s.Y2012* 1.0 /T.Y2012 ) as [V2012],(s.Y2013* 1.0 /T.Y2013 ) as [V2013]
    FROM sumasRevenue AS s , sumasOperatingExpensive AS t
    Where ID IS NOT NULL
    UNION ALL
    SELECT distinct ID,COALESCE(s.Name_Account,'NON CURRENT ASSETS') AS Name_Account ,
    sum (s.Y2006* 1.0 / t.Y2006) as V2006,sum (s.Y2007* 1.0 / t.Y2007) as V2007,sum (s.Y2008* 1.0/ t.Y2008) as V2008,sum (s.Y2009* 1.0/ t.Y2009) as V2009,sum (s.Y2010* 1.0/ t.Y2010) as V2010,
    sum (s.Y2011* 1.0 / t.Y2011) as V2011,sum (s.Y2012* 1.0/ t.Y2012) as V2012,sum (s.Y2013* 1.0/ t.Y2013) as V2013
    FROM sumasRevenue as s , sumasOperatingExpensive as t
    Where ID IS NULL and Name_Account IS NULL
    GROUP BY Name_Account, ID
    WITH ROLLUP
    select *
    from Aer_Lingus_Income_Statement_Historic
    Thank you in advance

  • How can update two rows in one query?

    How can update two rows in one query?
    Edited by: OracleM on May 4, 2009 12:16 AM

    What do you mean with "two rows"? May be two columns??
    If the where clause of UPDATE query matches two rows, then it will update two rows. If you want to update two columns, then add column names to your query
    UPDATE your_table SET col1=value1, col2=value2 WHERE your_where_clause- - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Hello: I am using OSX 10.9.3 Lightroom Version 5.4 Camera Sony A77...Problem: importing the foots form chip or from the camera the GPS-position is not shown in lightroom. Using the bridge there they are. What have I do do? Thanks

    Hello: I am using OSX 10.9.3 Lightroom Version 5.4 Camera Sony A77...Problem: importing the foots form chip or from the camera the GPS-position is not shown in lightroom. Using the bridge there they are. What have I do do? Thanks

    Please read this: Adobe Lightroom - Find moved or missing files and folders
    You do not want to be in the Import section of Lightroom, you want to be in the Library Module. You don't want "Update Folder Location", you want to ctrl-click on a Folder name (not in Import, but in the Library Module Folder Panel) and select "Find Missing Folder"
    You do not want to re-import photos that have already been imported, this is almost always a bad thing to do.

  • Result Row in the query output

    Hi,
    If I restrict a characteristic by hierarchy then I can’t have the result row displayed. If the hierarchy active is removed then the result row gets displayed. All characteristics are marked to show the result row.
    This characteristic is Account Number. If in the query definition I remove the restriction on account numbers and just select hierarchy active and the required hierarchy in the properties then I get the result row in the output. But now it also displays all the unassigned account numbers in a separate node “Not Assigned Account Number (s)”.
    I can’t even restrict it in the output with hierarchy active selected. When I do select filter value in the output the options Include in Selection and exclude from Selection are grayed out and hence can’t select it.
    Please advice on this issue…
    Thank you,
    sam

    Hi Jaya,
    I think you misunderstood my issue.
    My problem is not that i do not want to see the field. But instead, i do not want to see only the results row in the query output.
    I need to have the results to populate a calculation via sumct formula.
    My question is, can sumct be populated if i hide/supress RESULT row ?
    Regards,
    Maili

  • Resource consumption details not shown for each row source operation

    Hi Friends,
    I have generated a tracefile for a query as shown below.
    set autotrace traceonly arraysize 100
    ALTER SESSION SET optimizer_mode = ALL_ROWS ;
    alter session set tracefile_identifier = 'trcwithtime_221010_03';
    alter session set events '10046 trace name context forever, level 12';
    spool on
    spool C:\Sree\trcwtime.log
    -- put your statement here
    SELECT e.*,d.dname
    FROM scott.emp e
        ,scott.dept d
    WHERE e.deptno = d.deptno;
    spool off;
    exitBelow is the trace file
    SELECT e.*,d.dname
    FROM scott.emp e
        ,scott.dept d
    WHERE e.deptno = d.deptno
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        2      0.00       0.00          4          7          0          14
    total        4      0.00       0.00          4          7          0          14
    Misses in library cache during parse: 0
    Optimizer goal: ALL_ROWS
    Parsing user id: 173 
    Rows     Row Source Operation
         14  HASH JOIN 
          4   TABLE ACCESS FULL DEPT
         14   TABLE ACCESS FULL EMP
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                       2        0.00          0.00
      db file sequential read                         4        0.00          0.00
      SQL*Net message from client                     2        0.41          0.77
    ********************************************************************************For each rowsource operation, resource consumption details (cr,pr,pw,time) are not shown in the TKPROF output.
    How can i get these details as well?
    DBVersion: 9.2.0.8
    Regards,
    Sreekanth Munagala

    Sreekanth Munagala wrote:
    For each rowsource operation, resource consumption details (cr,pr,pw,time) are not shown in the TKPROF output.
    How can i get these details as well?
    DBVersion: 9.2.0.8You can get those details by setting values for following parameters (at session level, preferably) before generating the 10046 trace.
    ALTER SESSION SET statistics_level = ALL ;
    ALTER SESSION SET timed_statistics = TRUE ;

  • Navigational Attribute is not properly displaying

    Hello,
    We have a "Sales Group" navigational attribute YCUST_SAL-YSALE_GRP in a BW report. We have adjusted a sales group for a customer in R3 from F10 to E49 and hte same has been pulled to BW side,.
    we have activated the master data manually and we are able to see the new data is available against the customer.
    But when we refresh teh report, for that customer we are able to see only F10 as the sales group,.
    For cross check, we have sales group display property also. where we are able to see E49.
    Please let us know why we are seeing inconsistency between display and navigational attribute for a same infoobject.
    Thanks. Karthik

    Hello,
    It seems Master data is not activated properly....
    Whether the query is fetching data from Aggregates, if so you have to do Attribute changerun for this infoobject
    goto SE38 and run this program RSDDS_AGGREGATES_MAINTAIN it will Info object name...Provide your info object and execute...
    Your problem will solve.
    Regards,
    pavan.

  • Navigational attributes are not visible after transport

    hi,
    i have created five new info objects and added these to 0custome as navigational attributes,then i have switched thes on as navigational attributes in 0sold_to info object.every thing is working fine in deveopment.
    when i transport these into quality, for 0customer i am able to see these new info objects as navigational but in 0sold_to these new info objects are visible as display attributes.I want tehse to be as navigational attributes..
    can any one tell me where have i gone wrong..
    thanks in advance..
    satish

    Hi,
    The SAP Best Practice says that while transport
    Request 1: Select the Necessary objects of Info Provider
    Request 2: Select Data Flow before and Afterwards
    if you practice this you will not miss any objects
    regards
    Happy Tony

  • Navigational Attributes are not working in Excel

    Hi,
    In my report output I have few navigational attributes i define when I filter the values for example Location as define Navigational attribute  I am selecting Location = ABC in report after some time my excel is disconnecting?
    I am thinking what would be the problem?

    hi randy,
    i guess u have some connection problem.
    u can use tcode RSRT and RSRCACHE u can use option debug to check weather any problem occurs because of navg attr.
    i consider there should be some bex problem.
    byebye

  • Lync custom attribute are not shown in ADSIEdit

    I have a AD running on Windows Server 2012 R2 with Lync extensions.
    When I try to see the Lync custom attributes using ADSIEdit or using Active Directory Users and Computers they do not appear. However, when I use power shell Get-ADUser I do see all the attributes. The attributes are not empty.
    e.g: Get-ADUser simons -property *
    msRTCSIP-UserEnabled : True
    msRTCSIP-UserPolicies : {0=1759513798}
    msRTCSIP-UserRoutingGroupId : {10, 110, 186, 167...}
    Any help will be highly appreciated.
    Benny

    Hi Benny,
    Have you enabled the advanced features option?
    Normal:
    Enable Advanced Features:
    Best regards,
    Eric

  • Navigation Attribute is not getting displayed as in Masterdata Table

    Hi All,
    I have an infoobject "YDOCUMENT" compoundedd with "S_ORD_ITEM". Also i have added few attribute (Reason for rejection and Order Status) for the same. This infoobject is getting updated through data load from Sales Order Item level DSO and it will contain the Reason for rejection and ORder Status for each Sales ORder and item combination.
    After performing the data load i am able to see the attribute successfully getting updated into the master data table as expected, But when i run the Bex report and disply these Attributes as Nivugational Attributes, I am gettign the value as "Unassigned, and i am getting the proper result from the infoobject master data table.
    Can anyone give me any idea why this is happening? How we can i fix this issue?
    Thanks,
    Muruganand.K

    Hello All,
    The issue is due to the SID generation failure for the Attribute, This didnt happen properly because i am inserting the records into the infoobject during the data load to another DSO.
    Now i am doing a Direct data load to the infoobject to update the attribute this is solving the issue.
    Regards,
    Muruganand.K

  • Subtracting two rows from the same column

    Hi,
    I have the following table with about 6000 rows of different year_month but I am compare and subtract v
    Organization     Year_month     Contribution
    Kano     JAN-2011     200000
    KADUNA     JAN-2011     300000
    ABUJA     JAN-2011     400000
    Kano     FEB-2011     300000
    KADUNA     FEB-2011     200000
    ABUJA     FEB-2012     600000
    I want to select a year_month at run time to subtract the contribution of the first year_month from the contribution of the second year_month and give me the result as shown in the following table
    Organization     JAN-2011     FEB-2011     diffrence
    Kano     200000     300000     -100000
    KADUNA     300000     200000     100000
    ABUJA     400000     600000     -200000
    Here is my code returning too many va
    create or replace function "GET_MONTHLY_VALUE"
    (q_name in VARCHAR2,
    hmoCode in VARCHAR2)
    return VARCHAR2
    is
    c1 number;
    begin
    select NHIS_CONTRIBUTION into c1 from CONTRIBUTION_MGT where upper(YEAR_MONTH)=upper(q_name) and upper(ORGANIZATION)=upper(hmoCode);
    return c1;
    exception when NO_DATA_FOUND THEN
    return null;
    end;
    ------a call to the above function:
    create or replace function process_cont_monthly return varchar
    is
    Cursor cont_cursor is select ORGANIZATION from CONTRIBUTION_MGT;
    begin
    for
    cont_rec in cont_cursor loop
    select GET_MONTHLY_VALUE(:p26_month,cont_rec.ORGANIZATION) first, GET_MONTHLY_VALUE(:p26_month2,cont_rec.ORGANIZATION) second,
    abs(GET_MONTHLY_VALUE(:p26_month,cont_rec.ORGANIZATION)-GET_MONTHLY_VALUE(:p26_month2,cont_rec.ORGANIZATION)) Diffrence
    from CONTRIBUTION_MGT;
    end loop;
    commit;
    end;
    I became totally confused and don’t know what to do next
    Any help and better guide is appreciated

    Hi,
    Here's one way:
    WITH    months_wanted     AS
         SELECT     1 AS col, TO_DATE ('JAN-2011', 'MON-YYYY') AS month     FROM dual     
        UNION ALL
         SELECT     2 AS col, TO_DATE ('FEB-2011', 'MON-YYYY') AS month     FROM dual     
    ,     pivoted_data     AS
         SELECT       c.organization
         ,       NVL (SUM (CASE WHEN m.col = 1 THEN c.contribution END), 0)     AS total_1
         ,       NVL (SUM (CASE WHEN m.col = 2 THEN c.contribution END), 0)     AS total_2
         FROM       months_wanted     m
         JOIN       contribution_mgt  c ON  c.year_month >=            m.month
                                     AND c.year_month < ADD_MONTHS (m.month, 1)
    SELECT    organization
    ,       total_1
    ,       total_2
    ,       total_1 - total_2     AS difference
    FROM       pivoted_data
    ORDER BY  organization
    ;I assume that the year_month column is a DATE. Date information always belongs in DATE columns.
    As written, the two months do not need to be consecutive. If you always want consectuive months, this can be re-written so that you only have to enter the first month, not both of them.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Point out a few places where the query above is giving the wrong results, and explain, using specific examples, how you get those results from that data in those places. If you changed the query at all, post your code.
    Always say which version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

Maybe you are looking for

  • How to assign contact person with user id to vendor via upload

    Dear All, We have successfully uploaded external business partner (Vendor) from ECC6 to SRM5.0  via BBPGETVD. So vendor is available in PPOMV_BBP. Now we would like to assign the contact person with user ID to this vendor so that he can logon to our

  • Create Variable

    Hi, I need to create two dynamic variables for my reports, 1) Fiscal year to date 2) Last 12 months Can you please tell me the sql for the initialization block. I am using Out of the box OBIEE 10.1.3.4 repository. Thanks

  • How to add a root entry?

    I used Oracle Unified Directory with Directory Services Manager. I tried to create a new root entry. Following http://docs.oracle.com/cd/E17904_01/oid.1111/e10029/oid_dir_entries.htm#i43505, I left Parent Entry field blank. But it prompt "A value is

  • Calling sqlplus from trigger

    hi - I am trying to call a sql script in a trigger. I am trying to pass a parameter to the script but when the sql runs - it doesn't recognize the parameter. I am probably making a very simple mistake - but I am new to Forms development. Here is my c

  • LO Initialization (easy question)

    Hi Friends! I have two doubts about this.. a) How can I know if the Initialization process were done? b) At R/3,  I chek with RSA3 the 2LIS_13_VDTIM  datasource with xx selection, and give me records; but when I try to load them in BI with the same x