Registering Concurrent program
i wud like to regiter a concurrent program with an API.Can anyone tel me the steps and procedure to do that
You can use the FND_PROGRAM PL/SQL package to create Concurrent Executables, Programs, Parameters etc. Using this, you can write an SQL script to register your concurrent program. This works well for the initial creation of concurrent programs, but not for maintenance of existing ones. Also, it is up to you to manage the dependencies - ie make sure that you also create the required value sets, etc. As an alternative, I would suggest using the FNDLOAD utility, which does a lot of this dependency checking for you and puts all of the required setup in the one file. See the other recent threads, such as transfering a concurrent program from one DB to another DB
Similar Messages
-
Receipt Register concurrent program (Spawned program)
Hi Experts,
APPS Version : 11.5.10, OS: Linux
I have to add one column (Sales Rep Name) in Receipt Register concurrent program which is a Spawned program. Below packages are called by this report, could you please let me know in which package/rdf i can able to add the column.
ARRX_C_RC.RECEIPT_REGISTER
arrx_rc.arrc_rep
fa_rx_util_pkg.run_report
Thanks,
JPHi Pedro,
Unfortunately, to the best of my knowledge, you can't add fields to the available field list in RX reports without trying to meddle with the supplied packages. Believe me when I say that I wish you could! If the field you want is not available, a custom report is your best option. I've done that with the Receipt register and one of the aging reports.
Are you using Oracle Sales? There might be a compatible report available there that you could look at. I don't know anything about Sales so can't help there.
Good luck,
- James -
Register concurrent programs parameter customization.
Is there a way to register customization of concurrent programs parameters (I need to make one of the parameters mandatory) like it is done with customized files in applcust.txt?
Sorry about the late reply, but the issue with applcust.txt is that it only checks files updated by the patch. To provide an update to a concurrent program definition, Oracle includes an LDT file in the patch, but the name of the file doesn't have to relate to the concurrent program being updated. For example, the Purchasing concurrent program POXACREC is defined in the following files (look for the BEGIN PROGRAM "POXACREC" "PO" line in the ldt files in $PO_TOP/patch/115/import/US), shown in their applcust.txt format:
po patch/115/import/US cst4946920_1.ldt
po patch/115/import/US poprg.ldt
po patch/115/import/US poxacrec.ldt
Based on the name of the file and the concurrent program name, you would assume the last of these is the "correct" one, but all three could provide an update to the concurrent program definition. If you have multiple files defining your customised concurrent program, I would suggest you list all three in your applcust.txt. However, even if you list all three, there is nothing stopping Oracle from updating the POXACREC concurrent program with a file called abc123.ldt.
To help with this, I would suggest for your concurrent program you also include the concurrent program executable itself in the applcust.txt file (po reports/US POXACREC.rdf in my example) as a change to parameters in an unexpected ldt file would require a change in the program as well.
This basic problem can occur with any of data provided by LDT files or objects where the object name is not dependent on the file name - even views can be updated by odf files or sql files.
theFurryOne -
In R12 Invoice Register Concurrent Request running long time
Hi
In R12, Invoice Register Concurrent Program Running more than 30 mins , before its use to finish with in 10 mins, any suggestions.
ThanksI don't wanna hear sorry from gurus,Thanks. By the way, I do not consider myself a guru, just a simple guy who is still learning new things everyday and at the same time like to share what he knows :)
Sawwan, I checekd locks there iare no locksWell, in this case I would suggest you wait for the request to complete. Once it is done, bounce the application as well as the database and run the request again (if possible) after enabling trace and see if takes that long to complete.
If the request keeps running (i.e. does not seem to complete), then cancel the request, kill all associated process from the backend, and follow the action plan above (bounce, and enable trace). -
Generation .class file for Java Concurrent Program
Hi
Below if my sample java concurrent program code and registered concurrent program
package oracle.apps.sample;
import oracle.apps.fnd.cp.request.*;
public class Hello implements JavaConcurrentProgram {
public static final String RCS_ID = "$Header$";
public void runProgram(CpContext ctx) {
ctx.getLogFile().writeln("-- Hello World! --", 0);
ctx.getOutFile().writeln("-- Hello World! --");
ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL, "");
Created a sample directory under $JAVA_TOP: $ mkdir $JAVA_TOPoracle/apps/fnd/cp/sample
Copied Hello.java into $JAVA_TOP/oracle/apps/fnd/cp/sample and ran below command to compile
$ cp $HOME/Hello.java $JAVA_TOP/oracle/apps/fnd/cp/sample
But getting error
javac: file not found: /oracle/apps/fnd/cp/sample
Usage: javac <options> <source files>
use -help for a list of possible options
Please suggest what was issue and is there any option to generate class file in J developer in local (Windows) instead of doing on application server if yes what are steps to be followed to generate class in windows
Thanks
ArjunPlease post the details of the application release, database version and OS.
But getting error
javac: file not found: /oracle/apps/fnd/cp/sample
Usage: javac <options> <source files>
use -help for a list of possible optionsHow do you get this error?
Thanks,
Hussein -
How to implement node affinity for java type concurrent programs.
How to run a concurrent program against a specific RAC instance with PCP/RAC setup? (Doc ID 1129203.1)
This works for non java registered concurrent programs but not java registered with use the DBC file
EBS RAC environment with two RAC nodes. We would like to implement node affinity to allow concurrent programs to be directed to a single RAC instance. Oracle have provided the NODE AFFINITY ability via the concurrent program definition in Session Control. This then uses the entry in the 10.1.2 tnsnames.ora to pass the request directly through to the instance as defined by Node Affinity.
However, concurrent programs defined as type java do not access the database by the 10.1.2 tnsnames.ora but use the dbc file under $FND_SECURE. This file is configured for both self service and concurrent processing so any change to the dbc file entry will affect both self service and concurrent processing.
How to we implement a node affinity solution for concurrent programs without affecting Self Service conncetions? We'd like the dbc file to directly connect java concurrernt programs through to one instance but the self service connections to use the SERVICE name only.
Regards.
philippe.Did you think about Online/Batch node concept ? By that way you can seggrecate application connection.
-
Error while registering the Concurrent Program
Hi,
I am getting the following error while registering the concurrent program.
The executable is registered as shell script and this executable sends a mail with attachment. can any one of you tell me the cause of the error?
ORA-20160: ORACLE error -4091 in SUBMIT: others
Cause: SUBMIT: others failed due to ORA-04091: table APPLSYS.FND_CONCURRENT_PROGRAMS is mutating, trigger/function may not see it.
The SQL statement being executed at the time of the error was: &SQLSTMT and was executed from the file &ERRFILE.
ORA-06512: at "APPS.ALR_FND_CONCURRENT_PROGRAM_IAR", line 1
ORA-04088: error during execution of trigger 'APPS.ALR_FND_CONCURRENT_PROGRAM_IAR'
ORA-06512: at "APPS.FND_CONCURRENT_PROGRAMS_PKG", line 63
FRM-40735: ON-INSERT trigger raised unhandled exception ORA-20160.
Thanks in advanceCheck Note: 391795.1 - Frm-40735: On-Insert Trigger Raised Unhandled Exception Ora-04062 in APPS.FND_CONCURRENT_PROGRAMS_PKG
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=391795.1 -
How to get an eText output after registering its concurrent program
I have registered a concurrent program based on eText template in Oracle Apps. 11.5.10. After that, I had registered its template in XML Publisher keeping its type as eText-Outbound. Now when I run the request, my concurrent program runs fine without publishing any output i.e. the template doesnt get attached to the program. So when I manually attach the template to the report explicitly and run it now, it faces a error which is in Java script. Please suggest the needful.
Hi Gurus,
Can anyone please tell Concurrent program and data definition registration process for Output type as E text.
Best Regards,
Mahesh -
Shell i Register Alert as a concurrent program ?
Hi All,
I have requirement as below.
Need to create one alert by just passing any email account.
Create a concurrent program and call this alert
This concurrent program will be run manually.
where this concurrent program is going to store. i mean which table this information is getting stored.
please respond , bit urgent.
Thanks.You can create SQLPlus concurrent request where you can call the request for ALECDC
Here is an example.
Replace application ID and Alert ID
REQUEST_ID := FND_REQUEST.SUBMIT_REQUEST(
'ALR',
'ALECDC',
<alert name>,
TO_CHAR(:REQUEST.START_DATE, APP_DATE.canonical_DT_mask),
FALSE,
TO_CHAR(<your_application_id>),
TO_CHAR(<your alert id>),
'P',
CHR(0),
'', '', '', '', '', '', '', '', '', '');Edited by: DineshS on Jan 21, 2009 12:54 AM -
Using Application Name twice while registering a Concurrent Program
Hi,
When we create a Concurrent PRogram,
1) We first create an executable. In the executable screen, we give the name of the Application like Receivables, Payables etc.
2) Next we Define the Concurrent program and attach the executable. Here also we give the Application Name like Receivables, Payables etc.
Question is, when the executable already has information about the Application Name, then why do we have to give it again in the Concurrent Program Define Screen.
Looking for a prompt response.
Thanks
SaurabhHello Helios,
I dont have any problem in creating a concurrent program or executable.
I am just trying to understand the concept that why do we need to give the Application Name twice, one while Creating the Executable and one while define the Concurrent Program.
Because if you look at the executable, we already have give the Application Name and then we attach this Execiutable to the Concurrent PRogram Defintiiion, then why again we give the Application name in the Concurrent PRogram Def Screen.
Thanks
Saurabh -
Error while running a concurrent program.
Hi All,
I have written a plsql procedure and registered it with apps. When i run the program it is giving
FDPSTP failed due to ORA-20100: File l0137058.tmp creation for FND_FILE failed.
You will find more information on the cause of the error in request log.
I am not able to find out what is the problem with this. When i remove the FND_FILE.PUT_LINE statement from my code and execute it is executing properly without errors. Please suggest me what might be the problem. Also please suggest me where i can find this .tmp file or where i can find the request log.
Thanks and Regards,
MaheshMahesh,
On the instance where this concurrent program fails to run, please verify the following:
1) Make sure that APPLPTMP is set to a valid directory as shown above (Verify from the OS by issuing "echo $APPLPTMP" as applmgr user)
2) Make sure that both the applmgr user and the database user "oracle" have read/write permissions on $APPLPTMP
3) Make sure that APPLPTMP is the first entry in utl_file_dir (utl_file_dir is set in the init<SID>.ora file). To verify to what "utl_file_dir" is set:
SQL> connect / as sysdba
SQL> show parameter UTL_FILE_DIRPlease go through the first document referenced in my first reply (Note: 261693.1), it should be helpful.
Regards,
Hussein -
Unable to generate XML's for BLOB datatypes from Concurrent program
Hi All,
I've a requirement to print images on rtf layout. Images are uploaded by end user through attahments men
there are getting stored in fnd_lobs tables.
for printing blob images we need to convert them into CLOB and generate XML's.
I've done the conversion through a function and calling the function in the select query which is generating XML when i run it from toad.
SELECT xmlgen.getXml(
'SELECT file_id,mob_getbase64String(file_data) photo
FROM fnd_lobs
WHERE file_id = 2490481'
,0
) FROM dual;
But the same thing we i registered as concurrent program (SQL*Plus) the program is running into error.
Output file
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
Invalid at the top level of the document. Error processing resource 'https://dbtdev5i.oracleoutsourcing.com/OA_CGI/FNDWRR.e...
Input truncated to 17 characters
^
Log file
Concurrent Manager encountered an error while running SQL*Plus for your concurrent request 10868311.
Review your concurrent request log and/or report output file for more detailed information.
Can anyone help me through on how to bypass this error and generate XML's.
Thanks in Advance
JanaHi Priya..,
I have changed the query and registered in apps and now i am able to generate XML's of the blob image and the same is getting printed on the tempate..
DECLARE
v_colb CLOB;
v_query VARCHAR2(1000);
BEGIN
v_query := 'SELECT file_id,mob_getbase64String(file_data) photo
FROM fnd_lobs fl,
fnd_documents_vl fd
WHERE fd.media_id = fl.file_id
AND (fd.end_date_active IS NULL
OR fd.end_date_active > SYSDATE)
AND fd.security_type = 2
AND fd.security_id = fnd_profile.value(''GL_SET_OF_BKS_ID'')';
--FND_FILE.put_line( FND_FILE.LOG,v_query);
v_colb := xmlgen.getxml (v_query, 0);
--DBMS_OUTPUT.put_line (v_query);
FND_FILE.put_line( FND_FILE.OUTPUT,v_colb);
END;
/ -
BI Publisher Charts not getting displayed in concurrent program output
Hi,
I am using BI Publisher version 11.1.1.3.0 on Windows 7 with word 2007. After creating the Bar chart in RTF template of BI publisher when I load sample XML data and check it in "Preview" is displays the output correctly.
My requirement is to print the charts in concurrent program's output on EBS version 12.1.1. (preferably HTML but PDF will also do) However when I run the concurrent program which processes the data definition and the RTF template registered for this report, the output is just an image of the chart. The XML output generated by the program is not reflected in the chart display at all. (I have verified that XML is generated properly)
Can someone please let me know if there is some setup required to make the charts display properly in concurrent program output?
I have also tried BI publisher version 10.1.3.2.1 for this. With this the concurrent program output is just blank. Not even an image is displayed.
p.s. The program uses standard executable XDODTEXE (which is normally used to run BI publisher reports)
Thanks,
ArchanaHi,
I have finally found solution to this issue....
Two setups are required to display the charts in the concurrent program's PDF output:
1. We need to edit the variables CLASSPATH and AF_CLASSPATH. These variables should have the complete path added for the xdoparser.zip file on the server.
2. The DISPLAY variable should be correctly setup to direct the server output.
Also as per my findings so far, the BI (XML) publisher version 11.1.1.3.0 (or any 11g) does not work with EBS (at least for charts). We need to use BI publisher version which is XML 5.6.3 compatible for EBS. This version is 10.1.3.2.1. (patch 12395372) Now this 10g version does not work on Windows 7 so you need to use Windows XP!
With this... finally... your charts should be getting displayed in EBS output...
Cheers!! :-)
Archana -
Single concurrent program for multiple operating units
HI
I am working on XML/BI publisher to generate AR invoice reports.
We have single rdf report using which rtf templates are generated.
There are 10 operating units (10 ORG_ID's) and 10 rtf templates, one for each operating unit. There are 4 different responsibilities for each ORG_ID
Eg: ORG_ID's = 11, 12, 13, 14..........etc
Eg: Responsibility = xx, yy, zz...........etc
I want to register a single concurrent program. When a user submits a request from "XX" responsibility, then the template associated with that org_id should be generated. Whichever responsibility the user is accessing from, that particular template must be shown as output.
How can i register one concurrent program for multiple operating units.
Thanks!
Edited by: 994628 on Mar 18, 2013 4:39 PM
Edited by: 994628 on Mar 18, 2013 4:42 PM>
There are 10 operating units (10 ORG_ID's) and 10 rtf templates, one for each operating unit. There are 4 different responsibilities for each ORG_ID
Eg: ORG_ID's = 11, 12, 13, 14..........etc
Eg: Responsibility = xx, yy, zz...........etc
I want to register a single concurrent program. When a user submits a request from "XX" responsibility, then the template associated with that org_id should be generated. Whichever responsibility the user is accessing from, that particular template must be shown as output.
>
interesting case for 10 OE set 10 template
what is purpose? for each OE different requirements for layout?
BTW
if each Responsibility associated with one org_id then
- you can get current org_id when you run concurrent program
- create main template (will be #11) with condition like
<?choose:?>
<?when: ORG_ID=11?>
<?import:xdo://FND.XX11_SUB.en.00/?>
<?call:TEMPLATE11?>
<?end when?>
<?when: ORG_ID=12?>
<?import:xdo://FND.XX12_SUB.en.00/?>
<?call:TEMPLATE12?>
<?end when?>
<?otherwise:?>
<?import:xdo://FND.XX21_SUB.en.00/?>
<?call:TEMPLATE21?>
<?end otherwise?>
<?end choose?>so based on org_id will be import of needed subtemplate
- re-register your "10 rtf templates" as subtemplates
another way is substitution of template for concurrent then it running
in before_report trigger set needed template
l_conc_request_id := fnd_global.conc_request_id;
if ORG_ID = 11 then
UPDATE fnd_conc_pp_actions t
SET t.argument2 = 'XX11'
where t.concurrent_request_id = l_conc_request_id
and t.action_type = 6;
if ORG_ID = 21 then
UPDATE fnd_conc_pp_actions t
SET t.argument2 = 'XX21'
where t.concurrent_request_id = l_conc_request_id
and t.action_type = 6; -
How to use the 3of9 font in report in concurrent program
Dear All,
I have developed a report in 6i, and selected the font 3of9.ttf in Report Builder, which is a Barcode type font. but when i register the report as concurrent program and run the report concurrent program it is not showing me the field value in barcode format.
Then i tried to ftp the font to unix server at location "$OA_JRE_TOP/jre/lib/fonts/3of9000.ttf" also created the xdo.cfg file at "$OA_JRE_TOP/lib" folder.
But still i am not getting the expected result.
Can anyone help me out to resolve this issue?
Thanks & Regards,
CAKYou can't just copy a Windows font to Unix. You need specific Unix installation steps. That I know, for the rest I am unfamiliar with Unix fonts.
Some info can be found here:
http://www.idautomation.com/kb/unix-finst.html
For specific problems with E-Business Suite, ask that in the EBS forum.
Maybe you are looking for
-
Hallo Experts: I want to migrate my application Service, entity service (CAF service core) from 7.1 SP10 to 7.1 Enhancement. I copy the following folders myproj/dictionary myproj/ear myproj/ejbmodel myproj/metadata myproj/permissions into the new wor
-
How do I 'rotate' a quicktime movie?
Hi Maybe a dumb question. My digital camera can take movies as well as pictures. I have taken 2-3 which I really want to keep but they are in the wrong orientation. Is it possible to rotate them like you can do a still image? And if so how????????? C
-
Accessing display objects via the stage var
I'm passing a stage reference to my class, but when I try to access a movieclip on the stage I get an error. this gives me an error: var mc = targetStage.myMovieClip; Thanks!
-
Help! My mbp apps keep crashing at launch!
Hi, I have a MBP 15" 2.8GHz Intel Core i7 running version 10.7.4. Recently, some of my applications are quitting on launch. i.e. iPhoto, mail, Skype. It's had one panic attack and I've been unable to restart it or properly shut it down a few times. W
-
How to install hp laserjet m1217nfw printer driver and software
I move my printer to another place and want to set up a wireless connection, I install the cd drive and follow the instructions, after that my printe stock in initializing., then I uninstall the software and try to install again, but it does not le