How to edit .HDB Procedure

Hi All,
I am new to HANA and I have requirement - need to modify the Stored procedure but I am not sure how to modify .
I tried in Project explorer / repositories  - but error message is - You can only create a read-only procedure on this server in development server
Pls find the attachment
Regards,
Sivakumar Ramakrishnan

Hi Krishna,
Still I am not able to edit the . HDB Procedure in project explorer  ,Pls find the screen shot and kindly Advice on this .
I am not sure that I am editing at right place and also I am in support project ,The following procedure already available in Prod and I received some changes in this procedure ,Currently I not able to edit because procedure of type .HDB Procedure ,Not sure where to edit and I tried in Project explore but I am getting the following message ,Let me know any role need to assign to me or any schema mapping need to do .
Regards,
Sivakumar Ramakrishnan

Similar Messages

  • How to edit stored procedure from sqlplus ?

    Hi,
    Can anyone advise how to edit stored procedure from sqlplus ?
    Many thanks.

    You can get the source for an object from SQL*Plus by querying the user_source table, i.e.
    SQL> create procedure foo
      2  as
      3  begin
      4    dbms_output.put_line( 'foo' );
      5  end;
      6  /
    Procedure created.
    SQL> select text
      2    from user_source
      3   where name = 'FOO'
      4   order by line;
    TEXT
    procedure foo
    as
    begin
      dbms_output.put_line( 'foo' );
    end;Most commonly, though, if you are using SQL*Plus and a text editor to develop stored procedures, you will have all your stored procedures in .sql files that you edit and just use SQL*Plus to create (or recreate) the stored procedures.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to edit a report based on Stored procedure in Deski

    hi all,
    We have a report based on a stored procedure in Deski format.I can see the sp name it is using under View Data >definition but cannot figure out which database or server it is pointing to .
    Also ,please let me know how to edit/change the sp it is pointing to.
    Thanks

    Hi
    When you click on View Data, at bottom click on Edit button
    It will prompt a connection details tab wherein you can view and modify the connections
    Nik

  • How to Edit and update a Procedure belonging to other owner

    1) How do i edit a stored procedure
    2) After editing it how can i update it in other users log

    You need resource privilege to recreate a procedure in another user's schema, CREATE ANY PROCEDURE.
    Then you need access to the source code. Offline access is best. The data dictionary won't let you see package bodies belonging to other users from the ALL_SOURCE view, but should from DBA_SOURCE. GUI tools like TOAD and SQL Developer may let you see other users source but this will depend on the editor. Likewise the GUI tools may/may not let you edit others users code when you have privileges.
    Generally, you don't "edit" stored procedures. You get the source, use an editor to modify the source, and replace it with the new code. Its best to keep offline backups of source while you are working on it, especially if you are using a GUI tool where a botched editing session will corrupt the online copy.
    If using SQL*PLUS to recreate another user's stored procedure you need to prefix the create command with the username, something like
    create or replace package scott.my_package ...which may not be necessary if you're using a GUI tool.
    Message was edited by (content):
    riedelme

  • How to use the procedure column in reports

    Hi all
    How to call the procedure in reports as source.. If possible how to use columns of procedure in the layout column of report????

    Hi,
    Your query is not clear.
    1. In subject are you asking total column.
    A. Edit pivot view and go to Rows and click Total BY option here you can find option like (none,before,after) the you can select after it will display total all culms.
    2. I want use the columnC in columnD ? -- Am not understand.
    A. What my understand is you want to see the report only C and D values only.
    If it is correct we can apply filter in report level click column filed and apply not equal to A then it will show only C and D only.
    If it is wrong pleas post me correct one with example. Will try to help out this.
    I am not sure this is what your looking so far.
    Award points it is useful.
    Thanks,
    Satya

  • How to Edit the CheckBox in Classic ALV GRID Display

    Hi,
    I want to Edit the checkbox in Grid Display.
    I have one checkbox field in my internal Table,
    Code Of the Program,
    Data :
    Begin of itab occurs 0,
    CHK type C,
    MATNR like MARA-MATNR,
    end of itab.
    Iam building the fieldcatelog using Merge Funcion module.
    After that I am chaning the properties of the field
    catelog like below,
    loop at I_FCAT assigning <FCAT>.
    Case <FCAT>-Fieldname
    When 'CHK'.
    <FCAT>-Checkbox = 'X'.
    <FCAT>-INPUT = 'X'.
    I dont have edit option in fieldcatelog.
    modify I_FCAT from <FCAT>.
    endcase.
    endloop.
    In the Layout,
    I_LAYOUT-box_fieldname = 'CHK'.
    I_LAYOUT-box_tabname = 'ITAB'.
    It is displaying the Checkbox field.but I couldnt edit the checkBox.
    I can able to edit in REUSE_ALV_LIST_DISPLAY.
    But I  have to use REUSE_ALV_GRID_DISPLAY.How to edit the checkbox.
    Thanks in Advance,
    Sumithra

    Hi vasu,
    The below procedure explains you to create a checkbox cloumn in the grid and allows you to edit i hope this will helps u.
    The ALV Grid Control displays the cells of a column as checkboxes if the column is marked as a checkbox column in the field catalog.
    •     Add another field to the output table in which you want to display checkboxes
    OR
    •     Define an existing field as a checkbox.
    Procedure
    1.     Add a field to your output table:
    Data: gt_fieldcat type lvc_t_fcat.
    Types: begin of gs_outtab.
    Types: checkbox type c. "field for checkbox
    Include structure <ABAP Dictionary structure> .
    Types: end of gs_outtab.
    Data: gt_outtab type gs_outtab occurs 0 with header line.
    2 * Add an entry for the checkbox to the field catalog
    clear ls_fcat.
    ls_fcat-fieldname = 'CHECKBOX'.
    * Essential: declare field as checkbox and
    * mark it as editable field:
    ls_fcat-checkbox = 'X'.
    ls_fcat-edit = 'X'.
    * do not forget to provide texts for this extra field
    ls_fcat-coltext = text-f01.
    ls_fcat-tooltip = text-f02.
    ls_fcat-seltext = text-f03.
    append ls_fcat to gt_fieldcat.
    regards,
    venu.

  • How to use Stored Procedures in form 6i Blocks

    Dear Friends,
    I would like to know how to use Stored Procedures while creating blocks in Data Block Wizard in forms 6i application.
    Please send me sample code of stored procedure.
    Regards,
    Khader.

    The Data Block Wizard is not for creating stored procedures. It will allow you to use a stored procedure in your form. See the help documentation for how to use the wizard.
    Here's an example of a simple procedure. If you search the database forum or the web, you will find many examples.
    CREATE OR REPLACE PROCEDURE procedure_name (value OUT NUMBER ) AS
    BEGIN
    SELECT COUNT(*) INTO value
    FROM your_table;
    END;
    Message was edited by:
    Mark Roberts

  • How to call this procedure in my report to print my procedure output

    Hi,
    i have a table named letter,it contains 2 columns named as letter_id and letter_content.
    select * from letter;
    letter_id letter_content
    103 Dear MFR
    103 This is in regards to the attached DM List
    103 Please Credit us after reviewing it.
    103 Thanks
    103 Regards
    103 xxxx
    108 Dear customer
    108 This is to inform that ur DM List is as follows
    108 Credit us according to the Dm after reviewing it.
    108 Thanks
    108 Regards
    108 xxxx
    now my requirement is,i need send a parameter as letter_id to a procedure or function in pl/sql in oracle,the output should be as follows:
    if we will pass parameter(letter_id) = 103 then it displays as follows:
    Dear MFR
    This is in regards to the attached DM List.Please Credit us after reviewing it.
    Thanks
    Regards,
    XXXXX.
    if we will pass parameter(letter_id) = 108 then it should displays as follows:
    Dear customer,
    This is to inform that ur DM List is as follows. Credit us according to the Dm after reviewing it.
    Thanks
    Regards,
    XXXXX.
    the procedure for my requirement is like below.now my problem is how to call this procedure in my report.so that if i will send a parameter as letter_id then it should get my report stated above.
    CREATE OR REPLACE PROCEDURE letter_text ( p_letter_id letter.letter_id%TYPE , p_letter_contents_out OUT SYS_REFCURSOR )
    IS
    BEGIN
    OPEN p_letter_contents_out
    FOR
    SELECT letter_content
    FROM letter
    WHERE letter_id = p_letter_id
    ORDER BY line_seq;
    END letter_text;
    which you might call with something like
    SQL> var results refcursor
    SQL> exec letter_text(103, :results)
    PL/SQL procedure successfully completed.
    SQL> print :results;
    CONTENT
    Dear MFR
    this is in regards to the attached DM List
    Please credit us after reviewing it
    thanks
    Regards
    EXP
    6 rows selected.
    so, the same out put i need to get it in a report.
    Thanks

    Thanks for ur suggestions.
    i have 2 select statements.1st query is the main query for the report.so i used it at the time of report created with datablock.
    now my 2nd query is
    select letter_content
    from ( select content_seq,
         content || case content_seq
    when 2 then
    ' ' || lead(content) over (partition by letter_id order by content_seq)
    end as letter_content
    from exp_letter_contents
         where letter_id = 103)
    where content_seq <> 3;
    i had taken 2parameters 1 for the main query and 2nd is for the above query(parameter is letter_id).
    now i have to write the above select statement in the report.
    so i had taken a field object in the report and then i had written this code in before report trigger.
    function letter_contentFormatTrigger return boolean is
    begin
    select letter_content
    from ( select content_seq,
                        content ||
                        case content_seq when 2 then
                             ' ' || lead(content) over (partition by letter_id order by content_seq)
                        end as letter_content
              from exp_letter_contents
              where letter_id = 103)
    where content_seq <> 3;
    return (letter_content);
    end;
    when i tried to compile it.i got an error as follows :
    error 103 at line6,column 5
    encountered the symbol "CASE" when expecting one of the following:
    (- + mod null <an identifier>
    <a double-quoted delimited-identifier><a bind variable> avg...etc
    so,where can i write this select statement.
    i am using oracle reports6i
    Message was edited by:
    user579585

  • How to edit my document after signing?

    how to edit my document after signing?

    Hi fortm71591551,
    Follow the below procedure for editing your document after signing it:
    1. Open the File in Acrobat
    2. Right Click on the signature field and choose 'Clear Signature'
    3. Go to tools pane on the right side of the window then choose 'Edit' Under Forms Drop Down Menu.
    4. Right Click on the signature field  and choose delete.
    5. Click 'Close Form editing' and then you can make necessary changes and resign your pdf (If you want to).
    Hope that helps.
    Please revert back for any other query or if you need any further assistance.
    Regards,
    Rahul

  • How to Edit or Delete a message

    while monitoring how to Edit or Delete messages.

    Hi,
    You can follow this links which provides the step by step procedure to delete messages:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50
    Also find some additional blogs to do the same:
    /people/prasad.illapani/blog/2007/03/08/performance-tuning-checks-in-sap-exchange-infrastructure
    /people/prasad.illapani/blog/2007/04/20/performance-tuning-checks-in-sap-exchange-infrastructurexi-part-ii
    /people/prasad.illapani/blog/2007/04/27/performance-tuning-checks-in-sap-exchange-infrastructurexi-part-iii
    If you need to delete bulk of messages then I suggest you to use the following report in TCode se38
    report RSXMB_CANCEL_MESSAGES
    This report delete message with errors.
    Regards,
    Nithiyanandam

  • How to edit repository.properties

    How to edit repository.properties.
    I want to edit the file
    http://<host>:<httpPort>/dtr/ws/system/config/active/registry/repository.properties
    Kindly give me the step by step procedure. Precisely how can i  check out this file using NWDS.
    Appreciate your response.
    Thanks,
    Prasanna Krishnamurthy

    This is the Help topic for the Apply Usage Rights operation that the Reader Extensions service provides:
    http://livedocs.adobe.com/livecycle/es/wb_help/00000949.html
    If you are new to LiveCycle, you should work through this tutorial to learn the basics:
    http://livedocs.adobe.com/livecycle/es/wb_help/00000405.html
    Scott

  • How to call store procedure in query generator

    Hi All,
    How to call store procedure in query generator.
    Regards
    Rajkumar Gupta
    Edited by: Rajkumar Gupta on Dec 7, 2010 2:11 AM

    Hi,
    Please check the following threads.
    How to use Stored Procedure in sap business one
    How to add parameters to a stored procedure in B1 Query generator
    How to execute the procedure in sap b1
    Hope it helps,
    Vasu Natari.

  • How to call a procedure in place of a SQL

    Hi
    Can any one tell me how to call a procedure in place of a SQL from Bi publisher
    Thanks
    Ranga
    Edited by: user13274784 on Jul 22, 2010 9:47 AM

    One way would be to use pipelined table functions. Call the procedure within a function and return data in the form of a table.
    Search the forum.
    Check this out: http://winrichman.blogspot.com/search/label/pipelined
    http://bipublisher.blogspot.com/2007/09/plsql-taking-it-to-next-level.html
    BI publisher to use Stored Procedure
    Edited by: BIPuser on Jul 22, 2010 10:22 AM

  • How to edit Idoc data in inbound processing

    Moved to correct forum by moderator
    Hi All,
    How to edit idoc data in inbound processing ? We have a custom FM in inbound scenario and requirement is to update a value in idoc, this value comes after certain processing in custom FM.
    I tried editing it through
    EDI_DOCUMENT_OPEN_FOR_EDIT
    EDI_CHANGE_DATA_SEGMENTS
    EDI_DOCUMENT_CLOSE_EDIT
    but there is problem in this approach. By this procedure two idocs are created in system, one with original data and one with modified data. We want only one with modified data.
    We do not want any direct database table updates.
    Please provide appropriate solution.
    Note : We are not changing status record. Please do not post replies related to status change
    Edited by: Matt on Nov 19, 2008 2:24 PM

    Hi,
    You can edit the idoc by doing the following steps:-
    1. Goto WE02 transaction and give the IDOC number and execute
    2. Once the required IDOC gets retrieved then double on the text pad icon beside the segment which you wanted to change.
    3. Select the Data Record at the top and click Display <-> Change option, which will enable you to change the data in that segment.
    4. After doing the step 3 then click the save button to save your changes.
    5. Then system will generate a new idoc number to store the actual data and your current idoc will hold the new data and the idoc will be in 69 status.
    6. Execute the Program RC1_IDOC_SET_STATUS by giving your idoc number and status as 69 and new status 64 and remove the test flag
    7. Then the IDOC will be in 64 status and you can reprocess the idoc with the help of the program RBDAPP01 by giving the idoc number.
    The above is the entire process for editing the error idoc and reprocessing it again.
    I hope I am clear and you understood the entire flow of editing and reprocessing an idoc.
    Thanks,
    Mahesh.

  • How to edit xml link?

    First a few words about my context:
    I received a layout made on a CS3 version of InDesign. Now I am trying to create a procedure to automate the production of several pdf based on this layout. Manually the process would be to open the layout; edit the xml link with each xml source and create a corresponding pdf...
    First issue:
    In CS4 when I want to manually edit the xml link, the opened dialog prevent me (xml files are in gray) to select xml files, is it a well-known issue? How can I avoid it?
    Second question:
    How to edit the xml link from script?
    Last question - applescript question - :
    How to skip application dialogs? Like "This document miss some links, would you continue?"
    If you'd be able to help me, thanks in advance!

    Dear Loic_aigon
       Many thanks!
    But I used what you said!.
    But Still I'm facing the same problem [ not find : "image"]
    Here the below tag I used..
    <Figure id="f0020"><label>Figure 2 </label><caption>Dummy Figure </caption>
    <image href="C:/Program %20Files/VUG/clouds.jpg"></image></Figure>
    Program :
    //============== Start =====================//
    #include "E:/HariharaSudhan/XMDOM_TEST/xml_for_script-3.1/jsXMLParser/xmldom.js";
    var myFile = File("E:/HariharaSudhan/XMDOM_TEST/xml/test.xml");
    myFile.open("r");
    var myXMLString = String(myFile.read());
    var objDom = new XMLDoc(myXMLString, undefined);
    var domTree = objDom.docNode;
    $.writeln(domTree);
    var myImage = domTree.getElements("image");
    var myDoc = app.open(File("E:/HariharaSudhan/XMDOM_TEST/Indd/test.indd"), true);
    $.writeln(myImage);
    for(var i=0; i<myImage.length; i++)
    $.writeln( myImage[i].name);
    myImage[i].getAttribute("href").replace('file:///','');
      var myPage = doc.pages[0].duplicate(LocationOptions.AT_END);
      var myFrame = myPage.pageItems.item("image");
      myFrame.place(File(myImage[i].getAttribute("href").replace('file:///','')));
      app.pdfExportPreferences.pageRange = myPage.name;
      app.pdfExportPreferences.viewPDF  = false;
      myDoc.exportFile(ExportFormat.pdfType, File("E:/HariharaSudhan/XMDOM_TEST/PDF/" +(i+ 1)+".pdf"), undefined, undefined, undefined, undefined);
    myDoc.close(SaveOptions.NO);
    //===================== End ============================//
    So please kindly see the attached xml file, and please send me the solutions.
    Please this is my humble request.
    Thanks & Regards
    T.R.Harihara SudhaN

Maybe you are looking for

  • Can not send email from .mac account from the iPhone

    I'm having problems sending email from my iPhone from my .Mac Account and says the outgoing server timed out. Any Suggestions?

  • Customer Difference postings

    Hi all,          Can anyone tell me how to do the difference postings in AR. The tolerence limits are set to $5.But when I tried to post the overpay/underpayment for a customer,its asking me to create a new line item and assign it to a GL account.To

  • Syntax Error When Synchronizing *.msg files

    I am running SyncToy 2.1, version 2.1.0.0. When synchronizing folders that contain Outlook messages saves as *.msg files, I recieve the message "Error: Cannot write to the destination file. The filename, directory name, or volume label syntax is inco

  • SAP GRC AC with SAP IdM and without SAP Idm

    Hello, Could anyone provide me what are the advantages implementing SAP IdM with SAP AC suite? Can I use SAP GRC User Provisioning tool with SAP HCM position based concept? Thanks in advance. -Harry

  • What is the email address for contacting apple

    I need to have pages and all my stuff that was on my laptop before my laptop hardrive crashed to put it on my new harddrive.  I need to email them the proof of that I had it.