Getting error , while passing parameters from one page to another page

Hello friends,
i am getting error, while passing parameters from one page to another page, below code i wrote.
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
ArrayList arl=new ArrayList();
EresFrameworkAMImpl am=(EresFrameworkAMImpl)pageContext.getApplicationModule(webBean);
ERecordImpl ERecordObj=new ERecordImpl();
HashMap hMap = new HashMap();
hMap.put("1",ERecordObj.getTransactionName());
hMap.put("2",ERecordObj.getTransactionKey());
hMap.put("3",ERecordObj.getDeferredMode());
hMap.put("4",ERecordObj.getUserKeyLabel());
hMap.put("5",ERecordObj.getUserKeyValue());
hMap.put("6",ERecordObj.getTransactionAuditId());
hMap.put("7",ERecordObj.getRequester());
hMap.put("8",ERecordObj.getSourceApplication());
hMap.put("9",ERecordObj.getPostOpAPI());
hMap.put("10",ERecordObj.getPayload());
// hMap.put(EresConstants.ERES_PROCESS_ID,
if(pageContext.getParameter("item1")!=null)
pageContext.forwardImmediately(EresConstants.EINITIALS_FUNCTION,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
hMap,
true,
OAWebBeanConstants.ADD_BREAD_CRUMB_YES
Error(71,2): method forwardImmediately(java.lang.String, byte, null, java.util.HashMap, boolean, java.lang.String) not found in interface oracle.apps.fnd.framework.webui.OAPageContext
Thanks
krishna.

Hi,
You have imported the wrong class for HashMap.
Import
com.sun.java.util.collections.HashMap; instead of java.util.HashMap
Thanks,
Gaurav

Similar Messages

  • Getting error while scheduling load from one cube to another

    Hi,
    I have create one cube ,which has got loaded from two data sources and load into the cube went successful.I have created copy cube and schedule the load into copy cube from the base cube,where i am getting error message syaing that"New work Area started,terminated the system" and "Core_dump","Rolled-Out session terminated" all the above messages are getting and so many short dumps.I am getting all the above messages.
    Even i have change data packet size from 20000 to 5000 and increares dialup process from 2 to 5.But still i am getting same kind of messages.
    Please some one can help me out from this issue.

    Hi,
    In which version you are.
    If you in 7.0 then have you checked in DTP.
    Just logooff from your server, and again relog, and try to load once again.
    Let us know status ....
    Reg
    Pra

  • Passing Parameters from One Screen to Another Screen

    Hi All,
    I need to Pass Parameters from one Module Pool Screen to Another Screen.
    I have two Parameters in First screen. I don't want to use <b>Export and Import</b>
    The first screen record should sit in the Second Screen as it is.
    Please suggest me.
    Thanks and Regards,
    Prabhakar Dharmala

    An Idea,
    Create a function group, in that define global variables. Then create two function module. Pass variable from one function module and get in the another one.
    Hope this will help you to solve. If you need further help I will create and sent you a test code.
    Darshan.
    <i><b>Pl. Reward points to the helpful answer, it motivates us to answer more </b></i>

  • Passing parameters from one form to another

    Hi,
    I'm trying to pass parameters from 1 form to another. I would be able to call the form, but the parameters are not passed to the calling form. I do not know what's the problem. Basically, the 2nd form shows up with blank values in all the fields. Below is my code. Anybody expert in this, pl. help.
    By the way my 1st form is based on PROCEDURE.
    declare
    s_requestor           number(10);
    s_customer_impact      varchar2(4000);
    s_creation_date      date;
    l_url                varchar2(4000);
    blk               varchar2(10) := 'DEFAULT';
    begin
    p_session.set_value(
    p_block_name => blk,
    p_attribute_name => 'A_P_REQUESTOR',
    p_value => 88888);
    s_requestor := p_session.get_value_as_number
    (p_block_name => blk,
    p_attribute_name => 'A_P_REQUESTOR');
    s_customer_impact := p_session.get_value_as_varchar2
    (p_block_name => blk,
    p_attribute_name => 'A_P_CUSTOMER_IMPACT');
    s_creation_date := p_session.get_value_as_date
    (p_block_name => blk,
    p_attribute_name => 'A_P_CREATION_DATE');
    l_url:=('/pls/portal/PORTAL.wwa_app_module.link?
    p_arg_names=_moduleid&p_arg_values=1794837934&
    p_arg_names=_show_header&p_arg_values=YES&
    p_arg_names=REQUESTOR&p_arg_values='||s_requestor||'&
    p_arg_names=CREATION_DATE&p_arg_values='||s_creation_date||'&
    p_arg_names=CUSTOMER_IMPACT&p_arg_values='||s_customer_impact);
    PORTAL.wwa_app_module.set_target(l_url);
    end;

    the way to call one form from another and pass values for parameters from the procedure is like this:
    PORTAL.wwa_app_module.link (
    p_arg_names => PORTAL.wwv_standard_util.string_to_table2('_moduleid:_show_header:REQUESTOR:CREATION_DATE'),
    p_arg_values => PORTAL.wwv_standard_util.string_to_table2('1191314879:YES:'||s_requestor||':'||s_creation_date));
    and so on.
    Hope it works for you

  • Getting error in file transfer from one system to another system

    Hi All
    One of my client (User) wants to transfer his file from  SAP R/3 System SAP XI system. He is using a customize t-code ZFIR0325 (Trial balance report transfer to Hyperian System). When user execute the  program he is getting error "File Transfer Failed due to Network chk with Admin"
    I checked with Network team but they said it is okay from their side. We also check for authorization but there is no issue regarding authorization.
    Name of File Path of Aplication Server, XI destinaion and XI directory entered by user is correct.
    We also put authorization trace in XI System to RFC User (In file transfer from one system to another system this RFC User is geeing Used) but no authorization issue was found.
    Please help me to resolve this problem. I any detail require I will provide the same.

    Guruprasad Wrote:
    He is using a customize t-code ZFIR0325 (Trial balance report transfer to Hyperian System).
    We also put authorization trace in XI System to RFC User (In file transfer from one system to another system this RFC User is geeing Used) but no authorization issue was found.
    Firstly, no one in the community can answer on how a custom transcation code and a program associated with it behaves.
    If there are no authorization issues in the system, you have to look at the exact error message. Look if your XI system is allowed to receive files from the SAP system.
    Unfortunately, you should do some more home work before putting your question here. If everything is fine and configured correctly, then the issue might be with the program.
    Regards,
    Raghu

  • Passing parameters from one channel to another

    Hi,
    I was wondering if it is possible to pass parameters or values from one channel to another, for ex. through JSP, etc.
    Thanks, Pablo

    try these topics
    http://swforum.sun.com/jive/thread.jspa?forumID=80&threadID=19222
    http://swforum.sun.com/jive/thread.jspa?forumID=80&threadID=23051
    and maybe
    http://swforum.sun.com/jive/thread.jspa?forumID=80&threadID=19222
    I use javaBeans or SSOToken to exchange parameters between portlets.

  • Getting error while creating table from one database to other.

    Hi,
    We are getting below error while creating the table from one database to other.
    SQL> create table fnd_lobs parallel compress as select * from [email protected];
    create table fnd_lobs parallel compress as select * from [email protected]
    ERROR at line 1:
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    ORA-02063: preceding line from EEXIT2TEST
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    ORA-02063: preceding line from EEXIT2TEST
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    ORA-02063: preceding line from EEXIT2TEST
    ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
    too small
    Regards,
    Bhatia

    hi
    what are the apps version local and remote database???
    Snapshot too old errors occur because Oracle can 't reconstruct a consistent
    image of a block for the purposes of a consistent read.
    I feel at remote database, you are using UNDO, it will be rather easy to iincrease the undo retention time or increase the undo tablespace size.. if you are dealing with roll back segments, you may have rollback segments whose optimal values are too small...
    increase roll back segments size and select again then
    the following metalink notes might be helpful
    ORA-01555 "Snapshot too old" - Detailed Explanation Doc ID: 40689.1
    How To Avoid ORA-01555: Snapshot Too Old When Running PAAPIMP Doc ID: 603259.1
    OERR: ORA 1555 "snapshot too old (rollback segment too small)" Doc ID: 18954.1

  • Fatal error while transferring data from one bb to another

    I was trying to transfer data from one bb to a different bb using the bb desktop manager tool.  It collected all the data from the first bb fine and then while transferring data to the new one it said a fatal error occured to try again.  That bb will not even turn on now.  No white screen or anything.  Its like there is no operating system.  I don't know what to do.  I tried to connect it and just update the software but that isnt working either.  Says it is not responding during initialization! I think I killed it.... any ideas what to do???

    You can try to reload the OS in one of the following ways
    http://www.blackberry.com/btsc/KB03485
    http://blackberryfaq.net/index.php/How_do_I_wipe_the_BlackBerry_using_Jl_Cmder%3F
    If someone has been helpful please consider giving them kudos by clicking the star to the left of their post.
    Remember to resolve your thread by clicking Accepted Solution.

  • ClassCastException while passing object from one context to another

    I am hoping that someone will bear with me as I think it is my knowledge of classloaders that is tripping me up. I am using Spring and have a SecurityContextImpl object that I want to pass from one web app (WA2) to another web app (WA1). In WA2 I do the following:
    ServletContext wa1Context = getServletContext().getContext("WA1");
    wa1Context.setAttribute("SPRING_SECURITY_CONTEXT" , SecurityContextImpl);WA1 then tries to get the SPRING_SECURITY_CONTEXT and cast it to a SecurityContext object. This is where I get the ClassCastException. I have:
    crossContext="true"in my context.xml fragment. My reading tells me that I may be able to get around this by copying all the spring jars into my Tomcat lib folder but I seem to have to copy so much in there (Spring, hibernate, atomikos etc.) that it does not seem to be a good solution; I gave up before copying all the dependencies it asked for. Is there another way around this problem?
    What I really want to do is find an easy way to copy this one object from WA2 into WA1.

    Thanks for taking the time to test this. I also tried with a String and was successful but still cannot get it to work with my SecurityContextImpl. I also tried passing a String wrapped in a custom bean with a single string property. I get the same ClassCastException. I think that using a String works because it is native to the JVM and somehow bypasses the class loading issue but as I say, my knowledge of classloaders is null.
    Here is the exact code I am running in WA1 and WA2:
    In WA2 (context is /forum):
    ServletContext servletContext = httpRequest.getSession().getServletContext().getContext("/");
    servletContext.setAttribute("SPRING_SECURITY_CONTEXT", httpRequest.getSession().getAttribute("SPRING_SECURITY_CONTEXT"));
    logger.debug("It was of type [" + httpRequest.getSession().getAttribute("SPRING_SECURITY_CONTEXT").getClass().getName() + "]");In WA1 (A JSP sitemesh decorator with context "/"):
    Object object = getServletContext().getAttribute("SPRING_SECURITY_CONTEXT");
    System.out.println("IN DECORATOR, OBJECT IS OF TYPE [" + object.getClass().getName() + "]");
    SecurityContext securityContext = (SecurityContext) object;The log output is:
    DEBUG uk.co.prodia.prosoc.security.spring.cas.login.CheckDecoratorKnowsAboutLogin  - It was of type [org.springframework.security.context.SecurityContextImpl]
    IN DECORATOR, OBJECT2 IS OF TYPE [org.springframework.security.context.SecurityContextImpl]

  • Error while duplicate database from one server to another server

    Hi there,
    I am practicing duplicate database from one single database server to another server. Hardware and driver path on 2 machines is the same. Here are my steps:
    --------------------- Clone site:
    1. modify listener.ora with content:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (SID_NAME= orcl)
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON
    2. stop and start listener again, message show like :
    Service “orcl” has 1 instance(s).
    Instance “orcl”, status UNKNOWN, has 1 handler(s) for this service…
    The command completed successfully
    3. create pfile from spfile.
    4. shutdown and startup nomount with pfile is new pfile create from step 3.
    --------------------------------------- Source site
    1. modify tnsnames.ora with content like:
    VVCOREDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = vvcoredb)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.254.1.235) (PORT=1521))
    (CONNECT_DATA =
         (SERVER = DEDICATED)
         (SERVICE_NAME = orcl)
    2. run command from rman like these:
    rman> connect target sys@vvcoredb
    rman> target database Password:
    rman> connect auxiliary sys@orcl
    rman> auxiliary database Password:
    rman> DUPLICATE TARGET DATABASE to orcl from active database spfile nofilenamecheck;
    Then the result show below:
    Starting Duplicate Db at 24-SEP-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=63 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
    '/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
    sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
    executing Memory Script
    Starting backup at 24-SEP-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=74 device type=DISK
    Finished backup at 24-SEP-12
    sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''ORCL'' comment=
    ''duplicate'' scope=spfile";
    shutdown clone immediate;
    startup clone nomount;
    executing Memory Script
    sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
    Oracle instance shut down
    connected to auxiliary database (not started)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/24/2012 17:44:12
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04014: startup failed: ORA-01261: Parameter db_recovery_file_dest destination string cannot be translated
    ORA-01262: Stat failed on a file destination directory
    Linux-x86_64 Error: 2: No such file or directory
    I don't know what wrong with my pfile? I specify correct my pfile on clone site like this:
    orcl.__db_cache_size=1476395008
    orcl.__java_pool_size=16777216
    orcl.__large_pool_size=16777216
    orcl.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    orcl.__pga_aggregate_target=1342177280
    orcl.__sga_target=1979711488
    orcl.__shared_io_pool_size=0
    orcl.__shared_pool_size=436207616
    orcl.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/orcl/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
    *.db_block_size=8192
    *.db_domain=''
    *.db_name='orcl'
    *.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area/vvcoredb'
    *.db_recovery_file_dest_size=4070572032
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
    *.memory_target=3313500160
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_tablespace='UNDOTBS1'
    Please suggest me do i miss some steps when try to duplicate database?
    Any suggestions are welcome.
    Thanks in advance!
    P/s: Sorry for my bad English.

    Oh god, it worked. Thank you. But i got another problem like this:
    duplicate target database to orcl from active database spfile set "db_recovery_file_dest" = "/u01/app/oracle/flash_recovery_area/vvcoredb" nofilenamecheck;
    Starting Duplicate Db at 24-SEP-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=63 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
    '/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
    sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
    executing Memory Script
    Starting backup at 24-SEP-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=74 device type=DISK
    Finished backup at 24-SEP-12
    sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''ORCL'' comment=
    ''duplicate'' scope=spfile";
    sql clone "alter system set db_recovery_file_dest =
    ''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment=
    '''' scope=spfile";
    shutdown clone immediate;
    startup clone nomount;
    executing Memory Script
    sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
    sql statement: alter system set db_recovery_file_dest = ''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment= '''' scope=spfile
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area 3307048960 bytes
    Fixed Size 2217872 bytes
    Variable Size 1811941488 bytes
    Database Buffers 1476395008 bytes
    Redo Buffers 16494592 bytes
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''VVCOREDB'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    sql clone "alter system set db_unique_name =
    ''ORCL'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    shutdown clone immediate;
    startup clone force nomount
    backup as copy current controlfile auxiliary format '/u01/app/oracle/oradata/vvcoredb/control01.ctl';
    restore clone controlfile to '/u01/app/oracle/recovery_area/vvcoredb/control02.ctl' from
    '/u01/app/oracle/oradata/vvcoredb/control01.ctl';
    alter clone database mount;
    executing Memory Script
    sql statement: alter system set db_name = ''VVCOREDB'' comment= ''Modified by RMAN duplicate'' scope=spfile
    sql statement: alter system set db_unique_name = ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile
    Oracle instance shut down
    Oracle instance started
    Total System Global Area 3307048960 bytes
    Fixed Size 2217872 bytes
    Variable Size 1811941488 bytes
    Database Buffers 1476395008 bytes
    Redo Buffers 16494592 bytes
    Starting backup at 24-SEP-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile copy
    copying current control file
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/24/2012 18:42:09
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 09/24/2012 18:42:09
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    I have a comment that source site doesn't have flash_recovery_area, instead it's name is recovery_area, is it problem?
    Edited by: 788420 on Sep 24, 2012 4:44 AM

  • Passing parameters From one dashboard to another dashboard

    Dear Experts,
    I am new to sap bo Dashboard,i got requirement where client want see department wise data ,for that we are using query prompt in dashboard  and the
    Prompt consist of Departments like(civil,elec,It,Fire etc) based on the selecting the department in the prompt the respective data is coming in the charts
    and there is link which goes to second level dashboard.If i select IT Department in Maindashboard and click on the link it shoud open only IT Dashboard
    in second level dashboard.In level 2 dashboard we using again Department Prompt .
    2) Another issue with query Prompt in dashboard i.e After selecting department in query Prompt i have click outside to close the selection.
    Kindly Request your suggestions.
    I am Attaching Documents for your understanding
    Thanks & Regards,
    Dhanraj

    Hi Martina
    I know about EPCF. But to be precise here, there is no iView and page. Let me tell you the exact scenario:
    This parameter passing has to be done from the Portal Logon page. If you have seen the Portal logon page, there is a form in that page. which takes you to the portal launcher. Now if i want to change the action and call my own component/JSP. and in that JSP/compoenent i want to access the parameters of the logon form.
    Can you tell me what are the exact methods in the Portal Runtime famewrok to get the form parameters (i have seen that using the getParameter() does not works) I dont want anything in Javascript.
    Regards
    Gaurav

  • Error while data shifting from one table to another table

    i have two tables.
    in one table i dont have constraints.in anothe rtable i have constraints.
    my requiremnt is i have to shift data from unconstrained table to constrained table
    while shifting data any constaint violation is there system hasto raise error by specifying the error
    in below example it should be ename,esal values not null.
    i tried with save exception but it gives only error.i want error by mentiong that column names also ie ename,esal is not null
    if ename value only null then it should be give ename is null
    create table tablea (eno number(10), ename varchar2(20) not null, esal number(5) not null)
    create table tabl (eno number(10), ename varchar2(20) , esal number(5) )
    DECLARE
    TYPE tabl_tab IS TABLE OF tabl%rowTYPE;
    tab tabl_tab;
    -- create an exception handler for ORA-24381
    ERRORS NUMBER;
    dml_errors EXCEPTION;
    PRAGMA EXCEPTION_INIT (dml_errors, -24381);
    BEGIN
    SELECT *
    BULK COLLECT INTO tab
    FROM tabl
    WHERE rownum<=2;
    -- add '_SR' to the job_id of the most senior employees
    FORALL i IN tab.FIRST .. tab.LAST SAVE EXCEPTIONS
    insert into tablea values tab(i);
    EXCEPTION
    WHEN dml_errors
    THEN
    rollback ; --roll backs all the good records updation
    -- Now we figure out what failed and why.
    ERRORS := SQL%BULK_EXCEPTIONS.COUNT;
    DBMS_OUTPUT.put_line ('Number of statements that failed: ' || ERRORS);
    FOR i IN 1 .. ERRORS
    LOOP
    DBMS_OUTPUT.put_line ( 'Error #'
    || i
    || ' occurred during '
    || 'iteration #'
    || SQL%BULK_EXCEPTIONS (i).ERROR_INDEX
    DBMS_OUTPUT.put_line ( 'Error message is '
    || SQLERRM
    (-SQL%BULK_EXCEPTIONS (i).ERROR_CODE)
    END LOOP;
    END;
    how to implement that.

    it should give error as ename column is not null

  • Passing parameters from one callablestatement to another

    I need to run multiple stored procedures. The first one generates a ident key and returns it as an output parameter. The remaining procs need to take the ident key from proc 1 and use it as an input parameter. When I do this I get a SQLException for an RI violation saying the row (inserted by the first call) containing the primary key (ident field) does not exist. I have had our DBA look at this and he says it should work fine. I can run the 2 stored procs, passing the output parameter from the first to the second in query analyzer and it works just fine. Here is my Java code:
    try{
    connection.setAutoCommit(false);
    callStmt = connection.prepareCall("{call insert_proc_1 (?, ?)}");
    callStmt.setString(1, "xxxx");
    callStmt.registerOutParameter(2, java.sql.Types.INTEGER);
    callStmt.execute();
    long primaryKey = callStmt.getLong(2);
    callStmt.close();
    callStmt2 = connection.prepareCall("{call insert_proc_2 (?, yyyy, xxxx, ?)}");
    callStmt2.setLong(1, primaryKey);
    callStmt2.registerOutParameter(2, java.sql.Types.INTEGER);
    callStmt2.execute();
    long secondKey = callStmt2.getLong(2);
    callStmt2.close();
    connection.commit();
    connection.close();
    return secondKey;
    } catch(SQLException e){
    connection.rollback();
    connection.close();
    return -1;
    What am I doing wrong?
    Thanks,
    Jim

    Oh never mind. I switched to another JDBC driver and the code works just fine.

  • Error while migrating reports from one instance to another(no torch seen)

    Hi,
    I am facing this problem when I am trying to migrate reports from UAT to Production. After migration when I try to run the report from Discoverer plus, I cannot see the torch symbol which is general if we have any parameters for that report. So, I again migrate the same .eex file and now I see the torch.
    Can any one throw some thoughts why is this happening, why I cannot see the torch symbol in the first time itself?
    Thanks,
    Srini.

    Hi Srini
    The list of values is not being associated with the item the first time around. The order in which the items are selected is important so for example if lists of values were imported first without the items upon which they depend they will be ignored. Running the import a second time will cause the LOVs to recognize their associated item and thus the association will be made.
    Generally I do two exports. I will export my folders and workbooks first and then export my item classes.
    Hope this helps explain what you are seeing.
    Best wishes
    Michael

  • Error while transporting objects from one package to another

    Hi Everyone,
    I am using a FM 'HR_INFOTYPE_OPERATION' to update a value into a table pa0584 table.
    If i try to upload all the values i am getting a return value like " No of Entries exceeds more than 20".
    So please help me out.
    Thanks
    Vijay

    Hi,
    You can merge your different requests into a single request. goto se09  select any one of your request and in menu,
    Utilities -> Reorganize -> Merge Requests. or press CTRL + F12.
    hope this helps u.,
    Thanks & Regards,
    Kiran

Maybe you are looking for

  • E65 and wireless keyboard

    Has anyone successfully used Nokia Wireless Keyboard SU-8W with Nokia E65? thank you.

  • I'm having to clear cache constantly now in order to load pages.

    Unless I clear my cache constantly, I get either an "invalid url" error or an "oops, no such page error"--sometimes an incomplete Web page. == URL of affected sites == many, some of which are new to me

  • SONY VRD-mc6 problem

    I am playing Mini-Dv tapes from my Panasonic DV-2000, and using the RCA (Red,White, Yellow) cables to connect into me SONY VRD-MC6.  The tape plays fine, I can see it on the Sony screen, and can monitor sound from the Panasonic.  During the playback,

  • New installation - Cisco Prime from OVA on VMWare

    Hi, I have just imported Cisco Prime OVA and followed the setup and entered the IP Address, hostname, DNS, Gateway etc etc... When I attempt to enter via the URL https://CicsoPrime01 it doesn't accept the connection. I'm able to ping to the CiscoPrim

  • Long-Term Planning (PP-MP-LTP)

    Do you know BI content for Long-Term Planning (PP-MP-LTP)?