Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all 5402 articles
Browse latest View live

User Response Function - Previous Month

$
0
0

Hello All,

 

I need to implement user response function with the following scenario :

 

Start Date :  1st Day of the previous month i.e  01-Nov-2015

End Date : Last day of the previous month i.e 30-Nov-2015

 

How to implement?

 

 

Sandy R


How to fetch cascading SQL from WEBI reports 3.1?

$
0
0

I tried to get the Cascading Query from WebI reports version 3.1 (see the below code for reference) but this code is not fetching all queries.



SQLDataProvider sqldp;

SQLContainer sqlcntr = null;

int containerCnt = 0;

SQLNode sqlnode =  null;

SQLSelectStatement SqlSel = null;

String sqlStatement = null;

 

if (dp instanceof SQLDataProvider)

{

  sqldp = (SQLDataProvider) dp;

  if (sqldp.isCustomSQL())

  {

   sqlcntr = sqldp.getSQLContainer();

// sqlcntr = sqldp.getSQLContainer(false);

  if (sqlcntr != null )

    {

  //containerCnt = sqlcntr.getChildCount();

  sqlnode =  (SQLNode) sqlcntr.getChildAt(0);

  SqlSel = (SQLSelectStatement) sqlnode;            

  sqlStatement = SqlSel.getSQL();

  }

  }

}

 

 

I also tried with "getSQLContainer(false)" but it fails to provide DataProvider. Suggest any way to get the Cascading queries.

Days Calculation using Quarter and Year

$
0
0

Can someone please suggest a method to calculate number of days using quarter and year values? Or on the other hand can we generate the 1st or last day of the quarter using the year and quarter values

 

 

The requirement is as follows:

 

Year
Quarter
No of Days
2015190
2015291
20153??
20154??

differnce between hyper link and document link in webi 4.1

$
0
0

HI ,

 

I have seen several posts and as well as googled i didnt get any proper info . i have been trying from my end when i click on report go and apply for hyper link and documents . same tab opening like Link to document and link to web page , i am wondering what is the differnce between them if no why they have added 2 options

 

Any help much appreciated

 

Thanks

Palette color is changing randomly in webi after saving/refreshing

$
0
0

Hello,

 

I am facing the same issue as described in this KBA : 2218804.

 

I am already on  BI 4.1 SP6 patch 5 however the problem is the same!

 

The palette color is always incorrect when using both default or customised ones.

 

Any idea please?

Thanks a lot!

 

Asma

Document Summary Panel - How to Open Minimized?

$
0
0

Hi all,

 

When I open any BI 4.1 (SP3) Webi report the 'Document Summary' panel on the left of the report always opens maximised. How can we get get a webi report to open with the 'Document Summary' panel open in a minimized state?

 

Thanks,

Chris

Dynamic sorting of desired columns in reading mode in webi

$
0
0

Hi,

 

How can I sort on my desired column in webi while in reading mode.

Is it possible? or any workarounds?

 

Thanks

Seshu.

How to get below data in webi report?

$
0
0

Hi Expert Team,

 

We have  webi report in BI4.1 , Please refer below input data, we want our output data either in case1 form or case2  form. Overall we do not want Cost amount to get repeated or gets duplicated.

 

Can you please suggest how to achieve the same.

Let me know any more inputs is needed.

 

INPUT DATA:

Order

Sales No.

Order Date

Cost

123

10

19-12-2015 1:12:00

100

123

20

19-12-2015 1:12:00

100

ABC123

30

20-12-2015 1:12:00

200

ABC123

40

20-12-2015 1:12:00

200

EFG456

50

20-12-2015 1:12:00

300

EFG456

60

20-12-2015 1:12:00

300

 

 

 

EXPECTED Output Case 1:

Order

Sales No

Order Date

Cost

123

10

19-12-2015 1:12:00

100

ABC123

30

20-12-2015 1:12:00

200

EFG456

50

20-12-2015 1:12:00

300

 

 

EXPECTED Output Case 2:

Order

Sales No

Order Date

Cost

123

20

19-12-2015 1:12:00

100

ABC123

40

20-12-2015 1:12:00

200

EFG456

60

20-12-2015 1:12:00

300

 

 

Expecting your reply at earliest.

 

 

Thanks & Br

Bansi


What are the servers working in backend?

$
0
0

Dear All,

 

1) I have the BI Launch pad link & CMC link(URL), when i entered in the browser we will get the home pages for individual links right.

 

     Here i would like to know in the backend servers which are activated (running) for BI Launch Pad and for CMC?

 

 

2) I have open the report on BI Launch Pad & refresh the report tell me what are the servers are working beyond that?

 

Regards,

Boya

webi prompt context selection

$
0
0


Dear All,

 

I encountered a problem.

 

I migrate 3.1 webi report and universe to 4.1, everything is ok.

 

But when I refresh webi report with webi intelligence rich client,  context selection prompts, as follows,

 

context.png

 

what should i do to solve the problem? many thanks!

Functions & Errors?

$
0
0

Dear All,

 

How many functions are available in Universe designing UDT/IDT & Web intelligence reports, like "No Filter, @prompt, @variable,...." please explain me the functions with at least one example?

 

And also help me on errors like "in compatible , #Multivalue, #syntax, #context, ..."?

 

Regards,

Boya

Issue with WEBI reports based on Multi Source Universe

$
0
0

Hi Folks,


We are facing an issue with the WEBI report based on the multi-sourced

universe.


 

Environment - BO 4.1 SP5

Data source - 2 Oracle 11.2 sources


 

When we select the prompt values and refresh the report it throws the

error as

 

Database error: [Data Federator Driver]

Cannot Reach Server. Reason: attempt to establish connection failed:

java.net.ConnectException: Connection refused: connect. (IES10901)

(Error: INF)


rgds,

Prakash S

Compare dates without merging

$
0
0

Hello,

 

I have two queries. Query 1 contains several dimensions and measures, with date being one of the dimensions. Query 2 gives me a single dynamic date.

 

Using the results from Query 1 as a table, I need to add an IF variable that compares the date in each record to the single dynamic date from Query 2.

 

So if Query 2 gave me 12/1/2015, and my results have several dates before and after, I just need a binary identifier to tell me which records have a greater date.

 

I cannot feed the dynamic date as a filter, because I need historic dates for comparison reasons.

 

I also don't think I can/should merge on anything, as there are no common fields other than date.

 

Is there a syntax I can use to make the single date stand on its own? Or perhaps a way I can tell my IF variable to look at the value from a separate table? Any other way to do this without editing the SQL?

 

I appreciate any help!!!

Show Top N rows only (N is derived by ranking on 2 different measures)

$
0
0

Hello Gurus,

 

I've a requirement to show top N rows in a table, but that N is a dynamic which is derived by ranking on 2 different measures. So eventually, we show some rows by ranking on Total and some rows by ranking on Measure 1. (Total = Measure 1 + Measure 2). For some reason I couldn't attach Excel, so attaching the data tables here.

 

I am able to implement the logic for Case 1 by using multiple variables, but the problem is that I need to show rows according to Case 1 or Case 2 in the same table.

 

Case 1: I need to show Top 10 (having Total >= 25,000) and if I have 10 such Names, then I can show upto 3 more Names which have M1 >= 10,000. I can show no more than 13 Names in this case.

 

Case 1
Amt in K (thousands)
NameTotal (M1+M2)M1M2
A01210,000 0210,000
A02186,0000186,000
A0397,00036,00061,000
A0485,000085,000
A0576,4001,40075,000
A0662,840 84062,000
A0759,00032,00027,000
A0853,000053,000
A0946,00066,000(20,000)
A1044,000044,000
A1143,000043,000
A1233,00043,000 (10,000)
A1325,00015,00010,000
A1420,00020,0000
A156,0005,0001,000
A167,0006,0001,000
A176,4002,4004,000
A182,0001,0001,000
A192002000
A20000
A21000
A22000
A23000
A24000
A25000
A26000
A27000
A28000
A29000
A30000

Logic needed for Case 1:

I need to show Top 10 (having Total >= 25,000) and if I have 10 such Names, then I can show upto 3 more Names which have M1 >= 10,000. I can show no more than 13 Names in this case.

Top 10 based on Total
Top 3 based on M1 (excludes top 10 based on Total)
Note: As I mentioned in previous bullet, these are not included in top 3 based on M1, because these rows are already included in top 10 based on Total.

 

Result from Case 1
NameTotal (M1+M2)M1M2
A01210,0000210,000
A02186,0000186,000
A0397,00036,00061,000
A0485,000085,000
A0576,4001,40075,000
A0662,84084062,000
A0759,00032,00027,000
A0853,000053,000
A0946,00066,000(20,000)
A1044,000044,000
A1233,00043,000(10,000)
A1325,00015,00010,000
A1420,00020,0000

 

Case 2: Using the first part of logic in Case 1, if we see that out of Top 10 for Total, we only have 5 Names (with Total more than 25,000), then apart from them, I want to show upto 5 more Names which have M1 >= 5,000. I can show no more than 10 Names in this case.

That means: If only 7 Names have Total >= 25,000, then I can show 3 Names that have M1 >= 5000 or

If only 6 Names have Total >= 25,000, then I can show 4 Names that have M1 >= 5000... and so on.

 

Case 2
Amt in K (thousands)
NameTotal (M1+M2)M1M2
A01210,0000210,000
A02186,0000186,000
A0397,00036,00061,000
A0485,000085,000
A0582,000 10,00072,000
A0623,84084023,000
A0723,000023,000
A082,00012,000(10,000)
A0910,0008,0002,000
A106,0006,0000
A116,0005,0001,000
A127,0006,0001,000
A136,4002,4004,000
A142,0001,0001,000
A152002000
A16000
A17000
A18000
A19000
A20000
A21000
A22000
A23000
A24000
A25000
A26000
A27000
A28000
A29000
A30000

Logic for Case 2:

Using the first part of logic in Case 1, if we see that out of Top 10 for Total, we only have 5 Names (with Total more than 25,000), then apart from them, I want to show upto 5 more Names which have M1 >= 5,000. I can show no more than 10 Names in this case.

That means: If only 7 Names have Total >= 25,000, then I can show 3 Names that have M1 >= 5000 or
If only 6 Names have Total >= 25,000, then I can show 4 Names that have M1 >= 5000... and so on.

Top N (5 in this case) based on Total
Top N (5 in this case) based on M1 (excludes top 10 based on Total)
Note: As I mentioned in previous bullet, these are not included in top N based on M1, because these rows are already included in top N based on Total.

 

Result from Case 2
NameTotal (M1+M2)M1M2
A01210,0000210,000
A02186,0000186,000
A0397,00036,00061,000
A0485,000085,000
A0576,4001,40075,000
A082,00012,000(10,000)
A0910,0008,0002,000
A106,0006,0000
A116,0005,0001,000
A127,0006,0001,000

 

I am able to implement the logic for Case 1 by using multiple variables, but the problem is that I need to show rows according to Case 1 or Case 2 in the same table.

 

Existing Objects: [Name], [Total], [M1] and [M2]

Variables created:

  • v_Total_RankingTop = Rank([Total];Top) (This is to rank based on Total, and why I'm doing Top here? I have to build this whole thing for Ranking from Bottom :-))
  • v_Total_Top10 = If([v_Total_RankingTop] <= 10) Then 1 Else 0 (This is a flag to show 1 if the Name is in Top 10 based on Total, 0 otherwise.)
  • v_Total_25KPlus = If([Total] >= 25000) Then 1 Else 0 (This is a flag to show 1 if the Total >= 25K, 0 otherwise)
  • v_Total_Top10with25KPlus = If([v_Total_Top10]=1 And [v_Total_25KPlus]=1) Then 1 Else 0 (This is a flag to show 1, if the Total >= 25000 and if the row is in Top 10 based on Total)
  • v_M1_ToRank = If([v_Total_Top10]=1) Then 0 Else [M1] (I'll be using for ranking and not M1 directly, because I don't want to rank those M1 values which are already in top 10 based on Total)
  • v_M1_RankingTop10Kplus = If([v_Total_Top10]=0 And [v_M1_ToRank]>=10000) Then Rank([v_M1_ToRank];Top) Else 0 (This is to rank based on v_M1_RankingTop, and why I'm doing Top here? I have to build this whole thing for Ranking from Bottom :-))
  • v_M1_ToRank_Top3with10KPlus = If([v_M1_RankingTop10KPlus] <=3) Then 1 Else 0 (This is a flag to show Top 3 based on v_M1_TopRank)

 

Now, using the above variables, I can accomplish what I need in Case 1 by filtering on the table as [v_Total_Top10with25KPlus] = 1 or [v_M1_ToRank_Top3with10KPlus] = 1 and I'll get 13 rows (10 from ranking based on Total and 3 or less from ranking based on v_M1_ToRank). But what if not all the Top 10 based on Total has Total >= 25,000? I need to go to Case 2, and as you know in N in this case is X+Y (e.g. 9+1 or 8+2 or 7+3 or 6+4 so on till 1+9) where X is the Top N values based on Total having Total > 25,000 and Y is Top 10-X values based on v_M1_ToRank (>= 5000).

 

To get started with finding out what that X, Y can be, I created a formula that gives us X and we can derive Y a 10-X. Great, what do I do after that?

  • v_M1_RankingTopwith5KPlus = If([v_Total_Top10]=0 And [v_M1_ToRank]>=5000) Then Rank([v_M1_ToRank];Top) Else 0 (This is to rank based on v_M1_RankingTop, and why I'm doing Top here? I have to build this whole thing for Ranking from Bottom :-))
  • v_X_TopNwithTotal25KPlus =Max([v_Total_RankingTop] Where ([v_Total_25KPlus]=1)) In Block (This gives us the Max possible value of [v_Total_RankingTop] in a block, so we can at least know how many rows do you we need to show based on Total and v_M1_)
  • v_X,Y = If(10-[v_X_TopNwithTotal25KPlus]<=0) Then "10,3" ElseIf(10-[v_X_TopNwithTotal25KPlus]=1) Then "9,1" ElseIf(10-[v_X_TopNwithTotal25KPlus]=2) Then "8,2" ElseIf(10-[v_X_TopNwithTotal25KPlus]=3) Then "7,3" ElseIf(10-[v_X_TopNwithTotal25KPlus]=4) Then "6,4" ElseIf(10-[v_X_TopNwithTotal25KPlus]=5) Then "5,5" ElseIf(10-[v_X_TopNwithTotal25KPlus]=6) Then "4,6" ElseIf(10-[v_X_TopNwithTotal25KPlus]=7) Then "3,7" ElseIf(10-[v_X_TopNwithTotal25KPlus]=8) Then "2,8" ElseIf(10-[v_X_TopNwithTotal25KPlus]=9) Then "1,9"

 

So, we now at least know, how many values are we showing by ranking based on Total and v_M1_RankingTopwith5KPlus. I need a brake now as my head is spinning and also your help with how to proceed.

 

Hope you'll got the question, any help is appreciated.

 

Thanks,

Mahboob Mohammed

How to merge Totals from different categories in a cross tab

$
0
0

Hi All,

 

A previous developer had created a cross tab report with the following fields: Location, Department, Year, Month and Count of Accounts as seen in the attached Image (Crosstab_1)

crosstab_1.JPG

 

I need to be able to combine the totals from the respective Department into the corresponding Location and Department.

 

As an example, Data from Location = All Cities for Apr, May and Jun from Department = ABC Grocery, DEF Clothing and XYZ Kitchenware should be added to Location = Los Angeles and the respective departments.

 

Similarly, data from ABC restaurant, JKH Clothing and LMO Kitchenware from All- Cities needs to be added to Location = New York and the corresponding departments.

 

Any help is greatly appreciated.


How to combine different columns with same data into table.

$
0
0

I have sales people that we metric on. They are in 3 groups, Team 1, Team 2, Team 3. Each of them can sell at either level. I am trying to combine that information into a table, then to a chart so I can count the total sales.

 

Example, John might have 20 sales on Team 1, 30 sales on Team 2, and 10 sales on Team 3. In the data source (BEX) the column header is the Team 1, 2, or 3.

 

I am trying to the table and chart to show that John had 50 sales total, but I am struggling on writing a formula that will take Johns counts on all three teams and give me a total.

 

Any suggestions?

WEBI - Excluding One of the Child Node (Out of Many) in Hierarchy

$
0
0

Hello Experts,

 

There is a customer requirement to exclude only one of the child node out of many others while showing the data in WEBI Report. Please see the snapshot below. This is Member Selector snapshot from WEBI Query Panel.

 

1.JPG

 

The above snapshot shows the hierarchy. Is there any way to select Only Walgreen and exclude Tesco in WEBI? By Default, WEBI allows to select All or None of the child nodes.

 

I also tried the same in Analysis Office for MS Excel to see if it can be achieved in that and then Analysis view can be used as Source for WEBI, but the same is not allowed there as well.

 

Please suggest if there is any way.

 

Note: I know it can be achieved in Bex Query Designer using filters but customer has some standards which refrains from doing so.

 

Thanks & Regards,

Abhijit

Problem in generating keystore file in bobj 4.1(linux OS)

$
0
0

Hi,

 

 

We have installed Bobj 4.1 in linux os.

 

For generating keystore file gave the below command in putty,

 

cd "/usr/BOBJ/sap_bobj/enterprise_xi40/java/lib" -jar PKCS12Tool.jar -alias mywin -storepass admin1 -dname CN=hostname

 

same way for exporting  public key certificate,

 

"/usr/BOBJ/sap_bobj/enterprise_xi40/java/lib" -exportcert -keystore keystore.p12 -storetype pkcs12 -file cert.der -alias mywin

 

but keystore.p12 & cert.der file could not be found in this location"/usr/BOBJ/sap_bobj/enterprise_xi40/java/lib"

 

Is the commands are correct to run in linux ?

 

Please suggest solution

 

 

 

Thanks,

Sangavi V

Running Sum for with filtered data

$
0
0

Hi All,

 

 

Can anybody suggest how we can achieve running sum for the following scenario

 

Name
Accounts

Running Sum

Jan55
Feb712
Mar517

 

 

For the above data when I apply a filter for the 1st row, I would like to have the 1st row hidden based on certain conditions and still retain the running sum.

Name
AccountsRunning Sum
Feb712
mar517

 

 

To be more precise, I am trying to do a YTD calculation for a certain measure value but don't want the data to be displayed from the beginning of the year. Any suggestions are welcome.

 

Thanks in advance

unable to login to linked ITSM through Web Rich Client

$
0
0

Hi All,

 

i just created linked ITSM as per SBO41 universal design tool document and everything went well. i created and linked custom ITSM (linked ITSM) to existing OOTB ITSM.

i can see both ITSM in CMS

all connection servers are up and running.

 

I wanted to take reports from both universe now, ITSM and Linked_ITSM

i have no problem in taking reports from OOTB ITSM universe but,

when i try to login to linked_ITSM from WRC i get attached error

 

"No business layer sent back from server"

 

someone please let me know how to resolve this error, what could have gone wrong?

 

I'm using WRC 4.1 Sp1

 

BMC Analytics 8.1

 

SAP BO 4.1

 

Thanks

Zaheer

Viewing all 5402 articles
Browse latest View live


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