Quantcast
Channel: SCN : Unanswered Discussions - Semantic Layer
Viewing all 1291 articles
Browse latest View live

Database Functions In IDT

$
0
0

Hi Experts,

 

I have created one universe on SAP BI(BW), in this universe I wanted to create one dynamic filter based on date for last 12 months (Current month not included) I tried some database function like add_months and so, but these are not working for this.

 

Could any one tell that what type of database functions I Can use in IDTfor this.

 

Thanks,

G Sampath Kumar


Creating alias to resolve loop

$
0
0

Hi Guys,

 

I have a loop in my Universe involving 6 tables. In the integrity check, it says that the loop can only be resolved by an alias.

 

My question is - does is matter where I insert the alias table to break the loop? How does one decide which table join to break and insert the alias?

Universe Connection Issue

$
0
0

Hi All,

 

I work on BO 3.1 SP5.

I have an issue in the Connection String of the Universe. I have lot of other connection strings in my repository which points to Test / Dev environments.

 

I have "Con String 1" which points to the  Development database, and "Con String 2" which points to the Testing database.

I am connected to a Con String 1 for a particular Universe.

Ideally it should point to Development database. But instead, it gives me data of Testing database.

 

And the surprising fact is, this happens only with this particular universe. With all other Universes, the Con String 1 points correctly to Development database.

Hence, I believe, the TNS also is proper.

 

Does the Connection string get corrupted only for a particular Universe??

 

Awaiting your inputs.

 

Rgds,

Kavitha

 


Finding Database Name of a Connection

$
0
0

Hi Geeks,

 

I need to find out the Database Name used in my Connection and then have it displayed in my report.
For e.g. Database Name of Query1 is like 'Qualifier.Owner.Table.Column'; I need to get the Qualifier(this is the same Qualifier details that we see in IDT).

 

I did try using =Connection([Query 1])(in webi) and I also have the edit connection privilege; but I see only the below details:


DB Layer: "JDBC". DB Type: "Generic JDBC datasource".

 

Even @Variable('DBUSER') in IDT is of no use as it provides UserName of login not the database name.

 

I'm interested to get the database name only, not the above info, is there any other way.  Even if we can somehow get the 'JDBC URL' string, I can take the database name from this string and my purpose will be solved.


Is there any function either in WEBI or IDT that I can use to achieve it?
If not, pls provide any aliter way.

Thanks in advance for your help.

 

 

Regards
NK

cant find dimensional calculation view in IDT

$
0
0

Hello,

In the IDT DFX we cant find only CV which their Data Category is CUBE. We cant use CV with Data Category DIMENSION.

Why is that?

 

 

Thanks

Amir

Moving Complicated Queries into a Universe

$
0
0

Greetz!

 

I'm a newbie to BOBJ and have been asked to take an existing report that has been done in Excel and create a BOXI 3.1 SP7 reporting solution to replace it.

 

The Excel version was using ODBC to connect to an Oracle box and running SQL statemements that originated from Explorer and used them pretty much verbatim.

 

The query (actually alot of them fit this mold) has a few case statements in the select which use the results of a subquery in the from clause. There are multiple subqueries in the from clause. The Where clause has Case statements as does the group by.

 

 

I currently have it setup as a Derived Table that is using these SQL statements and I have replaced the dynamic bits in the where clauses with a prompt. It works fine and I'm happy to leave it as is except for this little nagging voice that is complaining about the loss of performance with the derived tables. Also, the queries for my next report do away with the filter in the Where clause and each query runs for ALOT longer than the reports I'm currently working on.

 

So is it possible to take these complicated, long running queries that use nested subqueries and create BO objects from them to avoid Derived Tables?  When I've attempted to break these down into individual Universe objects, the queries get rewritten in the WEBI reports so that they end up producing markedly different results or no reults at all. Perhaps I should live with the performance hit and just schedul the jobs to run in the off hours. by a long time I mean about an 1 to 2 hours for all queries to execute.

 

Again, I am using BOXI 3.1 SP7 with an Oracle 11g backend.

 

Thanks!

Sap BO BW Sap authentication: Users NOT imported

$
0
0

HI,

 

I'm learning to implement Sap authentication, and I'm not able to get BW users to get imported and sign on in BO.

 

Although the roles are imported, none of BW users were imported to BO. Tried different licence type (named or concurrent users). set the following authorization objects as per section 8.5.2 Creating a user account for BI platform or the BO 4.x user guide , sap integration section:

 

S_DATASET

S_RFC

S_USER_GRP

 

read sap note 2055855 - In BI4 SAP BW Roles can be imported, but no users are imported. And the resolution says "

The BI platform system requires an SAP user account that is authorized to access SAP role membership lists and authenticate SAP. You will need the account credentials to connect the BI platform to your SAP system"

 

 

What are the exact sap bw roles the user needs to have in order to be able to import users to BO CMS?

 

 

Thanks.

 

John

Not getting DSN name while creating Relational Connection in IDT


Impact of a Connection Name change and folder on Universe and webi Report?

$
0
0

I am wondering what (if any) impact would a report and universe (.unv) have if I change the connection name and move the connection  to a different folder?

Will the universe and report continue to work the way it does currently?

 

Thank you.

Project Synchronization help

$
0
0

Hello,

 

I'm working on a universe in BI 4.0 with another Designer and we're trying to work on two different views of the same Data Foundation.  For the past couple of days, I've been unable to sync up our work so we stay on track with our development. 

 

I've read and watched the tutorials, and I'm still confused to how the project syncing works.  Can someone help out and let me know the sequence of when the other developer uploads his changes to the server, then I pull them down from the server to sync up? 

 

I can add more details if you have questions.

 

Thanks

Neal

Multisource universe issue with Teradata

$
0
0

Hi,

 

I am creating a Multisource universe connected to SQL server and Teradata. I was able to create WebI report by adding objects from both data source the report is running at some instance and later it is not running.

 

The report is running properly when the objects for SQL sever or Teradata alone is pulled in reports. But give errors when pulling objects from both datasource.

 

If we restart the Adaptive Processing Server and SIA  the report is getting executed successfully and again after some run we are getting the following errors,

 

1. CORBA error while communicating with the SL service: WIS 00000

2. processDP session failed

 

Any input will be helpful.

 

Thanks,

Karthik K

Derived table referencing DUAL table in BW

$
0
0

Hello Experts,

 

I appreciate your help in advance... I struggling creating a derived table referencing DUAL table in the unvierse. I am building universe on SAP BW multi-provider so objects syntax looks like ~@catalog('connection')."PUBLIC"."0FACT".

 

Tried following ways with no luck...

 

select 'QTY' as FACT_TYPE from DUAL

union

select 'AMT' as FACT_TYPE from DUAL

 

'and'

 

select 'QTY' as FACT_TYPE from @catalog('Connection')."PUBLIC"."DUAL"

union

select 'AMT' as FACT_TYPE from @catalog('Connection')."PUBLIC"."DUAL"

 

I am looking for any advice or solution.

 

Thanks

Ravi

Opening a unx universe lasts very long and now fails without change before

$
0
0

Hello,

 

I've been using UNX universes in a project. Currently using Version 4.1 Support Pack 2 Patch 9.

 

This problem can be described in two parts.

 

  • Generally, opening an unx universe lasts very long. Almost 3 minutes! This happens every morning, then after during the day, the opening process lasts only a few seconds. The universes are quite small. I tested it by creating a completely new universe with just one table and one object. The same result. The next morning,  this pehenomena does happen anew. UNV universes work fine all the time and load quickly.
  • A more severe problem occured twice and currently there is no solution. Suddenly, without any change, opening an unx universe does not end. No universe to see. The Webi reports cannot be opened as well. The las time, this disappeared over night. This time not. A BO consultant from SAP said,, this might be caused by a full cache. But this particular day, I opened the universe (comparitively) not very often and the Server was restarted only a few hours before (and after this, unx universes could be opened).

 

Any ideas? I presume, both problems are caused by the same defect.

Webi Default Date Prompt filter in Universe

$
0
0

Hello,

 

I am trying to create a default date filter prompt in universe to take in default date ,for scheduling dumps of report daily

below is the oracle sql code(Oracle 12c)

HV_AUM_MGMTFEES.TRANS_DATE =

 

 

CASE WHEN 

 

 

@Prompt('To Date','DT',

'Hv Aum Mgmtfees\Trans Date',mono,free,Not_Persistent)  is null

THEN

 

 

select max(trans_date)+1 from  HV_AUM_MGMTFEES

 

 

ELSE

 

 

@Prompt('To Date','DT',

'Hv Aum Mgmtfees\Trans Date',mono,free,Not_Persistent)

END

 

i am getting missing expression error is this the right approach or is there something wrong with the code

 

Thanks in advance

Gaurav

how to use 1st derived tables object into 2nd derived table in Universe

$
0
0

Hi All,

 

I have 2 derived tables need to use objects from 1 derived table objects into 2nd derived table

 

1st derived table name India12

object name P1_Start, P1_ End

 

2nd derived table name India20

 

sql:

SELECT 'Q1'  as PRD,SUM(MBR_CNT)

FROM

(

SELECT

COUNT(DISTINCT MEH.MBR_KEY)      AS MBR_CNT

 

FROM MBR M

INNER JOIN MBR_PROD_ENRLMNT_HIST_WGS MEH

ON M.MBR_KEY = MEH.MBR_KEY

 

WHERE  MEH.MBR_PROD_ENRLMNT_EFCTV_DT <= P1_Start

AND MEH.MBR_PROD_ENRLMNT_TRMNTN_DT > P1_End

 

the bold objects are belongs to derived table 1

 

how to use this i am unable to use this

 

i am using SAP BO universe 3.1

 

Thanks in Advance..

 

 

 

Ranjeet


Join Order in the BO query

$
0
0

I am using   SAP BO universe designer version 12.6.1.1691.

I use BO Infoview version 3.1 to create reports.

The scenario consists of a fact table, Fact_Table1 and 3 master tables MT1,MT2,MT3. The fact table is joined with Master table 1 and 2 on the respective Ids.

The 3rd master table  MT3 is  joined with MT1,MT2 using a complex join. The query generated in BO is of the form

 

select MT1.dim1,

        MT2.dim2,

        sum(FT1.measure1)

FROM   MT3 INNER JOIN MT2  ON (MT3.id1=MT2.id1 and MT3.id2=MT1.id2)

INER JOIN FT1  ON (FT1.id2=MT2.id2)

INNER JOIN MT1 ON (FT1.id1=MT1.id1)

group by 1,2

 

This throws  an error ' *** Failure 3782 Improper column reference in the search condition of a joined table. ' since the join in the first line refers a column from a table that is mentioned in the last line.

However this doesn't occur  if the order of joins is interchanged.

MT3 can't be joined with MT1 and MT2 with a simple join since this will create a loop.

Is there any way I can specify the order of joins in BO designer, except putting them in a context, to avoid this problem?

Is there an alternate way to obtain the above query without using complex joins?

SQL- Creating File Locations for Prompt Values. (Desktop Intelligence)

$
0
0

Hi,

Trying to create directions for specific location, for where the report will save after it has run on the repository.

But for some reason it is not saving out after it has run.

 

If PromptID = Value Then myfilepath = "Value"

 

 

If GLX_DIM_MMG.MMG2_ID = "XQ" Then

                myFilePath = "\\hubble\brands\Technical\FAULTYRR\Supplier\XQ"

             

            ElseIf GLX_DIM_MMG.MMG2_ID = "XY" Then

                myFilePath = "\\hubble\brands\Technical\FAULTYRR\Supplier\XY"

             

            ElseIf GLX_DIM_MMG.MMG2_ID = "XI" Then

                myFilePath = "\\hubble\brands\Technical\FAULTYRR\Supplier\XI"

 

Is there anything that I am missing, as when I try it without the prompt the files save out happily.

 

               myFilePath = "\\hubble\brands\Technical\FAULTYRR\Supplier\XI"

Recursive sql at the universe designer level

$
0
0

Hi,

 

Is there any way to write recursive sql at the derived table level in the universe?

 

If i use below with clause query it is throwing error

 

WITH Asd(Child,
  Parent
  
)
AS(SELECT Employee_Id,
  Manager_Id
  
FROM Employees
  
UNIONALL
  
SELECT E.Employee_Id,
  A
.Parent
  
FROM Employees E, Asd A
  
WHERE E.Manager_Id = A.Child
  
)
SELECT Child,
  Parent
 
FROM Asd
 
WHERE Parent ISNOTNULL
 
ORDERBY Child, Parent;


if i use below query then am getting two level data (parent and child but not grand parents and all)

Select empno,ename,mgr

   from emp

   start with mgr is null

   connect by prior empno = mgr;



Is there any way to get n levels of data using connect by prior clause? Please help me

MySQL DB ranking issue

$
0
0

We have a unx universe based on MySQL ODBC connection. Added Dimension object in filters section of the webi report and click on DB ranking, added measure in ranking. Run the query, i am getting an error. See the attached.

 

Did anyone seen this error? mySql.PNG

column values show differently in Business layer and DFL

$
0
0

Hello All,

 

I have an object when i check values in the foundation layer it shows correct values.When I dragged that object in Business layer...the values are changed and wrong. As a result of this I am unable to get correct results when I apply sum function in webi for this object.

 

Please see the screenshot and can anyone let me know why this could be happening?

 

Thanks All...

Viewing all 1291 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>