Oracle Report -FND FORMAT_CURRENCY

Hi,
I am using the folowing code in group level formula column(CF_CURR) for formatting currency.The report output is set to xml.
The output of CF_CURR in xml is wierd for example:
<UNIT_SELLING_PRICE>68043.48</UNIT_SELLING_PRICE>
<CF_CURR>68</CF_CURR>
<UNIT_SELLING_PRICE>9170</UNIT_SELLING_PRICE>
<CF_CURR>9</CF_CURR>
<UNIT_SELLING_PRICE>6843.28</UNIT_SELLING_PRICE>
<CF_CURR>6</CF_CURR>
srw.user_exit('FND FORMAT_CURRENCY
CODE="USD"
DISPLAY_WIDTH="17"
AMOUNT=":UNIT_SELLING_PRICE"
DISPLAY=":CF_CURR"');

961040 wrote:
Resolved. First Commented the code, ran the report, it ran fine and then un-commented it after putting the SRWINIT in before parameter report trigger, it returned DATA and everything is perfect.Thanks for the update and for sharing the solution!

Similar Messages

  • Oracle.apps.fnd.cache.CacheException while generating Auto Reports

    Hi,
    Please help me in resolving out the ERROR occured while dealing with Automated Report Generation.
    Following is the Error Message:
    Weekly Report Generator starts running at:Tue Jun 24 14:41:47 IST 2008
    connection oracle.jdbc.driver.T4CConnection@789144
    Generating Health Summary Report for: _11_5_1.html
    oracle.apps.fnd.cache.CacheException
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
    at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1485)
    at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:354)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDataba
    seValues(DebugEventManager.java:1149)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(Deb
    ugEventManager.java:1010)
    at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(Debug
    EventManager.java:979)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEv
    entManager.java:946)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEv
    entManager.java:933)
    at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
    at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:932)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
    :917)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
    :882)
    at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:742)
    at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:933)
    at uttara.oracle.apps.uttaraimc.reports.jasper.HealthSummaryReportGenera
    tor.getServiceApplicationModule(HealthSummaryReportGenerator.java:110)
    at uttara.oracle.apps.uttaraimc.reports.jasper.HealthSummaryReportGenera
    tor.generateReport(HealthSummaryReportGenerator.java:40)
    at uttara.oracle.apps.uttaraimc.reports.jasper.WeeklyReportGenerator.gen
    erateWeeklyReports(WeeklyReportGenerator.java:75)
    at uttara.oracle.apps.uttaraimc.reports.jasper.WeeklyReportGenerator.mai
    n(WeeklyReportGenerator.java:27)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: Error in IAS Cache
    : java.lang.NullPointerException: null Connection
    at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:678)
    at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4684)
    at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4507)
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216)
    ... 20 more
    Error: Report cannot be created at: /oracle10/oracle/viscomn/java/oracle/apps/me
    dia/CDV/CDVReport/HTML/Auto/Weekly/24_06_2008/ status: false
    Error:oracle.apps.fnd.cache.CacheException
    No. of reports generated:0
    ************************************************************************

    It looks like the reports to be created is trying to use
    /oracle10/oracle/viscomn/java/oracle/apps/media/CDV/CDVReport/HTML/Auto/Weekly/24_06_2008/
    And it can not write in that location. Specify a different folder or check the permisisons/free space avaialable.
    Rajesh Alex

  • Error when using FND FORMAT_CURRENCY for XML Publisher report

    XML_REPORTS_XENVIRONMENT is :
    /apps01/applclone/erpcloneora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /apps01/applclone/erpcloneora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    _AMERICA.UTF8
    stat_low = B
    stat_high = 0
    emsg:was terminated by signal 11
    Program was terminated by signal 11
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 3125762.
    Review your concurrent request log and/or report output file for more detailed information.
    Edited by: user11972592 on 20-May-2010 02:30
    Edited by: user11972592 on 20-May-2010 02:46

    I just tried:
    substr(to_timestamp(svs_date, 'dd-mon-yy'),1,9)which crops it but then the interactive searches dont work again so its basically the same as Date. :(
    Mike

  • Unable to use flexfield lexical oracle.apps.fnd.flex.kff.segments_metadata

    EBS 11.5.10.2
    XMLP 5.6.3
    ARXAGMW.rdf
    Hello,
    I am trying to convert an Oracle Report to XML Publisher, and I am having problems getting lexicals in the Data Template to work.
    I raised an SR for this since both related threads in this forum from two years ago were unresolved. Oracle had no answers for me, and told me to ask the question here.
    So anyone who has any ideas, please chime in!
    Here is a simplified version of the data template, narrowed down to just the use of the lexicals:
    <?xml version="1.0" encoding="utf-8"?>
    <dataTemplate name="XXWLC_ARXAGMW"
                  description="samples from doco"
                  defaultPackage=""
                  dataSourceRef="ORA_EBS"
                  version="1.0">
      <properties>
        <property name="xml_tag_case"       value="upper" />
        <property name="include_parameters" value="true"  />
        <property name="debug_mode"         value="on"    />
      </properties>
      <parameters>
        <parameter name="P_ID_FLEX_NUM" dataType = "number" defaultValue="101" />
      </parameters>
      <lexicals>
        <lexical type="oracle.apps.fnd.flex.kff.segments_metadata"
                 name="FLEX_GL_BALANCING_APROMPT"
                 comment="Comment"
                 application_short_name="SQLGL"
                 id_flex_code="GL#"
                 id_flex_num=":P_ID_FLEX_NUM"
                 segments="GL_BALANCING"
                 show_parent_segments="Y"
                 metadata_type="ABOVE_PROMPT"/>
        <lexical type="oracle.apps.fnd.flex.kff.segments_metadata"
                 name="FLEX_GL_ACCOUNT_LPROMPT"
                 comment="Comment"
                 application_short_name="SQLGL"
                 id_flex_code="GL#"
                 id_flex_num=":P_ID_FLEX_NUM"
                 segments="GL_ACCOUNT"
                 show_parent_segments="Y"
                 metadata_type="LEFT_PROMPT"/>
        <lexical type="oracle.apps.fnd.flex.kff.segments_metadata"
                 name="ACCT_BAL_LPROMPT"
                 application_short_name="SQLGL"
                 id_flex_code="GL#"
                 id_flex_num=":P_ID_FLEX_NUM"
                 segments="GL_BALANCING"
                 show_parent_segments="Y"
                 metadata_type="LEFT_PROMPT" />
      </lexicals>
      <dataQuery>
        <sqlStatement name="Q_DOCO_SAMPLE">
          <![CDATA[
            SELECT
               &FLEX_GL_BALANCING_APROMPT alias_gl_balancing_aprompt
              ,&FLEX_GL_ACCOUNT_LPROMPT   alias_gl_account_lprompt
              ,&ACCT_BAL_LPROMPT          alias_acct_bal_lprompt
            FROM dual
          ]]>
        </sqlStatement>
      </dataQuery>
      <dataStructure>
        <group name="G_DOCO_SAMPLE" dataType="varchar2" source="Q_DOCO_SAMPLE">
          <element name="sample_gl_balancing_aprompt" dataType="varchar2" value="alias_gl_balancing_aprompt" />
          <element name="sample_gl_account_lprompt"   dataType="varchar2" value="alias_gl_account_lprompt"   />
          <element name="sample_acct_bal_lprompt"     dataType="varchar2" value="alias_acct_bal_lprompt"     />
        </group>
      </dataStructure>
    </dataTemplate>The lexicals "compile" and run successfully, but they return String values that SHOULD be wrapped with quotes; but this doesn't happen, so the SQL that runs is:
    SELECT
       COMPANY alias_gl_balancing_aprompt
      ,ACCT  alias_gl_account_lprompt
      ,CO          alias_acct_bal_lprompt
    FROM dualThus, the concurrent program ends with ERROR, due to java.sql.SQLException: ORA-00904: "CO": invalid identifier
    The first two lexicals and their corresponding sql statement are samples directly from the user guide (which is full of errors). The third lexical is the one from ARXAGMW.rdf.xml that I am trying to make work.
    Edited by: user650442 on Apr 30, 2010 3:58 PM

    By the way, simply adding the quotes around the lexical names in the sql statement doesn't work. That causes the lexical references to be ignored as simple string values:
    SELECT
       '&FLEX_GL_BALANCING_APROMPT' alias_gl_balancing_aprompt
      ,'&FLEX_GL_ACCOUNT_LPROMPT'   alias_gl_account_lprompt
      ,'&ACCT_BAL_LPROMPT'          alias_acct_bal_lprompt
    FROM dualI turned on statement-level debugging via xdodebug.cfg and saw how it compiled the lexicals. By replicating the call to apps.fnd_flex_xml_publisher_apis.kff_segments_metadata that I found there, I was able to hack together a workaround for this issue.
    Please point me to a better way of doing this if possible, as I had to GRANT EXECUTE on this apps package to my custom code schema. Is there a better lexical/flexfields reference than the XML Publisher documentation?
    Here is the call I made in my before-report trigger:
    --set ACCT_BAL_LPROMPT flexfield segment metadata lexical
    begin
    apps.fnd_flex_xml_publisher_apis.kff_segments_metadata(
      'FLEX_ACCT_BAL_LPROMPT',
      'SQLGL',
      'GL#',
      101,
      'GL_BALANCING',
      'Y',
      'LEFT_PROMPT',
      c_FLEX_ACCT_BAL_LPROMPT
    end;

  • Problem calling XML Report Publisher from Oracle Reports

    Hi,
    I'm facing a problem in calling XML Report Publisher from Oracle Reports.
    Basically, I'm trying to customise Dunning Letter program. The program which is submitted calls another program. I have customised the second program and added a call to a stored procedure which in turn calls XML Report Publisher.I have created a template and attached it to the second program as well.
    The procedure code is as follows.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST(application => 'AR'
    ,program => 'ARDLP_NON_SRS'
    ,description => 'Dunning Letter Print from Dunning Letter Generate'
    ,sub_request => FALSE
    l_status := fnd_concurrent.WAIT_FOR_REQUEST
    ( REQUEST_ID => v_request_id,
    INTERVAL => 15,
    MAX_WAIT => 180,
    PHASE => l_phase,
    STATUS => l_status_code,
    DEV_PHASE => l_dev_phase,
    DEV_STATUS => l_dev_status,
    MESSAGE => l_message );
    v_xml_req_id := FND_REQUEST.submit_request(application => 'XDO',
    program => 'XDOREPPB',
              argument1 => v_request_id,
    argument2 => 'FLS DE AR Dunning Letter Print - German',
    argument3 => 603, -- changed 665 -- was 551,
    argument4     => NULL,
    argument5 => 'N',
    argument6     => 'RTF',
              argument7     => 'PDF');
    Now, there are two problems I'm facing...
    1. when the second program('Dunning Letter Print from Dunning Letter Generate') gets called it executes this procedure ... logically the 'Dunning Letter Print from Dunning Letter Generate' should get called twice ... second time from the procedure. Its getting called multiple times .. as many as 15 - 20 times.
    2. The Xml Report Publisher program ultimately gets called but its erroring out with the following error:
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4 ) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
    I have checked from database that the XDO_LOBS/ XDO_TEMPLATES_B table has corresponding registration data.
    I don't know what's creating the problem.
    If anyone has customised the Dunning Letter program before or having any idea about this problem, please help me out ..
    Thanks

    satrajit,
    Now I am getting the same error you got, Can you please tell me the solution you found?.
    XML Report Publisher 5.0
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APPLICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:309)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:187)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:776)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1269)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:807)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)

  • Oracle.apps.fnd.cp.request.FileAccessException:

    One request (XML Publisher Report Bursting Program) is failing continuously with the error below
    null output =/p01/app/applmgr/oappsp1/inst/apps/OAPPSP1_c201u336/logs/appl/conc/out/CERDALB.575007
    File /p01/app/applmgr/oappsp1/inst/apps/OAPPSP1_c201u336/logs/appl/conc/out/CERDALB.575005 is not accessable from node/machine C201U336.
    --Exception+
    File /p01/app/applmgr/oappsp1/inst/apps/OAPPSP1_c201u336/logs/appl/conc/out/CERDALB.575005 is not accessable from node/machine C201U336.
    oracle.apps.fnd.cp.request.FileAccessException: File /p01/app/applmgr/oappsp1/inst/apps/OAPPSP1_c201u336/logs/appl/conc/out/CERDALB.575005 is not accessable from node/machine C201U336.
    +     at oracle.apps.fnd.cp.request.RemoteFile.getFile(RemoteFile.java:440)+
    +     at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:233)+
    +     at oracle.apps.fnd.cp.request.Run.main(Run.java:157)+
    Please help, when I saw the file its permission is
    $ ll -ltr /p01/app/applmgr/oappsp1/inst/apps/OAPPSP1_c201u336/logs/appl/conc/out/CERDALB.575005
    -rw-r--r-- 1 applmgr oaa 22849 Feb 21 07:02 /p01/app/applmgr/oappsp1/inst/apps/OAPPSP1_c201u336/logs/appl/conc/out/CERDALB.575005
    EBS version 12.1.3

    993196 wrote:
    Is there any solution to this issue. We are also facing the same error:
    --Exception
    File /applerpdev/XX/inst/apps/XXapp01/logs/appl/conc/out/o14794719.out is not accessable from node/machine XX01.
    oracle.apps.fnd.cp.request.FileAccessException: File ...../out/o14794719.out is not accessable from node/machine XX01.
    at oracle.apps.fnd.cp.request.RemoteFile.getFile(RemoteFile.java:440)
    at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:233)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Any help is greatly appreciated.
    Thanks!!In addition to the docs referenced above, please see (When Running PDF Report, Getting Error File Is Not Accessable From Node/Machine Or java.io.FileNotFoundException [ID 398897.1]).
    Thanks,
    Hussein

  • Oracle.apps.fnd.cp.util.RemoteFileException:FND File Server is not permitte

    Hi All,
    I searched the forum but found only two threads regarding this error. The two threads do not have replies. Can anyone help me on this:
    We are getting :
    [5/29/08 3:01:22 PM] [UNEXPECTED] [11174:RT728468] oracle.apps.fnd.cp.util.RemoteFileException: FND File Server is not permitted to write in the specified directory for ...
    error when running an XML publisher report via Oracle EBS. The report is working in
    other instances. Thanks for the help in advance.
    gregg

    Hi,
    We are getting same issue.Please let me know the all steps you have taken.
    Thanks
    Praveen javvaji

  • Concurrent Manager encountered an error while running Oracle*Report for you

    hi
    our team is running a report.but encountered
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_DELV_ID='8022'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.US7ASCII
    Enter Password:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1401: '': Fatal PL/SQL error occurred.
    Report Builder: Release 10.1.2.0.2 - Production on Mon Jun 21 11:26:16 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 451508.
    Review your concurrent request log and/or report output file for more detailed information.
    +---------------------------------------------------------------------------+
    Executing request completion options...
    +------------- 1) PUBLISH -------------+
    Beginning post-processing of request 451508 on node DEMO at 21-JUN-2010 11:26:17.
    Post-processing of request 451508 failed at 21-JUN-2010 11:26:17 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    +--------------------------------------+
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed
    Current system time is 21-JUN-2010 11:26:17
    +---------------------------------------------------------------------------+how to solve it?when i am searching in this error in cmctl log there is nothing for it.
    i have lnched a SR on this they told to run it by appsrwrun.sh.how to run this report by appsrwrun.sh??
    rgrds
    Edited by: new2appsdba on Jun 21, 2010 4:19 AM

    Hi,
    how do you suspect its a OPP related issue??what is OPP?
    Enter value for request_id: 451508
    old   5: AND fcpp.concurrent_request_id = &&request_id
    new   5: AND fcpp.concurrent_request_id = 451508
        REQ_ID NODE_NAME
    LOGFILE_NAME
        451508 DEMO
    /t01/demoap/inst/apps/DEMO_demo/logs/appl/conc/log/FNDOPP94508.txt
    [demoap@demo ~]$ vi /t01/demoap/inst/apps/DEMO_demo/logs/appl/conc/log/FNDOPP94508.txt
    [6/20/10 1:37:36 PM] [main] Starting GSF service with concurrent process id = 94508.
    [6/20/10 1:37:36 PM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [6/20/10 1:37:37 PM] [Thread-16] Service thread starting up.
    [6/20/10 1:37:37 PM] [Thread-15] Service thread starting up.
    [6/21/10 11:12:00 AM] [OPPServiceThread0] Post-processing request 451495.
    [6/21/10 11:12:00 AM] [94508:RT451495] Executing post-processing actions for request 451495.
    [6/21/10 11:12:00 AM] [94508:RT451495] Starting XML Publisher post-processing action.
    [6/21/10 11:12:00 AM] [94508:RT451495]
    Template code: WILPACKSLIP
    Template app:  ONT
    Language:      en
    Territory:     00
    Output type:   PDF
    [6/21/10 11:12:00 AM] [UNEXPECTED] [94508:RT451495] java.io.FileNotFoundException: /t01/demoap/inst/apps/DEMO_demo/logs/appl/conc/out/o451495.out (No such file or directory)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:241)
            at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    [6/21/10 11:12:00 AM] [94508:RT451495] Completed post-processing actions for request 451495.
    [6/21/10 11:22:27 AM] [OPPServiceThread0] Post-processing request 451505.
    [6/21/10 11:22:27 AM] [94508:RT451505] Executing post-processing actions for request 451505.
    [6/21/10 11:22:27 AM] [94508:RT451505] Starting XML Publisher post-processing action.
    [6/21/10 11:22:27 AM] [94508:RT451505]
    Template code: WILPACKSLIP
    Template app:  ONT
    Language:      en
    Territory:     00
    Output type:   PDF
    [6/21/10 11:22:27 AM] [UNEXPECTED] [94508:RT451505] java.io.FileNotFoundException: /t01/demoap/inst/apps/DEMO_demo/logs/appl/conc/out/o451505.out (No such file or directory)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:241)
            at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    [6/21/10 11:22:27 AM] [94508:RT451505] Completed post-processing actions for request 451505.
    [6/21/10 11:26:17 AM] [OPPServiceThread1] Post-processing request 451508.
    [6/21/10 11:26:17 AM] [94508:RT451508] Executing post-processing actions for request 451508.
    [6/21/10 11:26:17 AM] [94508:RT451508] Starting XML Publisher post-processing action.
    [6/21/10 11:26:17 AM] [94508:RT451508]
    Template code: WILPACKSLIP
    Template app:  ONT
    Language:      en
    Territory:     00
    Output type:   PDF
    [6/21/10 11:26:17 AM] [UNEXPECTED] [94508:RT451508] java.io.FileNotFoundException: /t01/demoap/inst/apps/DEMO_demo/logs/appl/conc/out/o451508.out (No such file or directory)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
                                                                  at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:241)
            at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    [6/21/10 12:00:59 PM] [94508:RT451533] Completed post-processing actions for request 451533.
    [6/21/10 12:17:51 PM] [OPPServiceThread0] Post-processing request 451573.
    [6/21/10 12:17:51 PM] [94508:RT451573] Executing post-processing actions for request 451573.
    [6/21/10 12:17:51 PM] [94508:RT451573] Starting XML Publisher post-processing action.
    [6/21/10 12:17:51 PM] [94508:RT451573]
    Template code: XXWEBB_EXP_INV
    Template app:  ONT
    Language:      en
    Territory:     00
    Output type:   PDF
    [6/21/10 12:17:51 PM] [UNEXPECTED] [94508:RT451573] java.io.FileNotFoundException: /t01/demoap/inst/apps/DEMO_demo/logs/appl/conc/out/o451573.out (No such file or directory)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:241)
            at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    [6/21/10 12:17:51 PM] [94508:RT451573] Completed post-processing actions for request 451573.
    [6/21/10 12:19:19 PM] [OPPServiceThread0] Post-processing request 451577.
    [6/21/10 12:19:19 PM] [94508:RT451577] Executing post-processing actions for request 451577.
    [6/21/10 12:19:19 PM] [94508:RT451577] Starting XML Publisher post-processing action.
    [6/21/10 12:19:19 PM] [94508:RT451577]
    Template code: WILEXINVREP
    Template app:  ONT
    Language:      en
    Territory:     00
    Output type:   PDF
    [062110_121919525][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
    [062110_121919526][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
    [062110_121919526][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [062110_121919526][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [062110_121919526][][EXCEPTION] [DEBUG]  [SECURITY_GROUP_ID]:[0]
    [062110_121919526][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
    [062110_121919526][][EXCEPTION] [DEBUG]  [NLS_CHARACTERSET]:[US7ASCII]
    [062110_121919526][][EXCEPTION] [DEBUG]  [RESP_APPL_ID]:[-1]
    [062110_121919526][][EXCEPTION] [DEBUG]  [NLS_LANGUAGE]:[AMERICAN]
    [062110_121919526][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MIN]:[1]
    [062110_121919526][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MAX]:[2]
    [062110_121919526][][EXCEPTION] [DEBUG]  [NLS_NUMERIC_CHARACTERS]:[.,]
    [062110_121919526][][EXCEPTION] [DEBUG]  [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=demo.webbindia.com)(PORT=1527)))(CONNECT_DATA=(SID=DEMO)))]
    [062110_121919527][][EXCEPTION] [DEBUG]  [RESP_ID]:[-1]
    [062110_121919527][][EXCEPTION] [DEBUG]  [FND_MAX_JDBC_CONNECTIONS]:[500]
    [062110_121919527][][EXCEPTION] [DEBUG]  [FND_JDBC_USABLE_CHECK]:[false]
    [062110_121919527][][EXCEPTION] [DEBUG]  [USER_ID]:[-1]
    [062110_121919527][][EXCEPTION] [DEBUG]  [NLS_TERRITORY]:[AMERICA]
    [062110_121919527][][EXCEPTION] [DEBUG]  [FND_JDBC_PLSQL_RESET]:[false]
    [062110_121919527][][EXCEPTION] [DEBUG]  [FND_JDBC_CONTEXT_CHECK]:[true]
    [062110_121919527][][EXCEPTION] [DEBUG]  [NLS_DATE_FORMAT]:[DD-MON-RR]
    [062110_121919527][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
    [062110_121919527][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
    [062110_121919527][][EXCEPTION] [DEBUG]  [NLS_SORT]:[BINARY]
    [062110_121919527][][EXCEPTION] [DEBUG]  [NLS_DATE_LANGUAGE]:[AMERICAN]
    [062110_121919527][][EXCEPTION] [DEBUG]  [LOGIN_ID]:[-1]
    [062110_121919528][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
    [062110_121919528][][EXCEPTION] [DEBUG]  [APPLTMP]:[/t01/demoap/inst/apps/DEMO_demo/appltmp]
    [062110_121919528][][EXCEPTION] [DEBUG]  [java.runtime.name]:[Java(TM) 2 Runtime Environment, Standard Edition]
    [062110_121919528][][EXCEPTION] [DEBUG]  [sun.boot.library.path]:[/t01/demoap/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/i386]
    [062110_121919528][][EXCEPTION] [DEBUG]  [java.vm.version]:[1.5.0_08-b03]
    [062110_121919528][][EXCEPTION] [DEBUG]  [OVERRIDE_DBC]:[true]
    [062110_121919528][][EXCEPTION] [DEBUG]  [dbcfile]:[/t01/demoap/inst/apps/DEMO_demo/appl/fnd/12.0.0/secure/DEMO.dbc]
    [062110_121919528][][EXCEPTION] [DEBUG]  [java.vm.vendor]:[Sun Microsystems Inc.]
    [062110_121919528][][EXCEPTION] [DEBUG]  [java.vendor.url]:[http://java.sun.com/]
    [062110_121919528][][EXCEPTION] [DEBUG]  [path.separator]:[:]
    [062110_121919528][][EXCEPTION] [DEBUG]  [APPLCSF]:[/t01/demoap/inst/apps/DEMO_demo/logs/appl/conc]
    [062110_121919528][][EXCEPTION] [DEBUG]  [java.vm.name]:[Java HotSpot(TM) Server VM]
    [062110_121919528][][EXCEPTION] [DEBUG]  [file.encoding.pkg]:[sun.io]
    [062110_121919528][][EXCEPTION] [DEBUG]  [user.country]:[US]
    [062110_121919529][][EXCEPTION] [DEBUG]  [sun.os.patch.level]:[unknown]
    [062110_121919529][][EXCEPTION] [DEBUG]  [java.vm.specification.name]:[Java Virtual Machine Specification]
    [062110_121919529][][EXCEPTION] [DEBUG]  [user.dir]:[/t01/demoap/inst/apps/DEMO_demo/logs/appl/conc/log]
    [062110_121919529][][EXCEPTION] [DEBUG]  [java.runtime.version]:[1.5.0_08-b03]
    [062110_121919529][][EXCEPTION] [DEBUG]  [CLIENT_PROCESSID]:[30369]
    [062110_121919529][][EXCEPTION] [DEBUG]  [java.awt.graphicsenv]:[sun.awt.X11GraphicsEnvironment]
    [062110_121919529][][EXCEPTION] [DEBUG]  [java.endorsed.dirs]:[/t01/demoap/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/endorsed]
    [062110_121919529][][EXCEPTION] [DEBUG]  [os.arch]:[i386]
    [062110_121919529][][EXCEPTION] [DEBUG]  [JTFDBCFILE]:[/t01/demoap/inst/apps/DEMO_demo/appl/fnd/12.0.0/secure/DEMO.dbc]
    [062110_121919529][][EXCEPTION] [DEBUG]  [java.io.tmpdir]:[/tmp]
    [062110_121919529][][EXCEPTION] [DEBUG]  [line.separator]:[
    [062110_121919529][][EXCEPTION] [DEBUG]  [java.vm.specification.vendor]:[Sun Microsystems Inc.]
    [062110_121919529][][EXCEPTION] [DEBUG]  [os.name]:[Linux]
    [062110_121919529][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MIN]:[1]
    [062110_121919530][][EXCEPTION] [DEBUG]  [cpid]:[94508]
    [062110_121919530][][EXCEPTION] [DEBUG]  [sun.jnu.encoding]:[UTF-8]
    [062110_121919530][][EXCEPTION] [DEBUG]  [oracle.apps.fnd.common.Pool.leak.mode]:[stderr:off]
    [062110_121919530][][EXCEPTION] [DEBUG]  [java.library.path]:[/t01/demoap/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/i386/server:/t01/demoap/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/i386:/t01/demoap/apps/tech_st/10.1.3/appsutil/jdk/jre/../lib/i386:/t01/demoap/apps/tech_st/10.1.3/lib32:/t01/demoap/apps/tech_st/10.1.3/lib:/t01/demoap/apps/apps_st/appl/cz/12.0.0/bin:/t01/demoap/apps/apps_st/appl/iby/12.0.0/bin:/t01/demoap/apps/apps_st/appl/pon/12.0.0/bin:/t01/demoap/apps/apps_st/appl/sht/12.0.0/lib]
    [062110_121919530][][EXCEPTION] [DEBUG]  [java.specification.name]:[Java Platform API Specification]
    [062110_121919530][][EXCEPTION] [DEBUG]  [java.class.version]:[49.0]
    [062110_121919530][][EXCEPTION] [DEBUG]  [sun.management.compiler]:[HotSpot Server Compiler]
    [062110_121919530][][EXCEPTION] [DEBUG]  [queue_appl_id]:[0]
    [062110_121919530][][EXCEPTION] [DEBUG]  [os.version]:[2.6.18-164.11.1.el5xen]
    [062110_121919530][][EXCEPTION] [DEBUG]  [LONG_RUNNING_JVM]:[true]
    [062110_121919530][][EXCEPTION] [DEBUG]  [user.home]:[/t01/demoap]
    [062110_121919530][][EXCEPTION] [DEBUG]  [user.timezone]:[GMT+05:30]
    [062110_121919530][][EXCEPTION] [DEBUG]  [java.awt.printerjob]:[sun.print.PSPrinterJob]
    --------------------------------------------------------------------------------lots of lines ----------------------------------------
    [GC 17474K->10837K(24648K), 0.0037890 secs]
    [GC 17685K->11057K(24648K), 0.0035530 secs]
    [GC 17905K->11271K(24648K), 0.0029030 secs]
    [GC 18119K->11488K(24648K), 0.0024650 secs]
    [GC 18336K->11702K(24648K), 0.0023940 secs]
    [GC 18550K->11919K(24648K), 0.0025010 secs]
    [GC 18767K->12133K(24648K), 0.0024460 secs]
    [GC 18981K->12344K(24648K), 0.0024020 secs]
    [GC 19192K->12575K(24648K), 0.0024790 secs]
    [GC 19423K->12781K(24648K), 0.0025650 secs]
    [GC 19629K->12991K(24648K), 0.0024010 secs]
    [GC 19839K->13212K(24648K), 0.0024430 secs]
    [GC 20060K->13427K(24648K), 0.0024160 secs]
    [GC 20275K->13641K(24648K), 0.0024440 secs]
    [GC 20489K->13857K(24648K), 0.0024410 secs]
    [GC 20705K->14073K(24648K), 0.0024570 secs]
    [GC 20921K->14284K(24648K), 0.0024340 secs]
    [GC 21132K->14504K(24648K), 0.0024580 secs]
    [GC 21352K->14719K(24648K), 0.0024620 secs]
    [GC 21567K->14935K(24648K), 0.0024600 secs]
    [GC 21783K->15151K(24648K), 0.0024360 secs]
    [GC 21999K->15365K(24648K), 0.0024180 secs]
    [GC 22213K->15004K(24648K), 0.0204220 secs]rgrds
    Edited by: new2appsdba on Jun 22, 2010 1:43 AM
    Edited by: new2appsdba on Jun 22, 2010 2:12 AM
    Edited by: new2appsdba on Jun 22, 2010 5:37 AM

  • Lexical References in oracle.apps.fnd.flex.kff.select

    Hi,
    I have one XML report and I am trying to Implement the Lexical References in Select.
    The bellow Code I wrote under <Lexical> tag
    <lexical type="oracle.apps.fnd.flex.kff.select" name="C_dest_locator_value" application_short_name="INV" id_flex_code="MTLL" id_flex_num=":P_STRUCT_NUM" segments="ALL" code_combination_table_alias="mil" multiple_id_flex_num="N" show_parent_segments="Y" output_type="VALUE"/>
    But in the Data It is retrieving as
    <C_DEST_LOCATOR_VALUE>fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;C_dest_locator_value&apos;, &apos;INV&apos;, &apos;MTLL&apos;, 101, mil.ORGANIZATION_ID, mil.INVENTORY_LOCATION_ID, &apos;ALL&apos;, &apos;Y&apos;, &apos;VALUE&apos;)</C_DEST_LOCATOR_VALUE>
    And in the RTF template I wrote the code as
    <?if:not(contains(C_DEST_LOCATOR_VALUE,'fnd_flex'))?><?C_DEST_LOCATOR_VALUE?><?end if?>
    But It is not displaying any thing. Any one has any clue what was went wrong on this.
    Please help me on this As one deliverable is pending .
    Thanks
    Nihar

    What is your application release?
    Not sure if I understand you correctly, but have you reviewed (How To Use Oracle.Apps.Fnd.Flex.Kff.Select To Retrieve Particular Segments And Not All Segments from a Flexfield [ID 1267032.1]) and see if it helps?
    Thanks,
    Hussein

  • From Oracle Reports to Bi Publisher  :)  [Closed]

    Hello.. First I'll explain our situation :)
    In our company when we create reports (using oracle reports) we have to insert in our before report trigger this: srw.user_exit('FND SRWINIT') ..An in the after report trigger this: srw.user_exit('FND SRWEXIT') Because this is needed for the CEMLIs (configurations, extensions, modifications, localization, and integrations) of the company in order to measure the time each report takes to finish.
    I’ve made some reports using XML Publisher (Bi Publisher) and they are working great :) ..But now some people here are asking me if I could use those same instructions in order to get the information of the time.
    I read at Tim’s Blog this:
    “.. In good ol Oracle Reports you just added the following command in your before report trigger: srw.user_exit('FND SRWINIT') and it was all done for you. In the world of BIP we go one step further. The executable that runs your data template sets the org id for you so you do not have to do anything. Now there is a caveat to this, as long as you are using the BIP delivered executable (XDODTEXE) in EBS to call the data engine to run your data templates you're fine..” (http://blogs.oracle.com/xmlpublisher/2007/03/22)
    We are using the executable XDODTEXE in EBS so I told them we don’t need to use those commands. But when they tested a process in order to get the info of the time (CEMLIs) they got no information.
    Now I’m trying to insert in the data template the beforeReport and afterReport Triggers. But.. I don’t know what I should insert as the source:
    <dataTrigger name=”beforeReport” source=”???????”/>
    *Should I use something like SRW.INIT?
    *Or is this already done when we run the concurrent using the XDODTEXE executable? (if yes, how can I verify this?)
    *Is any of this possible (use those instructions of reports in bi publisher)?
    Any help would be appreciated.. Thanks :)
    ~ Cori ~
    (sorry if I misspelled something.. my English is not very good hehe :P)

    Hello Tim, Thanks for your reply :)
    Some people of Oracle told us we needed to use this command because with this a trace file is created. This are the steps they gave us (this is only used at OnDemand):
    1) to be able to run a CEMLI, on the report you have to use in a before report trigger: srw.user_exit('FND SRWINIT'). In the after report trigger: srw.user_exit('FND SRWEXIT') (we didn't follow this step because we're using XDODTEXE as the executable)
    2) in the report add a numeric parameter named ‘P_CONC_REQUEST_ID’
    3) activate the Trace Option in the concurrent of the report.
    4) execute the concurrent of the report
    5) execute the concurrent ‘CEMLI Performance Checker’
    6) fill the cemli_performance_standard file (this is a .xls file we have) with the information that was on the output of step No 5
    We weren't getting the output of step No 5.. But now we could make it work :D
    We were skipping step No 2, we just added the parameter and now everything is working fine :)
    Thanks :)
    ~ Cori ~

  • How to display flex fileld data in Oracle Reports

    Hi All,
    I am using Oracle Reports to display Key Flex field information of Oracle Applications in reports by using SRW.user_exit.
    These are steps which I did during my development time
    P_FLEX_DATA
    P_STRUCT_NUM intial value as 101
    defined as Parameters, in P_FLEX_DATA calling all segment values as shown in standard reports.
    I've used P_FLEX_DATA in sql query of the report and defined two formula cols C_FLEXFIELD and C_DESC_ALL and added below mentioned codes:
    C_FLEXFIELD formula column query:
    SRW.REFERENCE(:P_STRUCT_NUM);
    SRW.REFERENCE(:C_FLEXDATA);
    SRW.USER_EXIT('FND FLEXIDVAL
    CODE="GL#"
    NUM=":P_STRUCT_NUM"
    APPL_SHORT_NAME="SQLGL"
    DATA=":C_FLEXDATA"
    VALUE=":C_FLEXFIELD"
    DISPLAY="ALL"');
    RETURN(:C_FLEXFIELD);
    C_DESC_ALL formula column query:
    SRW.REFERENCE(:P_STRUCT_NUM);
    SRW.REFERENCE(:C_FLEXDATA);
    SRW.USER_EXIT('FND FLEXIDVAL
    CODE="GL#"
    NUM=":P_STRUCT_NUM"
    APPL_SHORT_NAME="SQLGL"
    DATA=":C_FLEXDATA"
    DESCRIPTION=":C_DESC_ALL"
    DISPLAY="ALL"');
    RETURN(:C_DESC_ALL);
    But I did not find any output for these two columns. I want to display flex fileld description as per code combination id wise in reports. I am using reports 10g for developing the reports. Please help in this regard.
    Regards,
    Prasad

    How do you execute the call for a Report?
    URL?

  • Error:  oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation

    Hi all,
    I am trying to extend the supplier address book site creation controller: ByrCrtStCO and loop inside the processFormRequest method through all the operating unit related sites on that page.
    I have the following code:
    package XXXX.oracle.apps.pos.supplier.webui;
    import java.sql.SQLException;
    import java.sql.Types;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.OARow;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.pos.supplier.components.server.ByrAddrAMImpl;
    import oracle.apps.pos.supplier.webui.ByrCrtStCO;
    import oracle.apps.pos.supplier.webui.SupplierUtil;
    import oracle.jdbc.OracleCallableStatement;
    import oracle.jbo.RowSetIterator;
    import oracle.jbo.Row;
    * @author AO *
    public class xxxpoByrCrtStCO  extends ByrCrtStCO
       //constructor
        public xxxpoByrCrtStCO()
        public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
            //call super to continue the rest of the processing
            super.processFormRequest(oapagecontext, oawebbean);
            //update the supplier site on all records with the vat code
            updateVendorSites(oapagecontext, oawebbean);
        private void updateVendorSites(OAPageContext oapagecontext, OAWebBean oawebbean) {
            OAApplicationModule applicationModule = oapagecontext.getApplicationModule(oawebbean);
            if(oapagecontext.getParameter("applyBtn") != null)
                OAViewObject oaviewobject =  (OAViewObject) applicationModule.findViewObject("CrtSitesVO");           
                  if (oaviewobject != null) {
                                      int count = oaviewobject.getRowCount();
                                      if(oapagecontext.isLoggingEnabled(2))
                                                             oapagecontext.writeDiagnostics(this, (new StringBuilder()).append(" Count: ").append(count).toString(), 2);
                        else {
                            if(oapagecontext.isLoggingEnabled(2))
                                                   oapagecontext.writeDiagnostics(this, (new StringBuilder()).append(" Count: ").append("null").toString(), 2);
    I get the below error:  What could be problem?
    Logout
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select 'N' as select1, substr(:1,1,15) as Site_Name, organization_id, name,:2 as Site_Name_Display from hr_operating_units WHERE mo_global.check_access(organization_id) = 'Y') QRSLT ORDER BY name at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:3001) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1885) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:550) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:438) at _OA._jspService(_OA.java:212) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:911) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:662) ## Detail 0 ## java.sql.SQLException: Missing IN or OUT parameter at index:: 1 at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1752) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3444) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3493) at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491) at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:860) at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669) at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723) at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source) at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4560) at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743) at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:688) at oracle.jbo.server.ViewRowSetImpl.getRowCount(ViewRowSetImpl.java:1932) at oracle.jbo.server.ViewObjectImpl.getRowCount(ViewObjectImpl.java:6011) at xxx.oracle.apps.pos.supplier.webui.xxxpoByrCrtStCO.updateVendorSites(xxxpoByrCrtStCO14.java:85) at xxx.oracle.apps.pos.supplier.webui.xxxpoByrCrtStCO.processFormRequest(xxxpoByrCrtStCO.java:46) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:827) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1205) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1039) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1005) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:860) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1039) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1005) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:860) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2997) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1885) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:550) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:438) at _OA._jspService(_OA.java:212) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:911) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:662) java.sql.SQLException: Missing IN or OUT parameter at index:: 1 at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1752) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3444) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3493) at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491) at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:860) at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669) at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723) at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source) at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4560) at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743) at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:688) at oracle.jbo.server.ViewRowSetImpl.getRowCount(ViewRowSetImpl.java:1932) at oracle.jbo.server.ViewObjectImpl.getRowCount(ViewObjectImpl.java:6011) at xxx.oracle.apps.pos.supplier.webui.xxxpoByrCrtStCO.updateVendorSites(xxxpoByrCrtStCO14.java:85) at xxx.oracle.apps.pos.supplier.webui.xxxpoByrCrtStCO14.processFormRequest(xxxpoByrCrtStCO.java:46) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:827) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1205) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1039) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1005) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:860) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1039) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1005) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:860) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2997) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1885) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:550) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:438) at _OA._jspService(_OA.java:212) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:911) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:662) 
    Logout
    Copyright (c) 2006, Oracle. All rights reserved.

    Hi all
    This is the method I used to update the vendor sites.  It takes a list of vendor site IDs retrieved in previous sections and updates one by one.  Note the Super method is invoked before this method and another method not mentioned here is used to retrieve the vendor site IDs from the operating unit the user checked.
         private void updateVendorSites(OAPageContext oapagecontext, OAWebBean oawebbean, HashMap<oracle.jbo.domain.Number, String> updateList ) {
            if(oapagecontext.isLoggingEnabled(2))
                oapagecontext.writeDiagnostics(this, "xxXXXXpoByrCrtStCO - updateVendorSites(OAPageContext, OAWebBean).BEGIN", 2);
                System.out.println("xxXXXXpoByrCrtStCO - updateVendorSites(OAPageContext, OAWebBean).BEGIN" );           
                try {
                // Initalize variables      
                oracle.jbo.domain.Number vendorSiteId = null;
                oracle.jbo.domain.Number orgId = null;
                String vatCode = null;
                // THis is a nested AM, so the view for operating units/sites is not in the root AM.  It is in the ByrAddrAM.
                   // In order to update the tax code on the newly created supplier site, we need to get the AM and VO for the Tax and Reporting Update Tax code page
                ApplicationModule maintainpartytaxprofilesam = oapagecontext.getRootApplicationModule().findApplicationModule("MaintainPartyTaxProfilesAM");
                SearchSuppAcctSitesVOImpl searchsuppacctsitesvoimpl =  (SearchSuppAcctSitesVOImpl) maintainpartytaxprofilesam.findViewObject("SearchSuppAcctSitesVO");             
                Set set = updateList.entrySet();
                Iterator i = set.iterator();           
                while (i.hasNext()) {
                      System.out.println("xxXXXXpoByrCrtStCO - updateVendorSites Inside while" );
                      Map.Entry<oracle.jbo.domain.Number, String> updateCode = (Map.Entry<oracle.jbo.domain.Number, String>) i.next();
                     // Initialize variables used in the loop to ensure no exchange of data between rows.  This is just a precaution.
                     vendorSiteId = null;
                     orgId = null;
                     vatCode = null;
                      System.out.println("xxXXXXpoByrCrtStCO - updateVendorSites before cast org id" );
                     orgId =  updateCode.getKey();
                      System.out.println("xxXXXXpoByrCrtStCO - updateVendorSites before cast vatCode" );
                     vatCode = updateCode.getValue();
                     if(oapagecontext.isLoggingEnabled(2))
                       oapagecontext.writeDiagnostics(this, (new StringBuilder()).append(" OrgId: ").append(orgId).toString(), 2);
                      System.out.println(" OrgId: " + orgId.toString());
                      System.out.println(" vatCode: " + vatCode);
                      // Get the vendor site ID from separate method
                      vendorSiteId = getVendorSiteId(oapagecontext, oawebbean, orgId);
                      // Find the row in the ap_supplier_sites_all table for that vendor Site ID.
                      searchsuppacctsitesvoimpl.executeVOQuery (vendorSiteId);
                      SearchSuppAcctSitesVORowImpl searchsuppacctsitesvorowimpl = (SearchSuppAcctSitesVORowImpl)searchsuppacctsitesvoimpl.first();
                      if(searchsuppacctsitesvorowimpl != null)
                          System.out.println("xxXXXXpoByrCrtStCO - updateVendorSites before set vat code" );
                            searchsuppacctsitesvorowimpl.setVatCode(vatCode);
                    oapagecontext.getApplicationModule(oawebbean).getTransaction().commit();
              catch (OAException oaEx) {          
                throw new OAException(oaEx.getMessage(),  (byte)0);

  • Oracle.apps.fnd.cache.CacheException

    Hi,
    I am getting following exception while I m running auto generated reports in server.
    But its working fine in local machine.
    oracle.apps.fnd.cache.CacheException
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
    at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1485
    at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:354)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromD
    B(ExtendedProfileStore.java:210)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(Exte
    ndedProfileStore.java:169)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProf
    ileStore.java:148)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDataba
    seValues(DebugEventManager.java:1149)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(Deb
    ugEventManager.java:1010)
    at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(Debug
    EventManager.java:979)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEv
    entManager.java:946)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEv
    entManager.java:933)
    at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
    at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:932)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
    :917)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
    :882)
    at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:742)
    at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:933)
    at uttara.oracle.apps.uttaraimc.reports.jasper.DisabilitySummaryReportGe
    nerator.getServiceApplicationModule(DisabilitySummaryReportGenerator.java:132)
    at uttara.oracle.apps.uttaraimc.reports.jasper.DisabilitySummaryReportGe
    nerator.generateReport(DisabilitySummaryReportGenerator.java:35)
    at uttara.oracle.apps.uttaraimc.reports.jasper.WeeklyReportGenerator.gen
    erateWeeklyReports(WeeklyReportGenerator.java:90)
    at uttara.oracle.apps.uttaraimc.reports.jasper.WeeklyReportGenerator.mai
    n(WeeklyReportGenerator.java:27)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: Error in IAS Cache
    : java.lang.NullPointerException: null Connection
    at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:678)
    at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4684
    at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4507)
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216)
    ... 20 more
    Here is the code for generator class,
    public class EconomicSummaryReportGenerator implements AutoReportGenerator {
    public EconomicSummaryReportGenerator() {
    public boolean generateReport(String districtName, String townName,
    String wardName, String htmlPath,
    String areaCode) {
    System.out.println("Generating Economic Status Report for: " +
    areaCode);
    boolean stat = false;
    try {
    OAApplicationModuleImpl am = getServiceApplicationModule();
    Boolean executeQuery = BooleanUtils.getBoolean(false);
    if (wardName == null)
    wardName = "";
    if (townName == null)
    townName = "";
    Serializable[] parameters =
    { null, null, null, districtName, townName, wardName, "",
    executeQuery };
    Class[] paramTypes =
    { String.class, String.class, String.class, String.class,
    String.class, String.class, String.class, Boolean.class };
    am.invokeMethod("initEconomicSummaryDetails", parameters,
    paramTypes);
    if (wardName == "")
    wardName = null;
    if (townName == "")
    townName = null;
    OAViewObject districtTownWardVO = null;
    if (districtName != null && townName != null && wardName != null)
    districtTownWardVO =
    (OAViewObject)am.findViewObject("EconomicStatusSummaryDistTownWardVO1");
    else if (districtName != null && townName != null &&
    wardName == null)
    districtTownWardVO =
    (OAViewObject)am.findViewObject("EconomicStatusSummaryDistTownVO1");
    else if (districtName != null && townName == null &&
    wardName == null)
    districtTownWardVO =
    (OAViewObject)am.findViewObject("EconomicStatusSummaryDistrictVO1");
    EconomicStatusReportImpl repImpl = new EconomicStatusReportImpl();
    htmlPath =
    htmlPath + CDVReportConstants.economicSummaryReportName +
    areaCode;
    String status =
    repImpl.retrieveCDVRpt(districtTownWardVO, districtName,
    townName, wardName, htmlPath);
    if (am != null)
    am.remove();
    stat = (status == null) ? false : true;
    if (stat == false)
    System.out.println("Error: Report cannot be created at: " +
    htmlPath + " status: " + stat);
    else
    System.out.println("Report created at: " + htmlPath +
    " status: " + stat);
    } catch (Exception ex) {
    ex.printStackTrace();
    System.out.println("Error: Report cannot be created at: " +
    htmlPath + " status: " + stat);
    System.out.println("Error:" + ex);
    return stat;
    private static OAApplicationModuleImpl getServiceApplicationModule() {
    WebAppsContext ctx = new WebAppsContext(CDVReportConstants.dbcPath);
    // Process the error stack to make sure that the WebAppsContext object
    // was created correctly.
    OAException oaex =
    OAExceptionUtils.processAOLJErrorStack(ctx.getErrorStack());
    if (oaex != null) {
    throw oaex;
    ctx.getSessionManager().validateLogin(CDVReportConstants.userName,
    CDVReportConstants.passWord);
    ctx.getSessionManager().setResp(CDVReportConstants.applicationId,
    CDVReportConstants.responsibilityId);
    // Process the error stack again before creating the root application
    // module with the WebAppsContext instance.
    oaex = OAExceptionUtils.processAOLJErrorStack(ctx.getErrorStack());
    if (oaex != null) {
    throw oaex;
    return (OAApplicationModuleImpl)OAApplicationModuleFactory.createRootOAApplicationModule(ctx,
    "uttara.oracle.apps.uttaraimc.reports.server.EconomicStatusReportAM");
    What might be the reason for this exception?
    Please suggest.
    Thanks & Regards,
    Sagarika

    Hi,
    wrong forum. Please try the Apps forum on OTN
    Frank

  • Method init not found in class oracle.apps.fnd.cp.request.C

    Hi all,
    I am reffering to Oracle Application Framework Developer’s Guide Release
    11.5.10 RUP3 December 2, 2005
    As given in the document (page 275) Concurrent Processing: Request Submission
    and Monitoring ,I want the Concurrent Processing Request Submission and Monitoring user interfaces available on my OA Framework-based pages.
    I have followed the steps given in the OADevGuide but when the custom CO
    is compiled it gives following error.
    method <init> not found in class oracle.apps.fnd.cp.request.ConcurrentRequest.
    The import statement in our code is as followed
    import oracle.apps.fnd.cp.request.ConcurrentRequest;
    import oracle.apps.fnd.cp.request.RequestSubmissionException;
    wheather I have to open a SR on metalink asking for an updated file ConcurrentRequest.class ?
    Thanks in advance,
    Anant.

    Hi All,
    Thanks Prabhat for that update.
    Thanks tapashray cause u r update on thread Apply not being caught in debugger helped me a lot.
    Right now I am facing a different problem.
    On click of submit button The page gets called but it gives error as
    oracle.apps.fnd.framework.OAException: Could not load application module 'oracle.apps.fnd.cp.srs.server.RequestAM'.
    In myprojects folder under oracle dir at reqd path I have this AM .
    Whether I need to add the bc4j pkg "oracle.apps.fnd.cp.srs.server.RequestAM" in my project . I dont think so as I am not extending any class/VO or doing any substitution.
    my code is as followed
    public void processFormData(OAPageContext pageContext, OAWebBean webBean)
    System.out.println("Inside ProcessFormData");
    if (pageContext.getParameter("Submit")!= null )
    System.out.println("Inside Submit ");
    try
    // get the JDBC connection
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    //Connection conn = (Connection)am.getOADBTransaction();
    OADBTransaction conn = am.getOADBTransaction();
    System.out.println("OADBTransaction conn "+conn);
    ConcurrentRequest cr = new ConcurrentRequest(conn.getJdbcConnection());
    System.out.println(" ConcurrentRequest cr "+cr);
    cr.setDeferred();
    // call submit request
    Vector param = new Vector();
    String selectedValue = pageContext.getParameter("reportList");
    System.out.println("selectedValue -> "+selectedValue);
    param.add(selectedValue);
    System.out.println("before cr.submitRequest ");
    int reqId = cr.submitRequest("SQLGL", "RGFSGXML", "Run FSG and XML Publisher",null, false, param);
    // int reqId = cr.submitRequest("SYSADMIN", "FNDSCURS", "User Responsibility Report",null, false, param);
    System.out.println("After cr.submitRequest reqId "+reqId);
    conn.commit();
    System.out.println("After commit");
    // redirect page to Request Scheduling page
    HashMap parameters = new HashMap();
    String url = "OA.jsp";
    parameters.put("akRegionApplicationId", "0");
    parameters.put("akRegionCode", "FNDCPPROGRAMPAGE");
    String id = "" + reqId + "";
    parameters.put("requestMode", "DEFERRED");
    parameters.put("requestId", id);
    System.out.println("before page forward ");
    pageContext.setForwardURL("BSE_CONC_REQUEST"
    ,OAWebBeanConstants.KEEP_MENU_CONTEXT
    ,null
    ,parameters
    ,true
    ,OAWebBeanConstants.ADD_BREAD_CRUMB_NO
    ,OAWebBeanConstants.IGNORE_MESSAGES);
    catch(RequestSubmissionException reportError)
    System.out.println("RequestSubmissionException raised "+reportError.getStackTrace());
    catch(SetDeferredException deferred)
    System.out.println("SetDeferredException raised "+deferred.getStackTrace());
    super.processFormData(pageContext,webBean);
    Hope I have given all the details.
    Regards,
    Anant.
    Message was edited by: Removed the error stack so that thread details remain on the same page
    Anant

  • Converting Oracle Reports to XML Publisher

    Hello,
    I've been trying to convert my Oracle Reports to use XML Publisher templates and make the canned reports more visually appealing. I've been following the steps described in note 295409.1 on metalink to change OR output to XML and calling the XMLP Engine to apply the template.
    However I'm encountering errors when XMLP is calling the template. In order to jump start my template development, I've used the utility in Release 12 to change the RDF file into the PL/SQL packages and RTF template. Then I am attempting to reengineer these templates back into 11.5.10 and uploading them via XML Publisher Administrator. I am experiencing the errors described in the following forum thread:
    XML Publisher error..urgent
    I've located the problem within the template itself, but is this because of the conversion utility in release 12 (XML Version 5.6.3) is not compatible with our current XMLP version of 5.6.2 in 11i?
    Any assistance would be helpful.
    Thanks!
    Ellen

    This could have something to do with the fact that your printer is not set up correctly. Can you run a plain text (OReports) file output to the same printer? If not, then the printer is not set up in FND correctly. If you can ...
    Remeber that unless you have a more modern printer that can handle PDF documents natively then XMLPs PDF is going to need to be converted to PS or PCL. I would suggest you investigate the PASTA printer driver and get that set up. It provides the ability to call a program pdf2ps for instance, to convert the PDF to PS. There is a bunch of info on metalink
    Tim

Maybe you are looking for

  • How to create label & text items in a page dynamicly(TOP URGENT)

    Dear all; did any1 tried before to create a PLSQL which can create labels or text items?!! i have a page which i want to create labels according to the count of rows in the Database table? Regards;

  • I tried install photoshop ,Erro was under ,My pc is windows 7

    Please teach me How to clear this problem. sorry I am beginner of PC!!! ----------- Payload: Microsoft Visual C++ 2012 Redistributable Package (x64) 11.0.61030.0 {3E272A93-C06B-4206-AD02-0EBE02535E20} ----------- ERROR: Third party payload installer

  • Leave to screen

    Hi All, I have the requirement where i need to give error msg then i have to go the last screen. I am implementing a customer exit in i check for vendor if it is initial then i have to give error msg and then i have to go the first screen(whose scree

  • Problem with Workload analysis

    Hi All, we recently added one system to SMD. when I enter workload analysis in SMD for this system, I see the below two error. 1. 'Message A RSDODSO 162 cannot be processed in plugin mode HTTP' 2. Error when generating dataProvider Please suggest whe

  • Security status not satisfied.- very urgent - please help me out

    hi, I am using Java card (JCOP v2.241) and eclipse. Few days back I have implemented Caesar cipher and now I have installed another applet for DES... I did not do init update or key .. Now it is showing me security condition not satisfied.69 82 Abort