Spawned Method Concurrent Program

how to custom Spawned Method Concurrent Program???
thanks in advance!!!

User102,
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.

Similar Messages

  • How to Spawn a concurrent program from another Concurrent Program

    Hi,
    I need to write a concurrent program with PL/sql procedure. Inside this procedure, for a cursor data, for each record I need to spawn another concurrent program. How can I do this. Should I call a concurrent program using fnd_request.submit_request?
    Any suggestions?
    Thanks,
    HC

    Correct - you will need to use FND_REQUEST. Pl use the search feature of these forums to find old threads that discuss this topic
    https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_REQUEST+AND+SUBMIT_REQUEST&objID=c3&dateRange=all&userID=&numResults=15
    How To Submit A Concurrent Request Set Using Fnd_Request.Submit_Request          [Document 382791.1]
    Most Commonly Used FND APIs in APPS Customizations          [Document 221549.1]
    HTH
    Srini

  • Spawning child program from parent concurrent program.

    Hi All,
    I am trying to spawn multiple child programs from Parent concurrent program, Parent concurrent program is having execution method as HOST.
    Here is how I designed it.
    1. Parent Concurrent program (Parent Conc program with execution method as HOST).
    2. Host file is abc.prog calls PLSQL package xyz.main.
    3. xyz.main has logic to launch multiple child programs - (Child Conc program with execution method as PLSQL stored proc) using fnd_request.submit_request utility.
    All the child programs are getting launched but are in INACTIVE/NOMANAGER state. Could you please let me know how to overcome this issue.
    Both Parent and child programs are added to standard concurrent manager. This issue is only coming when parent program as execution method as HOST if parent program execution method is PLSQL stored procedure then child programs are running fine..
    I also tired initializing apps in HOST file (abc.prog) before calling PLSQL package xyz.main.
    Thanks.
    Sham.

    hi,
    even i was facing the same issue. while submitting the child requests through fnd_request.submit_request i tried the following:
    FND_REQUEST.submit_request (
    application => 'Application Short Name',
    program => 'Program Executable Name',
    description => 'Program Description',
    start_time => NULL,
    sub_request => FALSE,
    argument1 => 'Input 1',
    argument2 => 'Input 2' );
    After this the Programs were submitted successfully.

  • Spawned Concurrent Program

    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,
    User102

    User102,
    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.

  • No getting Report Output in OAF for java Concurrent program Method

    I am not getting report output for java Concurrent Program(Concurrent Program Executable Method), for the reports which are of type PL/SQL Stored Procedure getting the output. for some of the reports the executable method is 'java Concurrent Program', so is there any thing i need to modify in my code.
    Thanks
    Babu

    The Concurrent request is not able to generate output
    getting following error in FNDCPREQUESTVIEWPAGE
    The concurrent request 9923758 did not create an output file.
    so what may be reasons for this?
    Thanks
    Babu

  • How to See and Change the Source Code of Spawned Concurrent Program.

    Hello Team,
    There is one requirement in which we have to add some condition in the Concurrent Program.But the Type of that concurrent Program is ,"Spawned ".
    Please suggest me , how can i check the Source code for this type of Concurrent Program and how can i make the changes to satisfy the requirement.
    Thanks & Regards

    There is one requirement in which we have to add some condition in the Concurrent Program.But the Type of that concurrent Program is ,"Spawned ".
    Please suggest me , how can i check the Source code for this type of Concurrent Program and how can i make the changes to satisfy the requirement.Please see old threads, it should answer your question -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Spawned+AND+Concurrent+AND+Code&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • 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,
    JP

    Hi 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

  • Concurrent Program Spawned

    Hi ,
    I use Oracle E-Business R12.
    How can I create Spawned Concurrent Program ?
    Thanks
    Rafeek

    Please refer to "Oracle Application Developer Guide" for details about creating spawned concurrent programs.
    Applications Releases 11i and 12
    http://www.oracle.com/technetwork/documentation/applications-167706.html
    Core Technology Concurrent Processing White Papers (Doc ID 67080.1)
    Spawned Concurrent Program
    http://forums.oracle.com/forums/search.jspa?threadID=&q=Spawned+Concurrent+Program&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Error while running the concurrent program

    Hi All,
    We ran a concurrent program to create XML report which completed in warning.
    we got the following message in the log file.
    [091907_050229025][][EXCEPTION] java.io.IOException: Bad file descriptor
         at java.io.FileOutputStream.writeBytes(Native Method)
         at java.io.FileOutputStream.write(FileOutputStream.java:260)
         at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
         at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
         at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:408)
         at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
         at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
         at java.io.BufferedWriter.flush(BufferedWriter.java:236)
         at oracle.apps.xdo.dataengine.XMLPGEN.closeStream(XMLPGEN.java:804)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:212)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:237)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:364)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:236)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Please suggest us how to resolve this issue.
    Thanks in Advance

    did u check view xml in diagnostic tab after submitting the request.
    if ur xml file is generated(xml data file), then its a problem with your template.
    regards
    Ratnesh P

  • Issue in Java concurrent program for Digital Signature Stamping

    Hi All,
    Im calling a Java concurrent program which does digital signature stamping on the PDF report generated.Program able to able to read the PDF file as input and also digital signature stored as file in the application but
    ends in error in create signature method , need help in this regard.
    Error:
    Parameter 0 is Request id of with out Digital signature file
    Parameter 1 is employee id of approver
    Parameter:0:99203256
    Parameter:1:1414603
    $$$$ start query fileinfo with callable statment
    programName>>>>>>>>BTPOPORPXML
    $$$$ Without digital Signature file Name $$$
    $/inst_top/finprod/apps/FINPROD_CPNQERPAAPZP10/logs/appl/conc/out/BTPOPORPXML_99203256_1.PDF
    PFX File Reading Start
    PFX File Reading Ends
    PFX File size is: 6460 Byte size is: 6460
    Elements present
    java.lang.NullPointerException
    at
    com.lowagie.text.pdf.PdfSignatureAppearance.getAppearance
    (Unknown Source)
    at
    com.lowagie.text.pdf.PdfSignatureAppearance.preClose
    (Unknown Source)
    at
    com.lowagie.text.pdf.PdfSignatureAppearance.preClose
    (Unknown Source)
    at com.lowagie.text.pdf.PdfStamper.close(Unknown
    Source)
    at
    btvl.oracle.apps.po.digsig.BTVLDigSign.runProgram
    (BTVLDigSign.java:151)
    at oracle.apps.fnd.cp.request.Run.main
    (Run.java:157)
    Edited by: 999033 on May 16, 2013 7:20 PM

    Hi Charls,
    I have successfully implemented at our end in 11i. Pl.try at your end.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST (passed your arguments... );
    COMMIT;
    IF NVL( v_request_id , 0 ) = 0 THEN
    DBMS_OUTPUT.PUT_LINE( 'Item Assignment to Organization Program Not Submitted');
    p_status := 'FAILURE' ;
    p_err_msg := 'ERROR RAISED AFTER SUBMITTING THE IMPORT ITEM ORG.ASSIGNMENT CONCURRENT REQUEST ... ' ;          
    ELSE
    v_finished := FND_CONCURRENT.WAIT_FOR_REQUEST
    request_id => v_request_id,
    interval => 0,
    max_wait => 0,
    phase => v_phase,
    status => v_status,
    dev_phase => v_request_phase,
    dev_status => v_request_status,
    message => v_message
    LOOP
    EXIT WHEN ( UPPER(v_request_phase) = 'COMPLETE' OR v_phase = 'C');
    END LOOP;
    HTH                    
    Sanjay

  • Ruby on Rails Concurrent program registration in EBS 11i

    hi everyone
    I'm trying to see if it is possible to register a Ruby on Rails concurrent program in Oracle E-business Suite 11i applications. We have Ruby on the Rail program we are using to create a GL Daily Rates file into one of our Custom top directory. Our intention is to create a request set that includes this Ruby on Rails program and SQL*Loader program that loads the data into staging table before data is uploaded to the GL_Daily_Rates_Interface.
    I have seen that the execution method for Ruby on Rails does not exist in 11i and have tried to use perl but without success.
    Any help will be much appreciated.
    Thanks in advance.
    Leo

    This is Oracle Application Server forum. Oracle Apps (EBS) forums are here:
    http://forums.oracle.com/forums/category.jspa?categoryID=3

  • Error finding/creating AM from Java Concurrent Program

    Hi All,
    Here is what I am attempting to do in a Java concurrent program
    --------------- Code Start - Error description in the code snippet comments ---------------
    public void runProgram(CpContext pCpContext)
    DBTransactionImpl mDBTransactionImpl
    = new DBTransactionImpl(pCpContext.getJDBCConnection());
    OAApplicationModule am = null;
    // At this point I tried to call various methods on DBTransactionImpl
    // And each method call, causes the CP to error with a different exception
    // Calling findApplicationModule() causes the following exception
    // java.lang.NullPointerException
    // at oracle.jbo.server.DBTransactionImpl.findApplicationModule(DBTransactionImpl.java:4840)
    // at xxicon.oracle.apps.xbol.pa.cp.XXIconImportUnitsFrmXls.runProgram(XXIconImportUnitsFrmXls.java:101)
    // at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    am = mDBTransactionImpl.findApplicationModule(IMPORT_UNITS_AM_INS);
    // Calling createApplicationModule() causes the following exception
    // java.lang.NullPointerException
    // at oracle.jbo.server.DBTransactionImpl.createApplicationModule(DBTransactionImpl.java:4954)
    // at xxicon.oracle.apps.xbol.pa.cp.XXIconImportUnitsFrmXls.runProgram(XXIconImportUnitsFrmXls.java:109)
    // at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    am = mDBTrx.createApplicationModule( IMPORT_UNITS_AM_INS
         ,IMPORT_UNITS_AM_DEF);
    // Calling isConnected() causes the following exception
    // java.lang.NullPointerException
    // at oracle.jbo.server.DBTransactionImpl.isConnected(DBTransactionImpl.java:4335)
    // at xxicon.oracle.apps.xbol.pa.cp.XXIconImportUnitsFrmXls.runProgram(XXIconImportUnitsFrmXls.java:65)
    // at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    if (mDBTransactionImpl.isConnected())
    // Log the fact that DBTrx is connected
    --------------- Code End - Error description in the code snippet comments ---------------
    Would someone be kind enough to tell me what is it that I am doing wrong here?
    Thanks a ton!
    KH
    Message was edited by: Kiran
    kiran.k.hegde

    Kiran,
    How did you convert/cast the CpContext into an AppsContext to supply to createRootAM?
    Would you maybe share some more code?
    Update
    No need for that, a simple
    public void runProgram( CpContext ctx )
    String amName;
    String methodName;
    OAApplicationModuleFactory amF = new OAApplicationModuleFactory();
    OAApplicationModule am = amF.createRootOAApplicationModule( ctx, amName );
    am.invokeMethod( methodName );
    will do...
    Message was edited by:
    TyskJohan

  • Pass input value to a concurrent program of type PL/SQL procedure

    Hi,
    I have created an executable program which is based on "PL/SQL Stored Procedure" method and created a concurrent program which calls this executable. It is available from SRS.
    The relevant stored procedure requires an input variable as parameter.
    How can I pass this parameter when calling the concurrent program from SRS? I tried to follow the same logic as when passing parameters while calling SRS based on "Oracle reports", so create a new parameter, but "token" field is disabled.
    Please help me which is the trick here.
    Thank you.

    Pl see these MOS Docs
    73492.1 - Creating a PL/SQL Concurrent Program in Oracle Applications
    1016543.102 - Custom Stored Procedure Run as Concurrent Request Fails w/ PLS-306 AND ORA-6550
    HTH
    Srini

  • Getting Error when running sql from concurrent program in R12

    Hi All,
    I created concurrent program and attached EXECUTABLE which executable method as SQL plus .
    Using this program I am running one SQL file in R12 when I am running I am getting below error .
    Same king of program I have define in 11i and running it is running can anyone please help me if I need to do any set ups or security thing to resave this problem.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] | /
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] | /
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    Concurrent Manager encountered an error while running SQL*Plus for your concurrent request 3162719.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Regrds,
    Sridhar.

    user12000862 wrote:
    Hi all,
    Thanks a lot giving replay below simple code I have put in my SQL file for testing Eventhough it is giving error .
    Table which i am using in Apps schema only.
    declare
    BEGIN
    insert into BRCD_HZ_DNB_XTBL_TEST values (666,'Y','547','Y','12254','TESTING','N','Y');
    commit;
    END;
    /Try this instead
    WHENEVER SQLERROR EXIT FAILURE ROLLBACK;
    WHENEVER OSERROR EXIT FAILURE ROLLBACK;
    insert into BRCD_HZ_DNB_XTBL_TEST values (666,'Y','547','Y','12254','TESTING','N','Y');
    commit;
    exit;HTH
    Srini

  • Getting error while uploading workflow defination using concurrent program

    I have created a custom workflow. I am trying the upload in the testing instance using the concurrent program Workflow Definitions Loader in update mode.
    I am getting the following error log:
    Application Object Library: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    FNDWFLOAD module: Workflow Definitions Loader
    Current system time is 20-JAN-2010 09:42:06
    wferr:
    - 1602: Could not save.
    - 1400: Could not save to database. MODE=UPLOAD EFFDATE=<null>
    - 1406: Workflow definition contains unsupported feature, cannot be uploaded to this database.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output is not being printed because:
    The print option has been disabled for this report.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 20-JAN-2010 09:42:07
    Oracle Workflow Definition Loader 2.6.4.0.
    Access level: 100, Mode: UPLOAD
    Unsupported type EVENT in attribute XXOWWIRC/EVENT_MESSAGE
    Unsupported type EVENT in activity XXOWWIRC/CANDIDATE_REGISTRATION
    Unsupported type EVENT in activity XXOWWIRC/CREATE_APPLICATION
    Unsupported type EVENT in activity XXOWWIRC/CREATE_IRC_ASG_STATUS
    Unsupported type EVENT in attribute IRC_GET_XML_VALUE/EVENT
    Unsupported type EVENT in attribute COMPAREEVENTPROPERTY/EVENT
    Unsupported type EVENT in attribute GETEVENTPROPERTY/EVENT
    Unsupported type EVENT in attribute SETEVENTPROPERTY/EVENT
    Unsupported type EXTJAVA in function WFSTD/XMLCOMPAREDATE
    Unsupported type EVENT in attribute XMLCOMPAREDATE/EVENT
    Unsupported type EXTJAVA in function WFSTD/XMLCOMPARENUMBER
    Unsupported type EVENT in attribute XMLCOMPARENUMBER/EVENT
    Unsupported type EXTJAVA in function WFSTD/XMLCOMPARETEXT
    Unsupported type EVENT in attribute XMLCOMPARETEXT/EVENT
    Unsupported type EXTJAVA in function WFSTD/XMLGETTAGVALUE
    Unsupported type EVENT in attribute XMLGETTAGVALUE/EVENT
    Unsupported type EXTJAVA in function WFSTD/XMLTRANSFORM
    Unsupported type EVENT in attribute XMLTRANSFORM/EVENT
    Unsupported type EVENT in attribute XMLTRANSFORM/NEWDOCUMENT
    Note : The same concurrent program is uploading this work flow without any error in the Development instance.
    Access level information is following:
    Acess Level : 100
    Check box Allow modification of customized object is not checked.
    For all the workflow entities access tab information is following:
    customization level : 100
    Access Level : 100
    Protection Level : 100
    Option Preserve customization is checked
    Option lock at this access level is checked.
    Please suggest
    Regards
    Devender Yadav

    Well - it shouldn't, but that doesn't mean that it won't make any difference :)
    If only one method doesn't work (and I must admit that I never use the concurrent program if I can avoid it), then the problem lies with the concurrent program. If none of the methods work, then there is a different problem.
    If you can deploy to one environment but not to another then I would also look at the differences between environments - patches, init.ora settings, profile options etc. to see where the difference lies.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

Maybe you are looking for

  • SOAP Sender Adapter: CDATA in response is lost

    Hi, Issue: CDATA sections in response messages are removed in the adapter engine and content of what used to be a CDATA section is replaced with HTML equivalents. Simplified version of my scenaio: Request is sent to SAP XI via synchronous SOAP adapte

  • Photoshop Layering Bug with Multi-language discs

    I have searched and couldn't find information regarding this problem. I am in the process of converting projects created in DVDSP1.52 that were multi-lingual and used layered menus created in Photoshop. Projects are moved into DVDSP3.02 where the lan

  • File to multiple idoc issue

    Hi All, My issue is that the size of the file is huge . so maybe at one fil we might have 50 K idocs in one file. I got through the First step where the file got processed and 50000 record data got divided into on 50000 idocs. But when its is posting

  • "Unknown Hardware" on Vista Re-install

    This weekend my Laptop (HDX16-1005ea) started acting stupid, and slowing down to a crawl, not playing video files properly!.. then when clicking on any Office 2007 program the installer pops up trying to install what ever program I was trying to use,

  • Please advise pattern for this situation

    Hi all, I plan to develop apps with thick client on the client side and using EJB on the server side, the EJB (Stateful Session Bean) will contain all the business logic and database connection. The apps are divided into multiple modules. Those modul