Error, while runing anonymous block

Hi All,
I am running following anonymous block and that throwing following errors. Failed to understand why ?
===
SQL> set serveroutput on size 100000
SQL> declare
v_paswd  varchar2(30) ;
begin
  2    3    4  for i in ( select distinct owner from dba_db_links) loop
  5  select password into v_paswd from dba_users where username = i.owner;
  6  dbms_output.put_line('connect / ' ) ;
  7  dbms_output.put_line ( ' alter user '||i.owner||' identified by a; ') ;
  8  dbms_output.put_line('connect '||i.owner||'/a' ) ;
  9  dbms_output.put_line(' alter user '||i.owner||' identified by values '''||v_paswd||''' ;' );
10   for ii in ( select db_link from dba_Db_links where owner=i.owner ) loop
11       dbms_output.put_line(' drop database link '||ii.db_link||' ; ');
12     end loop;
13   end loop;
14   end;
15  /
declare
ERROR at line 1:
ORA-01403: no data found
ORA-06512: at line 5
++++
OWNER                          DB_LINK
PUBLIC                         MSSQL.US.DB.COM
STS                            CORE.US.DB.COM
STS                            CREAM.US.DB.COM
STS                            CREAM_NYSTSU.US.DB.COM
STS                            DBI_FIDM.US.DB.COM
STS                            DBI_MBS.US.DB.COM
STS                            DBMTG.US.DB.COM
STS                            DBMTG_DEV.US.DB.COM
STS                            DBMTG_NEW.US.DB.COM
STS                            DBMTG_UAT.US.DB.COM
STS                            DONOTUSE_PROD.US.DB.COM
STS                            DTE.US.DB.COM
STS                            FICS_PROD.US.DB.COM
SQL>  select distinct owner from dba_db_links ;
OWNER
PUBLIC
STS_RO
SMS
CREAM
CORE
STS
====hare krishna

Modify your code like this and try
declare
  v_paswd  varchar2(30) ;
begin
  for i in ( select password,
                    username
               from dba_users
              where username in (select distinct owner from dba_db_links)) loop
    dbms_output.put_line('connect / ' ) ;
    dbms_output.put_line ( ' alter user '||i.username||' identified by a; ') ;
    dbms_output.put_line('connect '||i.username||'/a' ) ;
    dbms_output.put_line(' alter user '||i.username||' identified by values '''||i.password||''' ;' );
    for ii in ( select db_link from dba_Db_links where owner=i.username) loop
       dbms_output.put_line(' drop database link '||ii.db_link||' ; ');
    end loop;
  end loop;
end;

Similar Messages

  • Error while releasing credit block for the order

    Hi all,
    I am getting follwing error while releasing credit block for the order in VKM1
    Incorrect index structure for table IVBEP1
    Text
    Incorrect index structure for table IVBEP1
    Diagnosis
    Internal error.
    Procedure
    Repeat the transaction.
    If the error occurs and you have a CRM System connected to your SAP R/3 System, the document may have been archived in the CRM System.
    If the error occurs again, inform your system administrator. If the error cannot be corrected, call the SAP Hotline directly. Describe which steps preceeded the error.
    But we are not transfering any orders to CRM.The order can be only seen in R/3
    Please assist
    Regards
    Mano

    Hi
    KIndly check the oss note 505876 in may help you
    Regards
    Damu

  • Error while runing the report

    Hi,
    When I exceute my Querydesigner in BI 7.0 I am getting the following error
    A pop up block is activated .This prevents distrubted session management from functioning correctly. the WEb Application will therefore be ended.check teh sap note 919196
    Deactivate the pop up blocker and restart the Web application
    I have ckhecked the notes but didnot undersatnd it.
    Could any one pls help me out.
    Regards,
    Shalini

    Hello,
    were able to solve the problem entering sapregsv.exe mshtml.tlb in C:\Program Files\SAP\SapSetup\setup.
    It seems to be an alternative to reinstall the Internet Explorer.
    The original source of the solution is:
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/sap-gui-removal-breaks-ie-integration-2452079
    SAP GUI removal breaks I.E. integration, 3rd answer (thecdog on 11/13/2008)
    Best regards
    Thomas
    See "main" thread PopUp blocker preventing BI 7.0 Web reports

  • Getting error while runing utlu102i.sql:

    Dear Experts,
    I am getting following error while running utlu102i.sql script (Oracle 9.2.0.6,HP-UX 11.11)
    DECLARE
    ERROR at line 1:
    ORA-00980: synonym translation is no longer valid
    ORA-06512: at line 2925
    I nned to upgrade this database, how to resolve this problem, furthermore can we goahead on upgrading without solve this ? (pre. may be obtain from another database with almost same configuraton)
    Thanks & Regards
    Sunil Kumar

    Pl open an SR for your issue. You will need to run this script and execute its recommendations before you can upgrade. Are there any errors in the alert.log ? Are any other trace files created ?
    MOS Doc 400200.1 (ORA-0600 [17069] During Upgrade of Pre-10g Database to 10g+) may also help.
    HTH
    Srini

  • Error while runing diadem asynchronous script from labview on dual core processor

    Urgent need of some help / advice here!
    Single core runs fine... dual core produces error: Error in <XYaxis.vbs> (line: 17, column: 1): Error while opening object. The object currently open has no subobjects. Forgotten ObjClose?
    The main software built in labview used for daq and analysis generates a PDF report on completion of a test, utilising diadem. For this I use the diadem express vi in labview to generate a multi page report, whereby I use for loop to iterate an array of channels for each page. This for loop has a shift register too. After each page I run a script to adjust a few parameters like linear/log, begin/end and line thickness using the diadem connectivity tookit. See script below:
    Call GraphObjOpen("2D-Axis1")
    Call GraphObjOpen("2DXAxis8_1")
    D2AxisXDivMode = "linear"
    D2AxisXScaleType = "begin/end manual"
    D2AxisXBegin = 20
    D2AxisXEnd = 20000
    Call GraphObjClose("2DXAxis8_1")
    Call GraphObjOpen("2DYAxis8_1")
    D2AxisYDivMode = "linear"
    D2AxisYScaleType = "complete automatic"
    D2AxisYBegin = 0
    D2AxisYEnd = 0
    Call GraphObjClose("2DYAxis8_1")
    FOR c = 1 TO CurveNoMax
    If D2CurveObj(c) = "" Then Exit For ' c
    Call GraphObjOpen(D2CurveObj(c))
    D2CurveLineWidth = 0.75
    Call GraphObjClose(D2CurveObj(c))
    NEXT ' c
    Call GraphObjClose("2D-Axis1")
    There is also a screenshot of the vi: (script file is generated by the Dscript vi and saved to disk. then path is passed to the diadem script vi.)
    What I find is, after the first report page is complete in diadem the second page ALWAYS shows the error as shown at the top. However, on my P4 laptop with single core (no hyperthreading) its runs FINE EVERY TIME with any given number of channels/pages in the report.
    My current chain of thought is that the superfast dual core is doing something in parallel therefore not waiting for the previous page to complete or finish closing its object!? however, in my for loop I use a shift register as named before, surely this kind of loop cannot be divided over more cores/parallel threads? as it has to wait for the response of the previous.!?!? Im running LV 8.6 on WinXP for this project and I didnt even think multicore processing for for loops is included in this version.
    The other thing is... this script used to run fine on the dual core until I added the last part that uses a for loop to get every line of the graph to be the thinkness I need. Is this for loop the culprit? Can I stop it from executing over multiple cores/threads? I read a post saying that from diadem 8 there was multi core support. this triggered my doubt
    As always any comments are most appreciated
    AL
    :. LV2010 SP1 ... W7 .:
    Solved!
    Go to Solution.

    Hi Al,
    I have a theory, but only you can test it.  In your VI screenshot, you have the boolean input for the DIAdem Execute Script.vi set to asynchronous=TRUE.  My theory says that if you change that boolean (and all others like it) to asynchrous=FALSE that the error will not occur on the multicore computer.  The other thing you could try would be to consolidate all REPORT commands that pertain to one REPORT page into a single ActiveX call to DIAdem.  In the screenshot below you have at least 2 separate VIs calling DIAdem, so that's at least 2 separate ActiveX calls for one REPORT sheet.
    Here's what I think is going on.  On a multicore computer there is the potential for different ActiveX commands from LV to DIAdem to execute on different cores, which may result in a timing problem on the DIAdem side.  DIAdem 11.x and earlier runs exclusively on 1 CPU, so the incoming ActiveX commands should be sequenced correctly by DIAdem's ActiveX to-do list.  Theoretically DIAdem should serialize all the incoming ActiveX commands (regardless of which CPU processed them) in the order that they arrived at the DIAdem ActiveX server(s).  On the sending side, LabVIEW's dataflow execution should theoretically guarantee that all the ActiveX requests are being sent in the correct order.  But it is theoretically possible that the operating system's ActiveX processing queue might not send all the ActiveX commands to DIAdem in the order that it receives them from LabVIEW-- IF YOU'VE SELECTED ASYNCHRONOUS PROCESSING.
    See if these clues help,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Error while runing ejbc

    Hi,
    I am getting this error while i deploy my application on Sun1 7.0 /Linux Platform. It works fine in Windows. Any help ? Please
    18/Feb/2003:14:33:20] FINE ( 9447): [EJBC] rmic com.siptech.pdf.ejb.session.PDFSessionBean_RemoteHomeImpl...
    [18/Feb/2003:14:33:20] FINE ( 9447): [EJBC] rmic com.siptech.pdf.ejb.session.PDFSessionBean_EJBObjectImpl...
    [18/Feb/2003:14:33:20] FINE ( 9447): [EJBC] rmic com.siptech.pdf.ejb.config.session.ConfigSessionBean_RemoteHomeImpl...
    [18/Feb/2003:14:33:20] FINE ( 9447): [EJBC] rmic com.siptech.pdf.ejb.config.session.ConfigSessionBean_EJBObjectImpl...
    18/Feb/2003:14:33:20] FINE ( 9447): JDK Directory: /home/sunone/appserver7/jdk
    [18/Feb/2003:14:33:20] INFO ( 9361): CORE3282: stdout: Remote message: Compiling RMI-IIOP code ....
    [18/Feb/2003:14:33:31] SEVERE ( 9447): DPL5102: EJBC - rmic compilation failed
    [18/Feb/2003:14:33:31] WARNING ( 9447): DPL5035:Error while running ejbc
    com.iplanet.ias.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- -- rmic compilation failed: com.iplanet.ias.ejb.codegen.JavaCompilerException: RMI compiler returned an error: {0}
         at com.iplanet.ias.deployment.backend.EJBCompiler.wrapException(EJBCompiler.java:589)
         at com.iplanet.ias.deployment.backend.EJBCompiler.compile(EJBCompiler.java:186)
         at com.iplanet.ias.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:215)
         at com.iplanet.ias.deployment.backend.AppDeployer.deploy(AppDeployer.java:98)
         at com.iplanet.ias.deployment.backend.AppDeployer.doRequest(AppDeployer.java:50)
         at com.iplanet.ias.admin.server.core.mbean.config.ManagedServerInstance.deployJ2EEApplicationArchiveOrDirectory(ManagedServerInstance.java:743)
         at com.iplanet.ias.admin.server.core.mbean.config.ManagedServerInstance.deployJ2EEApplication(ManagedServerInstance.java:666)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.iplanet.ias.admin.server.core.jmx.Introspector.invokeMethodOn(Introspector.java:188)
         at com.iplanet.ias.admin.server.core.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:137)
         at com.iplanet.ias.admin.server.core.jmx.ASMBeanServerImpl.invoke(ASMBeanServerImpl.java:222)
         at com.iplanet.ias.admin.servermodel.controllers.SOMRequestDispatcher.invoke(SOMRequestDispatcher.java:88)
         at com.iplanet.ias.admin.servermodel.controllers.AppServerInstanceController.doDeploy(AppServerInstanceController.java:2244)
         at com.iplanet.ias.admin.servermodel.controllers.AppServerInstanceController.deployApplication(AppServerInstanceController.java:1099)
         at com.iplanet.ias.admin.servermodel.AppServerInstance.deployApplication(AppServerInstance.java:249)
         at com.iplanet.ias.admin.server.gui.jato.DeployEARApplicationViewBean.add(DeployEARApplicationViewBean.java:111)
         at com.iplanet.ias.admin.server.gui.jato.IASViewBean.handleOkRequest(IASViewBean.java:235)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.iplanet.jato.view.command.DefaultRequestHandlingCommand.execute(DefaultRequestHandlingCommand.java:183)
         at com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:299)
         at com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:811)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:749)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:596)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:772)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:446)
         at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:324)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
         at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
         at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.StandardW

    Hi,
    I am getting this error while i deploy my application on Sun1 7.0 /Linux Platform. It works fine in Windows. Any help ? Please
    18/Feb/2003:14:33:20] FINE ( 9447): [EJBC] rmic com.siptech.pdf.ejb.session.PDFSessionBean_RemoteHomeImpl...
    [18/Feb/2003:14:33:20] FINE ( 9447): [EJBC] rmic com.siptech.pdf.ejb.session.PDFSessionBean_EJBObjectImpl...
    [18/Feb/2003:14:33:20] FINE ( 9447): [EJBC] rmic com.siptech.pdf.ejb.config.session.ConfigSessionBean_RemoteHomeImpl...
    [18/Feb/2003:14:33:20] FINE ( 9447): [EJBC] rmic com.siptech.pdf.ejb.config.session.ConfigSessionBean_EJBObjectImpl...
    18/Feb/2003:14:33:20] FINE ( 9447): JDK Directory: /home/sunone/appserver7/jdk
    [18/Feb/2003:14:33:20] INFO ( 9361): CORE3282: stdout: Remote message: Compiling RMI-IIOP code ....
    [18/Feb/2003:14:33:31] SEVERE ( 9447): DPL5102: EJBC - rmic compilation failed
    [18/Feb/2003:14:33:31] WARNING ( 9447): DPL5035:Error while running ejbc
    com.iplanet.ias.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- -- rmic compilation failed: com.iplanet.ias.ejb.codegen.JavaCompilerException: RMI compiler returned an error: {0}
         at com.iplanet.ias.deployment.backend.EJBCompiler.wrapException(EJBCompiler.java:589)
         at com.iplanet.ias.deployment.backend.EJBCompiler.compile(EJBCompiler.java:186)
         at com.iplanet.ias.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:215)
         at com.iplanet.ias.deployment.backend.AppDeployer.deploy(AppDeployer.java:98)
         at com.iplanet.ias.deployment.backend.AppDeployer.doRequest(AppDeployer.java:50)
         at com.iplanet.ias.admin.server.core.mbean.config.ManagedServerInstance.deployJ2EEApplicationArchiveOrDirectory(ManagedServerInstance.java:743)
         at com.iplanet.ias.admin.server.core.mbean.config.ManagedServerInstance.deployJ2EEApplication(ManagedServerInstance.java:666)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.iplanet.ias.admin.server.core.jmx.Introspector.invokeMethodOn(Introspector.java:188)
         at com.iplanet.ias.admin.server.core.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:137)
         at com.iplanet.ias.admin.server.core.jmx.ASMBeanServerImpl.invoke(ASMBeanServerImpl.java:222)
         at com.iplanet.ias.admin.servermodel.controllers.SOMRequestDispatcher.invoke(SOMRequestDispatcher.java:88)
         at com.iplanet.ias.admin.servermodel.controllers.AppServerInstanceController.doDeploy(AppServerInstanceController.java:2244)
         at com.iplanet.ias.admin.servermodel.controllers.AppServerInstanceController.deployApplication(AppServerInstanceController.java:1099)
         at com.iplanet.ias.admin.servermodel.AppServerInstance.deployApplication(AppServerInstance.java:249)
         at com.iplanet.ias.admin.server.gui.jato.DeployEARApplicationViewBean.add(DeployEARApplicationViewBean.java:111)
         at com.iplanet.ias.admin.server.gui.jato.IASViewBean.handleOkRequest(IASViewBean.java:235)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.iplanet.jato.view.command.DefaultRequestHandlingCommand.execute(DefaultRequestHandlingCommand.java:183)
         at com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:299)
         at com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:811)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:749)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:596)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:772)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:446)
         at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:324)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
         at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
         at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.StandardW

  • Error while runing report

    Hi all
    i am getting error while running xml report as like in reports 10g where as it working fine while working with 6i
    XML Parsing Error: syntax error
    Location: http://apps.3k.com:8000/OA_CGI/FNDWRR.exe?temp_id=528268103
    Line Number 1, Column 31:
    thanks in advance goutham

    Hi Goutham
    You are unfortunately posting your question in the wrong forum. This is the forum for BI Applications.
    You should repost your question in the Oracle Reports Forum:
    Reports

  • Error while runing form

    Hi All,
    Could someone help me in solving my problem while running my form
    I have installed Forms [32 Bit] Version 10.1.2.0.2 (Production) and Installed JInitiator 1.3.1.22.
    I have configured FORMS_PATH at default.env file. I am using Databse 10.2 and started my OC4j instance
    When I execute the form it display error in my Internet Explorer
    Internet Explorer has encountered a problem and needs to close.
    rgds
    saaz

    http://www.experts-exchange.com/Software/Internet_Email/Web_Browsers/Internet_Explorer/Q_22467309.html
    Especially please read this:
    http://technology.amis.nl/blog/?p=1445
    There might be several reasons the crash occurs.
    You may have unwanted add-ons like Microsoft Live Toolbar running on your machine. Disable the add-ons one by one, restart IE and check if the error is resolved
    IE 7 might not be supported for your JRE environment. Uninstall IE 7 and continue using IE 6 until the JRE version is supported. Further more to prevent that IE 7 will be pushed again on your computer install the blocker toolkit of Microsoft. The blocker toolkit that may be installed by administrators can prevent the automatic delivery of IE 7 to the users desktops. Although the application of the blocker software prevents the automatic download of IE 7, it does not stop users manually downloading and installing it themselves.
    Oracle advises:
    "If your Microsoft ‘Automatic Updates’ facility is set to ‘Automatically download recommended updates for my computer and install them’, we highly recommended you install the blocker toolkit. If your Microsoft ‘Automatic Updates’ facility is set to ‘Download updates for me, but let me choose when to install them’, it may still be useful to install the blocker toolkit as an extra safety measure.
    Companies that have their own Windows patch update server (e.g. Windows Server Update Services (WSUS) or SMS 2003) do not need this blocker. They should just manage the IE 7 update so that it is not deployed until certification of IE 7 has been announced by Oracle. "
    You can download the install blocker at http://www.microsoft.com/downloads/details.aspx?FamilyId=4516A6F7-5D44-482B-9DBD-869B4A90159C&displaylang=en

  • Error while runing standard SRS concurrent program

    Hi all,
    I had written the interface for po_vendor_sites_all.The data is loaded perfectly into interface table AP_SUPPLIER_SITES_INT.
    Now while running standard interface program on SRS(Supplier Sites Open Interface Import) .it is giving following error .
    Spawned Process 24209
    REP-1419: 'beforereport': PL/SQL program aborted.
    And it is not showing any reject code or status on back end on table AP_SUPPLIER_SITES_INT. And it is printing IMPORT_REQUEST_ID as request code in the table.now how many times i will run the SRS it is showing in the table AP_SUPPLIER_SITES_INT the MPORT_REQUEST_ID is not changing .
    And Can any body suggest good document for writing interface program
    Thanks in advance
    Goutham
    Message was edited by:
    goutham konduru

    the same situation i am also facing everything almost same .... but just i got diffirent error in request log that is
    ==========================
    ==========================
    P_WHAT_TO_IMPORT='ALL'
    P_COMMIT_SIZE='1000'
    P_PRINT_EXCEPTIONS='Y'
    P_DEBUG_SWITCH='Y'
    P_TRACE_SWITCH='Y'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.US7ASCII
    LOG :
    Report: d:\oracle\prodappl\ap\11.5.0\reports\US\APXSSIMP.rdf
    Logged onto server:
    Username:
    LOG :
    Logged onto server:
    Username: APPS
    MSG MSG-00001: After SRWINIT
    MSG MSG-00002: After Get_Company_Name
    MSG MSG-00003: After Get_NLS_Strings
    ERR REP-1419: 'beforereport': PL/SQL program aborted.
    is anyone got solution and can anybody get me out of this situation
    thanks in advance
    regards
    anwer

  • Error while runing standard SRS program

    Hi all,
    I had written the interface for po_vendor_sites_all.The data is loaded perfectly into interface table AP_SUPPLIER_SITES_INT.
    Now while running standard interface program on SRS(Supplier Sites Open Interface Import) .it is giving following error .
    Spawned Process 24209
    REP-1419: 'beforereport': PL/SQL program aborted.
    And it is not showing any reject code or status on back end on table AP_SUPPLIER_SITES_INT. And it is printing IMPORT_REQUEST_ID as request code in the table.now how many times i will run the SRS it is showing in the table AP_SUPPLIER_SITES_INT the MPORT_REQUEST_ID is not changing .
    Thanks in advance
    Goutham

    the same situation i am also facing everything almost same .... but just i got diffirent error in request log that is
    ==========================
    ==========================
    P_WHAT_TO_IMPORT='ALL'
    P_COMMIT_SIZE='1000'
    P_PRINT_EXCEPTIONS='Y'
    P_DEBUG_SWITCH='Y'
    P_TRACE_SWITCH='Y'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.US7ASCII
    LOG :
    Report: d:\oracle\prodappl\ap\11.5.0\reports\US\APXSSIMP.rdf
    Logged onto server:
    Username:
    LOG :
    Logged onto server:
    Username: APPS
    MSG MSG-00001: After SRWINIT
    MSG MSG-00002: After Get_Company_Name
    MSG MSG-00003: After Get_NLS_Strings
    ERR REP-1419: 'beforereport': PL/SQL program aborted.
    is anyone got solution and can anybody get me out of this situation
    thanks in advance
    regards
    anwer

  • Ora-00604 error while runing script

    Hi Guys..
    Let me describe the environment
    My OS is windows 2008 R2 server 64-bit.. Database version is Oracle 11gR2
    I recently upgraded the oracle DB from 11gr1 to 11gr2 .It upgraded successfully without any errors and the updated DB on 11gr2 is working fine..
    Now one of the employee is getting below errror while executing a script which calles a plsql package.
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00001: unique constraint (SYS.I_PLSCOPE_SIG_IDENTIFIER$) violated
    I googled around and found that its related to plscope_settings parameter..
    select name,value  from  v$parameter where name = 'plscope_settings';
    the output was IDENTIFIERS:NONE
    Further investigations revealed that my DB is running with the (default) init-parameter “plscope_settings=IDENTIFIERS:NONE”, while my SQL-Developer (v3.0) started every session with the default-setting “plscope_settings=IDENTIFIERS:ALL” (see menu EXTRAS>PREFERENCES>DATABASE>PL/SQL-COMPILER).
    so i changed the settings to NONE in Sql Developer too..then recompiled the package but the error is still there when i execute the same package..
    Its high time..i need to resolve it over the weekend..so can u plz share ur valuable comments..
    Let me if u want any info from my end so that u get more clearer about the prob...

    sai121 wrote:
    Hi Guys..
    Let me describe the environment
    My OS is windows 2008 R2 server 64-bit.. Database version is Oracle 11gR2
    I recently upgraded the oracle DB from 11gr1 to 11gr2 .It upgraded successfully without any errors and the updated DB on 11gr2 is working fine..
    Now one of the employee is getting below errror while executing a script which calles a plsql package.
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00001: unique constraint (SYS.I_PLSCOPE_SIG_IDENTIFIER$) violated
    I googled around and found that its related to plscope_settings parameter..
    select name,value  from  v$parameter where name = 'plscope_settings';
    the output was IDENTIFIERS:NONE
    Further investigations revealed that my DB is running with the (default) init-parameter “plscope_settings=IDENTIFIERS:NONE”, while my SQL-Developer (v3.0) started every session with the default-setting “plscope_settings=IDENTIFIERS:ALL” (see menu EXTRAS>PREFERENCES>DATABASE>PL/SQL-COMPILER).
    so i changed the settings to NONE in Sql Developer too..then recompiled the package but the error is still there when i execute the same package..
    Its high time..i need to resolve it over the weekend..so can u plz share ur valuable comments..
    Let me if u want any info from my end so that u get more clearer about the prob...
    bcm@bcm-laptop:~$ oerr ora 1
    00001, 00000, "unique constraint (%s.%s) violated"
    // *Cause: An UPDATE or INSERT statement attempted to insert a duplicate key.
    //         For Trusted Oracle configured in DBMS MAC mode, you may see
    //         this message if a duplicate entry exists at a different level.
    // *Action: Either remove the unique restriction or do not insert the key.

  • Error while runing a web application

    hi
    I go this error whie trying toopen a web client over the application server
    Sun Java System Application Server 8 ic hecked the jsp and found no errors on the jsp
    could some one please help me solve this and what is the path setting for JDK that is to be followed while using Sun Java System Application Server 8
    thank you
    this the error that i got
    org.apache.jasper.JasperException: Unable to compile class for JSP
    No Java compiler was found to compile the generated source for the JSP.
    This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
    to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
    If using an alternate Java compiler, please check its installation and access path.
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:132)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:356)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:420)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:444)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:557)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server-PE-8.0 logs.
    I could not find the log file too

    I think you have an error in some of your JSP files. Have you seen the server's log?
    Best regards.
    Antonio Varela.

  • Error while runing bdc program

    hi,
           i written one bdc program there are no syntax errors and in flat file also no error records but when uploading data it showing pop up that do you want to save data with 2 push buttons yes or no. i suppose to be it is front end problem how to avoid that.
                                                                                  p.surendar reddy

    Hi,
    You have miss a step while recording.. What i mean is you have created
    bdc for changing some document. you recorded the fields to be changed
    but didn't save before terminating recording.
    re-create your recording... and before and click save icon as the last step#
    in your recording..
    Hope this solves your problem..
    Enjoy SAP,
    Pankaj Singh.

  • Error in procedure ( Anonymous block )

    Hello Friends,
    This question seems to be simple but ..
    I am having a pl/sql block as follows ..
    ==========================
    DECLARE
    CURSOR C_CUR IS SELECT X_PRCS_STYP_NM, X_CNTL_PARM1_TX,TO_DATE(X_CNTL_PARM_TM) X_AS_OF_DATE , X_CNTL_INDICR1_FL FROM KAW_OWNER.X_PRCS_CNTL;
    v_sql_stmt VARCHAR2(32000);
    v_cnt NUMBER := 0;
    v_max_count NUMBER := 1000000;
    v_err_code NUMBER;
    v_err_msg VARCHAR2(200);
    BEGIN
    FOR rec IN C_CUR LOOP
    IF (( rec.X_CNTL_INDICR1_FL='Y' OR rec.X_CNTL_INDICR1_FL='y' ) AND ( rec.X_PRCS_STYP_NM = 'INSERT' OR rec.X_PRCS_STYP_NM = 'insert' )) THEN
    v_sql_stmt := 'INSERT INTO '|| 'KAW_OWNER.'|| 'T_'||rec.X_CNTL_PARM1_TX||' '|| ' SELECT * '|| ' FROM '||' KAW_OWNER.'|| rec.X_CNTL_PARM1_TX ||
    ' WHERE X_AS_OF_DATE = ' ||rec.X_AS_OF_DATE ;
    dbms_output.put_line ( v_sql_stmt ) ;
    END IF;
    END LOOP;
    END;
    =====================
    output
    INSERT INTO KAW_OWNER.T_FINANCIAL_ADVISOR_X_ACCOUNT SELECT * FROM KAW_OWNER.FINANCIAL_ADVISOR_X_ACCOUNT WHERE X_AS_OF_DATE = 01-JAN-11
    =======================================================
    when i take the query ..and run
    SELECT * FROM KAW_OWNER.FINANCIAL_ADVISOR_X_ACCOUNT WHERE X_AS_OF_DATE = 01-JAN-11
    I got the error as 'ORA-00904 "JAN" :invalid identifier
    but when i run the query as
    SELECT * FROM KAW_OWNER.FINANCIAL_ADVISOR_X_ACCOUNT WHERE X_AS_OF_DATE = '01-JAN-11'
    am getting records .
    my question is : How to have '01-JAN-11' as an output of the pl/sql block..
    thanks / kumar

    Hi,
    I am not sure about your requirements.
    try this,
    DECLARE
       CURSOR C_CUR
       IS
          SELECT X_PRCS_STYP_NM
                ,X_CNTL_PARM1_TX
                ,TO_CHAR (X_CNTL_PARM_TM, 'DD-MON-YYYY') X_AS_OF_DATE
                ,X_CNTL_INDICR1_FL
            FROM KAW_OWNER.X_PRCS_CNTL;
       v_sql_stmt     VARCHAR2 (32000);
       v_cnt          NUMBER := 0;
       v_max_count    NUMBER := 1000000;
       v_err_code     NUMBER;
       v_err_msg      VARCHAR2 (200);
    BEGIN
       FOR rec IN C_CUR
       LOOP
          IF ( (rec.X_CNTL_INDICR1_FL = 'Y'
                OR rec.X_CNTL_INDICR1_FL = 'y')
              AND (rec.X_PRCS_STYP_NM = 'INSERT'
                   OR rec.X_PRCS_STYP_NM = 'insert'))
          THEN
             v_sql_stmt  :=
                   'INSERT INTO '
                || 'KAW_OWNER.'
                || 'T_'
                || rec.X_CNTL_PARM1_TX
                || ' '
                || ' SELECT * '
                || ' FROM '
                || ' KAW_OWNER.'
                || rec.X_CNTL_PARM1_TX
                || ' WHERE X_AS_OF_DATE = TO_DATE('''
                || rec.X_AS_OF_DATE
                || ''',''DD-MON-YYYY'')';
          DBMS_OUTPUT.put_line (v_sql_stmt);
          END IF;
       END LOOP;
    END;This is just to make sure that the query printed out will work manually. I would advice you to use bind variables when using execute immediate. Like this
    DECLARE
       CURSOR C_CUR
       IS
          SELECT X_PRCS_STYP_NM
                ,X_CNTL_PARM1_TX
                ,X_CNTL_PARM_TM X_AS_OF_DATE
                ,X_CNTL_INDICR1_FL
            FROM KAW_OWNER.X_PRCS_CNTL;
       v_sql_stmt     VARCHAR2 (32000);
       v_cnt          NUMBER := 0;
       v_max_count    NUMBER := 1000000;
       v_err_code     NUMBER;
       v_err_msg      VARCHAR2 (200);
    BEGIN
       FOR rec IN C_CUR
       LOOP
          IF ( (rec.X_CNTL_INDICR1_FL = 'Y'
                OR rec.X_CNTL_INDICR1_FL = 'y')
              AND (rec.X_PRCS_STYP_NM = 'INSERT'
                   OR rec.X_PRCS_STYP_NM = 'insert'))
          THEN
             v_sql_stmt  :=
                   'INSERT INTO '
                || 'KAW_OWNER.'
                || 'T_'
                || rec.X_CNTL_PARM1_TX
                || ' '
                || ' SELECT * '
                || ' FROM '
                || ' KAW_OWNER.'
                || rec.X_CNTL_PARM1_TX
                || ' WHERE X_AS_OF_DATE = :v_as_of_date';
             EXECUTE IMMEDIATE v_sql_stmt USING rec.X_AS_OF_DATE;
          END IF;
       END LOOP;
    END;G.

  • Error while runing webdynpro application on Blackbery simulater

    Hi All
    i have developed a web dynpro application that simply renders textviews and buttons in a flowlayout.
    its runing fine on IE .but when i am trying to access this application on blackberry similator its showing this error.
    WML not FORMED or _VALID Line 1:
    Column 532:
    Attribute name "title" associated with an element type "anchor" must be followed by the '=' character.
    can any one help me on this problem , how can i dentified where is the problem.
    points will be awarded.
    Thanks
    Rashmi

    The Problem has been solved by my self.

Maybe you are looking for

  • What is the datatype to store the value of variable of  UTL_HTTP.resp

    Hello, I am using Oracle 11g R2 SOE. I have table Called SMS consists of two columns (TEXT , RESPONSE) to store the value of variable of type UTL_HTTP.resp the datatype of TEXT column is varchar2. What should be the datatype of the column RESPONSE th

  • VSYNC in games working differently in Windows 7 and 8.1?

    So the problem is that VSYNC option in all my games is working totally different in Windows 7 and 8.1, and I want to know what is responsible for this. In Windows 7 it working like it should be - limiting frame rate to the screen refresh rate (60Hz i

  • How do I stop duplicates from downloading?

    My iTunes library on my Mac is syncing transfers from my iPad and for some reason after the sync, my Mac started downloading some of those purchases from iTunes automatically. What gives? Do I have to download them in order to delete the duplicates o

  • Class extending Rectangle2D

    I need to extend the Rectangle2D class, I have a class called MRectangle2D as shown here. public class MRectangle2D extends Rectangle2D.Double      String type;      int no;      public MRectangle2D()      public void setType(String t)           this

  • How to create a Keynote theme for iPad?

    Hi. - I know how to create a Keynote theme for Mac. But how can I move the theme over to iPad and keep it as an theme for the future? - Can I create a theme in iPad with iPad Keynote? Thanks.