An error occurred when executing a REMOTE FUNCTION CALL.

Dear all,
We have two syetms called DXD and GRD , we have a remote enabled function module in the DXD system , when i am trying to call this Function module from
GRD system it is going for the short dump, and giving the follwing error,
<b>Error analysis
    An error occurred when executing a REMOTE FUNCTION CALL.
    It was logged under the name "RFC_NO_AUTHORITY"
    on the called page.</b>
But i do have the access for the DXD system also, i am really struggling to solve this problem, if any lights are there to help me , i will be thank full for then,
some body suggested for me that we need to maintain the Trusted system tables in the target system.
Thanks & regards
Satya.

first u( user id ) have to get the Authorizations to use RFC ?
object will be  like S_RFC or some thing like this.
when u get this kind of error just call /NSU53 then u will come to know which Authorization Object is missing from ur User Profile.
Regards
Prabhu

Similar Messages

  • Error occured when executing RFC ......RFC_EXTERNAL_ABORT error

    Hi All,
    My scenario is  RFC to Proxy synchronous scenario and data is sent from 4.6C to ECC system and responds back to 4.6C with the data fetched from ECC.
    All the development and mappings in XI are working fine.
    The Program dumps often in 4.6C system, When the program is executed initially, it is working fine but the subsequent execution fails with the dump u201CRFC_EXTERNAL_ABORTu201D , As a work around we had to stop and start the  RFC sender Channel  for it to work fine.
    Kindly let me know if the issue is with the RFC destination ?
    Dump:
    Call to messaging system failed
    Error Analysis:
    An error occured when exectuing a REMOTE FUNCTION CALL
    It was logged under the name "RFC_EXTERNAL_ABORT" on the called page
    Internal Notes:
    The termination occured in the function "ab_rfcrecieve" of the SAP Basis  System.......
    Kindly need you valuable inputs to solve this issue
    Thank you ,
    Regards,
    Pavithra

    Hi Rangarajan,
    Thanks for your reply
    I had went through this thread and checked the RFC destination in SM59 of 4.6C system . I am able to do Remote Logon and the test connection works fine and also the function module is remote enabled, but still the program dumps
    Kindly suggest me what are the other check areas .
    Thank you,
    Pavithra
    Edited by: Pavithra L on Mar 17, 2011 8:07 AM

  • PL/SQL: ORA-04052: error occurred when looking up remote object.

    Hi All,
    I'm getting the following error message while executing a PL/SQL Block.
    PL/SQL: ORA-04052: error occurred when looking up remote object UPLDUSER.filestatushistory@FTS
    ORA-00604: error occurred at recursive SQL level 1
    ORA-03106: fatal two-task communication protocol error
    ORA-02063: preceding line from FTSStatement
    declare
    v_coun number;
    begin
    select count(*) into v_coun
    from updluser.filestatushistory@fts;
    end;Back ground of the situation as follows,
    My DataBase version 10.2.0.3 DB Name :DB1
    Table Owner : UPLDUSER
    Table Name : FILESTATUSHISTORY
    I have a report user on the same database and I have grant all on the above table to report user
    Report User : RPT_FTS
    SQL> GRANT ALL ON FILESTATUSHISTORY_V TO RPT_FTS;Now Please find the below database details where I'm getting subjected error.
    Database version : 9.2.0.8
    DB Name : DB2
    User Name : RPT_REPORTS
    I Have create a dblink from RPT_REPORTS to RPT_FTS on DB1 and the dblink works fine. But getting the above error while running it.
    but When I do the same other 10.2.0.3 db , the above PL/SQL block works fine without any problem.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Now the strange about this is that I have Created a new table on DB1 db like below;
    SQL> CREATE TABLE UPLDUSER.ABC AS SELECT * FROM FILESTATUSHISTORY;and retry my code on DB2 (9.2.0.8) after changing the table to ABC and it worked. Now I don't know whats wrong with a original table(FILESTATUSHISTORY).
    To over come the problem and a work-a-round method I create a view on the DB1 (RPT_FTS) like the below
    SQL> CREATE VIEW FILESTATUSHISTORY AS SELECT * FROM UPLDUSER.FILESTATUSHISTORY;and was able to run the PL/SQL block Remotely.
    Just wants To know what whould have been the cause for this .
    Cheers
    Kanchana

    Hi Kanchana,
    Perhaps following link of google search has answer to your query
    ORA-04052. The search result contains some useful articles whose URLs I shan't post in the forums.
    HTH!
    *009*

  • ORA-04052: error occurred when looking up remote obj in mapping execution

    Hi,
    While executing an OWB mapping, I am getting the following error:
    ============
    Starting Execution UII_D_MAP_SPC_INSTALLATION_SIT
    Starting Task UII_D_MAP_SPC_INSTALLATION_SIT
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02019: connection description for remote database not found
    ORA-02063: preceding 3 lines from BIP2S@BIPDRACONN
    ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 73
    ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 1672
    ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 2353
    ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 6838
    ORA-06512: at line 1
    Completing Task UII_D_MAP_SPC_INSTALLATION_SIT
    Completing Execution UII_D_MAP_SPC_INSTALLATION_SIT
    ============
    Actually, here UII_ODS_OWNER itself is the target schema and <<UIIVS.DEVENV1.BT.CO.UK>> is the database in which this schema exists. And the mapping "UII_D_MAP_SPC_INSTALLATION_SIT" is being executed in the same target schema UII_ODS_OWNER.
    I am not sure why this above error is coming because such a dblink 'UIIVS.DEVENV1.BT.CO.UK' does not exist in the OWB generated package code. And the 2nd dblink 'BIP2S@BIPDRACONN' does not exist in the code, intead it exists as "BIP2S.DEVENV1.BT.CO.UK@BIPDRACONN" in the package code which is correct (as per OWB configuration & database).
    Same error also comes when I try to execute the same mapping from the OWB DEPLOYMENT MANAGER.
    Thanks & Regards,
    lenin

    Good morning Lenin,
    Have you checked the implementation of the connectors and are your locations well registered?
    Has a similar setup ever worked well?
    Can you access the source table using SQL (e.g. with SQL*Plus or TOAD)?
    Regards, Patrick

  • ORA-04052: Error occurs when execute the block

    I'm trying to run one block and his query definition uses an active public database link. When I ran the script to block I get the following message:
    ERROR in line 1:
    ORA-04052: error occurred when looking up remote object
    SQ_DSV.temp_tipo_contr@SQ_DSV tc
    ORA-00604: error occurred at recursive SQL level 1
    But when I execute his definition query all is ok, the query works fine.
    I mean, I'm using the following sentence to block:
    declare
    Cursor Tipo_Contr is
    Select tc.rec_id, tc.tipo_contr from SQ_DSV.temp_tipo_contr@SQ_DSV tc;
    begin
    For Reg_Tipo_Contr in Tipo_Contr Loop
    Begin
    Update recursos Set tpcontr_id = Reg_Tipo_Contr.tipo_contr
    where rec_id = Reg_Tipo_Contr.rec_id;
    exception when others then
    dbms_output.put_line(Reg_Tipo_Contr.rec_id || ' Not find');
    end;
    end loop;
    -- Commit;
    end;
    I checked for the GLOBAL_NAMES parameter and it is set to FALSE. Please help me, How can I fix this problem ?
    I'm using Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production running over Win XP for run block.
    Thanks you, Paulo.

    ORA-04052 error occurred when looking up remote object stringstringstringstringstring
    Cause: An error has occurred when trying to look up a remote object.
    Action: Fix the error. Make sure the remote database system has run KGLR.SQL to create necessary views used for querying/looking up objects stored in the database.
    Regards
    Marcio Paiva

  • Simple Single-Source Replication(error occurred when looking up remote obj)

    Dears
    I am following the "Simple Single-Source Replication Example"
    (http://download.oracle.com/docs/cd/B19306_01/server.102/b14228/repsimpdemo.htm#g1033597)
    In Configure Capture, Propagation, and Apply for Changes to One Table; when I Set the Instantiation SCN for the hr.jobs Table at str2.net by following procedure
    SQL> DECLARE
    2 iscn NUMBER; -- Variable to hold instantiation SCN value
    3 BEGIN
    4 iscn := DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER();
    5 [email protected](
    6 source_object_name => 'scott.emp',
    7 source_database_name => 'str1.net',
    8 instantiation_scn => iscn);
    9 END;
    10 /
    DECLARE
    ERROR at line 1:
    ORA-04052: error occurred when looking up remote object
    [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02085: database link STR2.NET connects to
    ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM
    Note also advise where should I have to execute above at (STR1.NET or STR2.NET)
    regards;

    Good morning Lenin,
    Have you checked the implementation of the connectors and are your locations well registered?
    Has a similar setup ever worked well?
    Can you access the source table using SQL (e.g. with SQL*Plus or TOAD)?
    Regards, Patrick

  • ORA-04052: error occurred when looking up remote object

    Hi, Basically I want to setup Replication between two servers, 'ZEN2K7' & 'DB' (Advanced master-to-master replication, Sync).
    This is what i had done so far.(Both server having ver 10.1.0.2.0)
    At Server 'ZEN2K7'
    CONNECT system/manager@ZEN2K7
    CREATE USER repadmin IDENTIFIED BY repadmin;
    ALTER USER repadmin DEFAULT TABLESPACE POOL_DATA;
    ALTER USER repadmin TEMPORARY TABLESPACE TEMP;
    GRANT connect, resource TO repadmin;
    EXECUTE dbms_repcat_admin.grant_admin_any_schema('repadmin');
    GRANT comment any table TO repadmin;
    GRANT lock any table TO repadmin;
    EXECUTE dbms_defer_sys.register_propagator('repadmin');
    GRANT execute any procedure TO repadmin;
    CREATE PUBLIC DATABASE LINK DB USING 'DB';
    CONNECT repadmin/repadmin@ZEN2K7
    CREATE DATABASE LINK DB CONNECT TO repadmin IDENTIFIED BY repadmin;
    At Server 'DB'
    CONNECT system/manager@DB
    CREATE USER repadmin IDENTIFIED BY repadmin;
    ALTER USER repadmin DEFAULT TABLESPACE POOL_DATA;
    ALTER USER repadmin TEMPORARY TABLESPACE TEMP;
    GRANT connect, resource TO repadmin;
    EXECUTE dbms_repcat_admin.grant_admin_any_schema('repadmin');
    GRANT comment any table TO repadmin;
    GRANT lock any table TO repadmin;
    EXECUTE dbms_defer_sys.register_propagator('repadmin');
    GRANT execute any procedure TO repadmin;
    CREATE PUBLIC DATABASE LINK ZEN2K7 USING 'ZEN2K7';
    CONNECT repadmin/repadmin@DB
    CREATE DATABASE LINK ZEN2K7 CONNECT TO repadmin IDENTIFIED BY repadmin;
    After this, Create master replication group on ZEN2K7
    CONNECT repadmin/repadmin@ZEN2K7
    BEGIN
    DBMS_REPCAT.CREATE_MASTER_REPGROUP(
    gname => '"REPTEST"',
    qualifier => '',
    group_comment => '');
    END;
    Then at 'ZEN2K7', when i executing
    BEGIN
    DBMS_REPCAT.ADD_MASTER_DATABASE(
    gname => '"REPTEST"',
    master => 'DB',
    use_existing_objects => TRUE ,
    copy_rows => TRUE ,
    propagation_mode =>'SYNCHRONOUS');
    END;
    I got following error
    ORA-04052: error occurred when looking up remote object REPADMIN.SYS@DB
    ORA-00604: error occurred at recursive SQL level 2
    ORA-12154: TNS:could not resolve the connect identifier specified
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 4262
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2156
    ORA-06512: at "SYS.DBMS_REPCAT", line 146
    ORA-06512: at line 2
    I had already execute the 'catrpc.sql' on both server.
    I had already check the connection at 'ZEN2K7' side, means I can connect to 'DB' within SQL* Plus at 'ZEN2K7' side.
    What else need to do???
    Thanks.
    Gurpreet S. Gill

    ORA-12154: TNS:could not resolve the connect identifier specified
    This means that you server is unable to resolve DB alias.
    Check you SQL*Net settings.
    On ZEN2K7 try tnsping db. If tnsping return error that add db alias to tnsnames.ora if you use tnsnames as one of resolving mechanism (check sqlnet.ora for NAMES.DIRECTORY_PATH)

  • ORA-04052: error occurred when looking up remote object SYS.DBMS_UTILITY@..

    Hello,
    I'm trying to import data van 10XE version to new 11XE version over db_link.
    When using the method I run into following error:
    ORA-04052: error occurred when looking up remote object SYS.DBMS_UTILITY@<<db_link_name>>
    This seems to be a bug in 10.2.0.1 fixed in later 10.2 versions, according to the database general forum. "upgrade to newer version"
    But how do i fix this bug in 10XE? Or is the only way around to use the 'old-fashioned' way of exporting data from 10XE to a file, transfer the file and import it in 11XE?
    Best regards,
    Jan.

    No, you cannot apply a patch to XE. Basically the XE internal code is the same as for any other edition. That means is there a bug, you have it in XE,too. To get patches you need a licence for metalink/My Oracle Support. But even you would have one, it wouldn't help you, because Oracle does not provide patches for XE.
    That's the 'price' you have to pay for this free edition.
    Werner

  • ORA-04052: error occurred when looking up remote object SYS.DBMS_SNAPSHOT

    Hello everyone,
    When I tried to create a materialized view with refresh fast mode, I encountered following error message.
    The MV log has been created on my_table like this:
    create materialized view log on my_table
    tablespace data3
    with rowid, sequence
    including new values;
    The database link has been created like this:
    CREATE PUBLIC DATABASE LINK my_db
    CONNECT TO myname
    IDENTIFIED BY mypassword
    USING 'my_db';
    Could anybody please let me know why I can not create MV with refresh fast? What I did wrong?
    Thanks in advance!!!
    MYDB>select count(*) from my_table@my_db;
    COUNT(*)
    5
    Elapsed: 00:00:00.01
    MYDB>create materialized view my_mv
    2 tablespace data4
    3 build immediate
    4 refresh fast with rowid
    5 as
    6 select * from my_table@my_db
    select * from my_table@my_db
    ERROR at line 6:
    ORA-04052: error occurred when looking up remote object SYS.DBMS_SNAPSHOT@my_db
    ORA-00604: error occurred at recursive SQL level 2
    ORA-06544: PL/SQL: internal error, arguments: [55916], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [55916]
    ORA-02063: preceding 2 lines from my_db
    Elapsed: 00:00:00.29
    MYDB>create materialized view my_mv
    2 tablespace data4
    3 build immediate
    4 as
    5 select * from my_table@my_db;
    Materialized view created.
    Elapsed: 00:00:00.20

    No, you cannot apply a patch to XE. Basically the XE internal code is the same as for any other edition. That means is there a bug, you have it in XE,too. To get patches you need a licence for metalink/My Oracle Support. But even you would have one, it wouldn't help you, because Oracle does not provide patches for XE.
    That's the 'price' you have to pay for this free edition.
    Werner

  • Getting "error occurred when looking up remote object" During IMPDP

    Hi
    I am doing a migration from one server to another server. I am on testing period. I am working on this setup
    SALESDB - RHEL 5.2(64bit) and Oracle Database 10.2.0.4
    It has schemas: SALESMGR, TARGET, REPORT and FINANCE
    These schemas will be migration to another database with the same name (we will be shutting down SALESDB 10g after the migration)
    SALESDB - RHEL 5.5(64bit) and Oracle Database 11.2.0.2
    ====================================
    The EXPDP process of the schemas in 10g DB are good and no errors where encountered. But during the IMPDP process of the schemas in 11g DB, I got the follwing erorrs:
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "BEGINNING_BALANCE_PKG" COMPILE REUSE SETTINGS TIMESTAMP '200"*
    *"9-05-11:09:26:16'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_FAULT_CODES" COMPILE REUSE SETTINGS TIMESTAMP '2009-05-1"*
    *"0:02:49:13'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_DETAIL@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_IFACE_SALESPRD_DATA" COMPILE REUSE SETTINGS TIMESTAMP '20"*
    *"11-09-22:10:33:12'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESMGR@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_COPY_TC_RECPT_TO_ITEM_RECPT" COMPILE REUSE SETTINGS TIMESTAM"*
    *"P '2009-05-10:06:07:09'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_SALES_INVOICE_CREATE_XML_TR" COMPILE REUSE SETTINGS TIMESTAM"*
    *"P '2009-05-10:06:07:23'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_TR_DETAIL@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_SALES_INVOICE_CREATE_XML" COMPILE REUSE SETTINGS TIMESTAMP '"*
    *"2009-05-10:06:03:01'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_DETAIL@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_PARSE_GRAPHIC" COMPILE REUSE SETTINGS TIMESTAMP '2009-05"*
    *"-10:06:07:23'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_DETAIL@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    *. importing SALESMGR's objects into SALESMGR*
    *. importing SALESMGR's objects into SALESMGR*
    I have not created the complete TNS entries in the TNSNAMES.ORA file in the new Oracle 11g. We will be updating this on the actual migration process. Is this the root cause of the problem? I am sure that all database links are existing but upon validating it, it says "ORA-02019: connection description for remote database not found."
    Any ideas or feedback on this?
    Thanks!

    Hello,
    Yes, this is the root cause : Oracle can not compile your packages if it can not connect to remote tables.
    You have to create those entries in your tnsnames, but may be you can reference some test databases in your tnsnames instead of the real production databases, to avoid mistakes.
    Regards,
    Sylvie

  • ORA-04052: error occurred when looking up remote object REPADMIN.SYS@CEL2.W

    Hi,
    on 10gR2 , on WIN 2003 server :
    C:\>sqlplus repadmin/***@CEL2.WORLD
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Jun 22 09:54:18 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsAnd then :
    CONNECT repadmin/******@CEL1.WORLD
    BEGIN
       DBMS_REPCAT.ADD_MASTER_DATABASE (
          gname => 'REPG',
          master => 'CEL2.WORLD',
          use_existing_objects => TRUE,
          copy_rows => FALSE,
          propagation_mode => 'ASYNCHRONOUS');
    END;
    BEGIN
    ERROR at line 1:
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 2
    ORA-12545: Connect failed because target host or object does not exist
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 4271
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2156
    ORA-06512: at "SYS.DBMS_REPCAT", line 146
    ORA-06512: at line 2Thank for help.

    Thank you. I think it is a problem with dB_LINK.
    SQL> select db_link from dba_db_links;
    DB_LINK
    CEL2.WORLD
    CEL2.WORLD
    SQL> select count(*) from [email protected];
    select count(*) from [email protected]
    ERROR at line 1:
    ORA-12505: TNS:listener does not currently know of SID given in connect
    descriptor
    SQL> select count(*) from SCOTT.EMP@CEL2;
    select count(*) from SCOTT.EMP@CEL2
    ERROR at line 1:
    ORA-02019: connection description for remote database not foundI can not see how to correct it ?
    Thanks.

  • ORA-04052: error occurred when looking up remote object STRMADMIN.DBMS_AQAD

    ORA-04052: error occurred when looking up remote object STRMADMIN.DBMS_AQADM@PROD
    ORA-00604: error occurred at recursive SQL level 4
    ORA-12170: TNS:Connect timeout occurred
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 1087
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 7616
    ORA-06512: at "SYS.DBMS_AQADM", line 631
    ORA-06512: at line 1
    my capture and apply proccess are enable.but the propagation gives the above error
    how could i sole this?

    Compliant to global_name ? Please browse a bit this forum, global name issue arise every 2 days.
    STRMADMIN.DBMS_AQADM@PROD

  • Error occured:when execute "SYNCHRONIZE ALL" on target

    (I added the "SYNCHRONIZE ALL" command on the IKM at last,the transaction must be committed)
    My target datastore is xml when ODI execute "SYNCHRONIZE ALL" on target the following error occured,
    it's wonder that I can execute with no error sometimes,
    Error Info:
    0 : null : java.sql.SQLException: Error synchronizing automatically the schema HJYEMP
    java.sql.SQLException: Error synchronizing automatically the schema HJYEMP
         at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.b(SnpsXmlConnection.java)
         at com.sunopsis.jdbc.driver.xml.br.executeUpdate(br.java)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Thread.java:595)
    Topology Configuration:
    com.sunopsis.jdbc.driver.xml.SnpsXmlDriver
    jdbc:snps:xml?f=D:\ODI\hjyemp.xml&d=D:\ODI\hjyemp.dtd&s=HJYEMP&dod=yes
    Anyone can tell me why ODI sometimes execute error and sometimes right?
    He
    tks

    Hi MS,
    We have checked the HANA DB connection with report ADBC_TEST_CONNECTION in T code SE38. We are getting the below
    Connection <connection name> Successfully opened
    Connection <connection name> closed
    Kindly advise us on this.
    Thanks
    Arun R

  • Operations error occured when executing LDAP query to read members of AD group in windows 8 operating system using javascript and active-x

     My code javascript script  is
     objConnection = new ActiveXObject("ADODB.Connection");
     objConnection.Provider="ADsDSOObject";
     objConnection.Open("ADs Provider");
     objCommand = new ActiveXObject("ADODB.Command");
     objCommand.ActiveConnection = objConnection;
       objCommand.CommandText = "SELECT sAMAccountName,displayName, givenName, SN,CN,    mail,distinguishedName,primaryGroupToken,member,ADsPath,MemberOf FROM 'LDAP://"+GrpDomain+".corp.com' WHERE objectCategory='group'
    and objectClass='group' and sAMAccountName='"+GrpName+"'";
    objRecordSet = objCommand.Execute();
    This code executes successfully on window 2008 server machine,
    but gives "Operations error occurred" on windows 8 operating system
    on line of code highlighted above

    Hi,
    In regard to scripts related issue, I suggest you refer to The Official Scripting Guys Forum to get professional support:
    The Official Scripting Guys Forum
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Thank you for your understanding and support.
    Best Regards,
    Amy Wang

  • Error occurs when executing a procedure

    I have queried a package and procedure.But when executing it shows an error.
    Here is the query
    CREATE OR REPLACE PACKAGE refcursor_pkg AS
    TYPE SYS_REF_CURSOR IS REF CURSOR RETURN EMP%ROWTYPE;
    end refcursor_pkg;
    CREATE OR REPLACE PROCEDURE mem_select(pMem_name VARCHAR2,
    pAge NUMBER,
    pDivision VARCHAR2,
    pOut_cur out refcursor_pkg.SYS_REF_CURSOR)IS
    BEGIN
    IF pMem_name IS NOT NULL THEN
    IF pDivision IS NOT NULL THEN
    OPEN pOut_cur FOR SELECT
    m.mem_name,m.nic,m.mar_state,u.division
    FROM members m,upf_kgl u
    WHERE m.member_id=u.member_id;
    END IF ;
    ELSE
    OPEN pOut_cur FOR SELECT
    u.mem_name,m.nic,m.mar_state
    FROM members m,upf_kgl u
    WHERE U.MEMBER_ID = M.MEMBER_ID;
    END IF;
    END mem_select;
    Here is the error.
    Error(6,1): PLS-00103: Encountered the symbol "CREATE"
    Can someone help me to correct it please?

    You can use sys_refcursor type:
    CREATE OR REPLACE PROCEDURE mem_select(pMem_name VARCHAR2,
                                pAge NUMBER,
                                pDivision VARCHAR2,
                                pOut_cur out sys_refcursor)IS
    BEGIN
            IF pMem_name IS NOT NULL THEN
             IF pDivision IS NOT NULL THEN
             OPEN pOut_cur FOR SELECT
                          m.mem_name,m.nic,m.mar_state,u.division
                          FROM members m,upf_kgl u
                             WHERE m.member_id=u.member_id;
             END IF ;
            ELSE
             OPEN pOut_cur FOR SELECT
                          u.mem_name,m.nic,m.mar_state                                             
                          FROM members m,upf_kgl u
                             WHERE U.MEMBER_ID = M.MEMBER_ID;
            END IF;
    END mem_select;Regards,
    Malakshinov Sayan

Maybe you are looking for

  • Hard Disk Problems - Any ideas anyone??

    I recently replaced my ibook's HD with a new one, every thing has been fine until just recently. Mysteriously on my control click menus and other pop up windows like save and open, all system text has turned into code. use the following url for an ex

  • MX Record Lookup Function in Powershell

    Hey Guys, I am looking to get a script running on a weekly basis that takes the information provided by the get-accepteddomain cmdlet and performs an MX lookup for each DomainName.  After the Script has performed the lookups I would like to have it e

  • Cisco Ise Central Web authentication not working

    Hello Guys, CWA is not working. It says that authentication suceeded but posture status is pending. No error in my Monitor--authentication. Checking it in my Windows 7, it does not shows the CWA portal. What might be the possible problem of this.? th

  • Deploying Java extensions by Java installers

    Hi! I've developed an Applet that needs a couple of Java extensions (Java Advanced Imaging + Image I/O Tools for JAI) in order to correctly run. I've put an appropriate MANIFEST file into my applet's JAR and signed my applet with a valid certificate.

  • Cannot connect using URLConnection and JSSE

    Hi, I am using the following code: System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol"); Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); I also pass -Djava.protocol.handler.pkgs=com.sun.net.ssl.