Naming a customisation by extension concurrent program - best practice
Hi,
I am developing a customisation by extension of the seeded concurrent program ‘Open Purchase Orders Report(by Cost Center)’ and need to decide on a name for my custom program in the Concurrent Programs (FNDCPMCP) form.
I would like to know if there is documented best practice for naming my custom program i.e. should I name my custom program with a prefix to differentiate it from the seeded version e.g. ‘ABCD Open Purchase Orders Report(by Cost Center)’.
Thanks in advance.
Mark
Hi,
have a look at Oracle Application Developer's Guide. There's a chapter (named "Defining your custom application")
with recommendations regarding defining custom applications:
http://docs.oracle.com/cd/B34956_01/current/html/docset.html
In fact you should start with defining a custom application in System Administrator (according to Oracle's recommendation
it shouldn't be more than 4 characters, starting with "XX" to avoid conflicts with Oracle's own application short names).
After that you can register your custom reports/forms/concurrents with the newly created application.
Regards
Similar Messages
-
Customising/Personalising the XDODTEXE Java Concurrent Program
Hi,
Does Oracle provide any API/Personalisation for the generic XDODTEXE Java Concurrent Program. I am not talking about customising any particular report by modifying the Data Template XML in the Data Definition of that report. Rather my requirement is something like the following...
I want all reports using XDODTEXE Java Concurrent Program as the executable to insert the XML data generated by the report to a generic custom Table. Something like an extra Generic After Report Trigger/program which XDODTEXE will execute apart from the codes in the Data template XML. I dont want to modify the individual XML Data Template.. but the XDODTEXE runs it for every report run.
Does Oracle provide an API or Hook to accomplish the same?
Thanks
Biju RadhakrishnanPl post details of OS, database and EBS versions, along with what business/technical problem you are trying to solve. AFAIK, I am not aware of anything that will let you write the output from XDODTEXE to a custom table.
HTH
Srini -
How to Invoke Extensions in Java Concurrent Programs - Urgent
hi all,
can any one help me in understanding how to invoke Extensions (attached to Rules) in Java Concurrent Programs (part of autoconfig)
it is migration task from FC to Extensions
Please suggest
thanks,
Srikanthif you want to invoke the rule, that triggers the Extension, create a rule which invoke the rule, like "ALWAYS TRUE" REQ Extension. Then as soon as the Model in instaniated, the Extension will be executed.
-
Best practice: "Turning off" concurrent programs
We have a number of concurrent programs that are no longer used. In addition to
application-side setup, some concurrent programs have corresponding files on the
operating system that are no longer required; others have database code that is
no longer required.
Although most programs have been untouched, there are a few that people tried to
clean up in the past: Some programs have been disabled via the Concurrent
Program Definition screen; others have been removed from all request groups;
still others have been renamed with "Old" appended to the previous name.
Is there a recommended approach to this clean-up? What have you guys done?
Carrie
Carrie Hollack
[email protected]Due to audit reasons you can only disable and not remove the programs from the system.
Sam
http://www.appsdbablog.com -
Hi,
Can somebody help me on how to revise a standard concurrent program with a Spawned executable method?
I just need to add the TIN, company name, and address in the header level of the the following standard concurrent programs.
1. Program Name: Receipt Register
Short Name: ARRXRCRG
Executable Name: FARXPBSH
2. Program Name: Publish Journals - Voucher
Short Name: GLRXVCJ
Executable Name: FARXPBSH
3. Program Name: Transaction Register
Short Name: ARRXINVR
Executable Name: FARXPBSH
Although, I've read in some threads that a SPAWNED concurrent program is typically a C or ProC program and that it's usually not readable. It was also mentioned that the best way to deal with it is to just read the output from the spawned program and create a new program to be able to apply additional requirements.
The thing is I would like to avoid the idea of creating a new program since I just plan to add the company name, address, and TIN in the header level.
I hope you can help me on this.
Thanks a lot,
User102User102,
If you modify any standard E-Business code then when you apply a patch that contains a new version of the standard code then your customisation is likely to be overwritten by code in the patch .
I can't see any easy answer to your question as Oracle don't supply the source code to spawend programs so you don't have the code to modify .
One convoluted possibility is to write a host prorgam (shellscript) to which you pass the parameters you want and then call the standard program via the shellscript to create the output as normal then use the shellscript to add the extra information you want to the output file. -
FNDLOAD: How to remove a concurrent program from a request group
Hi,
I want to remove a concurrent program from a request group using FNDLOAD utility. Since impacted environment is Production (controlled environment) I do not want to remove concurrent program manually from the request group. Is there a way to use FNDLOAD utility for this purpose or some other means?
Environment: Oracle EBS R12.1.1
OS: Linux
Thanks,
NitinHi,
Unfortunately this CP cannot be disabled as it has to be removed from certain RGs but not all. Also removing it through RG forms is always an option but production gatekeepers won't allow to do that. I would have done that in a min.
If FNDLOAD is not an option then I guess only other option is pl/sql script.
Best regards,
Nitin -
Passing concurrent program parameters thru OA.jsp?akRegion
Hi, I'm trying to create a submit button thru a personalization in order to print a custom expense report (rdf).
Thru a personlization, I've been able to create a button and set the "Destination URL" to use OA.jsp?akRegionCode=FNDCPPROGRAMPAGE......
I'm almost there, but the only thing left is that I'm trying to figure out how to pass parameter the the concurrent program in the destination URL.
For example, I've created an item thru a personalization
ID : XX_SUBMIT
Destination URL : OA.jsp?akRegionCode=FNDCPPROGRAMPAGE&akRegionApplicationId=0&programApplName=XX&programRegion=Hide&scheduleRegion=Hide¬ifyRegion=Hide&printRegion=Hide&&programName=XX_EXPENSE_REPORT&P_ACCOUNT_NO={$ReportNumber}
Prompt : Print Report
Target: _blank
When on my expense report page, on each line there is a button to print the report itself. Basically, I'm calling FNDCPPROGRAMPAGE and hide a couple of sub-pages and then I want to be able to pass the report number the the concurrent program 'XX_EXPENSE_REPORT'.
My problem is that if in the concurrent program definition I uncheck "Display" parameter, the report_number shows in the URL but doesn't get transferred to the report so my output is blank. The report didn't receive the report number value but I saw the value in the URL.
If I check the 'Display' parameter, after clicking on the "Print Report button", system ask me for the Report number input which I don't want to do.
I'd like to pass it automatically to the concurrent program based and not input it.
Does anybody knows how to solve or is it possible witout extending controller and other stuffs..
I'm am missing something ?
Thanks for your help.Wee too face similar issue.
Are you populating default falue for Report Number from Database sequence?
if yes you can handle this in 'XX_EXPENSE_REPORT' (in PLSQL or RDF based on your execution metohd).
another oprion is dont hide the parameter page, instead make the parameters read only using controller extension.
Regards,
Ram -
Not able to run sample Java concurrent program in Jdevloper
Hi
I am using a Patch p5856648_R12_GENERIC
Trying to run following program
package cisco.com.test;
import oracle.apps.fnd.cp.request.CpContext;
import oracle.apps.fnd.cp.request.LogFile;
import oracle.apps.fnd.cp.request.OutFile;
import oracle.apps.fnd.cp.request.ReqCompletion;
import oracle.apps.fnd.util.NameValueType;
import oracle.apps.fnd.util.ParameterList;
public class HelloWorldApp {
public HelloWorldApp() {
public void runProgram(CpContext ctx) {
//Obtain the reference to the Output file for Concurrent Prog
OutFile out = ctx.getOutFile();
//Obtain the reference to the Log file for Concurrent Prog
LogFile log = ctx.getLogFile();
try {
//To read parameters passed via Concurrent Program
String myName = null;
ParameterList lPara = ctx.getParameterList();
while (lPara.hasMoreElements()) {
NameValueType aNVT = lPara.nextParameter();
if (aNVT.getName().equalsIgnoreCase("My Name"))
myName = aNVT.getValue();
//Write your logic here
out.writeln("This will be printed to the Output File");
log.writeln("This will be printed to the Log File", 0);
//Request the completion of this Concurrent Prog
//This step will signal the end of execution of your Concurrent Prog
ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL,
"Completed.");
//Handle any exceptional conditions
catch (Exception e) {
StackTraceElement ste[] = e.getStackTrace();
for (int i = 0; i < ste.length; i++) {
log.writeln(ste.toString(), 0);
I have made changes in run configuration
C:\Softwares\p5856648_R12_GENERIC\jdevhome\jdev\myclasses\oracle\apps\fnd\cp\request\Run.class
In Java Option
jre -Ddbcfile=C:\Softwares\p5856648_R12_GENERIC\jdevbin\oaext\dbc_files\secure\dv3qtc.dbc -Drequest.logfile=c:\jcpdemo.log -Drequest.outfile=c:\jcpdemo.out
Program arguments
cisco.com.test.JCPDemoClass
Run directory
C:\Softwares\p5856648_R12_GENERIC\jdevhome\jdev\myclasses
When I click on run
I am getting following Messages
Validation error in document "HomePG":
Invalid value "/oracle/apps/fnd/wf/worklist/webui/AdvancWorklistRG" for property "Extends" on component "/oracle/apps/fnd/framework/toolbox/tutorial/webui/HomePG.Notifications". Component "/oracle/apps/fnd/wf/worklist/webui/AdvancWorklistRG" cannot be referenced from "/oracle/apps/fnd/framework/toolbox/tutorial/webui/HomePG.Notifications" because it violates scope restrictions. validating OA Extension XML "C:\Softwares\p5856648_R12_GENERIC\jdevhome\jdev\myprojects\oracle\apps\fnd\framework\toolbox\tutorial\webui\HomePG.xml" file.
validating OA Extension XML "C:\Softwares\p5856648_R12_GENERIC\jdevhome\jdev\myprojects\oracle\apps\fnd\framework\toolbox\tutorial\webui\PoDescITPG.xml" file.
validating OA Extension XML "C:\Softwares\p5856648_R12_GENERIC\jdevhome\jdev\myprojects\oracle\apps\fnd\framework\toolbox\tutorial\webui\PoDetailsPG.xml" file.
validating OA Extension XML "C:\Softwares\p5856648_R12_GENERIC\jdevhome\jdev\myprojects\oracle\apps\fnd\framework\toolbox\tutorial\webui\PoLinesITPG.xml" file.
validating OA Extension XML "C:\Softwares\p5856648_R12_GENERIC\jdevhome\jdev\myprojects\oracle\apps\fnd\framework\toolbox\tutorial\webui\PoReviewITPG.xml" file.
C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdk\jre\bin\java.exe -jar C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\lib\ojc.jar -source 1.5 -target 1.5 -noquiet -warn -nowarn:320 -deprecation:self -nowarn:560 -nowarn:704 -nowarn:489 -nowarn:415 -nowarn:909 -nowarn:412 -nowarn:414 -nowarn:561 -nowarn:376 -nowarn:371 -nowarn:558 -nowarn:375 -nowarn:413 -nowarn:377 -nowarn:372 -nowarn:557 -nowarn:556 -nowarn:559 -encoding Cp1252 -g -d C:\Softwares\p5856648_R12_GENERIC\jdevhome\jdev\myclasses -make C:\Softwares\p5856648_R12_GENERIC\jdevhome\jdev\myclasses\JCPDemoProject.cdi -classpath C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdk\jre\lib\rt.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdk\jre\lib\i18n.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdk\jre\lib\sunrsasign.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdk\jre\lib\jsse.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdk\jre\lib\jce.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdk\jre\lib\charsets.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdk\jre\classes;C:\Softwares\p5856648_R12_GENERIC\jdevhome\jdev\myclasses;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\lib\jdev-rt.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdbc\lib\ojdbc14dms.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdbc\lib\orai18n.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdbc\lib\ocrs12.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\diagnostics\lib\ojdl.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\lib\dms.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jlib\jdev-cm.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\lib\adfshare.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\lib\bc4jmt.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\lib\collections.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\lib\bc4jct.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\lib\xmlparserv2.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jlib\ojmisc.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jlib\commons-el.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jlib\jsp-el-api.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jlib\oracle-el.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\lib\bc4jctejb.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\j2ee\home\lib\ejb.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\lib\bc4jmtejb.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\jlib\bc4jhtml.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\jlib\datatags.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\jlib\bc4juixtags.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\jlib\graphtags.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\j2ee\home\lib\ojsp.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\j2ee\home\jsp\lib\taglib\ojsputil.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\j2ee\home\oc4j.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\j2ee\home\lib\oc4j-internal.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\j2ee\home\lib\servlet.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\lib\ojc.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jlib\jewt4.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\regexp.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\share.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\uix2.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\oaext\mds\lib\mdsrt.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\oaext\lib\mdsdt.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\oaext\lib\oamdsdt.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\fwkjbo.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\fwk.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\wf.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\ak.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\flex.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\aolj.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\collections.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\appsSSO.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\concurrent.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\oamMaintMode.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\wsp.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\fwkCabo.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\diagnostics.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\wsrp-container.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\pdkjava.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\ptlshare.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\xml.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\wsrp-container-types.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\jaxb-impl.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\jaxb-libs.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\jazn.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\jazncore.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\bibeans\lib\biamlocal.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\bibeans\lib\bipres.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\bibeans\lib\bicmn.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\bibeans\lib\bidatasvr.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\bibeans\lib\bidataclt.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\bibeans\lib\bidatacmn.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\bibeans\lib\biext.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\bibeans\lib\bicmn-nls.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\bibeans\lib\bipres-nls.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\bibeans\lib\bidata-nls.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\bibeans\lib\olap_api.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\lib\bc4jdomorcl.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\jlib\bc4jdatum.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\rosettaRt.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\jttComn.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\iasjoc.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\pat.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\patch_jars;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\portalFlexComps.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\svc.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\appslibrt\svctester.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\lib\xml.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\lib\adfm.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\jlib\adfui.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\lib\adfbinding.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\jlib\bc4jtester.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jlib\help4.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jlib\share.jar;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jlib\oracle_ice.jar -sourcepath C:\Softwares\p5856648_R12_GENERIC\jdevhome\jdev\myprojects;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdk\src.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\src\adfmsrc.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\src\bc4jsrc.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\src\bc4jaddinsrc.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\BC4J\src\bc4jhtmlsrc.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\src\uix2-src.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\oaext\mds\src\mdsrtSrc.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\oaext\src\oamdsdtSrc.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\src\fwkjboSrc.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin\jdev\src\fwkSrc.zip;C:\Softwares\p5856648_R12_GENERIC\jdevbin
[3:06:29 PM] Compilation complete: 0 errors, 56 warnings.
And in log file
The target JCPDemoClass.java cannot be started as a servlet, because the class cisco.com.test.JCPDemoClass does not extend javax.servlet.GenericServlet.
The target JCPDemoClass.java cannot be started as an application, because the class JCPDemoClass does not have a main method.
Can you please help me?
-Thanks in advance !!Have you noticed this ?
The target JCPDemoClass.java cannot be started as a servlet, because the class cisco.com.test.JCPDemoClass does not extend javax.servlet.GenericServlet.
The target JCPDemoClass.java cannot be started as an application, because the class JCPDemoClass does not have a main method. -
Java Concurrent Program Errors out
Hi All,
Request you to help me in this issue as this is on high priority.
we have registered a Java Concurrent Program Named Genus Merge Two P45 Pdf's which gives the output in pdf format.
The concurrent program errors out showing the log as follows :
GENUS Custom: Version : UNKNOWN
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
GEN_MERGE_TWO_PDFS module: Genus Merge Two P45 Pdf's
Current system time is 10-MAR-2010 07:10:43
Exception in static block of jtf.cache.appsimpl.AppsCacheLogger. Stack trace is: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1509)
at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:362)
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.configureUsingDatabaseValues(DebugEventManager.java:1201)
at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1044)
at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1013)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:980)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:967)
at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:593)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:570)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:292)
at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1002)
at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContextWithDBCFile(ArchitectureWrapper.java:143)
at oracle.apps.jtf.cache.ArchitectureWrapper.createDefaultAppsContext(ArchitectureWrapper.java:107)
at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContext(ArchitectureWrapper.java:96)
at oracle.apps.jtf.cache.appsimpl.AppsCacheLogger.<clinit>(AppsCacheLogger.java:43)
at oracle.apps.jtf.cache.appsimpl.AppsCacheEnvironment.getCacheLogger(AppsCacheEnvironment.java:67)
at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:711)
at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:378)
at oracle.apps.fnd.cache.Cache.setCacheFullName(Cache.java:228)
at oracle.apps.fnd.cache.Cache.initCache(Cache.java:114)
at oracle.apps.fnd.cache.Cache.<init>(Cache.java:89)
at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:86)
at oracle.apps.fnd.cache.AolCaches.getCache(AolCaches.java:155)
at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:241)
at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileStore.java:498)
at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileStore.java:119)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:3959)
at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:780)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:767)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:749)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:564)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:292)
at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:141)
at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:124)
at oracle.apps.fnd.cp.request.Run.main(Run.java:127)
Caused by: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
at oracle.apps.fnd.common.Pool.createObject(Pool.java:1321)
at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:1062)
at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:752)
at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:297)
at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1720)
at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2306)
at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2243)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2101)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1910)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1754)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1767)
at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1453)
at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:168)
at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1500)
... 44 more
Caused by: java.lang.AbstractMethodError: oracle.sql.LnxLibThin.lnxnuc([BILjava/lang/String;)Ljava/lang/String;
at oracle.sql.NUMBER.toInt(NUMBER.java:414)
at oracle.jdbc.dbaccess.DBConversion.NumberBytesToInt(DBConversion.java:2959)
at oracle.jdbc.driver.OracleStatement.getIntValue(OracleStatement.java:4596)
at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:536)
at oracle.apps.fnd.security.ConnectionManager.setClientData(ConnectionManager.java:1497)
at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1446)
at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1325)
at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:884)
at oracle.apps.fnd.security.AppsConnectionManager.getGwyuidConn(AppsConnectionManager.java:962)
at oracle.apps.fnd.security.AppsConnectionManager.makeGuestConnection(AppsConnectionManager.java:780)
at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:246)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.fnd.common.Pool.createObject(Pool.java:1308)
... 57 more
Exception in static block of jtf.cache.CacheManager. Stack trace is: oracle.apps.jtf.base.resources.FrameworkException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:718)
at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:378)
at oracle.apps.fnd.cache.Cache.setCacheFullName(Cache.java:228)
at oracle.apps.fnd.cache.Cache.initCache(Cache.java:114)
at oracle.apps.fnd.cache.Cache.<init>(Cache.java:89)
at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:86)
at oracle.apps.fnd.cache.AolCaches.getCache(AolCaches.java:155)
at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:241)
at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileStore.java:498)
at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileStore.java:119)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:3959)
at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:780)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:767)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:749)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:564)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:292)
at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:141)
at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:124)
at oracle.apps.fnd.cp.request.Run.main(Run.java:127)
Caused by: oracle.apps.jtf.base.resources.FrameworkException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:202)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:218)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:249)
... 24 more
Exception in thread "main" oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
at oracle.apps.fnd.common.Pool.createObject(Pool.java:1321)
at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:1062)
at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:752)
at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:297)
at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1720)
at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2306)
at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2243)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2101)
at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2481)
at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2416)
at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2397)
at oracle.apps.fnd.common.ProfileCache.getProfileObject(ProfileCache.java:110)
at oracle.apps.fnd.common.NativeProfileStore.getSpecificProfileFromDB(NativeProfileStore.java:375)
at oracle.apps.fnd.common.NativeProfileStore.getProfile(NativeProfileStore.java:314)
at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1201)
at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1044)
at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1013)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:980)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:967)
at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:593)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:570)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:292)
at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:141)
at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:124)
at oracle.apps.fnd.cp.request.Run.main(Run.java:127)
Caused by: java.lang.AbstractMethodError: oracle.sql.LnxLibThin.lnxnuc([BILjava/lang/String;)Ljava/lang/String;
at oracle.sql.NUMBER.toInt(NUMBER.java:414)
at oracle.jdbc.dbaccess.DBConversion.NumberBytesToInt(DBConversion.java:2959)
at oracle.jdbc.driver.OracleStatement.getIntValue(OracleStatement.java:4596)
at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:536)
at oracle.apps.fnd.security.ConnectionManager.setClientData(ConnectionManager.java:1497)
at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1446)
at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1325)
at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:884)
at oracle.apps.fnd.security.AppsConnectionManager.getGwyuidConn(AppsConnectionManager.java:962)
at oracle.apps.fnd.security.AppsConnectionManager.makeGuestConnection(AppsConnectionManager.java:780)
at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:246)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.fnd.common.Pool.createObject(Pool.java:1308)
... 26 more
Start of log messages from FND_FILE
End of log messages from FND_FILE
oracle.apps.genus.utils.MergePdfs
Program exited with status 1
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 10-MAR-2010 07:10:47
---------------------------------------------------------------------------Hi,
FYI,
I am not sure about this error,
Use the following links, hope it may solve your problem,
http://oracleappstechnology.blogspot.com/2007/09/oracleappsfndcommonpoolexception.html
http://www.appsdbatechstuff.com/2008/06/java-workflow-mailer-does-not-startup.html
http://it.toolbox.com/wiki/index.php/Oracle_Apps_-JavaConcurrent_Program
Io exception: The Network Adapter could not establish the connection
Regards,
Hari -
Need to call OAF API from JAVA concurrent program
Hi Gurus,
I am trying invoke an OAF Application method which generate the Batch ID. I am trying the invoke the same from JAVA Concurrent program. Below is teh code used,
package oracle.apps.ego.item.cp;
import java.sql.Connection;
import java.sql.DriverManager;
import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import oracle.apps.ego.item.common.server.EgoBatchHeader;
import oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl;
import oracle.apps.fnd.cp.request.CpContext;
import oracle.apps.fnd.cp.request.JavaConcurrentProgram;
import oracle.apps.fnd.cp.request.LogFile;
import oracle.apps.fnd.cp.request.OutFile;
import oracle.apps.fnd.cp.request.ReqCompletion;
import oracle.jbo.ApplicationModule;
import oracle.jbo.ApplicationModuleCreateException;
import oracle.jbo.ApplicationModuleHome;
import oracle.jbo.JboContext;
import oracle.jbo.domain.Number;
import oracle.jdbc.internal.OracleCallableStatement;
public class XX_EGO_BATCH_CREATE implements JavaConcurrentProgram {
static LogFile log = null;
public void runProgram(CpContext ctx){
//Obtain the reference to the Output file for Concurrent Prog
OutFile out = ctx.getOutFile();
EgoBatchHeader v_header = new EgoBatchHeader();
//Obtain the reference to the Log file for Concurrent Prog
log = ctx.getLogFile();
log.writeln("Batch Number Creation", 0);
ApplicationModule am = null;
try{
//Write your logic here
log.writeln("Batch Number Creation", 0);
log.writeln("definition of batch num",0);
Number batch_num;
Number ssid = new Number(10000);
String jdbcUrl =
"jdbc:oracle:thin:apps/[email protected]:10201:ARERP4";
ApplicationModule am_Member = null;
log.writeln("Before Calling Create method",0);
am_Member =
create("oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl",
jdbcUrl);
log.writeln("assigning ssid"+ssid,0);
EgoImportBatchHeaderAMImpl bheader = new EgoImportBatchHeaderAMImpl();
log.writeln("bheader object is :"+bheader,0);
log.writeln("calling getBatchObjectForCreate"+bheader,0);
v_header = bheader.getBatchObjectForCreate(ssid);
//System.out.println("v_header is :" + v_head);
log.writeln("calling createBatch"+v_header,0);
batch_num = bheader.createBatch(v_header);
log.writeln("Batch Number is :"+batch_num ,0);
out.writeln("This will be printed to the Output File");
log.writeln("This will be printed to the Log File", 0);
//Request the completion of this Concurrent Prog
//This step will signal the end of execution of your Concurrent Prog
ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL,"Completed.");
//Handle any exceptional conditions
catch(Exception e){
log.writeln("Exception2 occurred here !!"+e,0);
log.writeln("calling createBatch"+v_header,0);
public static ApplicationModule create(String amDefName,
String jdbcConnStr) throws ApplicationModuleCreateException, Exception {
ApplicationModule am = null;
try {
OracleCallableStatement conn = null;
// Setup the hashtable of JNDI initialization parameters
log.writeln("inside create method .. ",0);
Hashtable env = new Hashtable(2);
env.put(Context.INITIAL_CONTEXT_FACTORY,
JboContext.JBO_CONTEXT_FACTORY);
env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
// Create an JNDI initial context
Context ic;
ic = new InitialContext(env);
// Lookup a home interface (factory) for the AppModule by name
ApplicationModuleHome home =
(ApplicationModuleHome)ic.lookup(amDefName);
if(home==null){
log.writeln("home is null... .",0);
}else{
log.writeln("home is not null"+home,0);
// Create an instance of the AppModule using the home/factory
am = home.create();
if(am!=null){
log.writeln("am is not null"+am,0);
}else{
log.writeln("am is null",0);
// Connect the application module to the database
am.getTransaction().connect(jdbcConnStr);
} catch (NamingException ex) {
log.writeln("NamingException occurred here !!"+ex.getMessage(),0);
ex.printStackTrace();
throw new ApplicationModuleCreateException(ex);
}catch(Exception ex){
log.writeln("Exception occurred here !!"+ex.getMessage(),0);
ex.printStackTrace();
throw new Exception(ex);
return am;
I am not able to call the web server and facing issues. Please let me know if you can help me to get a solution to this.
Thanks in advance
VeerendraHi Zafar,
I got an error saying :
Batch Number Creation
Batch Number Creation
definition of batch num
Before Calling Create method
inside create method ..
home is not nulloracle.jbo.server.ApplicationModuleHomeImpl@11d2572
Jul 9, 2008 5:04:21 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
Exception occurred here !!JBO-25002: Definition oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl of type ApplicationModule not found
oracle.jbo.NoDefException: JBO-25002: Definition oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl of type ApplicationModule not found
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:441)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:358)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:340)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:700)
at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:401)
at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
at oracle.apps.ego.item.cp.XX_EGO_BATCH_CREATE.create(XX_EGO_BATCH_CREATE.java:139)
at oracle.apps.ego.item.cp.XX_EGO_BATCH_CREATE.runProgram(XX_EGO_BATCH_CREATE.java:57)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Exception2 occurred here !!java.lang.Exception: oracle.jbo.NoDefException: JBO-25002: Definition oracle.apps.ego.item.itemimport.server.EgoImportBatchHeaderAMImpl of type ApplicationModule not found
calling [email protected]9c -
Possible to extend java Concurrent Program and replace standard??
Hi All!
i have following developing need. There is a java concurrent program POXPOPDF (PO Output for Communication). The customer needs this program to do actually something complete different than printing the PO in PDF. The executable for this CP is java class PoGenerateDocumentCP in oracle.apps.po.communicate package.
We thought that we may be able to extend that class and then in some way made OA to use the extended java class instead of the standard. This is possbile and simple for OA Framework pages unsing classes as controllers, but I don't know how it could be done for CP (if there's a way to do it without violent intervention in standard system).. Is it possbile, can anyone help me with this.
The thing is that instead of reformatting the XML returned from PO_COMMUNICATION_PVT.POXMLGEN (function POXMLGEN in database package PO_COMMUNICATION_PVT) into PDF we want to reformat into another XML and then send it in other way to a webservice. Once I have the XML from POXMLGEN I have no problem to reformat it into another XML (I think, I have done it iwith other issues/processes). The webservice and the call to it is no problem and is already use with other purposes in other processes, but here (replaceing this stadard java class for an extension/new one) I am a little lost.
Appreciate very much your help.
Regards,
PatriciaNever mind, I see now that FND_REQUEST.SUBMIT_REQUEST() really does work, I tried with a different standard java concurrent program and it worked fine, and then I figured out that my parameters into fnd_request.submit_request for concurrent program APXVVCF4 were not correct (application short name was invalid for concurrent program).
Thanks for the Info! -
How to setup the reply-to email in a concurrent Program
Hi
I am trying to setup the e-mail Delivery Options when submitting af Concurrent Program in OEBS 12.1.3.
I submit a concurrent job and choose the Delivery Option -> Email and then enter a To: e-mail.
Then the "From:" address is populated with my e-mail (from > FND_USERS) but when the e-mail is send to a reciever the "From:" e-amil i changed to no-reply.
How an i specify to use the From: email when i submit a concurrent program.Hi,
How an i specify to use the From: email when i submit a concurrent program
You can overwrite the default address, and I believe you know of this. Could you elaborate what is the error message you are getting when you do so.
Thanks &
Best Regards, -
How to convert concurrent program out files .out file to .txt files in
Hi
Trying to know if there is a way to convert the concurrent programs' output files witn '.out' extension to files with extension '.txt'
thanks
kpWhy you want to change the file extension to txt instead of out?
I believe you cannot do and you are not supposed to change it. Controlling the report output to different types can be done as explained in these docs.
How to Setup The Report Output to Different Viewer Types in Oracle Applications 11i [ID 184375.1]
How to Control the Name and the Application that Opens the Concurrent Request Output File on the Client? [ID 316752.1]
Thanks,
Hussein -
How to capture the parameter value of Concurrent Program submited
Hi,
I would like to capture the Parameter value of Concurrent Program submitted through Submit Request screen based on that i want to return value.
When Conc prog "Payroll Run" along with parameter like "Pay Period" which has LOV attached to it, which has one coulumn named "End Date", this value selected needs to be captured. Can you please tell the Table name where the value is stored or Captured.
I want this value to be used in Fast Formula which will return the desired value to Input Value.
Actually in one of the Element I have Input Value as "Monthly Days" which should be populated with the "Number of days" in the period in which Payroll is being processed.
Thanks in advance.
RamHi,
fnd_concurrent_requests.argument_text stores the argument values in comma separated form. But check the prior response from thierry first - fnd_concurrent _requests is not the place you want to be getting things from as it can be purged and so you source data is gone!
Gareth
http://garethroberts.blogspot.com -
Coding Concurrent Programs in Pro*C
If I have a pro*c program like this:
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "sqlca.h"
#include "sqlcpr.h"
EXEC SQL BEGIN DECLARE SECTION;
VARCHAR username[20];
VARCHAR password[20];
EXEC SQL END DECLARE SECTION;
void sqlerr();
int main()
strcpy(username.arr,"SCOTT");
username.len = strlen(username.arr);
strcpy(password.arr,"TIGER");
password.len = strlen(password.arr);
EXEC SQL WHENEVER SQLERROR DO sqlerr();
EXEC SQL CONNECT :username IDENTIFIED BY :password;
EXEC SQL INSERT INTO EMP(EMPNO, ENAME, DEPTNO) VALUES(7777,'JACKIE',30);
EXEC SQL commit;
printf("Successful!");
exit(0);
void sqlerr()
printf("SQL Error!\n");
exit(1);
I will give this file's extension name is:XXX.pc, and I transfer this pc file to $ORACLE_HOME/precomp/demo/proc and use this command "proc XXX.pc" to make this pc file to a C file. and use "make" command to generate XXX.o and XXX.e files.And the XXX.e is the executable file. And I can use this file to insert a record into emp table.
And now, I have a problem that I want to coding concurrent programs in Pro*C.There have a template of concurrent programs-----EXMAIN.c and EXPROG.c. And how shoule I modify and compile these two files? Should I modify the extension name to ".pc"? When I compile EXMAIN.c, use the command "make -f demo_proc.mk OBJS=EXMAIN.o EXE=EXMAIN.e build", there have problems of following:
cc -xO2 -Xa -xstrconst -xF -mr -xarch=v8 -xcache=16/32/1:1024/64/1 -xchip=ultra -D_REENTRANT -K PIC -DPRECOMP -I. -I/u01/COMV/applCOMV/COMVora/8.0.6/precomp/public -I/u01/COMV/applCOMV/COMVora/8.0.6/rdbms/public -I/u01/COMV/applCOMV/COMVora/8.0.6/rdbms/demo -I/u01/COMV/applCOMV/COMVora/8.0.6/plsql/public -I/u01/COMV/applCOMV/COMVora/8.0.6/network/public -DSLMXMX_ENABLE -DSLTS_ENABLE -c EXMAIN.c
"./afpub.h", line 46: cannot find include file: <afver.h>
"./afcp.h", line 36: cannot find include file: <fdpwrt.h>
cc: acomp failed for EXMAIN.c
*** Error code 2
make: Fatal error: Command failed for target `EXMAIN.o'
I don't know why.I hope somebody can help me!
Thanks !!Hi !
Have you tried to replace the INCLUDE statements for SQLCA and SQLCPR
with the following:
EXEC SQL INCLUDE SQLCA;
EXEC SQL INCLUDE SQLCPR; ?
Maybe you are looking for
-
Daily Report of Opening closing balance & Consumption
Dear Experts, We are implementing for dairy industry (PI) and here is requirement to develop a report which shows daily raw milk consumption ( Movement type 261) and daily opening and closing balances of raw as well as finished milk, Finished mi
-
IPod stuck in Disk Mode(Restart won't work)
My iPod is stuck in disk mode, and no matter how many times I restart it, it stays in this. I've tried the 5R's and I've tried restarting it. Is there any other fixes?
-
Hello all, I have an requirement that i hav to put one validation while creating limit shopping cart. I'm using BADI BBP_DOC_CHECK_BADI for this. My issue is that after error is occured and user wants to correct that error. Again my code gets execute
-
Importing Over Network: Where Do The Files/Images Go?
I am a relative Mac newcomer after years of Windows/PCs... have used Adobe Photoshop and PS Elements to edit and organize images and now I'm trying Aperture (thank heavens for a trial version). I'm gonna have a bunch of questions... Here's the first
-
Why some movies will play on home sharing and others won't
Why some movies will play on home sharing and others won't