SAP cubes query problem

Hi all ,
please semeone help me as m new to this
I have imported the cubes from SAP BW and also got till presentation layer
now their are some queries created in BW.
and i want to use those queries in obiee directly showing the result by selecting the querry.
plz tell me , as i have imported the cube and i can see all columns , measures ,hierachies .
now waht these queries are and how does it work in obiee ?

Hi SAP_SJ,
You have to create a formula and then follow the instructions of the following notes:
625434 - Query with formula variable +/- sign reversal
530213 - Reversing +/- signs for hierarchy nodes
Thanks,
Daniel

Similar Messages

  • Crystal reports on SAP-BW 3.5 query - problem w. properties of key figures

    Dear experts,
    Creating a crystal report on a SAP-BW 3.5 query we have the following problem:
    In SAP-BW query we defined a restricted key figure with property
    'Calculate single value as Ranked list (olympic)'.
    Within SAP-BW it works correctly; in Crystal Reports we see the
    key figure without the defined property.
    Example
    SAP-BW
    Customer     Revenue 
    4711            1
    4812            2
    4913            3
    Crystal Reprts
    Customer     Revenue 
    4711            500 EUR
    4812            300 EUR
    4913            100 EUR
    Could anyone give us an advice to solve this?
    Thanks a lot in advance.
    Hagen

    Edited by: Hagen Kunze on Feb 12, 2010 3:22 PM

  • Performance Problems by using a subreport with a SAP BW Query

    Hello Experts,
    we have the following scenario:
    - Crystal Reports Report (CRR) on top of a SAP BW Query
    - SAP BW Query contains a member structure with Month, Year, Prior Year and total
    If I now put some details of a dataset in the main report (e.g. key is project number) and the structure and the characteristic structure in a subreport (linked e.g. by the key project number), the CRR takes like 7,5 hours to display completely. If I don´t use a subreport it takes less then 10 minutes to display (in the preview section of Crystal Reports).
    Is such a significant difference in run time normal ? I have to mention that the used query is quite complex (but this is unavoidable). And it seems also unavoidable to use the subreport to get the desired result in terms of formatting:
    - if I don´t use the subreport and more than one characteristic for the details, the structure which is supposed to display the values for each projects like this
    Month
    Year
    Prior Year
    Total
    gets 'dissolved' - first, Month is listed for each project, than Year is listed for each project, etc. This is only avoidable if use only one characteristic and its attributes, but no other characteristics (that are no attribute to the first one). But of course this is not what the customer wants...
    - so my only solution up to now is to list the desired details in the main report and then next to them the structure and the key figure data in the subreport, so that the structure is listed as in the query - but then as mentioned the performance is awful !
    Many thanks in advance for your help !
    Frank

    Hi Frank
    Have you tried using a join in the main report rather than using the subreport linked on the Project Key Code.
    Try joining the query in the main report with the query in the subreport as a single query in the main report.
    Let me know your observations.
    Regards
    Nikhil

  • Problem with a SAP BW Query and Webi

    Hi all,
    Does anybody knows the reason why when using webi to access a SAP BW query that prompts the user for
    a date, it gives an error on the format? It seems the lov is not being populated correctly. If I write
    manually the value the prompt expects, it works, but if you select one of the values of the list it doesn't.
    The version is XIR2 and if you create a simple query everything seems to work fine.
    Any idea?
    I don't know if there is something to do with language parameters or something like that.
    Thank you

    Hi Mike,
    thanks for your answer.
    I will try to send you a screenshot, but I cannot do it at the moment because I am not at the customer site.
    I'll try to explain what we get when we running the webi report.
    The lov to select from retrievs data like "K41002008" that is supposed to be a date, but if you select this value the report fails. Instead of
    selecting the value, if I manually write for instance "01/01/2008", the report works fine.
    I don't know if this is useful.
    Once I have more info to send, I'll do it right away.
    Thanks again for your time
    Regards

  • SAP B1 query generator problem

    Experts,
    i have created one Stored Procedure and want to execute from SAP B1 query manager, but it gives error like
    1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Warning: Null value is eliminated by an aggregate or other SET operation.  'Service Contracts' (OCTR)
    whereas i have used ISNULL everywhere, so no NULL values in any column.
    Exec [dbo].[Micro] '20110401', '20111021'
    is what i  am using to get the data

    /START/
    USE [MIPL_PROD_17 10 2011]
    GO
    /****** Object:  StoredProcedure [dbo].[Micro]    Script Date: 10/21/2011 16:37:42 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[Micro] @FrDt as Date,@ToDt as Date
    AS
    BEGIN
    create table #temp1 (
    TransNum int,
    TransType int,
    TypeOfTransaction varchar(100),
    ItemCode varchar (100),
    QuantityReceived int,
    ChapterId varchar (100),
    PREF varchar (100),
    CUSTOMER varchar (100),
    SUPPLIER varchar (100),
    DUTYP varchar (100),
    PDUTY Float,
    PostingDate Date,
    DocNum int,
    CVD_DUTY Float,
    EDU_CESS Float,
    SEC_CESS Float,
    ADC Float,
    TotalDutyPassed Float,
    QuantityIssued Float,
    EntryNo int
    create table #temp (
    TransNum int,
    TransType int,
    TypeOfTransaction varchar(100),
    ItemCode varchar (100),
    QuantityReceived int,
    ChapterId varchar (100),
    PREF varchar (100),
    CUSTOMER varchar (100),
    SUPPLIER varchar (100),
    DUTYP varchar (100),
    PDUTY Float,
    PostingDate Date,
    DocNum int,
    CVD_DUTY Float,
    EDU_CESS Float,
    SEC_CESS Float,
    ADC Float,
    TotalDutyPassed Float,
    QuantityIssued Float,
    EntryNo int,
    Stock int
    Declare @TransNum int,
    @TransType int,
    @TypeOfTransaction varchar(100),
    @ItemCode varchar (100),
    @QuantityReceived int,
    @ChapterId varchar (100),
    @PREF varchar (100),
    @CUSTOMER varchar (100),
    @SUPPLIER varchar (100),
    @DUTYP varchar (100),
    @PDUTY Float,
    @PostingDate Date,
    @DocNum int,
    @CVD_DUTY Float,
    @EDU_CESS Float,
    @SEC_CESS Float,
    @ADC Float,
    @TotalDutyPassed Float,
    @QuantityIssued Float,
    @EntryNo int,
    @Stock int
    Insert  #temp1
    TransNum,
    TransType,
    TypeOfTransaction,
    ItemCode,
    QuantityReceived,
    ChapterId,
    PREF,
    CUSTOMER,
    SUPPLIER,
    DUTYP,
    PDUTY,
    PostingDate,
    DocNum,
    CVD_DUTY,
    EDU_CESS,
    SEC_CESS,
    ADC,
    TotalDutyPassed,
    QuantityIssued,
    EntryNo
    select
    T0.TransNum,
    T0.TransType,
    CASE
    When T0.TransType = '59' Then 'Opening Balance / Goods Receipt'
    When T0.TransType = '20' Then 'GRPO'
    When T0.TransType = '18' Then 'AP Invoice'
    When T0.TransType = '21' Then 'Goods Return'
    When T0.TransType = '67' Then 'Inventory Transfer'
    When T0.TransType = '60' Then 'Goods Issue'
    When T0.TransType = '59' Then 'Goods Receipt'
    When T0.TransType = '13' Then 'AR Invoice'
    When T0.TransType = '15' Then 'Deliveries'
    When T0.TransType = '69' Then 'Landed Cost'
    End 'Type of Transaction' ,
    T0.ItemCode,
    ISNULL(CASE
    when T0.TransType = '18' Then (Select MAX(T9.Quantity) from PCH1 T9 inner join OPCH T10 on T9.DocEntry = T10.DocEntry where T10.DocNum = T0.Base_Ref and T9.LineNum = T0.DocLineNum)
    When T0.TransType = '59' Then T0.InQty
    End, 0) 'Quantity Received',
    (select MAX(T1.SuppCatNum) from OITM T1 where T1.ItemCode = T0.ItemCode) 'Chapter Id',
    ISNULL(CASE
    When T0.TransType = '13' Then
    (Select MAX(isnull(T2.U_Att1, 0) + '/' + isnull(T2.U_Att2, 0)) from INV1 T2 where T2.ItemCode = T0.ItemCode)
    When T0.TransType = '18' Then
    (Select MAX(isnull(T2.U_Att1, 0) + '/' + isnull(T2.U_Att2, 0)) from PCH1 T2 where T2.ItemCode = T0.ItemCode)
    End, '') 'PREF',
    ISNULL(CASE when T0.TransType = '13'
    Then T0.CardName
    End, '') 'CUSTOMER',
    ISNULL(CASE when T0.TransType = '18'
    Then T0.CardName
    End, '') 'SUPPLIER',
    ISNULL (CASE When T0.TransType = '18' Then
    (select MAX (CAST(isnull(T2.U_CVDP, 0) as varchar(10)) +'% '+  CAST(isnull(T2.U_UNEP, 0) as varchar(10)) +'% '+CAST(isnull(T2.U_USHP, 0) as varchar(30))
              +'% '+ CAST(isnull(T2.U_ADCP, 0) as varchar(10)))+'%' from  PCH1 T2 inner join OPCH T15 on T2.DocEntry = T15.DocEntry where T15.DocNum = T0.Base_Ref and T2.ItemCode = T0.ItemCode and T2.LineNum = T0.DocLineNum)
              End, 0) 'DUTYP',
    ISNULL(CASE When T0.TransType = '18' Then
    (select MAX((isnull(T2.U_CVD, 0) * T2.Quantity) + (isnull(T2.U_UNE, 0) * T2.Quantity) + (isnull(T2.U_USH, 0) * T2.Quantity)
              + (isnull(T2.U_ADC, 0) * T2.Quantity)) from PCH1 T2 inner join OPCH T15 on T2.DocEntry = T15.DocEntry where T15.DocNum = T0.Base_Ref and T2.ItemCode = T0.ItemCode and T2.LineNum = T0.DocLineNum)
              End, 0) 'PDUTY',
    T0.DocDate 'Posting Date',
    T0.BASE_REF 'Doc Num',
    CASE When T0.TransType = '13' Then
    ISNULL((Select MAX(isnull(T9.U_CVD, 0) * T9.Quantity) from INV1 T9 inner join OINV T10 on T9.DocEntry = T10.DocEntry where T10.DocNum = T0.Base_Ref and T9.LineNum = T0.DocLineNum), 0)
    End 'CVD_DUTY',
    CASE When T0.TransType = '13' Then
    ISNULL((Select MAX(isnull(T9.U_UNE, 0) * T9.Quantity) from INV1 T9 inner join OINV T10 on T9.DocEntry = T10.DocEntry where T10.DocNum = T0.Base_Ref and T9.LineNum = T0.DocLineNum), 0)
    End 'EDU_CESS',
    CASE When T0.TransType = '13' Then
    ISNULL((Select MAX(isnull(T9.U_USH, 0) * T9.Quantity) from INV1 T9 inner join OINV T10 on T9.DocEntry = T10.DocEntry where T10.DocNum = T0.Base_Ref and T9.LineNum = T0.DocLineNum), 0)
    End 'SEC CESS',
    CASE When T0.TransType = '13' Then
    ISNULL((Select MAX(isnull(T9.U_ADC, 0) * T9.Quantity) from INV1 T9 inner join OINV T10 on T9.DocEntry = T10.DocEntry where T10.DocNum = T0.Base_Ref and T9.LineNum = T0.DocLineNum), 0)
    End 'ADC',
    CASE When T0.TransType = '13' Then
    ISNULL((
    (Select MAX(isnull(T9.U_CVD, 0) * T9.Quantity) from INV1 T9 inner join OINV T10 on T9.DocEntry = T10.DocEntry where T10.DocNum = T0.Base_Ref and T9.LineNum = T0.DocLineNum)+
    (Select MAX(isnull(T9.U_UNE, 0) * T9.Quantity) from INV1 T9 inner join OINV T10 on T9.DocEntry = T10.DocEntry where T10.DocNum = T0.Base_Ref and T9.LineNum = T0.DocLineNum)+
    (Select MAX(isnull(T9.U_USH, 0) * T9.Quantity) from INV1 T9 inner join OINV T10 on T9.DocEntry = T10.DocEntry where T10.DocNum = T0.Base_Ref and T9.LineNum = T0.DocLineNum)+
    (Select MAX(isnull(T9.U_ADC, 0) * T9.Quantity) from INV1 T9 inner join OINV T10 on T9.DocEntry = T10.DocEntry where T10.DocNum = T0.Base_Ref and T9.LineNum = T0.DocLineNum)
    ), 0)End 'Total Duty Passed',
    ISNULL(CASE
    when T0.TransType = '13' Then (Select MAX(T9.Quantity) from INV1 T9 inner join OINV T10 on T9.DocEntry = T10.DocEntry where T10.DocNum = T0.Base_Ref and T9.LineNum = T0.DocLineNum)
    When T0.TransType = '60' Then T0.OutQty
    End, 0) 'Quantity Issued',
    ISNULL(CASE
    When T0.TransType = '13' Then (Select MAX(isnull(T9.U_RG23D, 0)) from INV1 T9 inner join OINV T10 on T9.DocEntry = T10.DocEntry where T10.DocNum = T0.BASE_REF and T9.LineNum = T0.DocLineNum)
    When T0.TransType = '60' Then (Select MAX (isnull(T11.U_RG23D, 0)) from IGE1 T11 inner join OIGE T12 on T11.DocEntry = T12.DocEntry where T12.DocNum = T0.BASE_REF and T11.LineNum = T0.DocLineNum)
    When T0.TransType = '59' Then (Select MAX (isnull(T11.U_RG23D, 0)) from IGN1 T11 inner join OIGN T12 on T11.DocEntry = T12.DocEntry where T12.DocNum = T0.BASE_REF and T11.LineNum = T0.DocLineNum)
    When T0.TransType = '18' Then (Select MAX(isnull(T9.U_RG23D, 0)) from PCH1 T9 inner join OPCH T10 on T9.DocEntry = T10.DocEntry where T10.DocNum = T0.BASE_REF and T9.LineNum = T0.DocLineNum)
    End, 0) 'Entry No'
    from OINM T0
    where
    T0.ItemCode = 'ELE3ACC0010108' and
    T0.DocDate between @FrDt and @ToDt
    and T0.TransType NOT IN ( '15','20')
    group by T0.TransNum,T0.TransType,T0.ItemCode, T0.CardName, T0.DocDate, T0.BASE_REF, T0.InQty, T0.OutQty, T0.DocLineNum
    order by T0.DocDate
    SET @Stock = 0
    DECLARE rt_cursor CURSOR  FORWARD_ONLY READ_ONLY FOR
    select * from #temp1
    OPEN rt_cursor
    FETCH NEXT FROM rt_cursor INTO
    @TransNum,
    @TransType,
    @TypeOfTransaction,
    @ItemCode,
    @QuantityReceived,
    @ChapterId,
    @PREF,
    @CUSTOMER,
    @SUPPLIER,
    @DUTYP,
    @PDUTY,
    @PostingDate,
    @DocNum,
    @CVD_DUTY,
    @EDU_CESS,
    @SEC_CESS,
    @ADC,
    @TotalDutyPassed,
    @QuantityIssued,
    @EntryNo
    SET NOCOUNT ON
    WHILE @@FETCH_STATUS = 0
    BEGIN
    SET @Stock = @Stock + @QuantityReceived - @QuantityIssued
    Insert  #temp values
    @TransNum,
    @TransType,
    @TypeOfTransaction,
    @ItemCode,
    @QuantityReceived,
    @ChapterId,
    @PREF,
    @CUSTOMER,
    @SUPPLIER,
    @DUTYP,
    @PDUTY,
    @PostingDate,
    @DocNum,
    @CVD_DUTY,
    @EDU_CESS,
    @SEC_CESS,
    @ADC,
    @TotalDutyPassed,
    @QuantityIssued,
    @EntryNo,
    @Stock
    FETCH NEXT FROM rt_cursor INTO
    @TransNum,
    @TransType,
    @TypeOfTransaction,
    @ItemCode,
    @QuantityReceived,
    @ChapterId,
    @PREF,
    @CUSTOMER,
    @SUPPLIER,
    @DUTYP,
    @PDUTY,
    @PostingDate,
    @DocNum,
    @CVD_DUTY,
    @EDU_CESS,
    @SEC_CESS,
    @ADC,
    @TotalDutyPassed,
    @QuantityIssued,
    @EntryNo
    END
    CLOSE rt_cursor
    DEALLOCATE rt_cursor
    select * from #temp
    drop table #temp
    drop table #temp1
    End
    /END/

  • Prompt List of Values in WebI - SAP BI Variable - SAP BI Query -BI Infoset

    Hi,
    We have a Multiprovider built on an Infoset. SAP BI Infoset is built using 2 DSOs.
    There is a SAP BI Query on top of this Multiprovider.
    Multiple-Single Values type Optional Variables are created for some of the Objects of this SAP BI Query.
    Universe is created on top of this SAP BI Query, using SAP Integration kit.
    WebI is created on top of this Universe.
    Prompts are created on some of the Universe Objects, for the WebI report.
    We are facing a typical problem.
    When a WebI prompt is created on one particular object, (which also has a Multiple Single Value type Optional Variable in SAP BI Query), its List of Values is showing up only first three values in WebI. The SAP BI Variable in BEX Analyzer shows up all the 8 values for the List of Values, for the same object.
    The Output WebI report has more values for the object than shown up in the List of Values & this is the problem.
    We tried to keep the settings in Info-object, DSO, Infoset, Multiprovider = Values in Master Data (for the List of Values).
    Similar objects and similar variables for the same query / webi show all the List of Values.
    Any guidance on aspects to be checked would be helpful.
    regards,
    Rajesh K Sarin

    Problem :
    If an SAP BI Infoset is used in data modelling, and a restricted key
    figure is created in the SAP BI Query; the resultant WebI Object Prompt
    for the Info-object, only shows up LOVs which have been used for the
    restricted Key Figure. Both the things are not related except for the
    fact that some of the values for the same object are used for the
    restricted key figure.
    Details :
    We have a Multiprovider built on an SAP BI Infoset.
    SAP BI Infoset is built using 2 DSOs.
    There is a SAP BI Query on top of this Multiprovider.
    There is a restricted key figure in the sap bi query. KeyFigure "Number
    of Records" is restricted for 3 of the relevant Info-object "Meter
    Reading Status" values.
    Universe is created on top of this SAP BI Query, using SAP Integration
    kit. WebI is created on top of this Universe.
    Prompt is created on the Universe Object for Meter Reading Status, in
    the WebI report.
    List of Values is showing up only the three values in WebI (which were
    used in the Restricted Key Figure calculation).
    SAP BI Variable in BEX Analyzer for the same Info-object Meter Reading
    Status shows up all the 8 values for the List of Values.
    The Output WebI report has more values for the object than shown up in
    the List of Values & this is the problem.
    We have kept the settings in Info-object, DSO, Infoset,
    Multiprovider, Query = Values in Master Data (for the List of Values).
    When we delete the "Restricted Key Figure" from the SAP BI Query, the
    refreshed Universe and Webi have a complete set of List of Values
    applicable.   
    Steps for Reconstruction    
    1. Create Infoset
    2. Create SAP BI Query on Infoset
    3. Create Restricted Key Figure for Number of Records and few of the
    values for a characteristic info-object "X".
    4. Create BO Universe on SAP BI Query
    5. Create Webi on BO Universe
    6. Create a Prompt on the characteristic info-object "X".
    7. Check List of Values for the characteristic info-object "X" in SAP
    BI Query and WebI.
    8. LOVs in WebI are equal to the values used for restriction in the
    restricted key figure.
    9. Delete the restricted key figure from SAP BI Query.
    10. Refresh Universe
    11. Webi prompt shows all the values for the prompt on "X".

  • Webi Report Against SAP BW Query Fails When Scheduled

    Hi all,
    I'm facin a problem with all my Web intelligence Reports. When i refresh them on demand from view or design mode, everything works fine, but when i schedule them all instances fails with this error:
    A database error occured. The database error text is: The MDX query SELECT { [Measures].[DF4LK70NQJ0KRU6XHODIE9TGA], [Measures].[3EG3OC7QZBODSE9J2JI4OLOPI], [Measures].[CXDGYOWE9FJFHS72KIO78WGTT], [Measures].[12C28AI1LLXSDEHMWCDUMJWCW], [Measures].[E2OE5J39YBUPP4IPZCX1HNHZX], [Measures].[5X2TIT4FSFEBHYFDEFACO2DCF], [Measures].[E6WGO3AACYBZ20ZIHZF28Y9TT], [Measures].[CB1PAR1H2KF21CWAY6G3NP2WK], [Measures].[8GZAGANUUZA7B2V59A5FBB5BO] } ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [ZSOLTYPE].[LEVEL01].MEMBERS, [0CALMONTH].[LEVEL01].MEMBERS ), [0MATL_GROUP].[LEVEL01].MEMBERS ), [0MATERIAL__0MATL_TYPE].[LEVEL01].MEMBERS ), [0COMPL_DEL].[LEVEL01].MEMBERS ), [0BBP_STATUS].[LEVEL01].MEMBERS ), [0PLANT].[LEVEL01].MEMBERS ) ON ROWS FROM [CUBE_NAME/QUERY_NAME] SAP VARIABLES [ENTFINAL] INCLUDING X [0I_CALZ2] INCLUDING ENE 2008 : MAR 2008 failed to execute with the error FUNCTION_NOT_FOUND. (WIS 10901) .
    BO is XI3.0, BW 3.5, Universe made from a SAP BW Query.
    Thanks in advance!

    Hi Ingo,
    All the authorizations for crystal report to fetch data is in place, and crystal report refresh and schedule runs success fully. The issue is only in Web Intelligence.
    If it is same as crystal report we should see similar results for crystal report, which is not the case as of now. Crystal report refreshes without any error and we can able to schedule it without any problem.
    As it is said earlier, SAP secuirty guy doesnt find any missing authorizations. It is very difficult to say which authorization is missing.
    Edited by: Raghavendra Barekere on Nov 7, 2008 6:42 PM

  • Re: Crystal Report and SAP BW Query with Variable

    Crystal Report 2008 V1 SP3 and SAP Integration Kits 3.1 SP3 installed on my client machine.
    I can open SAP BW Query in Crystal Report. However, in the Field Explorer >Database Fields, I dont see to be able to expan the Query and see it Key Figure/Characteristic.
    I noticed this happen only if we have Variable defined in the Charactics.
    If the characteristic has no variable, then I can expand the Query under Database Fields.
    Do you have this problem?

    Yes, once I have imported the new SAP Integration Kits XI 3.1 SP3 transports into BW system, I can now expand the it.
    I can now see the Variable in Crystal Report.
    Thanks!

  • Unable to use SSO with universe connection on top of SAP BW query

    Hi,
    We're creating a universe on top of a SAP BW query by using universe designer.
    We logon to universe designer by using SAP credential.
    When creating the connection, we set the option "Use Single Sign On when refreshing reports at view time" in order to logon to BW server. But when clicking next, an error arises:
    "DBD: Unable to connect to SAP BW server Incomplete logon data"
    The strange thing on this is that there is one laptop which is able to set up this kind of connection, while all other workstations are not able to set it because they recieve that error (we all work against the same BO server). So this looks like an installation issue.
    We reinstalled SAP Integration Solutions on those workstations, but problem is still the same.
    I found thread: Universe Connection Authentication on SAP BW which talks about the same issue, but solution involves uninstalling Xcelsius. But we do need Xcelsius!
    Any suggestions?
    Thanks,
    David.

    >
    Ingo Hilgefort wrote:
    > Hi,
    >
    > - how did you enter the SAP credentials when logging on ?
    username/password with sap authentication
    >
    > - are you using a application server or a message server for the connection ?
    Application server
    >
    > - SAP GUI is installed ?
    SAP GUI 710 patch 11
    >
    > - SAP Integration Kit is installed ? is it a full keycode or a temp keycode ?
    SAP Integration Solutions with temp keycode
    >
    >
    > thanks
    > Ingo

  • Universe creation against SAP Cubes/Queries with same connection

    Hello,
    I am creating universe against the connection for SAP BW system, once I have created a connection and selected a cube or query and built a universe on top of it....If I go back and create a new universe and this time change the connection to point towards a new cube/query the old universe stops working.
    Is it a limitation for SAP database where we need to have a new connection setup for each universe...or is there a different way to use same connection pointing towards different cubes/queries for different universes.
    Please let me know.
    Thanks
    Dharma.

    Hi
    when you build a universe based on the connection and want to use the universe with reports you can not change the underlying connection because then your universe will not work anymore.
    You can have multiple universe on a single connection.
    here some more details:
    Web Intelligence and SAP BI
    /people/ingo.hilgefort/blog/2008/03/24/businessobjects-and-sap-part-5
    Web Intelligence - Delegated Search and Delegated Measures
    /people/ingo.hilgefort/blog/2008/08/27/businessobjects-and-sap-part-6--web-intelligence-and-sap-bi
    OLAP Universe Change Management
    /people/ingo.hilgefort/blog/2008/08/29/businessobjects-and-sap-part-7--olap-universe-change-management
    Web Intelligence Best Practices with SAP NetWeaver BI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/008d15dc-f76c-2b10-968a-fafe5a121129
    ingo

  • Best Practices v3.31 - SAP InfoSet Query connection

    Hi,
    I have a problem with adapting a Crystal Report from Best Practices for Business Intelligence v3.31 to SAP system. The report "Cost Analysis Planned vs. Actual Order Costs.rpt" is using SAP InfoSet Query "CO_OM_OP_20_Q1". This InfoSet Query is working fine in SAP. My SAP-User has access to the following user groups:
    - /SREP/IS_UG
    - /KYK/IS_UG
    - ZBPBI131_USR
    The Controlling Area in SAP is '1000'. Crystal Reports generates this error message:
    - Failed to retrieve data from the database.
    - Database Connector Error: "Controlling area does not exist"
    - Database Connector Error: 'RFC_CLOSED'
    But InfoSet Query "CO_OM_CA_20_Q1" has no problem with Controlling Area '1000' in Crystal Reports and is working fine in SAP!
    Can somebody help?
    Thanks in advance.
    Peter

    Hello Peter,
    I'm using Best Practices for BI v1.31 and this one also has this report you are talking about.
    I face the same issue when trying to adapt it to my ERP, but if I run it in SAP GUI, it goes smoothly without any issue.
    Please advise,
    Thanks in advance,
    Carlos Henrique Matos da Silva - SAP BusinessObjects BI - Porto Alegre/Brazil.

  • SuPM - Data from SAP BW Query(Automatic) and Manual not displayed in KPI

    Dear Forum,
    I am also, currently working on a project implementing BO SuPM Version 1.0. Landscape is ECC -> BI -> SuPM dashboards.
    I have created a KPI in SuPM dashboard.
    Case 1 : Automatic data collection - This KPI is marked for Automatic data collection. So, maintained Scripts with Connectivity and SAP BW Query name. I save this KPI and include in a new report and Run it. There are no records displayed.
    Case 2: Manual data collection - This KPI is marked for manual data collection. So, maintained values in SuPM portal itself. I save this KPI and include in a new report and Run it. There are no records displayed.
    Could you please help me how KPI in SuPM be filled manually and automatically ( from BW Query)?
    Thanks,
    Best Regards
    PhaniRaj

    Dear Phani,
    First of All, you should have a framework created and assign the Core KPI to that framework and specify the frequency of the framework (Say Monthly) and Activate it.
    Upon Activation, if it is a Manual Data Collection, then you should perform Role Assignment ie specifyinfwho would be the Business Contributor & Approver for ur Manual KPI.
    After this, you have to run this program [/SRCORE/DATAREQUEST] in SE38 in the backend system which wil create a data request,
    Later you should login as Business Contributor and go to MY Data Requests and then provide the data for the Month specified. Then login as Approver and under Approvals option, you should Approve the data. Now, you should go to SuPM application and select that Month in the dimension and KPI and then RUN the Report.
    For Automated Data Collection, you should have to initially creata a Query (SAP/ BW) and specify the name of the query in SPRO--> Sustainability Performance Management --> Automated Data Collection --> Maintain Queries (SAP/ BW) -->  Specify that Query name and the Connector ID (SM59).
    Now go for KPI creation and specify the Query name in the KPI and then Assign the KPI to the framework and activate it.
    Upon Activation, You should RUN the program /SRCORE/AUTO_DATA_COLLECT. Now, select this KPI in the report and RUN the report.
    If you perform these actions, you will get the values in the report.
    It can be checked in the backend application, either by checking the Process chain[RSPC] or by checking the Infocube if the data is loaded into the Infocube or not.
    Let me know if you face any problems...
    Regards,
    Raghu

  • Copy BW template (cube, query, web application) to multiple BW systems

    We have a set of cube, query and web applications in a BW system. And we'd like to copy the set of objects to other BW systems as a BW template.
    (Q1) We know we can transfer the set of obejcts to other BW systems by using STMS and AWB. But if so we have to make connection between two systems. We'd like to avoid coping the template via internet or intranet.
      Is it possible to copy the BW template to other BW systems by using CD-ROM/DVD?
    (Q2) When we do copy the template, if there is an InfoObject with same name existing in copy-to system, I suppose there will be an error. Is there a solution to avoid this situation?
    Tetsuya

    Hi Tetsuya,
    here are more details for the procedure mentioned above:
    Datafiles of transport requests are in most SAP-Installations located in /usr/sap/trans/data. They are named R<# of transport request>.<SID>
    The cofiles are in most SAP-Installtions located in /usr/sap/trans/cofiles. They are named K<# of transport request>.<SID>
    Do NOT change the names of the files. We've discovered that it's safer to zip those files, as some virus scanners in email-servers may scramble the files.
    Locate the files in the appropriate directory of the target system and go to the import-queue using STMS.
    Chose Extras / Other requests / Add to add the request to the queue (note: you must use the request number of the source-system e.g. <SID>K900123)
    When you start the import, choose option "Overwrite Objects in unconfirmed Repairs", when you want existing objects to be overridden.
    Hope, this helps
    Robert

  • Unable to find Cube / Query in Catalog (Designer)

    Hello,
    Our current environment consists of BW Queries which are access by BO Universes. When creating a Universe we were able to see all queries but since we did some changes to the MP and cubes we don't see the queries anymore from BO Side.
    Also the current reports fail with an error "Unable to find Cube <QueryName> in catalog".
    The queries used in the universes are still visible and accessible in BEx Analyzer.
    What I tried so far (with a super user) is:
    1. Generate query again -> no change
    2. Save the query again -> no change
    3. Remove the flag u201CAllow external Access to this queryu201D, save query and flag the option again -> no change
    4. Activate the MultiProvider again -> no change
    5. Copy the query to another query u2013
         -> New query is accessible. This means the MP and cubes are not the reason. It seems like the query is gone in an inactive modeu2026
    6. Used BAPI  BAPI_MDPROVIDER_GET_CUBES to get the list of accessible queries.
         -> I see the same list as in BO. Most queries are missing. The ones that are in the list disappear whenever we try to access these queries from BO.
    Did anyone encounter the same issue and was able to solve it?
    Environment: SAP BI 7.1 EHP1 SP5, BO XI 3.1 SP2(1.7).
    Thanks in advance.
    Manu

    Hi Manu,
    your are talking about universe designer here - right?
    We have the same behaviour currently in Crystal 2008 designer and universe designer.
    In both we can see the same but not the complete list of queries.
    We made sure the "allow external access" option is set in BEX.
    We resolved both issues with same root cause :  adjust Query properties -> Req. status ->   ...
    Pls refer to thread Unable to find BW Query while creating connection with universe designer as well - thanks Ingo !
    - logon to the SAP system
    - start transaction RSRT
    - enter the technical name of the BW query in the syntax CUBE/QUERY
    - click Properties
    - set the second item called Req.Status.
    - set that one to 0
    Let us know if this helped !
    Holger
    Edited by: Holger Brasch on Mar 26, 2010 11:58 PM

  • CR connection to SAP BI Query failed - error message

    Sorry, this forum is better for my question:
    Hallo,
    i get an error message by trying to login to SAP BI (over sap bi query toolbar)
    COM-Ausnahme in CExtToolbar::GetRemoteFileCookie() abgefangen. HR=0x90000001
    COM-Ausnahme in CExtToolbar::InitOpenSaveDialog() abgefangen. HR=0x90000001
    COM-Ausnahme in CExtToolbar::InitializeGlobalData() abgefangen. HR=0x03c9afe7
    Login faild with normal connection-wizard, too.
    I have no problems with Bex Analyzer or other BO-tools on this system.
    I can access with CR to queries of another SAP BW-System.
    Has anybody an idea?
    CR Version 12.2.3.467
    SAP Integration SP2 & Patch 02
    TIA
    Stefan

    CrystalReports-TraceFile:
    ========================================================================================================
    Trace file opened at , SAP-REL 710,0,0 RFC-VER U 3 880476 MT-SL
    resize I/O buffer to 16000 bytes
    >>>>   OPEN  
    UUID: ab_drvstate create uuid {C045FCDE-7D4C-F1F8-9568-00164191FA4E}
            { }_{ }_0-
    0
            { }_{ }_0-
            __0
    >>>> <unknown>    : EXT  <ac: 2> L 192.168.168.11 >>> 50579148 (50579148)
      -{C045FCDE-7D4C-F1F8-9568-00164191FA4E}
    >TS> Fri Jan 08 12:05:43 2010
            { }_{ }_0-
            __0
    >>> RfcOpenEx ...
    Got following connect_param string:
       CLIENT=800 LANG=DE CODEPAGE=1100 ASHOST=192.168.168.11 SYSNR=00 USER=shergert PASSWD=******* TRACE=1
    Send RFCHEADER: 01/LIT/IEEE/SPACE/1100
    Send UNICODE-RFCHEADER: cp:1100/ce:IGNORE/et:5/cs:2/rc:0x00000023
    UUID: send_rfcuuid {C045FCDE-7D4C-F1F8-9568-00164191FA4E}
    DT ERROR> ab_dtrfcSendInfo (rc: 1        { }_{ }_0-
    1
    >>> Logon check: calling RFCPING
    >>> RfcCall ...
    *> RfcCall
      FUNCTION RFCPING
            handle = 1
            parameter   = <NULL>
            tables      = <NULL>
    UUID:  RfcCallNew send the uuid to the partner {C045FCDE-7D4C-F1F8-9568-00164191FA4E}
    >>>> <unknown>    : EXT  <ac: 3> L 192.168.168.11 >>> WRITE (50579148)
      -{C045FCDE-7D4C-F1F8-9568-00164191FA4E}
            { }_{ }_0-
            __1
    000000 | D9C6C3F0 F0F0F0F0 F0F0F0E3 01010008 |ÙÆÃððððððððã....|
    000010 | 01010101 01010000 01010103 00040000 |................|
    000020 | 060B0103 0106000B 01010000 01050200 |................|
    000030 | 00002301 06000700 1E310039 0032002E |..#......1.9.2..|
    000040 | 00310036 0038002E 00310037 0038002E |.1.6.8...1.7.8..|
    000050 | 00320034 00200000 07001800 5A310039 |.2.4. ......Z1.9|
    000060 | 0032002E 00310036 0038002E 00310037 |.2...1.6.8...1.7|
    000070 | 0038002E 00320034 00200020 00200020 |.8...2.4. . . . |
    000080 | 00200020 00200020 00200020 00200020 |. . . . . . . . |
    000090 | 00200020 00200020 00200020 00200020 |. . . . . . . . |
    0000a0 | 00200020 00200020 00200020 00200020 |. . . . . . . . |
    0000b0 | 00200020 00200000 18001100 02450000 |. . . .......E..|
    0000c0 | 11001200 08370031 00300020 00001200 |.....7.1.0. ....|
    0000d0 | 13000837 00310030 00200000 13000800 |...7.1.0. ......|
    0000e0 | 40690077 006E0062 00320038 00200020 |@i.w.n.b.2.8. . |
    0000f0 | 00200020 00200020 00200020 00200020 |. . . . . . . . |
    000100 | 00200020 00200020 00200020 00200020 |. . . . . . . . |
    000110 | 00200020 00200020 00200020 00200020 |. . . . . . . . |
    000120 | 00000800 0601003C 0075006E 006B006E |.......<.u.n.k.n|
    000130 | 006F0077 006E003E 00000000 00000000 |.o.w.n.>........|
    000140 | 00000000 00000000 00000000 00000000 |................|
    000150 | 00000000 00000000 00000000 00000000 |................|
    000160 | 00000000 00000000 00000000 00000000 |................|
    000170 | 00000000 00000000 00000000 00000000 |................|
    000180 | 00000000 00000000 00000000 00000000 |................|
    000190 | 00000000 00000000 00000000 00000000 |................|
    0001a0 | 00000000 00000000 00000000 00000000 |................|
    0001b0 | 00000000 00000000 00000000 00000000 |................|
    0001c0 | 00000000 00000000 00000000 00000000 |................|
    0001d0 | 00000000 00000000 00000000 00000000 |................|
    0001e0 | 00000000 00000000 00000000 00000000 |................|
    0001f0 | 00000000 00000000 00000000 00000000 |................|
    000200 | 00000000 00000000 00000000 00000000 |................|
    000210 | 00000000 00000000 00000000 00000000 |................|
    000220 | 00000000 00000000 06051400 10DEFC45 |.............ÞüE|
    000230 | C04C7DF8 F1956800 164191FA 4E051401 |ÀL}øñ.h..A.úN...|
    000240 | 30000A44 0075006D 006D0079 00013001 |0..D.u.m.m.y..0.|
    000250 | 11001053 00480045 00520047 00450052 |...S.H.E.R.G.E.R|
    000260 | 00540001 11011700 10369D4D 071EB1B2 |.T.......6.M..±²|
    000270 | 4FB3B81A 7E5E6C37 16011701 14000638 |O³¸.~^l7.......8|
    000280 | 00300030 00011401 15000244 00011505 |.0.0.......D....|
    000290 | 01000101 05010136 002500FF 02540D12 |.......6.%.ÿ.T..|
    0002a0 | 00020000 00300D12 006C15C0 45FCDE7D |.....0...l.ÀEüÞ}|
    0002b0 | 4CF1F895 68001641 91FA4E00 00000101 |Lñø.h..A.úN.....|
    0002c0 | 36050200 00050200 0B000637 00310030 |6..........7.1.0|
    0002d0 | 00000B01 02000E52 00460043 00500049 |.......R.F.C.P.I|
    0002e0 | 004E0047 00010205 140010DE FC45C04C |.N.G.......ÞüEÀL|
    0002f0 | 7DF8F195 68001641 91FA4E05 14FFFF00 |}øñ.h..A.úN..ÿÿ.|
    000300 | 00FFFF00 00000000 00000000 00000000 |.ÿÿ.............|
    >>>> <unknown>    : EXT  <ac: 4> L 192.168.168.11 >>> FLUSH(WRITE) (50579148)
      -{C045FCDE-7D4C-F1F8-9568-00164191FA4E}
            { }_{ }_0-
            __1
    <* RfcCall : returns 0:RFC_OK
    >>> RfcListen ...
    >>>>   FLUSH(WRITE) (50579148)
      -{C045FCDE-7D4C-F1F8-9568-00164191FA4E}
            { }_{ }_0-
    1
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>>> Listen/WaitForRequest (counter = 27)
    >>>> <unknown>    : EXT  <ac: 6> L 192.168.168.11 >>> LISTEN (50579148)
      -{C045FCDE-7D4C-F1F8-9568-00164191FA4E}
            { }_{ }_0-
            __1
    000000 | 01010008 01010101 01010000 01010103 |................|
    000010 | 00040000 020B0103 0106000B 04010003 |................|
    000020 | 01030200 00002301 06001600 04313130 |......#......110|
    000030 | 30001600 07000F31 39322E31 36382E31 |0......192.168.1|
    000040 | 36382E31 31200007 0018002D 3139322E |68.11 .....-192.|
    000050 | 3136382E 3136382E 31312020 20202020 |168.168.11      |
    000060 | 20202020 20202020 20202020 20202020 |                |
    000070 | 20202020 20202020 20001800 11000133 |         ......3|
    000080 | 00110012 00043730 31200012 00130004 |......701 ......|
    000090 | 37303120 00130008 00206977 73617031 |701 ..... iwsap1|
    0000a0 | 5F495731 5F303020 20202020 20202020 |_IW1_00         |
    0000b0 | 20202020 20202020 20200008 00060080 |          ......|
    0000c0 | 3C007500 6E006B00 6E006F00 77006E00 |<.u.n.k.n.o.w.n.|
    0000d0 | 3E000000 00000000 00000000 00000000 |>...............|
    0000e0 | 00000000 00000000 00000000 00000000 |................|
    0000f0 | 00000000 00000000 00000000 00000000 |................|
    000100 | 00000000 00000000 00000000 00000000 |................|
    000110 | 00000000 00000000 00000000 00000000 |................|
    000120 | 00000000 00000000 00000000 00000000 |................|
    000130 | 00000000 00000000 00000000 00000000 |................|
    000140 | 00060130 00085341 504D5353 59310130 |...0..SAPMSSY1.0|
    000150 | 05140010 DEFC45C0 4C7DF8F1 95680016 |....ÞüEÀL}øñ.h..|
    000160 | 4191FA4E 05140500 00000500 04150002 |A.úN............|
    000170 | 30300415 04160001 58041604 17000333 |00......X......3|
    000180 | 34310417 04110017 43414C4C 5F46554E |41......CALL_FUN|
    000190 | 4354494F 4E5F4E4F 545F464F 554E4404 |CTION_NOT_FOUND.|
    0001a0 | 11040300 1743414C 4C5F4655 4E435449 |.....CALL_FUNCTI|
    0001b0 | 4F4E5F4E 4F545F46 4F554E44 04030402 |ON_NOT_FOUND....|
    0001c0 | 002D4465 72204675 6E6B7469 6F6E7362 |.-Der Funktionsb|
    0001d0 | 61757374 65696E20 22522220 69737420 |austein "R" ist |
    0001e0 | 6E696368 7420766F 7268616E 64656E04 |nicht vorhanden.|
    0001f0 | 02FFFF00 00FFFF00 00000000 00000000 |.ÿÿ..ÿÿ.........|
    <* RfcListen : returns 0:RFC_OK
    >>> RfcReceive ...
    Received RFCHEADER : 01/LIT/IEEE/SPACE/1100
    Received UNICODE-RFCHEADER : cp:4103/ce:IGNORE/et:3/cs:2/rc:0x00000023
    UUID: ab_rfccheck_uuid compare uuid's {C045FCDE-7D4C-F1F8-9568-00164191FA4E}
    Error in program 'Dummy': ======> 敄⁲畆歮楴湯扳畡瑳楥刢u2022獩⁴楮档⁴潶桲湡敤
    >>>> <unknown>    : EXT  <ac: 7> L 192.168.168.11 >>> FREE abrfcio.c 3440 (50579148)
      -{C045FCDE-7D4C-F1F8-9568-00164191FA4E}
            { }_{ }_0-
            __1
    >>>>   CLOSE abrfcio.c 3144 (50579148)
      -{C045FCDE-7D4C-F1F8-9568-00164191FA4E}
            { }_{ }_0-
    __1
    ==== Delta 0   0 LOG DROPPED
    Trace file opened at , SAP-REL 710,0,0 RFC-VER U 3 880476 MT-SL
    *> RfcReceive
            handle = 1
            parameter   =
    Error in program 'Dummy': <* RfcReceive : returns 3:RFC_SYS_EXCEPTION
    <<< RfcOpenEx failed
    <<<<<
    Edited by: StefanHGT on Jan 8, 2010 1:59 PM

Maybe you are looking for