How to avoid using dataset as data source
Hi all,
using dataset cause producing report slow. could anyone tell me how to use a stored procedure directly as data source?
Thank you very much
Clara
You may also want to determine where exactly is the slow part of this happening. Remember that to get a report, there is a number of steps, other than connecting and retrieving data from the datasource.
E.g.;
Load of the runtime, load of the report, processing of the report, formatting of the report, etc.
If you do find that datasets are the issue, than Don's suggestion is excellent.
Ludek
Similar Messages
-
How do I use a shared data source in my dataset in this new UI?
I'm new to SSRS 2012 and am having trouble with the UI. All of my experience is with SSRS 2005, and this is quite different.
So I created a shared data source in my new project. Next I added a report (non-wizard, I'm going for hand-crafted). Looking at the UI I have a report data window on the left side of VS 2010, and in it are a couple of menus and a tree navigation pane. If I
select the new menu, and then dataset (since I want to add the data to my report first) I get the Dataset property window. After selecting 'Use a dataset embedded in my report' a new panel is displayed where I can set up a new dataset. But from what I see
here all I can do is create a new data source, but I want to use my shared datasource. I would think it would just be in the data source drop down presented, but that is empty (I had an image that illustrated all this but I keep being told I need to 'verify
my account', and after doing so I'm still getting that error... oh well, I don't have enough time to keep verifying my account here).
In 2005 I could choose a shared datasource, and it doesn't seem logical that this functionality would be removed. What am I missing here?
Any help would be much appreciated.First right-click on your reports' Data Sources and add a reference to the Shared Data Source, by selecting "Use Shared Data Source Reference" in the "Add Data Source" dialog.
David
David http://blogs.msdn.com/b/dbrowne/ -
How can I use the same data source twice?
in our system there is already a complete transfer of calculations to BI (0CO_PC_PCP_01).
However I want to create a new data flow from ERP starting from the same data source.
Is this possible?
Thanks for help!!Hi!
welcome to SDN forums.
anydata source can be mapped only to a single infosource. but it will not ristrict you to have different datatargets from a single infosource. so you have to use filters in infopackages to select the data target and filter the data for this data sources. Only thing you have to do with old dataflow is just ristrict the data relavent for the 1st Datatarget in old Infopackage and re.initialize.
with regards
ashwin -
Bursting using a Concatenated Data Source
Greetings,
I am trying to burst a report using a concatenated data source. I have a bursting SQL query set up that works fine, but I am unsure how to handle the "Split By" option. I have a data model that pulls data from multiple queries, like this:
DETAILS_A
select * from table_a
where payee_id in (:p_payee_id)
DETAILS_B
select * from table_b
where payee_id in (:p_payee_id)
So, if I choose to "Split By" Details_A_Row/Payee_ID, then the data from Details_A is split appropriately, but the reports I generate don't split the information from Details_B properly. I end up with reports where one payee has information for another payee from the Details_B data source. How can I specify that the report should also split/filter the info from Details_B?
To put it another way, what I'd really like to do is go through a list of parameters (payee IDs in this example) and generate a report for each parameter. Is Bursting the most effective way to do this?
From searching the forums, it seems like I might be able to accomplish this using Data Templates as my Data Model instead of SQL Queries. Am I on the right track with that? If so, you guys have any helpful links on how to create Data Templates?
I am using BI Publisher version 10.1.3.4
Any help is appreciated!
MartinFor data template samples, check the following out and then download the zip file (you may not be able to run the reports, but you can view the code)
http://blogs.oracle.com/xmlpublisher/2009/06/data_template_progression.html
Thanks,
BIPuser -
Which user id is used in each data source?
Using SQ: SSRS 2008 R2 - Beginner - Is there a report or query that provides which user ID is associated with the data source of each report? I need to be able to list out all the data sources being used and which user id is being used in the data source
configuration instead of going to each report and using manage to review this. Any help is greatly appreciatedThank you - This is useful - but the username column is encrypted - how do I unencrypt
as per my knowledge there is no way to decrypt it and below link confirm my understanding :)but there is work around also that have shared on technet;
https://social.msdn.microsoft.com/Forums/en-US/f65b4d50-abaa-400b-a09d-ae1d7d1ea041/decrypt-the-connectionstring?forum=sqlreportingservices
WITH XMLNAMESPACES -- XML namespace def must be the first in with clause.
(DEFAULT 'http://schemas.microsoft.com/sqlserver/reporting/2006/03/reportdatasource'
,'http://schemas.microsoft.com/SQLServer/reporting/reportdesigner'
AS rd)
,SDS AS
(SELECT SDS.name AS SharedDsName
,SDS.[Path]
,CONVERT(xml, CONVERT(varbinary(max), content)) AS DEF
FROM dbo.[Catalog] AS SDS
WHERE SDS.Type = 5) -- 5 = Shared Datasource
SELECT CON.[Path]
,CON.SharedDsName
,CON.ConnString
FROM
(SELECT SDS.[Path]
,SDS.SharedDsName
,DSN.value('ConnectString[1]', 'varchar(200)') AS ConnString
FROM SDS
CROSS APPLY
SDS.DEF.nodes('/DataSourceDefinition') AS R(DSN)
) AS CON
-- Optional filter:
-- WHERE CON.ConnString LIKE '%Initial Catalog%=%TFS%'
ORDER BY CON.[Path]
,CON.SharedDsName;
Thanks
Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com -
For a function module how can I find its assigned data source name?
Hi BW Gurus,
If i know the data source name then the assigned fn. module/Table/Infoset I could find from RSO2. But for function module How do I know its assigned data source name?
Thanks a lot for the response.
Regards
VenHi Ram,
In SE16, enter the table name as ROOSOURCE and in contents choose field EXTRACTOR for selection and enter the name of the function module.
It will return the list of datasources where the function module has been used.
Best Regards,
Ankit Agrawal -
Pls. identify some seeded views used as Existing Data Source in DBI Reports
Hi!
Can someone please identify some seeded views used as Existing Data Source in DBI Reports. I only need some idea how they are defined.
Thanks.Jon632 wrote:
Hi!
Can someone please identify some seeded views used as Existing Data Source in DBI Reports. I only need some idea how they are defined.
Thanks.
You can find the list of seeded views in eTRM website -- http://etrm.oracle.com/pls/etrm
Are there seeded tables/views of DBI dimension objects in Oracle EBS?
Thanks,
Hussein -
How to get group when the data source from system instead of UME database
Hig guys,
How to get group when the data source comes from backend system instead of UME database?
I tried to use
IUMPrincipal RefGroup = WPUMFactory.getGroupFactory().getGroup(groupName);
But I was not able to get the group. But in "UserAdministrator", I can find this groupName.
Which kind of API can I use?
Thanks in advance!
Regards,
Liying
Message was edited by:
Liying WangOk,
try this:
com.sapportals.portal.security.usermanagement.IGroupFactory ep5GroupFactory = userManagementService.getGroupFactory();
IGroupFactory groupFactory = UMFactory.getGroupFactory();
com.sap.security.api.IGroup group = groupFactory.getGroupByUniqueName(groupName);
IUMPrincipal ep5Principal = ep5GroupFactory.getEP5Group(group);
This should do the trick,
Romano
PS: and thanks for the stars! -
Using a SQL data source and XML data source in the same template
I am trying to develop a template for the Request for Quote report generated in Apps 11.5.10. I have loaded the data from the XML output into the template, but I am missing one field - I need the org_id from the po_headers table. Is it possible to use a sql data source (i.e., "select org_id from po_headers_all where po_header_id = [insert header_id from xml data]...") in addition to the xml data source to populate the template at runtime? When you use the Insert > SQL functionality is it static at the time the template is created, or does it call to the database at runtime? I've looked through all the docs I could find, but this isn't clear.
Thanks for any help or suggestions you may have.
RhondaHi Pablo
Thats a tough one ... if you go custom with a data template you will at least get support on the data template functionality ie you have a problem when you try and build one. You will not get support on the query inside the data template as you might have gotten with the Oracle Report, well you could at least log a bug against development for a bad query.
Eventually that Oracle Report will be converted by development anyway, theres an R12 project going on right now to switch the shipped OReports to data templates. AT this point you'll be fully supported again but:
1. You have to have R12 and
2. You'll need to wait for the patch
On reflection, if you are confident enough in the query then Oracle will support you on its implementation within a data template. Going forward you may be able to swap out your DT and out in the Oracle one without too much effort.
Regards, Tim -
How to make use of adjacent data elements within the same buffer
Hi,
Does anyone know how to make use of adjacent data elements within the same buffer? To make my question clearly, I would like to give you an example. In my application, I set "sample to read" as 10 which means at each loop 10 data samples will be taken into a buffer. Now, what I would like to do is to do some calculations on adjacent data samples in same buffer. I tried to use "shift register" for this, but it seemed to me that it only can deal with the calculation between data from adjacent loops. In other words, it skips 9 data elements and take the 10th one for the calculation.
Here I also attach my VI showing what I did.
Thank you very much in advance,
Suksun
Attachments:
wheel_encoder_1.vi 98 KBHi Suksun,
I hope you'll forgive me for distilling your code - mainly to understand it better. I tried to duplicate your logic exactly - which required reversing the "derivatives"-array before concatination with the current samples array. As in your code, the last velocity is being paired with the first position. If first velocity is really supposed to be paired with first position, just remove the "Reverse 1D Array" node.
cheers
Message Edited by Dynamik on 01-07-2006 03:17 AM
Message Edited by Dynamik on 01-07-2006 03:19 AM
When they give imbeciles handicap-parking, I won't have so far to walk!
Attachments:
encoder2.GIF 14 KB
encoder2.vi 102 KB -
How can avoid mandatory fields in data transfer
hai
please respond me
how can avoid mandatory fields in data transfer like bdchi,
u have to pass values for mandatory fields in bdc method, u have to prepare u r bdc data such a way that all the mandatory fields are filled, other wise it will give error -
Hi,
i have created a crystal report that uses Excel as data source. Reason i used excel is for easy updating of data by non IT users. The report runs perfectly on my computer, but when i upload it to Infoview, there is error when i run the report from Infoview:
"The database logon information for this report is either incomplete or incorrect."
"Unable to retrieve Object.
The database logon information for this report is either incomplete or incorrect."
May i know what causes the error? There is no user id/password to access the excel file.
I have also tried saving the excel in the same server as the crystal report server, but i still face the same error.
Pls help!
ThanksYou would have created a connection in your local system to access the XLS data
You should be creating a similar connection in the server as well and then update the rpt file with the connection details in CMS
Thanks,
Ganesh -
How to avoid the Amount and Date values for VOID Cheques
Hi All,
I had created a two window i.e For Amount and Date. If I process the cheque the Amount value and Date should not trigger for VOID CHEQUES.
Can any one tel me how to avoid the Amount and Date values for VOID Cheques
Your help will be greatly appreciated.
Regards
YathishHi,
I dont know which tablel you are referring to, is it PAYR table and the field VOIDR?
If a cheque is voided, it would have a reason and it is stored in VOIDR field of this PAYR table.
Check if the field VOIDR is filled, if it is filled, do not print the amount and date.
Regards
Subramanian -
How to load 3.x hierarchy data source from a certain level ?
Hi all,
I have an old 3.x hierarchy data souce which has a structure like below :
Level 0 : root node
Level 1: Product Category
Level 2: Product Line
Level 3: Product
Level 4 : Product Version
each level has independent infoobject for it.
The hierarchy was initially constructed for the infoobject on the level 4 'Product Version'.
Now here comes anther requriement, we also want to have a hierarchy for 'Product' and try to reuse the datasource.
So the question is , is it possible to extract from the same data source, while just update the hierarchy for 'Product ' starting from the level 3 (up to level 0)?
PS: i can't migrate the data souce to 7.X, because the source system doesn't support.
I hope I made my question clearly.
Really apprericated that you can give me a hint.
Thanks,
AmonFinally I solved this problem myself.
there are many mays if you want to realize the requirement, only if you change your way of thinking, don't be stuck your mind with the thought we have to use the original data source coming from the source system.
I'd like to introduce 2 ways I am thinking of:
1. use the SAP standard program 'Z_SAP_HIERARCHY_DOWNLOAD' to save the hierarchy as a .csv file, then you can refer to http://scn.sap.com/community/data-warehousing/bw/blog/2012/01/08/bw-730-hierarchy-loading-becomes-easier-with-the-help-of-new-framework
however this didn't work for me, because the program might be outdated in my working environment BW7.4, though I did some bugfix for this program , the output file seems with some errors.
2. since the hierarchy for the 4th level infoobject has been successfully updated in my case, we can use it as the data provider directly . Here is the general dataflow : 4th level infoobject hierarchy -> DSO -> target infoobject hierarchy (3rd level infoobject) .
for this DSO strucure, you should also refer to the link above, the structure is just like the EXCEL file provided. but you should be aware of adding external characteristics in the data fields of your DSO if there is external characteristics in your hierarchy.
in the transformation of 'source infoobject hierarchy' , you should select 'hierarchy (one segment)' as the subtype of hierarchy.
in the transoformation of 'DSO -> target infoobject' , you should map the source and target carefully , especially for the segment 'Structure' , you should make sure the field 0H_HIERNODE and the external chars. have proper value filled. -
How to avoid multiple copies of data in page refresh
How to avoid multiple copies of data in page refresh
If you are talking about a page with an insert query, ignore the fact that it's a page refresh. It's just another way that someone can insert duplicate records. I like to handle this in my insert query.
insert into thetable
(f1, f2, etc)
select distinct
value1, value2, etc
from some_small_table
where you don't already have that record
Maybe you are looking for
-
BB Q10. Conclusions of the first week experience
Hey there, I have moved from OS7 device to BB Q10 a week ago and here are my first brief conclusions (mostly for those who are yet considering of the purchase) good stuff: - the device looks good itself and it is completely not slippery; - I do like
-
Cannot start Weblogic server after installation
Hi, i just installed weblogic workshop 8.1 and i wanted to start creating a simple EJB application. After creating a simple (express) Basic Weblogic Platform Domain, when I create an application ans try to start the server, I get the error listed bel
-
Query to select value for max date from a varchar field containing year and month
I'm having trouble selecting a value from a table that contain a varchar column in YYYY-MM format. ex. Emp_id Date Cost 10264 2013-01 5.00 33644 2013-12 84.00 10264 2013-02 12.00 33644 2012-01 680.0 59842 2014-05 57.00 In the sample data above, I wo
-
Photoshop stopped running, other CS4 programs ok
I started getting the error message "Adobe photoshop CS4 does not run under this version of the operating system" TODAY 6/20/10. The program ran correctly yesterday. Same computer, same setup, same programs. The computer is Dell Insperon 1.66GHz
-
certain web pages will not load and itunes and the appstore wont load either, what could be a probable cause and solution to this problem?