HANA Stored Procedure in SAP Design Studio

hi there,
I developed a HANA stored procedure, I want to implement this procedure in SAP Design Studio. following scenario:
if Button Click, the Procedure is executed and the result of this Procedure is shown in a crosstab.
I can maybe help someone, maybe someone has tried something similar.
Thank you 

hi,
I developed in Hana a calculation view with script, cfr stored procedure, this view I can use as a datasource in my SAP Design Studio.  The loading of your datasource can be triggered by your button:  set datasours load in script true, radiobutton event: DS_1.loaddatasource ();
Is this work around okay for you.
Greetings
Koen

Similar Messages

  • Is it possible to return a cursor as a HANA Stored Procedure OUT parameter?

    Hi,
    I have a use case where I need to return a record set from a HANA Stored Procedure to the caller based on a couple of input parameters to the procedure. However, the record set needs to be dynamic and may have different columns based on the input parameters.
    I could achieve this by creating hdbstructures or using table types as OUT parameters. However, is it possible to return a cursor holding the result set of a SELECT query as an OUT parameter for a HANA stored procedure?
    (I am looking for something similar to Oracle's SYS_REFCURSOR)
    Best Regards,
    Abhik

    Did you try using EXECUTE IMMEDIATE
    Have a look on this:
    SAP HANA: Handling Dynamic Select Column List and Multiple values in input parameter
    Regards,
    Krishna Tangudu

  • Unable to embed External CSS file, dropdown list,filter panel and dimension filter are not working in SAP Design Studio Tool

    Hello Everyone,
    I am new to SAP Design Studio. I am working on creating dashboards and I am using Design Studio 1.2 version. Please suggest some solutions for the following issues. Thanks in Advance.
    1. External CSS file which is embeded using custom CSS option under "application component properties" is not working.
        * I kept the external CSS file inside repository-> my application folder.
    2. During runtime, getting javascript error while selecting '-' option from filter panel.
    3. Unable to select or type dimension name under "dimension filer component" properties.
    4. Getting runtime error for dropdown list, and I have inserted the following code under "onStartup" option of Application component properties.
    "DROPDOWN_1.setItems(DS_1.getMemberList("PRODUCTREF", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 20));
    and dimension values are not populated in auto suggest."

    There should be an Error Log under View > Error Log that gives you more details of these errors.  Could you add that?  There is also a View > Script Problems log that provides more details as well.

  • Write back to BW cube through HANA Stored Procedure?

    Hi ,
    I am looking for a way to write back to BW cube using HANA stored Procedure and not use the traditional approach
    where we fetch the data as output using stored procedure and write that to BW cube using traditional write back approach .
    Is it possible to write back to cube considering it is not a flat structure using simple insert sort of statement which we can do with DSOs?
    Best Regards,
    Rakesh

    Yepp exactly. Before the insertion all characteristic values are converted to SID-s.
    The reality however is not that simple, since many checks are done during the cube update. One of these is the time consistency check, which checks if the data for the time dimension is consistent or not. In case of non-cumulative scenarios this is essential.
    As of now, its not possible to check this purely with DB tools and therefore there is no stored procedure available to do this from DB level directly. For the same reason its not possible to use HANA executions on DTP-s whic has cubes as a target.

  • SAP Design Studio Bookmark security

    We like the new feature in 1.3 which allow us to save bookmark / navigation state in SAP Design Studio application. However it looks like it require Administrator rights for users to be able to save or delete it. We were not able to locate what security required in BI for end users, and we are reluctant to give Administrator right to them.
    Does Design Studio 1.3 come with new security to allow user to add/delete bookmark? Anyone out there able to assist us to pin point which security is required?

    Hi Steven,
    I am not sure it is security
    Please look at the SAP help at https://websmp202.sap-ag.de/~sapidb/011000358700000449022014E/ds13_admin_bip_en.pdf
    Notice this picture/section:
    Could you check on this to see if it helps?

  • Facing following issues with SAP Design studio tool

    Hello Everyone,
    I am new to SAP Design Studio. I am working on creating dashboards and I am using Design Studio 1.2 version. Please suggest some solutions for the following issues. Thanks in Advance.
    1. External CSS file which is embeded using custom CSS option under "application component properties" is not working.
        * I kept the external CSS file inside repository-> my application folder.
    2. During runtime, getting javascript error while selecting '-' option from filter panel.
    3. Unable to select or type dimension name under "dimension filer component" properties.
    4. Getting runtime error for dropdown list, and I have inserted the following code under "onStartup" option of Application component properties.
    "DROPDOWN_1.setItems(DS_1.getMemberList("PRODUCTREF", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 20));
    and dimension values are not populated in auto suggest."

    Hello,
    Check the following components are installed on the local machine of your application designers;
    1) 32-bit Version of Java Runtime ENvironment 1.6 or 1.7 ((http://java.com/en/load/index.jsp)
    2) Internet Explorer 9.0
    or May be just uninstall and again reinstall
    regards,
    Anand Kumar

  • SAP Design Studio 1.2

    How does absence of Mobile SDK support in sap design studio 1.2 affect the mobile solutions?
    Regards,
    Tanisha

    Hi,
    Try adding "DS_1.setFilter("Dimension Name", DROPDOWN_1.getSelectedValue()); " after
    "DROPDOWN_1.setItems(DS_1.getMemberList("dimension name", MemberPresentation.INTERNAL_KEY, MemberDisplay.KEY, 10));"
    on startup event too.  You should tell the application that you need to filter the data, even if you don't select it manually from the dropbox, in other words ; on startup. 
    Regards,
    Onur

  • Show Only First N Rows in SAP Design Studio Chart/Table

    Hi,
    Is it possible to show only first N rows of data in SAP Design Studio Charts/Cross Tab ?
    Eg
    Bex Query Output
    Here If I mention First 2 rows, my chart looks like below
    If I mention First 4 rows, my chart looks like below
    Thanks
    Anil

    Hi Mustafa,
    Thanks for your reply.
    Actually our requirement is, we have one Bex Query where we are using Ranking Function.
    We have 15 customers, and we need to know the ranking based on some calculations.
    Whenever we execute the query with different time periods, the ranking of Customers will vary, for example if I execute query for year 2014, customer 1 can be Rank 1, If I execute for year 2013, Customer 7 can be Rank 1.
    From this Query I need to show only Top 5 Customers in Cross Tab/Chart.
    We tried to put condition on CY Ranking in Bex to show only Top 5, but the result was giving some diff customers and also for all Time periods we are getting same Customers In Top 5.
    To overcome this, we thought instead of putting condition on Bex side, we are trying to pick only first 5 rows from Bex Query and show them in Chart/Cross Tab, something like we will map only first 5 rows in Xcelcius.
    We would like to know is there any functionality in Design Studio to show only first 5 rows of data.
    Regards,
    Anil

  • SAP Design Studio ODBC Driver Not Found error while creating HANA connection.

    Hi,
    While creating SAP HANA ODBC connection in Design Studio via Tools > Preference > Application Design > Backend Connection. I am getting error ODBC Driver Not Found. Error screen shot is attached.
    My Design Studio version is 1.3 win 32 bit
    My OS Win 7 64 bit
    I have installed both HANA client 32 bit and 64 bit.
    I have tried creating DSN ODBC connection via "C:\Windows\SysWOW64\odbcad32.exe" and via Control Panel > Administrative tools > Data Sources(ODBC). But it does not detect it either.
    I am not sure what needs to change to let Design Studio know which HANA client driver to use.
    Please help!.

    Hi Rohit,
    This seems to be a known bug with Design Studio. Please see the SAP Note below on this.
    1774480 - Fix launching of ODBC Data Source Administrator
    Regards,
    Abhijit

  • How to change Access Mode of HANA Stored procedure

    Hi,
    When you are creating a stored procedure as design time object, one of the option is access mode (either read only or read/write).
    I understand read only is default setting in HANA DB, and unless you explicitly change the setting you cannot read/write using stored procedure.
    My question is, is there way to change this setting, so I have option to choose either read or read/write when I create a stored proc?
    Thank you.
    Hyun

    Hi Hyun,
    Please have a look on this thread:
    Create local temporary table in procedure
    You have to enable sqlscript_mode to UNSECURE as mentioned by lars.
    Then depending on whether you are specifiying "READS SQL DATA" it will act as a READ procedure else as a WRITE procedure.
    Regards,
    Krishna Tangudu

  • Speed benefit of stored procedures in SAP B1 8.8

    HI
    I have written a sales report for a customer which runs lots of different sql queries using the  di api
    It's a vb.net app than returns the information into Excel
    Depending on the parameters they use for the report, ie bp range, date range, item range, it can take some time to run
    A long report can easily run for 30 minutes
    I have never done much with stored procedure and wondered if switching to them might help ?
    Can anyone advise me if this would help much or any other  way of improving the speed of the report
    They have a dedicated SAP server running sql 2008 and windows server 2008
    Many thanks
    Regards Andy

    Hello Andy,
    So stored procedure is a collection of SQL statements. You can put the queries inside, and these queries must be no output. The last query can provide teh resultset (last select statement will contain the results you get back).
    By an example you can leant it easily
    here is a sample stored procedure,  which uses a Temporary table (#t) and collects data into this table.
    CREATE PROCEDURE sp_vendors
              @cardtype varchar(1)
    AS
    BEGIN
              -- SET NOCOUNT ON added to prevent extra result sets from
              -- interfering with SELECT statements.
              SET NOCOUNT ON;
              -- Insert statements for procedure here
              SELECT CardCode, CardName into #t
              ocrd where CardType = @cardtype
              select * from #t
    END
    GO
    Regards
    János

  • How we can use the stored procedures  in sap b one -pld,

    HI , actualli i m a fresher in PLD and want to add a new field in preiview ofr which we have to bind the data  using stored procedure which is the inbuilt given option for the properties of any field (in contents).Is anyone help me egarding this .
    then pls mail me the solution at:[email protected]
    bye

    Hi Premraj,
    PLD only supports User Defined Queries generated through the Query Wizard or the Query Generator in the Reports Module of SAP B1. Though I would personally recommend NOT to use Stored Procedures since they are not supported by  B1 solution certification guidelines. Instead take a look at PLD Tutorials available on the SDN Site and formulate a query accordingly.
    Regards
    Rizwan Hafeez
    Team Lead
    SAP Addon Development Section
    Abacus Consulting - Pakistan

  • Ranking In SAP Design Studio 1.3

    Hi,
    Is there a way we can rank a dimension in Design Studio 1.3?
    Thanks & Regards,
    Mitalee

    Try looking at BEx Conditions and see this thread http://scn.sap.com/thread/3493392
    Also, please remember to search before you post per SCN rules of engagement; it is not clear you have done that.
    Thank you

  • SAP Design Studio SDK Editing

    Hi,
    I am an SAP BIBO consultant. One month before I started using Design Studio 1.2.
    Is there any document that will help in BIAL coding???.
    Can anyone please show me from the scratch how I can edit the existing standard components in the Design Studio through SDK. I have tried up the addition of Custom components(Colored Box, Google Maps) in Design Studio. That worked fine. But my issue in modifying or editing existing components. How I can import those standard components to Eclipse and how to start editing???
    Also one more thing, please show me from where I can download the UI Development Kit (SAP UI5) for Design Studio 1.2. and how to install the same.
    I am using,
    Eclipse Helios
    JDK 1.6
    Please help me in this........
    Regards,
    Arun Krishnan.G

    Hi Arun,
    In answer to your questions:
    1.  You can learn about BIAL scripting through the following resources:
    Design Studio Application Designer Guide
    Design Studio Tutorials
    Getting Started with SAP BusinessObjects Design Studio
    Design Studio e-book
    2.  It is not possible to modify the functionality of the standard Design Studio components via the SDK.  You can however modify the appearance of standard components by applying CSS as shown in this tutorial video.
    3.  You do not need to download the UI5 Development Kit to incorporate UI5 controls into SDK components.  To access a UI5 control you need to develop the component using Handler Type "sapui5".  The approach is described in Section 6 SDK Extensions Using SAPUI5 Controls of the Developer Guide.  You can also download the SDK Templates and Samples which include UI5 examples.
    Regards,
    Mustafa.

  • Does SAP Design Studio 1.2 supports BEx conditions....?

    Hi All,
    Have one scenario where BEx query is having condition (Ex: Keyfigure not equal to '0'). But in design studio, values are not applied with condition.
      FYI - One of the documents from SAP, it supports...plz check attachment
    Kindly give your comments...

    Here is the scenario
    Am having a BEx query with a condition (Margin not equal to '0') and output of BEx is showing correctly (value - 9575). When i use the same query in Design Studio, output is 106219 which is aggregated value. Verified in BEx output.
    As you recommended, i enabled to 'True' the conditional formatting, still expected value is not coming.
    Kindly give your inputs

Maybe you are looking for

  • I have iTunes 11.1.3 and when I click on iTunes Store in the top right corner I just get a blank screen. Please help me! I want to buy music!

    I have iTunes 11.1.3 and when I click on iTunes Store in the top right corner I just get a blank screen. Please help me! I want to buy music!

  • Package compiling problem with a filename

    The pkg contains a select statement with 5 tables in the "from" clause. The statement works fine in a script but when I attempt to compile it as a proc, I get a "PLS-00201: identifier 'TATTLE.BI_LO_CART' must be declared" error. My schema has access

  • Would like file sizes in windows to recalculate always

    Friends: I'm using OS X 10.4.10 and would like the size of each file to update on any window I open. As it stands only some folders have sizes. Ive got my View options set to calculate sizes for all windows, but when I return a few days later this op

  • Security.Pls read

    Good Day All, Please I will appreciate a quick response to this questions. (1) I want to ensure a tight security on our network.what are the things we need to put in place(Both logical and Physical).You can specify the devices and software to purchas

  • WebService Questions?

    I'm using JDev 10.1.3.1 to create my first web service - I was able to successfully consume a web service provided by an external .NET application, and now I'm trying to create a web service to be consumed by that same external application. I'm follo