Access an existing PerformancePoint Report programmatically
Hi Guys,
I have built a PerformancePoint report using the multidimensional datasource(SSAS Cube) using Dashboard designer. Now i want to access the same report programmatically. The reason being, i need to check the MDX query at the runtime. I want to make the report
Role based, so i want to pass the user to the MDX query at the runtime.
Any Thoughts?
Thanks in advance.
Hi Nageddra YR,
for performance point, i may suggest you to open a thread at officeperformancepoint forums. i believe at that forums there will be more people that are experienced and knowledgeable regarding this product.
http://social.technet.microsoft.com/Forums/en-US/home?category=performancepointserver
regarding this issue, i may only able to give you general solution.
http://nickbarclay.blogspot.in/2008/01/pps-data-connection-security-with.html
http://social.technet.microsoft.com/Forums/en-US/5cdaccc0-88e9-498c-9d6a-046db2519bd1/pass-parameters-from-performancepoint-filter-to-mdx-query?forum=ppsmonitoringandanalyticshttp://social.technet.microsoft.com/Forums/en-US/5f8a185d-e069-40c5-befd-4315588ac25f/accessing-report-server-programmatically?forum=sqlreportingservices
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Similar Messages
-
How to rename OBIEE reports programmatically?
Hi,
We have OBIEE webcat of several hundred reports. Recently we have to rename 150 reports according to latest requirement. Instead of doing this manually, is there a way to rename reports programmatically? Is there sample codes I can follow? I'm using OBIEE 10.1.3.4.
Thanks for your help.
WeiI am not aware of any existing api to do that except webservices api. This one is however flexible enough and well documented
http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31769.pdf
You can code your webservices calls in any language your choice (java,python,any other what you are skilled in) - here is a very basic example in plsql:
declare
l_envelope varchar2(32767);
l_http_request utl_http.req;
l_http_response utl_http.resp;
l_url varchar2(1000);
x_envelope xmltype;
l_sessionid varchar2(1000);
l_src varchar2(1000);
l_tgt varchar2(1000);
begin
-- Get session id
l_url := 'http://zajin:7003/analytics01/saw.dll?SoapImpl=nQSessionService';
l_envelope := '
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:v5="com.siebel.analytics.web/soap/v5" >
<soapenv:Header/>
<soapenv:Body>
<v5:logon>
<v5:name>Administrator</v5:name>
<v5:password>Administrator</v5:password>
</v5:logon>
</soapenv:Body>
</soapenv:Envelope>
l_http_request := utl_http.begin_request(l_url, 'POST', 'HTTP/1.0');
utl_http.set_header(l_http_request, 'Content-Type', 'text/xml');
utl_http.set_header(l_http_request, 'Content-Length', length(l_envelope));
utl_http.write_text(l_http_request, l_envelope);
l_http_response := utl_http.get_response(l_http_request);
utl_http.read_text(l_http_response, l_envelope);
utl_http.end_response(l_http_response);
x_envelope := xmltype(l_envelope);
select extractvalue(x_envelope,
'/soap:Envelope/soap:Body/sawsoap:logonResult/sawsoap:sessionID',
'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:sawsoap="com.siebel.analytics.web/soap/v5"')
into l_sessionid
from dual;
-- Based on the obtained session handler
-- rename requests i.e. move from l_src to l_tgt
l_src := '/shared/Sample Sales/01 Ranking and Toppers/Multi-Dims Top Ns';
l_tgt := '/shared/Sample Sales/01 Ranking and Toppers/Multi-Dims Best Ranked';
l_url := 'http://zajin:7003/analytics01/saw.dll?SoapImpl=webCatalogService';
l_envelope := '
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:v5="com.siebel.analytics.web/soap/v5" >
<soapenv:Header/>
<soapenv:Body>
<v5:moveItem>
<v5:pathSrc>' || l_src || '</v5:pathSrc>
<v5:pathDest>' || l_tgt || '</v5:pathDest>
<v5:sessionID>' || l_sessionid || '</v5:sessionID>
</v5:moveItem>
</soapenv:Body>
</soapenv:Envelope>
l_http_request := utl_http.begin_request(l_url, 'POST', 'HTTP/1.0');
utl_http.set_header(l_http_request, 'Content-Type', 'text/xml');
utl_http.set_header(l_http_request, 'Content-Length', length(l_envelope));
utl_http.write_text(l_http_request, l_envelope);
l_http_response := utl_http.get_response(l_http_request);
utl_http.read_text(l_http_response, l_envelope);
utl_http.end_response(l_http_response);
end;With similar calls you can rename any items in your catalog, but you should be aware, if original items are referenced somewhere, those references have to be modified accordingly ( so, a lot of xml parsing may be required), of course, before you try to do it programmatically, you should probably backup your catalog.
Best regards
Maxim
http://comsysto.wordpress.com/ -
I would like to execute an existing BW report from Excel (using VBA).
I would like to execute an existing BW report from Excel (using VBA) and download the results into Excel. I understand that there is an Excel Add-In which (I believe) should allow me to do this. I am an experienced user of Excel / VBA but I have virtually no experience with SAP. If someone could point me to any source of information or specific instructions I would be extremely appreciative. I've done multiple searches on the internet but everything I find seems to assume more knowledge of SAP and SAP acronyms than I possess.
Paul,
If your company (or your client's company) has an SAP license (I assume this is the case, since there would be no other reason for you to want to access an SAP system using Excel), there is a person in your company who can request an ID for you. It is called a SAP Service Marketplace userid, more commonly called an 'S' number. This person in your company is usually a Basis Administrator. Go to your SAP Basis team and ask them for access to Service Marketplace.
The common solution for your Excel analysis problem is to install the Bex Analyzer on your PC. You will need these same guys (Basis Team) to help you with getting the required SAP access, and to install the associated SAP software onto your PC.
In the meantime, here is some bedtime reading for you.
Analysis &amp; Reporting: BEx Analyzer - Business Intelligence - SAP Library
Best Regards,
DB49 -
Granting full access rights to archiving reports
Hi,
During Monitoring Reports deployment, I've unintentionally granted ReadOnly permission to user administrator. Now I access to https://servername/reports and only view directories. I don't have any buttons, such as "new folder" or "new data
source". I tried to rerun Monitoring Reports deployment - no result. In SQL management console for administrator user I unchecked ReportsReadOnlyRole for databases where this role exists. And also granted administrator user dbowner for all databases -
no result.Hi,
Is there any update on the issue?
If the issue persists, you can also post the issue on SQL Reporting Services forum as the issue is also related to SQL Report Server permission issue. Thank you for your understanding.
http://social.technet.microsoft.com/Forums/sqlserver/en-US/home?category=sqlserver
Kent Huang
TechNet Community Support -
How to copy existing query report into new query report in SQ00
Hi Experts,
Hi Experts,
I want to add fields "company code" "'region" to existing query report AQZZ/SAPQUERY/FKF1============
(list of vendor address) for this i done as following:
1.In SQ01 go to "EDIT->other user group" and i selected user group as /SAPQUERY/FK
2.I typed F1 in query field and click change button
3.I clicked next screen button and entered into "change query f1: select fields screen".here i clicked "basic list" button and searched company code checkbox and saved it as result company code is appearing in the standard report"AQZZ/SAPQUERY/FKF1============"
but unfortunately there is no region field(LFA1-REGIO) for this i think i should copy the existing query report into new query report(Ex:Z_LIST_OF_VEND) which should be 14 characters.please tell me briefly how to do this because this is first time i am using SQ00.
one more issue is when i selected "edit-otheruser group" and choosing /SAPQUERY/FK i am getting only infoset "/SAPQUERY/FIKD" but i should need Info set: "/SAPQUERY/FIDD" please tell me how to add the previous one into user group.i think if i got /SAPQUERY/FIDD into usergroup /SAPQUERY/FK i can add region also into Query report as i mentioned above by going SQ01 ...............................
please help regarding this which should be very beneficiary to my carrier.
Regards,
nareshHi Experts ,
I solved issue by changing infoset in SQ02 by means of assigning field to field group and changed the query in SQ00.
Regards,
naresh. -
Access to customizing default: report templates
I seem to remember far back in the corners of my memory, someone here on the forum mentioning that although we didn't have access at the time (probably back at HTMLDB 2.0) to customize the default report templates, that there were plans to make this an option in a future version of Apex. Does anyone have any idea if this is something that is being planned, or better yet, available today?
If you're not sure what I'm talking about I'm referring to the field that says 'Report Template' in the 'Layout and Pagination' section of the 'Report Attributes' page in the application builder.
The problem I'm having is that I'm using the 'default: vertical report, look 2 (show null columns)' report template and I've got some long column headings that I want to include a line break between each word of the heading, so they're stacked vertical instead of wide horizontally. I've add HTML break tags to the headings but they're disappearing when the page is rendered.
I've made sure to set the 'Strip HTML' setting to 'No', but whether it's set to yes or no doesn't matter, the headings display the same either way.
BTW, doing the same thing in a template based multi-row report seems to work fine. However, trying to use/apply the 'Value Attribute Pairs' report template yields the same result as the default vertical look template.
So I have 2 questions:
1) anyone know how I can make these heading words stack up vertically, one word to a line?
2) are we going to get access to customize the default report templates?
EarlHello,
1) anyone know how I can make these heading wordsstack up vertically, one word to a line?
Probably the best way to do this is to just hard code
a <br /> between your words.That's exactly what I'm doing (and what I said in my original post), however those breaks are disappearing during page rendering when I choose the report templates I mentioned.
I don't understand why this technique works in the multi-row report templates and not in these vertically oriented value/attribute report layouts.
2) are we going to get access to customize thedefault report templates?
No, you should just use a regular theme based
template, the default report templates are there for
backwards compatibility and well basically for people
that don't care about the UI. Since your at the point
it seems you do care about UI the proper thing to do
is to move to a standard report template that you
have full control over.Fair enough. I'll look into that, but I think there's still an open question here as to why the HTML breaks aren't being returned in the page markup for these report layouts.
Regards,
CarlEarl -
How to print a logo in existing / seeded report?
Explain in details about the steps involved in printing a logo in existing / seeded report
Thanks in advance
MadhanIt is either :
1. Use bitmap reports (in earlier version of apps), set the output to postscript or pdf
2. Use XML Publisher -
How to add a function field into the existing matrix report
Hi,
I have a matrix report , now i wanted to add one moe field into the matrix which is getting the value from a function , this function is a part of the ref cursor query(group) , i'm able to get the value from the function but it cannot display on the existing matrix report. i wanted to add this in the repeating frame which is printing down. how could i do this , looking for your help. thanks . bcjHere the scenario like,
Data from Table_1
NAME UNITS DAYS RATE
AAA 10 1 1.2
BBB 12 2 3.1
AAA 20 2 4.1
CCC 23 1 5.2
Here, In the matrix report the NAME and UNITS are row fields and 'DAYS' is column field , RATE would be the cell field, and
Data from Table_2 ,
NAME BASIC
AAA 2
AAA 2
BBB 2
CCC 3
In the report i have to display the 'BASIC' along with the NAME in row level ( repeating frame printing down),
To get the multiple 'Basic' for each 'Name' using a ref cursor .
and, using a function to do further calculation based on the basic value
begin
select basic into v_basic where name =:name;
return(caluculated_value);
end;
and return the calculated value to the report. But at that time cannot accommodate the value in the matrix report with other groups frequency.
looking for your valuable help. Thanks Bcj -
How can we take backup of all the RDL'S existing at Report server dynamically at one time
How can we take backup of all the RDL'S existing at Report server dynamically at one time ? I want to take backup of all the reports existing at the report server dynamically at one time only. currently I'm able to take backup of the reports folder wise
using VBScript. and I have to pass the folder names again and again. I want this to be happened for all the reports of all the folders at single shot only using VBScript.Hi DineshRemash,
Based on my research, we can store the following VB Script to a text file, then modify the file name extension from .txt to .rss.
Dim rootPath As String = "C:\Reports"
Sub Main()
Dim items As CatalogItem() = _
rs.ListChildren("/", true)
For Each item As CatalogItem in items
If item.Type = ItemTypeEnum.Folder Then
CreateDirectory(item.Path)
Else If item.Type = ItemTypeEnum.Report Then
SaveReport(item.Path)
End If
Next
End Sub
Sub CreateDirectory(path As String)
path = GetLocalPath(path)
System.IO.Directory.CreateDirectory(path)
End Sub
Sub SaveReport(reportName As String)
Dim reportDefinition As Byte()
Dim document As New System.Xml.XmlDocument()
reportDefinition = rs.GetReportDefinition(reportName)
Dim stream As New MemoryStream(reportDefinition)
document.Load(stream)
document.Save(GetLocalPath(reportName) + ".rdl")
End Sub
Function GetLocalPath(rsPath As String) As String
Return rootPath + rsPath.Replace("/", "\")
End Function
Then navigate to the folder contains the script, we can directly run the below command from the run menu:
rs -s
http://aa/ ReportServer -i download.rss
We can modify the rootpath to point at whaterver fold you’d like to download the RDL files.
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to get analytics reports programmatically in SharePoint 2013?
In SharePoint 2010 it was possible to obtain data from web analytics programmatically using Microsoft.Office.Server.WebAnalytics.Reporting.AnalyticsReportFunction class.
How can you get search reports programmatically in SharePoint 2013? Are there new assemblies or classes that can be used to obtain them?
In my scenario, i am mostly interested in the most searched terms at web application or service application level.
In SharePoint 2013 the Web Analytics Service Application was merged into the Search Service Application. It seems now that the old assemblies used for this (Microsoft.Office.Server.WebAnalytics.dll
and Microsoft.Office.Server.WebAnalytics.UI.dll) are not available any more.
They are available in the user interface as Excel reports, in CA->Application Management->Manage Service Applications->Search Service Application->Usage Reports , but I am interested to obtain these reports programmatically.
Is this scenario still supported in SP 2013?try this
using (SPSite site = new SPSite(MainBUPageUrl))//open root
using (SPWeb web = site.OpenWeb())
AnalyticsReportFunction AnalyticReport = new AnalyticsReportFunction(); //create object of analyticsReport
Thread.CurrentPrincipal = new WindowsPrincipal(WindowsIdentity.GetCurrent());//this is used only
in timer job if not used then GetWebAnalyticsReportData will not work
object[,] result = null;
web.AllowUnsafeUpdates = true;
result = AnalyticReport.GetWebAnalyticsReportData(SiteCollurl, "2", ReportType.TopDestinationForSiteReport.ToString(),
DateTime.Today.AddDays(-3.0), DateTime.Today); //this gives top visitor for provided site collection by providing time duration(start and end date),report type and url
SPList list = web.Lists.TryGetList("AppreciationsList");//list
for (int counter = 0; counter < 10; counter++) //show top ten pages
Item = list.AddItem();
s_count = result[rcount, 1].ToString(); //code
to get top vistor usage count
Username = result[rcount++, 0].ToString();//get
top vistor name
user = null;
try
user = web.EnsureUser(Username);//check
user available?
catch (Exception)
counter--;
continue;
IfExist = checkUserExistence(user);//call the
function // IfExist = false; //this flag is used to check existence of user in insightMember group
if (IfExist == true)//if user is not in the insight2
group member list
Item["Appreciated Person"]
= user;
Item["Title"] = s_count;
Item.Update();
else //if user is in the insight2 group member
list
counter--;
continue;
web.AllowUnsafeUpdates = false; -
How to add a new tables in the existing Pricing Report
Hi,
I have created Z2 list report in the pricing report (V/LD) with some tables and field names.
Now I got one requirement that i have to Add some more tables and filed names in the List Report Z2 in the pricing report.
Could anyone helpme out how can i add tables and fileds names to the existing list report in the Pricing report
Thanks for your support
Best Regards
Amjathpashahi, Pasha:
May i know how to solve this problem? as i also met this kind of problem.
and i tried V/lb, do not find the place to add the table.
Thanks,
Linda -
Standalone 5.6 example of running a report programmatically required
I'm a newbie to XMLP and my first impressions of it is that it is excellent. I have been working through the user guide and Mark Rittmans blog where he discusses some examples etc. I am quite comfortable with creating the templates and writing the SQL etc for the reports and running them through the XMLP Enterprise interface - so far everything works a treat.
However what I would really like to explore is how you can run a report programmatically, so far I have searched the forum and documentation and haven't found example code of how you write the software to set the RTF template and then process it against the data and deliver the output file to either the file system or email etc.
Could someone please pass on an example to get me started, like anything new once I have a basic example to enable me to understand the principles I will be away.Thanks Klaus, I have managed to get a few examples built and it is working fine. One suggestion I would like to make though for the next version of the user guide is to list the jar files that are required to be added to your project in order to run XMLP classes - I ended up importing all of them from my Tomcat webapps folder where I had dropped in the xmlpserver.war file. I don't think I needed all of them but it was quicker than adding each one and then working out after the next "make" in what jar file the not found classes where in ;-)
I am new to all of this and assume that is what I had to do in order for my java to compile? -
Change form in existing KE30 report
Hello Gurus.
I would like to know if there is a way to assign a different form to the existing KE30 report.
Any feedback would be helpful. Thank you.Hello Thanks for your reply.
Here is the scenario:
<b>Report A</b> has <b>Form A</b> assigned to it
I created <b>Report B</b> by copying <b>Report A</b>.
However, when I copied from <b>Report A</b>, <b>Form A</b> that is assigned to <b>Report A</b> has populated in <b>Report B</b>.
I want <b>Form B</b> in <b>Report B</b> and not <b>Form A</b>.
Is there a way to create <b>Report B</b> by copying <b>Report A</b> and assigning <b>Form B</b>
Any reply would be hepful and rewarded. Thanks a lot. -
Calling an existing ALV report in WD4A
Im going to try to call an existing ALV report using WD4A.
Was wondering if anybody has used the "SUBMIT <report> EXPORTING LIST TO MEMORY" option to get the results table, then after IMPORTING from memory, display this in ALV in Webdynpro abap?I was able to acomplish the following way...
My WD4A component has an assistance class, has a method fetch_results, in that method, I pass my selection criteria which calls a function.
The function does this...
SUBMIT REPORTXYZ
USING SELECTION-SET lv_variant
AND RETURN
WITH pnppernr IN pnppernr
WITH pnpbegps EQ act_begda
WITH pnpendps EQ act_endda
WITH pnpbegda EQ act_begda
WITH pnpendda EQ act_endda
WITH pnptimed EQ blank
WITH p_layout EQ '/MGR SEP'
WITH p_portal EQ 'X'.
My p_portal parameter is a flag that REPORTXYZ will use to export the it_output to memory.
I then import that table to the function module which returns to WD4A alv.
IMPORT zit_output TO tbl_output FROM MEMORY ID
lv_flag. -
Remediation of conflicts in the 'Access Incident Details Extract' report
Hi All,
The 'Access Incident Details Extract' report captures both intra-role and inter-role conflicts at the user level.
Is there a way to segregate the inter-role conflicts from the 'Access Incident Details Extract' report and do the remediation without following the process of intra-role remediation first?
Please advise. Require the inputs urgently.
Regards,
UmaHello,
please also use our .NET sample lib on diamond.
You will find lots of sampels how to access report fields in crystal reports and to add, modify or delete them.
You'll find diamond under :
https://boc.sdn.sap.com/
Maybe you are looking for
-
How can I get the erasure tool to leave a white or color background and not checkered?
When using the erasure or erasure background tools, it leaves a checkered background. How can I get the erasure tool to leave a white or color backround?
-
2008 R2 WSUS not getting reports from 2008 Standard Servers
Greetings, I'm running into an issue on my domain network where I just implemented a WSUS on Windows Server 2008 R2. All of my clients have reported since then with the exception of two servers. Thus far I've checked the registry keys to make sure GP
-
Error when doing an SDO_FILTER (window) query.
Hi I am trying to run the following query, but get an error. SELECT SUBURB, SUB_PK_ID, MI_PRINX FROM SUBURBS WHERE sdo_filter(GEOLOC, mdsys.sdo_geometry(2003,NULL,NULL,mdsys.sdo_elem_info_array(1,1003,3), mdsys.sdo_ordinate_array(18.459648,-34.105156
-
Server crash with -server option on Win2k
We have observerd that the WL server crashes eventually when run with the Hopspot option. The performance gets really bad with -classic JVM. Do we have any work around for this , please ? Thx
-
Itunes crashes when i try to print songs
cannot print song list ,system crashes