SSRS adhoc (2005/2008) - Need to create Report Model (.smdl file) for adhoc using Stored procedure

Hi All,
I need to create Report Models using stored procedures. But whenever I am going to create data sources for same, I am just getting tables and views to use. Please see the screenshot below:
Is there any way out to create data source based on stored procedure? Please help.
Thanks in Advance
Regards
Kumud

Hi Kumud,
As per my understanding, it is not support to create a Datasource View (DSV) using stored procedures.
In a DataSource View, only views, tables or named queries can be used. We can use stored procedures in a query. No parameterized queries, parameterized stored procedures or parameterized UDFs can be used in a DSV named query. You can try to using below approach
to achieve what you are require:
To build views in our relational source and add the views to the datasource view to proceed with modelling.
There is a similar issue, you can refer to it.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/22207c21-03c7-4e5a-bb67-0372f29220a3/sql-server-reporting-services-2008-creating-report-models-using-stored-procedures
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support

Similar Messages

  • Large Report Model SMDL files

    Hello! I am generating and modifying the report model programmatically and it comes out as big
    as 260MB - for over 500 entities with hundreds of attributes in each of them.
    When the report model is being uploaded into Report Manager, the ReportingServicesService.exe spikes up to 4GB in memory usage.
    Of course, sometimes such an amount of memory is not available and the upload fails with OutOfMemory exception
    Also, I cannot open the report model in the BIDS - I get Insufficient Memory exception.
    Why would a 260MB model require 4GB of memory?
    How can I reduce the size of my model and keep all my entities?
    Thanks a lot!!

    Hi aedna,
    Generally, we always see the Insufficient Memory exception when Visual Studio truly runs out of memory. And if we upload 260MB file to Report Manager, the ReportingServicesService.exe spikes up to 4GB in memory usage is a normal phenomenon.  Microsoft
    ASP.NET imposes a maximum size for items that are posted to the server. By default, this limit is 4 megabytes (MB). If you upload or publish a file that exceeds this limit to a report server, you receive an HTTP exception. In this case, you can modify the
    default by increasing the value of the maxRequestLength element in the Machine.config file.
    Besides, a report model is a collection of entities and their relationships that reflects the real-world relationships between business functions and processes. If we want to keep all entities, I think we cannot reduce the model size.
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Need help creating smooth graphic with transparency for web use

    I have created a logo that is mostly white with white text and will appear over a textured background image. The logo contains text that I've converted to outlines. I've tried saving it as both a .gif and a .png, but when it's imported into iWeb, the outline of the graphic looks jagged and rastered. When viewed in Photoshop, it looks OK as a .png, but not great as the .gif.
    I've tried saving it out as RGB, indexed color and greyscale, using PhotoShops "save for web" function or just saving it as 72dpi myself. I don't know how to get the edges to remain smooth. Any advice would be greatly appreciated.

    Thank you J - here's the weird thing. I actually HAD saved it as a PNG24, and it looked fine on my machine. When I sent it to my client, who used it on his iWeb page, it looks jagged.
    After I got your answer, I went to his iWeb page and downloaded the same background image he's using and imported it into a Dreamweaver page on my machine, and placed the same PNG logo over top - it looks as crisp and clean as a whistle. I have to assume that something's happening when he imports it into iWeb. Since I know zero about iWeb, I guess I will have to post another question on their forum, unless anyone knows what could be causing this.

  • How to create a positve pay file for ACH and Wire transfers through F110

    Hi All,
    I need to create a positive pay file for ACH and Wire transfers to the bank for auto clearing. For checks we have a standard program (RFCHKE00) to create the positive pay file which creates the output lists after the F110 payment process. Is there any standard SAP program available which creates the Positive pay file (Output list) for ACH and wire transfers through F110.
    Thanks
    Sridhar

    Please let your abaper create a 'Z' program using RFCHKE00. For example 'ZRFCHKE00' and use it in the same way as you currently use RFCHKE00 for checks.
    After the program is created, use SE38 and save it as a variant using your own specifications. Thereafter, in F110, when carrying out a payment run, under 'Printout/data medium', enter the program name under "Lists" with the variant. Then click on 'Maintain Variants' and make the necessay specifications there as well.
    Instruct your end-users to enter this program when running ACH and wire transactions through F110.
    Please let us know if this information was helpful.
    Thanks,
    Elias

  • Problem while creating table dynamically using stored procedure

    Hi all
    When i try to execute the following lines get insufficient privilege error.
    FYI: i m able to create table statically.(i.e without using stored procedure)
    CREATE OR REPLACE PROCEDURE pcalling IS
    str varchar2(60);
    BEGIN
    str:='create table t15(tno number,tname varchar2(5))';
    execute immediate str;
    END;
    Thanks in advance
    Satya

    hi
    SQL> CREATE OR REPLACE PROCEDURE runddl (ddl_in in VARCHAR2)
      2     AUTHID CURRENT_USER
      3  IS
      4  BEGIN
      5     EXECUTE IMMEDIATE ddl_in;
      6  END;
      7  .
    SQL> /
    Procedure created.AUTHID CURRENT_USER clause before the IS keyword which runddl executes, it should run under the authority of the invoker, or current user not the authority of the definer.
    if you omit it then it will no longer will be run if the creator doesnt have privelege to run this ddl regardless invoker has or not.
    i hope you got it
    Khurram Siddiqui
    [email protected]

  • Create user using stored-procedures

    Would anyone know of a way to create a user and assign role(s) using stored-procedures from a DOS shell? With MS SQL, one could issue the following commands from the DOS shell to connect to the database engine (osql -ULoginID -PPassword) and then "sp_addlogin loginid password". Additionally, can it be used in a VB app?
    Your help is much appreciated.
    tk

    yes, in the code editor.
    Auto-completion suggestions as you type?

  • How to use dynamic parameter when a report is created using Stored Procedures

    Hi all,
    any one have the idea of how to use dynamic parameter in crystal report XI R2
    when report is created using Stored Procedure.
    Regards
    shashi kant chauhan

    Hi
    You can create an SQL command in Database Expert > Expand your datasource > Add command
    Then enter the SQL query that will create the list of values to supply to the user
    eg select field1,field2 from table
    Then edit the parameter of the report.  These will be the SP parameters adn can be seen in field explorer.
    Change the parameter type to Dynamic
    Under the word Value click on Click here to add item
    Scroll down to your Command and select one of the values that you want to appear in the list
    e.g field1
    Then click on the Parameters field - this is essential to create the param
    You can edit other options as required
    That should do it for you.
    I must say that i use CR 2008 connected to Oracle 10g SP, but i reckon this will work for SQL DB and CR XI as well
    Best of luck

  • Need to generate a Index xml file for corresponding Report PDF file.

    Need to generate a Index xml file for corresponding Report PDF file.
    Currently in fusion we are generating a pdf file using given Rtf template and dataModal source through Ess BIPJobType.xml .
    This is generating pdf successfully.
    As per requirement from Oracle GSI team, they need index xml file of corresponding generated pdf file for their own business scenario.
    Please see the following attached sample file .
    PDf file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/BPA_Print_Trx-_output.pdf
    Index file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/o39861053.out.idx.txt
    In R12 ,
         We are doing this through java API call to FOProcessor and build the pdf. Here is sample snapshot :
         xmlStream = PrintInvoiceThread.generateXML(pCpContext, logFile, outFile, dbCon, list, aLog, debugFlag);
         OADocumentProcessor docProc = new OADocumentProcessor(xmlStream, tmpDir);
         docProc.process();
         PrintInvoiceThread :
              out.println("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>");
                   out.print("<xapi:requestset ");
                   out.println("<xapi:filesystem output=\"" + outFile.getFileName() + "\"/>");
                   out.println("<xapi:indexfile output=\"" + outFile.getFileName() + ".idx\">");
                   out.println(" <totalpages>${VAR_TOTAL_PAGES}</totalpages>");
                   out.println(" <totaldocuments>${VAR_TOTAL_DOCS}</totaldocuments>");
                   out.println("</xapi:indexfile>");
                   out.println("<xapi:document output-type=\"pdf\">");
    out.println("<xapi:customcontents>");
    XMLDocument idxDoc = new XMLDocument();
    idxDoc.setEncoding("UTF-8");
    ((XMLElement)(generator.buildIndexItems(idxDoc, am, row)).getDocumentElement()).print(out);
    idxDoc = null;
    out.println("</xapi:customcontents>");
         In r12 we have a privilege to use page number variable through oracle.apps.xdo.batch.ControlFile
              public static final String VAR_BEGIN_PAGE = "${VAR_BEGIN_PAGE}";
              public static final String VAR_END_PAGE = "${VAR_END_PAGE}";
              public static final String VAR_TOTAL_DOCS = "${VAR_TOTAL_DOCS}";
              public static final String VAR_TOTAL_PAGES = "${VAR_TOTAL_PAGES}";
    Is there any similar java library which do the same thing in fusion .
    Note: I checked in the BIP doc http://docs.oracle.com/cd/E21764_01/bi.1111/e18863/javaapis.htm#CIHHDDEH
              Section 7.11.3.2 Invoking Processors with InputStream .
    But this is not helping much to me. Is there any other document/view-let which covers these thing .
    Appreciate any help/suggestions.
    -anjani prasad
    I have attached these java file in kixs : https://kix.oraclecorp.com/KIX/display.php?labelId=3755&articleId=354962
    PrintInvoiceThread
    InvoiceXmlBuilder
    Control.java

    You can find the steps here.
    http://weblogic-wonders.com/weblogic/2009/11/29/plan-xml-usage-for-message-driven-bean/
    http://weblogic-wonders.com/weblogic/2009/12/16/invalidation-interval-secs/

  • Why Dynamic Parameter is not working, when i create report using stored procedure ?

    Post Author: Shashi Kant
    CA Forum: General
    Hi all
    Why Dynamic Parameter is not working, when i create report XI using stored procedure ?
    Only i shaw those parameters which i used in my stored procedure, the parameter which i create dynamic using stored procedure
    is not shown to me when i referesh the report for viewing the results.
    I have used the same procedure which i mention below but can not seen the last screen which is shown in this .
    ============================================================================================
    1. Select View > Field Explorer2. Right-click on Parameter Fields and select New from the right-click menu.3. Enter u201CCustomer Nameu201D as the name for your parameter4. Under u201CList of Valuesu201D select u201CDynamicu201D5. Under the Value column, click where is says u201Cclick here to add itemu201D and select Customer Name from the drop-down list. The dialog shown now look like the one shown below in Figure 1. Click OK to return to your report design.
    Dynamic Parameter Setup6. Next, select Report > Select Expert, select the Customer Name field and click OK.7. Using the drop-down list beside select u201CIs Equal Tou201D and using the drop-down list, select your parameter field (it should be the first field). 8. Click OK to return to your report design and see the parameter dialog.The parameter dialog will appear and show you a dynamic list of values that is updated each time your run your report. It couldnu2019t be easier! In our next tutorial, we will be looking at how to use this feature to create cascading parameter fields, where the values are filtered by the preceding selection.
    Dynamic Parameters in Action
    My question is that whether dynamic parameter is working with storedprocedure or not.
    When i added one table and try to fetch records using dyanmic prameters. after that i am not be able to find the dynamic parameter option when i referesh my report.
    One more thing when i try the static parameter for my report, the option i see when i referesh the screen.
    Please reply soon , it's urgent
    Regards
    shashi kant

    Hi Kishore,
    I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
    expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
    =lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
    As to the second issue, please try to use the following expression:
    =Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
    Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl  file with all the size properties to us by the following E-mail address?  It is benefit for us to do further analysis.
    E-mail: [email protected]
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Need to create a Calender in WebDynpro for ABAP

    Hi,
    Tcode SSC1 displays owner's calender. I need to create same calender in WebDynpro for ABAP. I couldn't find any standard component usage for the same. Is there any component usage for the same or is there any altenative to create the same?
    It's quite urgent.
    Thanks,
    Mahesh

    Hi
    You have to use DateNavigator Control to get the left hand side screen in SCC1 and
    for the right hand side one you have to work with table Control
    for Date Navigator UI control see WDR_TEST_EVENTS
    and to get the right hand side screen see  WDR_TEST_TABLE see the view SingleMarkableCell.
    Using both these standard components you can achieve this.
    Abhi

  • Need to create a mass upload program for appraisal document creation for multiple employee

    Hi Expertise,
    I need to create a mass upload program for appraisal document creation for manager and his multiple employee
    at a time using tcode appcreate.
    Please help me out.
    Best regards,
    Priyaranjan

    Hi Priyaranjan,
    I think you can take the abap'ers help in creating the program. But u need to provide them the exact functionality and the required specifications in creating the appraisal document.
    Even tcode also u can get it prepared by Abap'ers.
    Thanks and Regards
    Balaji

  • Need to create a mass upload program for appraisal document creation for multiple employee in abap hr

    Hi Expertise,
    I need to create a mass upload program for appraisal document creation for manager and his multiple employee
    at a time using tcode appcreate.
    Please help me out.
    Best regards,
    Priyaranjan

    Hi,
    I have done appraisal document creation for bulk using txt file.
    this fm used for single for creation in standard tcode (phap_prepare):  'WZ_HRHAP_0DOC_WZ01_START'.
    So create ztcode  usinh this fm for single form then record BDC for this tcode and called this tcode in that bdc for bulk creation .
    While recording for single I have used manual option instead of automatic .

  • I have an itunes account.  However, I need to copy music onto a different iPod than my own.  How do I do that?  Do I need to create a separate iTunes account for that iPod?

    I have an itunes account.  However, I need to copy music onto a different iPod than my own.  How do I do that?  Do I need to create a separate iTunes account for that iPod?

    An account means an iTunes Store account which is an online service.  Do you mean that, or do you mean a library on a computer?
    iOS devices can only be synced to one iTunes library at a time.  You can sync that iPod to your account but it will wipe everything currently on it.
    iTunes: Syncing media content to iOS devices and iPod - http://support.apple.com/en-us/HT201253 - detailed example: https://discussions.apple.com/message/18860187#18860187
    If you use manual syncing, you can sync items from more than one iTunes library to your iPod. (You can sync iPod touch, iPhone, and iPad with only one iTunes library.) When manually managing content, you can add content from multiple libraries to your iPod or iPad. Even when manually managing music, some content may be available from only one library at time. This includes all content on iPhone and video content on iPod and iPad. http://support.apple.com/kb/PH12113  and http://support.apple.com/kb/HT1202
    I could post another 2 pages of stuff trying to cover every possible scenario.  It would help if you let us know exactly what you want to do.  Are you trying to sync just a few songs (like giving them to a friend which is something iTunes is deliberately set up not to do)?

  • Do we need to create CPF Deduction Wage type for Singapore Payroll

    Do we need to create CPF Deduction Wage type for Singapore Payroll?

    Hi Vijay Kumar   ,
    CPF related technical wage types for Singapore Payroll are already there as per SAP standard:-
    Check  in table V_52D7_B
    u can also check the path in SPRO
    Payroll singapore : Wage Types >Processing Classes, Evaluation Classes, Cumulations>Check technical wage types for CPF

  • How can I Create a Client Configuration File for RemoteApp and Desktop Connection with Server 2012?

    I have a working RDS RemoteApp site and looking to test out the feature in Windows 7 Control Panel\All Control Panel Items\RemoteApp and Desktop Connections
    I came across this link: Create a Client Configuration File for RemoteApp and Desktop Connection and I believe this is what I need to do first, but these instructions are for
    Server 2008, and I'm running 2012.
    Any suggestions or tips on how I can begin testing this with Server 2012?

    Hi,
    You can manually enter the path to the 2012 feed and it will connect and download the RemoteApps and Desktop connections.
    If you need a sample .wcx file I have posted one here a couple of times.  If you want I will look for it and post a link.
    -TP
    I tried adding my URL's below, these are sample links that work for me right now for when I log into the web page, but neither of these work.  And I'm not sure what I would need to do with or how to create a .wcx file.
    When I type in my URL of: https://connect.mydomain.org/RDWeb, I get redirected to: 
    https://connect.mydomain.org/RDWeb/Pages/en-US/login.aspx?ReturnUrl=/RDWeb/Pages/en-US/Default.aspx

Maybe you are looking for

  • How do I find out the template that was used to create a new page?

    We inherited a website from a previous developer. It is in ASP. When we try to change say the background color of a page it says the page uses a template the changes we make will not be changed. There is a template folder but each of the templates in

  • Copy command in SQL

    What is the Copy Command in SQL ?

  • Assignment in Cash discount GL is not populating Billing no & customer no

    I have done settings for cash discount GL seeting in customising.  Now when i use F-28 or F-32 , We charge balance amount to discount manually in standard. Suppose a debit in customer account 2000 INR. But we receive bank GL 1900 INr & entered  100 (

  • Multiple row selection & Send Email Code ? Need littel Help

    Dear All, I managed to insert a code which will enable me to select multiple rows (Artikel from the great Yann Duran), i also have a code which enables me to send a mail for each selected row (only one row). But now since I was able to select more ro

  • After 6.01 photos look blurry

    I've noticed that when seeing my pictures with Iphoto they do not look as sharp as they looked prior to the update.They slightly blurry now However, when I open them in Photoshop they look OK. Anyone else experiencing the same issue?