Fetch table value in BEX Web report using Javascripts, and assign condition
Hi Gurus,
I am currently using WAD 3.5. I need to change the web report to behave like below :-
1. Default layout (Field A B C) with condition A & B activated.
2. If the drilldown Field B and C is removed, leaving only field B alone in the report drilldown, deactivate condition A & B, Activate condition C & D.
3. the above can be reversed where user drilldown field B & C into the layout, the condition A & B need to then be activated back.
So I believe this can be done using Javascript. So my questions are below
1.) How do i fetch table value for the navigationblock ? with navigationblock i am able to know what are the columns are in the drilldown (i will not display free characteristics, so ignore this part). how do i read the content of NAVIGATIONBLOCK_1 as shown in following code? using javascript.
<P><object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="NAVIGATIONBLOCK_1"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
<param name="SHOW_FREE_CHARACTERISTICS" value=""/>
<param name="SHOW_NAVIGATION_ICONS" value=""/>
<param name="SHOW_FILTER_ICONS" value=""/>
ITEM: NAVIGATIONBLOCK_1
</object></P>
2.) After question 1.) is done, please advice how do i activate/deactivate the conditions? based on the fields found in above. Maybe I can use IF navigationblock_1 contain field A only, then set condition A & B , etc.
<p><object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="CONDITIONLIST_1"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_CONDITION"/>
<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
ITEM: CONDITIONLIST_1
</object>
I would appreciate if we can solve Question 1 first before proceed to 2.)
Please advise. Thanks
Hi JTi,
what i have understood from your requirement is that you want to access the web item table_1 in javascript, you can get that as below:
Add
<span>
tag before your web item and set its id to table.
<span id = "table">
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="TABLE_1"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
<param name="GENERATE_CAPTION" value=""/>
<param name="CAPTION" value="jezel"/>
<param name="ONLY_HIERARCHY_NAVIGATION" value="X"/>
<param name="BLOCK_SIZE" value="0"/>
<param name="SHOW_PAGING_AREA_BOTTOM" value=""/>
ITEM: TABLE_1
</span>
In javascript access it as :
var mytable = document.getElementsById("table");
Hope this helps
Thanks
Dipika
Similar Messages
-
Rolling month for webi report using Univ based on BEX Query
Dear Experts,
I'm new to OLAP universes.
We have a requirements of having last 12 months rolling for given measure(Key figure) in webi report using Univ based on Bex Query.
We require a calmonth (time dimension) object (restricted for last 12 months) where user can drag and drop on column section of cross-tab table. User should drag more than one Key figure ( for ex. sales rev and & qty sold) for each month
Could you please provide me the solution to do this?
Thanks
AksharaHi Henry,
Thank you for your response.
BEx query has not been created yet. we need to create accordingly and require your help in creating the same.
Regarding reporting requirements, User wants to have adhoc reporting with rolling months ( 12 months or 6 months) functionality. Users want to link any KF to this rolling months dimension.
If we can't have this, what is the alternative that we can propose to user.
Thanks
Akshara. -
Sort variable values in selection box in BEx web report.
Hello friends,
In my BEx web report I have cal/month selection. When I do dropdown to select values it starts with 01/1960 and I have to click 10 times to get to 01/2006, 02/2006 and so forth.
Is there a way to sort these values so I can get most current cal/month in first list?
Thanks in advance.
Regards,
BJI would consider changing the read mode for the dropdown box. Are all of those dates actually relevant? Check out the properties of the dropdown box in WAD.
Thanks,
Jeff -
Created Webi report using BEx Query.
Hi All,
I am going to upgrade in BW and using BEx & Webi Report. I have created webi report using BEx query. Now I need to test data in webi report.
Can anyone tell me how to test data?
Regards,Hi,
compare the webi report data with Bex report. more you can compare webi report with SAP R3 system for random records.
Thanks,
Amit -
BEx web report selection screen entries retain when closing and opening the report again
Hello all,
please help me in the below query.
Till last month the entries we made in BEx web report selection screen are retained in the selection screen even when we close the web report and open it again from portal without logging off. But recently this functionality is missing and the entries in selection screen are not remembered when we close and open the same report again. It is a good feature for the users. Have you come across this issue?No...I think i can reframe the question very clearly......For ex: we are opening a Bex Web report...so initally we would be prompted by the variable selection screen...in which we have to give the entries(Values) for those variables like Cal month, Sales org, Company code, etc.....Later on the report will get open based on the values we have given......
Now if we close the particular report without logging off then if i try to open the same report that selected values are missing.....earlier it used to remember the values we have given until we log off....But now that functionality is missing....It was very useful feature.....Can you please tel me what can be done to resolve this??
I hope the explanation would be clear now. -
Hi,
I am using WebI Report using BW Query. I don't see some Formulas in Universe which is there in BEx Query.
Did anybody face the same problem before?Hi,
I meant that you should post in the forum the calculation contained in the formula that you cannot see in your universe.
But let's start from the begining since you are new to SAP: Did you generated the universe yourself? If the formula was added in the query after the universe was created then you must refresh your universe (In the Universe designer please select the option "Refresh structure" under the "view" menu) in order to get the newly created formula (I assume we are takling about a calculate figure here) in your universe also.
Regards,
Stratos -
BEx Web report returns 500 Internal Server Error
Hi all,
a user says that he can't run a BEx Web report (query BEx embedded in a WAD web template) because it returns the generic error "500 Internal Server Error". In the screenshot below some more informations about this issue:
Some other informations:
- says he can run others BEx Web report (which use the same WAD template on different queries)
- says he can run the query via RSRT (so I guess there are no authorization problems)
- says he can run this specific report with another user on his PC
- says he can't run this specific report with his user on another PC
- I copied his user and I can run this specific report.
- browser used: internet explorer 8
Any suggestions?
Thanks,
MicheleHi Michele
Could you refer the SAP Notes
1722983 - Recommendations to resolve 'NO ESID FOUND' error
1801130 - How to troubleshoot issues in BICS Remote Web Service for Xcelsius/Dashboard Designer
Regards
Sriram -
Launching a Bex web report in KM in a new window
Hi All,
I am trying to figure out how to configure KM so that it would launch a Bex web report in a new window
instead of being displayed in the innerpage area. The Bex web report is stored in a KM folder.
Can someone point me in the right direction?
Thanks.
Regards,
Mel Calucin
Bentley Portal ArchitectHi Mel,
If you have already assigned the Bex report to a role, then you can open the bex iview and edit the property "Launch in New Window" to Display in separate portal window
If the report is still not created and is existing in the KM you can create a KM navigation iview or KM document iview and specify the document path where the iview is exisiting OR you can open the bex report, capture the URL of it and create a URL iview for the same... you might want to refer to this thread for more details.
https://www.sdn.sap.com/irj/scn/thread?threadID=1260067&tstart=0
And when the iview is ready and the content is getting displayed accordingly, if you want to open the iview in a new window instead of the portal content area, you would have to follow the instructions given above ie to edit the property of iview "Launch in New Window" to Display in separate portal window
Good Luck!
Sandeep Tudumu
Edited by: Sandeep Tudumu on Mar 9, 2009 10:57 AM -
Create a Webi report using QAAWS as a data source
Hi Experts,
I am on BO 4.1 SP 3, and using the Webi Rich Client to create a WEBi report using a QAAWS url as a data soruce.
This is the first time I am trying this, so any tips/helpful links are welcome.
I get the below error, when I try to map the fields. But I do not have any personal data files involved.
Thanks,
Vasu Natari.Hi Vasu,
We can create webi report with QAAWS.When creating the report on webservices /Personal data providers we'll not get prompt/query filters option .
Are you trying to change source ? Instead create new source and get data. -
Unable to create web reports using WAD in BI 7.0
We are unable to create web reports using WAD in BI 7.0 because of the missing BI metadata. Please take a look at the error below .
didnt see the error??
-
Opening XIR2 webi reports using C# code
Hi all,
Is it possible to open Xir2 webi reports using C# code.If so can u throw light on the same.Thanks in advanceCheck out the Dev Library:
http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
You will find a scheduling Webi sample under the BusinessObjects Enterprise|Tutorials section.
You will the viewing code under the Report Engine .NEt Developers guide section under Application Essentials.
Jason -
BEx Web Reports: Print only Results area??
Hi gurus,
I know that it is quite messy printing BEx Web reports with 3.5. ....
Is there the possibility to print only the results area of a BEx Web report, e.g. without the menus (e.g. Rows, Columns, Free Characteristics)??
Thanks a lot for your answers,
SabineTry this link:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bc4fa990-0201-0010-588e-ca4e63050d6d">How To Enhance Web Printing</a>
Rgds -
How to Hide some Rows in a List view Web Part using JavaScript ?
How to Hide some Rows in a List view Web Part using JavaScript ?
Here is the code that worked for me:
var Elements = document.querySelectorAll('div[id=WebPartWPQ3] table[class=ms-listviewtable]>tbody tr .ms-vb-lastCell.ms-cellstyle.ms-vb2')
for(var i=0, n = Elements.length; i < n; i++)
if(Elements[i].innerHTML=="India")
Elements[i].parentNode.setAttribute("style","display:none")
WebPartWPQ3 -> ID of webpart Div
ms-listviewtable -> class name of table in Div
ms-vb-lastCell.ms-cellstyle.ms-vb2 -> classname of td to get text -
How to show modal window without popup in a web page using javascript
Hi,
How to show modal window without popup in a web page using javascript, means when the modalwindow is opened it should not ask for popup blocker alert......
pls help me.....Thanx for ur reply,
Actually the senario is when i click on a button, another jsp page should be displayed in a modal window without popup, but the functions alert() and confirm() will not accept the url path of the another jsp page... -
How can I call a web service using JAVAscript in LCD
hi guys,
I know it can call a WSDL in LCD, but I have not any WSDL web service , and I have a REST web service ,how can I call this REST web service in LCD? I checked some documents and found nothing...if it's possible that it can call a REST web service using JAVAScript code, I mean I can program some code to call this web service ?
thanks,
JesseHi Jesse,
You can do GET, PUT and POST using FormCalc, so you should be able to access a REST web service.
There is a example of accessing a RSS feed in this thread, http://forums.adobe.com/message/5695433#5695433
Regards
Bruce
Maybe you are looking for
-
No idea how to solve this. Or to word the question to research the solution on my own.
-
MacBook Pro (2007) line across bottom 1/4 of screen
Hi there, I have a MacBook Pro from 2007 and just recently there has been a line across the bottom 1/4 of the screen that has been flickering. It's now just become a permanent fixture. Does anyone know how to get rid of it? I had the graphics card re
-
Clustering only a subset of documents
I am using unsupervised classification with CTX_CLS.CLUSTERING. Our document table has several million rows and the user might only want to cluster a few thousand. Because this method of clustering uses the text index on the documents table is it pos
-
Mainstage 2 Concert won't open, stuck on EXS
My concert I've used forever suddenly won't open. Hangs on loading EXS. What has Apple done to **** up Mainstage 2 so horribly??? CPU usage way worse, less stable, less reliable. It's a joke, and not a funny one. Logic upgrade was a HUGE waste of mon
-
Automated screen captures in emulator tests
Hi all I'm created a "virtual user" to run and test my midp apps by running them in j2meunit environment which in turn is run in the toolkit emulator. All this is run in my Ant build. I would like from my j2meunit tests to be able to create screen ca