Can we define cursors from in procedure while using .procedure file?

Hi Team,
Can we define cursors from in procedure while using .procedure file?
I have a catalog procedure in which am using cursors and it is working fine. But while trying to create the same procedure using .procedure , the validation is failing with "An error occurred while parsing your procedure".
Request your suggestions.
Regards,
Krishna Tangudu

Hi Krishna,
I also tried to find the validation for procedure and failed. What was on my mind when I posted earlier was related to Window -> Properties -> SAP HANA -> Modeler -> Validation Rules but this is not the same for procedure.
Also the validation error seems to not being raised by Studio but the server, so it's not a frontend validation anyway.
Trying to replicate your error I create two procedures here and both worked fine with cursor.
The behavior you found was the same I found, the .procedure goes to repository and _SYS_BIC after activation and .hdbprocedure goes to catalog only.
As far as I understood as you are moving from catalog (manually) and it worked on catalog (.hdbprocedure), I could check the declaration of table types of header as it's the main difference.
Despite this investigation of declaration, you can try create it on modeler direct and see what you found on .procedure created. This can speed up investigation.
Regards, Fernando Da Rós
BTW: I'm faced an very strange behavior that each caracter I type on .procedure or .hdbprocedure freezes studio by around 15 seconds ?!?!?!?! (studio rev73)

Similar Messages

  • How can I erase images from the clipboard while using ink and slide or sketches and lines apps?

    I've been having trouble with my clipboard while using my adobe ink. Is there any way I can erase the images saved on the clipboard, because have been trying and I can't find a way to do it, it seems like the only option is by turning the selection into favorites and then a trashcan icon appears, but even if I choose delete it will only be erased from the clipboard favorites while remaining on the clipboard.
    I've thought erasing the sketches App, or deleting the project but I don't want to risk losing my work.
    Thanks!

    I posed a similar question in the Draw forum and got this reply:
    Re: How to clear the clipboard and empty drawings ?
    In short: you can't erase those clippings, at least not currently.

  • After the latest update, I can't delete podcasts from my ipod while it is connected to my computer.

    After the latest update, I can't delete podcasts from my ipod while it is connected to my computer.

    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Advanced
    and check the box marked
              Include Bonjour in the Bookmarks menu
    if it's not already checked. Then select
              Bookmarks ▹ Bonjour ▹ Name of printer
    A web page served by the printer should open. Does it?

  • Photo files disapearing from hard Drive while using Lighroom not relink issue, any ideas?

    I've been using Lightroom and while using it files have been disappearing, I understand how to relink the files, it's not that.
    The file folders are showing up but the files are missing. Not all files are affected. They haven't been in my trash.
    Seagate have sent me a 'What a shame, it's not our fault email' Won't be buying any more of their products. They say it's a lightroom / Mac OS problem.
    Does anyone know how I can retreive these missing files? If they've had the same problem? Thank you.

    Does anyone know how I can retreive these missing files?
    Restore from your backup copies
    Download and install an "undelete utility" (there are free ones available) and see if it can recover the files

  • How can we post data from CRM to SAP using ABAP proxies???

    Hi ,
      Can anyone hep me to create interface for the following scenario How can we post data from CRM to SAP using ABAP proxies???, can I find any document ???????
    Thanks in advance
    Andy

    Andy,
    Please look at these weblogs.
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    These should give a good idea about implementing Proxies.
    Regards,
    Ravi

  • I am using iMac OS 10.7.2 with Garageband'11 6.0.4. I can't record sound from  mixer Behringer X1622USB using USB out. when I connect the mixer to iMac via USB  appears USB Audio CODEC on Sound and preferences but no sound from mixer to iMac. Need help.

    I am using iMac OS 10.7.2 with Garageband'11 6.0.4. I can't record sound from  mixer Behringer X1622USB using USB out. when I connect the mixer to iMac via USB  appears USB Audio CODEC on Sound and Preferences but I can't get no sound from mixer to iMac only sound from iMac to mixer. I only can record sound using microphone line in. Please help.

    Eric,
    Thanks for your reply. Realtek audio works only in playback. There is a stereo mix in the mixer but the recording controls are not operable with no sliders in the mixer for any recording option. Slider controls appear to be grayed out. Can't figure out how to enable them. Downloaded newest drivers to no avail.
    The M Audio control panel has no apparent option for recording stereo mix. Adobe ignores the sound from the DVD or CD and shows flatline.
    I'm trying to record the sound from the DVD not rip the track.
    When I go to Audio Driver Setup and select Audition 3.0 windows sound, there is no input device installed.
    I'm thinking of going back to a decent internal Soundblaster card like I have on my 8 year old machine I am replacing.

  • Even though iOS cannot restore backups of newer devices, can it restore data from an older device using 7.1.2 to a newer device using iOS8

    iPhone 4s 16GB running iOS 7.1.2. Even though iOS cannot restore backups of newer devices, can it restore data from an older device using 7.1.2 to a newer device using iOS8

    Hi ,
    Welcome to the Apple Support Communities!
    I understand that you cannot use your Wi-Fi after the latest update to your iPhone 4s. I know you have already done some great troubleshooting by restoring with iTunes but the Wi-Fi becomes unavailable very quickly after you set it up. Go ahead and set up the iPhone so you can get into the Setting and then follow the steps provided in the attached article.
    iOS: Wi-Fi settings grayed out or dim
    http://support.apple.com/kb/ts1559
         Resolution
    Follow these steps to resolve the issue:
    Restart your iOS device.
    Make sure that airplane mode is off by tapping Settings > Airplane Mode.
    Reset the network settings by tapping Settings > General > Reset > Reset Network Settings.
    This will reset all network settings, including Bluetooth pairing records, Wi-Fi passwords, VPN, and APN settings.
    Make sure that your device is using the latest software. To do so, connect your device to your computer and check for updates in iTunes.
    If you complete all of these steps and still are not able to access the Wi-Fi, it may be necessary to follow the link at the bottom of the page and contact Apple Support.
    Have a great day,
    -Joe

  • How can I do an APP presentation online while using my Iphone?

    how can I do an APP presentation online while using my Iphone?

    You cannot use other countries itunes stores.
    Sorry

  • HT4710 how to restore/import photos from Time machine while using Lion

    how to restore/import photos from Time machine while using Lion

    Launch Time Machine, go to the time you want to restore from and select what you want to restore and click restore - once the photos are restored improt to iPhoto - or restore the entire iPhoto librarhy and use it
    LN

  • Can I load batteries from an electrical socket, using the same as my IPhone charger?

    Can I load batteries from an electrical socket, using the same as my IPhone charger?

    Your terminology is confusing...  If you are describing the USB power adapter (that plugs into a wall outlet) that you use to charge your iPhone, you can use the same connection to charge your iPod nano.

  • Why can't I iMessage from my iPad anymore using my phone number?

    WWhy can't I iMessage from my iPad anymore using my iPhone number? I always have until I got the iPhone 6 last week. I have downloaded all updates

    Try the troubleshooting advice here: iOS: Troubleshooting Messages - Apple Support

  • Why i can not hear directly from my iphone without using hand free?

    why i can not hear directly from my iphone without using hand free?

    Hello oshoke21,
    The following article provides steps that can help get your iPhone's speaker working.
    iPhone: No sound or distorted sound from speaker
    http://support.apple.com/kb/TS5180
    Cheers,
    Allen

  • Error in loading data into essbase while using Rule file through ODI

    Hi Experts,
    Refering my previous post Error while using Rule file in loading data into Essbase through ODI
    I am facing problem while loading data into Essbase. I am able to load data into Essbase successfully. But when i used Rule file to add values to existing values I am getting error.
    test is my Rule file.
    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Cannot put olap file object. Essbase Error(1053025): Object [test] already exists and is not locked by user [admin@Native Directory]
    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
    at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
    at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
    at java.lang.Thread.run(Thread.java:662)
    from com.hyperion.odi.common import ODIConstants
    from com.hyperion.odi.connection import HypAppConnectionFactory
    from java.lang import Class
    from java.lang import Boolean
    from java.sql import *
    from java.util import HashMap
    # Get the select statement on the staging area:
    sql= """select C1_HSP_RATES "HSP_Rates",C2_ACCOUNT "Account",C3_PERIOD "Period",C4_YEAR "Year",C5_SCENARIO "Scenario",C6_VERSION "Version",C7_CURRENCY "Currency",C8_ENTITY "Entity",C9_VERTICAL "Vertical",C10_HORIZONTAL "Horizontal",C11_SALES_HIERARICHY "Sales Hierarchy",C12_DATA "Data" from PLANAPP."C$_0HexaApp_PLData" where (1=1) """
    srcCx = odiRef.getJDBCConnection("SRC")
    stmt = srcCx.createStatement()
    srcFetchSize=30
    #stmt.setFetchSize(srcFetchSize)
    stmt.setFetchSize(1)
    print "executing query"
    rs = stmt.executeQuery(sql)
    print "done executing query"
    #load the data
    print "loading data"
    stats = pWriter.loadData(rs)
    print "done loading data"
    #close the database result set, connection
    rs.close()
    stmt.close()
    Please help me on this...
    Thanks & Regards,
    Chinnu

    Hi Priya,
    Thanks for giving reply. I already checked that no lock are available for rule file. I don't know what's the problem. It is working fine without the Rule file, but throwing error only when using rule file.
    Please help on this.
    Thanks,
    Chinnu

  • Getting Error while using  LKM File to Oracle(SQLLDR) KM in ODI

    Hi All ,
    Could anyone please help me out on this error which i am getting while using LKM File to Oracle(SQLLDR)
    My Scenario :
    1. I have my CSV file created in one location with some records .
    2. Created a new interface having this CSV file as source(File Technology) and Table as target (Oracle technology)
    3. Here i want to get the contents from csv and store into the target table by using SQLLDR .For that i am using this KM- LKM File to Oracle(SQLLDR)
    4. By Executing the Interface i am getting following error at step 6 -call sqlldr
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
      File "<string>", line 22, in <module>
    Load Error: See E:\demo1\file/SALES.log for details
      at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
      at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
      at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
      at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
      at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
      at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
      at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
      at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      at java.lang.Thread.run(Thread.java:662)
    Caused by: Traceback (most recent call last):
      File "<string>", line 22, in <module>
    Load Error: See E:\demo1\file/SALES.log for details
      at org.python.core.PyException.fillInStackTrace(PyException.java:70)
      at java.lang.Throwable.<init>(Throwable.java:181)
      at java.lang.Exception.<init>(Exception.java:29)
      at java.lang.RuntimeException.<init>(RuntimeException.java:32)
      at org.python.core.PyException.<init>(PyException.java:46)
      at org.python.core.PyException.doRaise(PyException.java:219)
      at org.python.core.Py.makeException(Py.java:1166)
      at org.python.core.Py.makeException(Py.java:1170)
      at org.python.pycode._pyx2.f$0(<string>:59)
      at org.python.pycode._pyx2.call_function(<string>)
      at org.python.core.PyTableCode.call(PyTableCode.java:165)
      at org.python.core.PyCode.call(PyCode.java:18)
      at org.python.core.Py.runCode(Py.java:1204)
      at org.python.core.Py.exec(Py.java:1248)
      at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)
      at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
      ... 19 more
    Here the sales.log file is not created in the above directory .I am not getting  where it is actually went wrong.
    I searched for the solution and i could not find any.Please help me out as it is high priority for me.
    I tried to run SQL*Loader through command prompt and i am able to generate the data in the target table and not getting it through ODI.
    Atleast is there any workaround .Please suggest me.
    Environment Details: ODI_11.1.1.7.0, Oracle DB 11g
    Thanks,
    keerthi

    Which agent are you using to execute?
    Standalone? If standalone, did you start it with OPMN?  I've seen such issues with standalone agent started with OPMN.
    Generally these kind of issues occur when you try to run with standalone agent started with OPMN.
    Because OPMN does not have access to the environment shell variables PATH or ORACLE_HOME and therefore the sqlldr.exe binary (or other Oracle product binary) is not found for execution.
    In this case, you need to specify PATH and ORACLE_HOME variables in opmn.xml file like below for your agent(say "MyStandaloneAgent" in this case)
    <ias-component id="MyStandaloneAgent">
    <process-type id="odiagent" module-id="CUSTOM">
      <environment>
         <variable id="ORACLE_HOME" value="C:\oracle\product\11.2.0\client_1"/>
          <variable id="PATH" value="C:\oracle\product\11.2.0\client_1\BIN;$PATH"/>
    After that, start and stop the agent and try the execution once again.

  • How can i create  excel sheet with multiple tabs using utl file?

    how can i create excel sheet with multiple tabs using utl file?
    any one help me?

    Jaggy,
    I gave you the most suitable answer on your own thread yesterday
    Re: How to Generating Excel workbook with multiple worksheets

Maybe you are looking for

  • Creating an interface with several video windows where a user can connect their own camera to window

    Hi, I posted this in the Flash Media Live encoder Forum and it may have been the wrong place to get an answer. currently I use the following workflow for Live video streaming. I have FMLE on a computer streaming the Video feed to my FMS. I currenlty

  • Upgraded my itunes to 10.6 now itunes can't find my music

    I upgraded my itunes and now i have to locate EVERY song. I have the right location in my preferences and everything. I don't want to have to locate every dang song in my library. HELP!

  • Sale Order costing - Updation of SD conditions

    Hi SAP Gurus, I would like to know how the cost calculated in Sale Order costing is updated in VPRS Condition type Pricing Procedure. Where do we do the settings for updation of the same You Valuable answer would be suitably rewarded Thanks in Advanc

  • Gauges & Instruments Life report

    Dear PM Gurus, In One My scenario, user wants to get the life of gauges & instruments (when its start date and scrap or inactive date)? i am trying in standard report but i am not find any thing. then i went for Query (Quickviewer report) in that one

  • Not able to connect to Coherence JMX

    We have a 4 node coherence cluster with 2 weblogic application server nodes and 2 coherence server nodes. In one of the coherence server nodes we have set the following JMX related properties- tangosol.coherence.management=all tangosol.coherence.mana