Concurrent program doubt

hi all,
i am trying to run one concurrent program from jdeveloper using below coding
int reqId = cr.submitRequest("XXXAP", "XXAPTRLB", "AP Trial Balance",null, true, param);
please let me know anybody what is
xxxap , xxaptrlb , ap trial balance meant for ie in short what for is the first argument , second argument and third argument . i am totall y confused.
expecting the response sonn,
prabhakarna.p

Hi,
Check this, hope this will help.
/** The ConcurrentRequest class provides wrapper methods for Request Submission
* PL/SQL APIs. Make sure that the database connection contains the user
* context in the db before calling these APIs. This can be done through AOL/J
* or Web Application context where it will set the user context in the db.
/** Submits concurrent request to be processed by a concurrent manager
* @param pApplication Short name of application under which the program
* is registered.
* @param pProgram concurrent program name for which the request has
* to be submitted
* @param pDescription Will be displayed along with user
* concurrent program name.
* @param pStartTime Time at which the request has to start running.
* @param pSubRequest Set to TRUE if the request is submitted
* from another running request and has to be treated
* as a sub request.
* @param pArguments Arguments for the concurrent request
* @returns Request Id of the submitted request.
* @exception RequestSubmissionException
Eg.
public int submitRequest( String pApplication,
                    String pProgram,
                    String pDescription,
                    String pStartTime,
                    boolean pSubRequest,
                    Vector pArgArray) throws OAException
With Regards,
Kali.
OSSI.

Similar Messages

  • Reg. Concurrent Program Scheduling

    Hi,
    I am having a small doubt regarding concurrent program scheduling, we are having a concurrent program which is scheduled.But for some code changes we re-created the same concurrent program.
    The question here is, does the concurrent program will be already in schedule mode or again we should schedule it.
    Thanks in advance.

    we re-created the same concurrent programWhat do you mean by recreated? If you have updated the code, then you do not need to schedule it again. You can also check the status of the concurrent program from the backend to verify.

  • Concurrent Program running very slow.

    HI,
    We are facing the issue in one of the concurrent program.
    The same program is running fine in other instance. Below is the only difference found in two instance.
    The Instance where Program is running fine have 32 GB SGA(problematic instance have 15G).
    The gather stats is not run from August.Thoug in correct instance , It ran daily.
    the table have 32 GB Data.
    Below is the trace file. Can some give some pointers on this.
    Increase in Elapsed time: In N1 it is taking 489 secs whereas in S1 it is 1385 secs. All other values i.e. disk, query, rows return etc are same. If we look into Event waited on, there is substantial increase in Total Waited time for db file% events. This suggest poor IO response in S1 as compared to N1.
    Please suggest on this. Details are provided below.
    Below stats where program is running fine.
    SELECT CCLA.COMM_LINES_API_ID
    FROM
    APPS.CN_COMM_LINES_API CCLA WHERE NOT EXISTS (SELECT '1' FROM
    APPS.CN_COMM_LINES_API API WHERE CCLA.COMM_LINES_API_ID =
    API.ADJ_COMM_LINES_API_ID)
    call count cpu elapsed disk query current rows
    Parse 1 0.01 0.02 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 20166 191.08 489.95 1834336 2006049 0 2016523
    total 20168 191.09 489.97 1834336 2006049 0 2016523
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 (recursive depth: 1)
    Rows Row Source Operation
    2016523 MERGE JOIN ANTI (cr=2006049 pr=1834336 pw=0 time=473247751 us)
    2439726 INDEX FULL SCAN CN_COMM_LINES_API_U1 (cr=182027 pr=155555 pw=0 time=42643897 us)(object id 97250)
    423203 SORT UNIQUE (cr=1824022 pr=1678781 pw=0 time=381850583 us)
    423203 TABLE ACCESS FULL CN_COMM_LINES_API_ALL (cr=1824022 pr=1678781 pw=0 time=249732042 us)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 159619 0.35 89.86
    db file scattered read 212885 0.35 280.64
    Statistics , where program is running slow.
    SELECT CCLA.COMM_LINES_API_ID
    FROM
    APPS.CN_COMM_LINES_API CCLA WHERE NOT EXISTS (SELECT '1' FROM
    APPS.CN_COMM_LINES_API API WHERE CCLA.COMM_LINES_API_ID =
    API.ADJ_COMM_LINES_API_ID)
    call count cpu elapsed disk query current rows
    Parse 1 0.05 0.06 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 21186 256.04 1385.18 1991116 2012446 0 2118537
    total 21188 256.09 1385.24 1991116 2012446 0 2118537
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 (recursive depth: 1)
    Rows Row Source Operation
    2118537 MERGE JOIN ANTI (cr=2012446 pr=1991116 pw=0 time=1288906893 us)
    2558107 INDEX FULL SCAN CN_COMM_LINES_API_U1 (cr=179269 pr=157985 pw=0 time=194003551 us)(object id 97250)
    439570 SORT UNIQUE (cr=1833177 pr=1833131 pw=0 time=989343814 us)
    439570 TABLE ACCESS FULL CN_COMM_LINES_API_ALL (cr=1833177 pr=1833131 pw=0 time=693156491 us)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 157990 0.70 356.76
    db file scattered read 229365 0.70 855.19
    latch: object queue header operation 3 0.00 0.00
    During the 2nd run in S1 performance was even poorer.
    BetsyS1: 2nd Run
    SELECT CCLA.COMM_LINES_API_ID
    FROM
    APPS.CN_COMM_LINES_API CCLA WHERE NOT EXISTS (SELECT '1' FROM
    APPS.CN_COMM_LINES_API API WHERE CCLA.COMM_LINES_API_ID =
    API.ADJ_COMM_LINES_API_ID)
    call count cpu elapsed disk query current rows
    Parse 1 0.08 0.05 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 21186 763.70 3018.52 1884004 20295509 0 2118551
    total 21188 763.78 3018.57 1884004 20295509 0 2118551
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 173 (recursive depth: 1)
    Rows Row Source Operation
    2118551 MERGE JOIN ANTI (cr=20295509 pr=1884004 pw=0 time=2896149023 us)
    2558132 INDEX FULL SCAN CN_COMM_LINES_API_U1 (cr=180418 pr=157991 pw=0 time=224565034 us)(object id 97250)
    439581 SORT UNIQUE (cr=20115091 pr=1726013 pw=0 time=2451754923 us)
    439581 TABLE ACCESS FULL CN_COMM_LINES_API_ALL (cr=20115091 pr=1726013 pw=0 time=1618716118 us)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 315191 0.70 1153.10
    db file scattered read 199223 1.27 1135.96
    latch free 25 0.00 0.06
    latch: cache buffers chains 91419 0.00 5.28
    latch: object queue header operation 18 0.00 0.00
    buffer busy waits 5764 0.00 0.32
    log file switch completion 20 0.41 1.77
    latch: undo global data 2 0.00 0.00
    read by other session 32372 0.57 61.34
    Thanks

    Hi Hasewaan,
    Nice to see you here.
    Gather stats is not from one month.
    But my doubt is ,
    If we are getting the Same Execution Plan in both the instance (where program is running fine and the problamatic instance). Will this gather statistics affects the performance.
    below is the plan in both the instance.
    SELECT CCLA.COMM_LINES_API_ID
    FROM
    APPS.CN_COMM_LINES_API CCLA WHERE NOT EXISTS (SELECT '1' FROM
    APPS.CN_COMM_LINES_API API WHERE CCLA.COMM_LINES_API_ID =
    API.ADJ_COMM_LINES_API_ID)
    Rows Row Source Operation
    2118566 MERGE JOIN ANTI (cr=2012503 pr=1992572 pw=1300 time=945869317 us)
    2558147 INDEX FULL SCAN CN_COMM_LINES_API_U1 (cr=179176 pr=157991 pw=0 time=108367704 us)(object id 97250)
    439581 SORT UNIQUE (cr=1833327 pr=1834581 pw=1300 time=750214628 us)
    439581 TABLE ACCESS FULL CN_COMM_LINES_API_ALL (cr=1833327 pr=1833281 pw=0 time=429071180 us)
    Regards,
    Syed

  • Error in running a order import concurrent program

    Hi,
    Please tell me what type of error is this ,i am using user 'operations',and i have inserted data to the interface table successfully but while running the concurrent program ,i am getting this error.
    Cause: FDPSTP failed due to ORA-20100: File o0085033.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log.
    ORA-06512: at "APPS.FND_FILE", line 396
    ORA-06512

    Hi,
    Please see old threads as this error was discussed many times in the forum before.
    ORA-20100
    http://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-20100&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Getting Error While Attaching Concurrent Program Output PDF file for POAPPRV Workflow

    Hi All,
    I am getting the below error when I am trying to attach concurrent program output to the PO Approval Notification.
    An Error occurred in the following Workflow.
    Item Type = POAPPRV
    Item Key = 1040589-528378
    User Key =945871
    Error Name = WF_ERROR
    Error Message = [WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: [WFMLR_DOCUMENT_ERROR]' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'. ERROR_STACK=
    Wf_Notification.GetAttrblob(3604701, ZZ_PREVIOUS_PO_COMPARE, text/html)
    WF_XML.GetAttachment(3604701, text/html)
    WF_XML.GetAttachments(3604701, http://oraerp.am.corp.xxxx.com:8099/pls/DEV, 11283)
    WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 3604701)
    WF_XML.Generate(oracle.apps.wf.notification.send, 3604701)
    WF_XML.Generate(oracle.apps.wf.notification.send, 3604701)
    Wf_Event.setMessage(oracle.apps.wf.notification.send, 3604701, WF_XML.Generate)
    Wf_Event.dispatch_internal()
    Error Stack =
    Activity ID = 190844
    Activity Label = AL_NOTIFY_APPROVER_PROCESS:ZZ_PO_PO_APPROVE_ATTCH
    Result Code = #MAIL
    Notification ID = 3604701
    There are several threads for this error however I cannot find any specific solution to the problem.
    Please find the code below -
        wf_engine.setitemattrdocument(itemtype=>itemtype,
                                      itemkey=> itemkey,
                                      aname=>'ZZ_PREVIOUS_PO_COMPARE',
                                      documentid =>'PLSQLBLOB:zz_po_reqapproval_init1.xx_notif_attachments/' || to_char(l_request_id_prev_po)||':'||to_char(l_document_num));
    -- here l_request_id_q_and_s is the request id of the program and l_document_num is the PO document number
    PROCEDURE xx_notif_attachments(p_request_id    IN VARCHAR2,
                                   p_document_num  IN VARCHAR2,
                                   p_document      IN OUT BLOB,
                                   p_document_type IN OUT VARCHAR2) IS
      v_lob_id          NUMBER;
      v_document_num    VARCHAR2(15);
      v_document_prefix VARCHAR2(100);
      v_file_name       VARCHAR2(500);
      v_file_on_os      BFILE;
      v_temp_lob        BLOB;
      v_dest_offset     NUMBER := 1;
      v_src_offset      NUMBER := 1;
      v_out_file_name   VARCHAR2(2000);
      v_conc_prog_name  VARCHAR2(500);
      v_conc_req_id     NUMBER;
      CURSOR get_output_file(p_concurrent_request_id NUMBER) IS
        SELECT cr.outfile_name, cp.concurrent_program_name
          FROM fnd_concurrent_requests cr, fnd_concurrent_programs_vl cp
         WHERE request_id = p_concurrent_request_id
           AND cp.concurrent_program_id = cr.concurrent_program_id;
    BEGIN
      --    set_debug_context('xx_notif_attach_procedure');
      v_conc_req_id  := to_number(substr(p_request_id,
                                         1,
                                         instr(p_request_id, ':') - 1));
      v_document_num := substr(p_request_id,
                               instr(p_request_id, ':') + 1,
                               length(p_request_id) - 2);
      OPEN get_output_file(v_conc_req_id);
      FETCH get_output_file
        INTO v_out_file_name, v_conc_prog_name;
      CLOSE get_output_file;
      v_out_file_name := substr(v_out_file_name,
                                instr(v_out_file_name, '/', -1) + 1);
      v_file_name     := to_char(v_document_num) || '-Previous_PO_Rev.pdf';
      utl_file.fcopy(src_location  => 'APPS_OUT_DIR',
                     src_filename  => v_out_file_name,
                     dest_location => 'PO_DATA_DIR',
                     dest_filename => v_file_name);
      --  v_lob_id := to_number(v_document_id);
      v_file_on_os := bfilename('PO_DATA_DIR', v_file_name);
      dbms_lob.createtemporary(v_temp_lob, cache => FALSE);
      dbms_lob.fileopen(v_file_on_os, dbms_lob.file_readonly);
      dbms_lob.loadblobfromfile(dest_lob    => v_temp_lob,
                                src_bfile   => v_file_on_os,
                                amount      => dbms_lob.getlength(v_file_on_os),
                                dest_offset => v_dest_offset,
                                src_offset  => v_src_offset);
      dbms_lob.fileclose(v_file_on_os);
      p_document_type := 'application/pdf;name=' || v_file_name;
      dbms_lob.copy(p_document, v_temp_lob, dbms_lob.getlength(v_temp_lob));
    EXCEPTION
      WHEN OTHERS THEN
        wf_core.CONTEXT('ZZ_PO_REQAPPROVAL_INIT1',
                        'xx_notif_attachments',
                        v_document_num,
                        p_request_id);
        RAISE;
    END xx_notif_attachments;
    Please help me find a to the above mentioned error.
    Thanks,
    Suvigya

    There are two ways to look at what error the PLSQLBLOB API is throwing.
    1) Call your PLSQLBLOB API GNE_PO_CREATE_FILE_ATTACHMENT.Gne_Create_File_Attachment directly from a PLSQL block and verify that it returns the BLOB data successfully.
    You could also call another WF API that in turn executes the PLSQLBLOB API internally. For example,
    <pre>
    declare
    l_document blob;
    l_doctype varchar2(240);
    l_aname varchar2(90);
    begin
    dbms_lob.CreateTemporary(l_document, true, dbms_lob.Session);
    -- 207046 - This is the notification id of your failed workflow
    -- PO_REPORT - Document type attribute
    -- 'text/html' - Content Type being generated for
    Wf_Notification.GetAttrBLOB(207046, 'PO_REPORT', 'text/html', l_document, l_doctype, l_aname);
    -- Print the size of the document here to verify it was fetched correctly
    end;
    </pre>
    2) Turn on log for SYSADMIN user with following attributes.
    Log Enabled = TRUE
    Log Level = ERROR
    Log Module = wf.plsql%
    Restart the Workflow Deferred Agent Listener and Workflow Notification Deferred Agent Listener and run your workflow process. Search for log messages written for above context and you can identify the error at wf.plsql.WF_XML.GetAttachment module with message starting as "Error when getting BLOB attachment ->"
    Hope this helps.
    Vijay

  • 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

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

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

  • 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

  • Rtf template not showing as uploaded in concurrent program

    Hello
    I have created xml data definition and uploaded a rtf template. Then linked it to my concurrent program. But when i ran the concurrent program successfully all i get is the xml output. Upon closer inspection it shows that no template is uploaded. Yet in xml publisher it shows as uploaded.
    so my question is: what can prevent a rtf template from attaching to a concurrent program?

    If you and send the template, it would be helpful.
    kindly send it to [email protected]
    Deepa

  • 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
    Jana

    Hi 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,
    Archana

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

  • PL/SQL log in java concurrent program is missing

    Hi,
    I'm experiencing something strange with EBS R12 concurrent program logs.
    Our concurrent program is just a normal program that runs fine in most cases. It is written in java, which calls PL/SQL procedures. Usually the log is concatenation of logs from both like following
    (log from mid-tier java codes ...)
    Start of log messages from FND_FILE
    (log from database tier PL/SQL codes ...)
    End of log messages from FND_FILE
    But on one customer's environment the PL/SQL log is missing. This makes us unable to see the important messages.
    I tried to directly look at the files but had no luck.
    select 'cat '||c.value||'/'||p.plsql_log
    from fnd_concurrent_processes p, fnd_concurrent_requests r, fnd_env_context c
    where r.controlling_manager=p.concurrent_process_id
    and p.concurrent_process_id=c.concurrent_process_id
    and c.variable_name='APPLPTMP' and r.request_id=...
    (file not exist in file system)
    req=...; nedit ${APPLCSF}/log/l${req}.req&
    (pl/sql part is missing)
    We verified database tier log directory is writable and has free space.
    Also verified that other concurrent programs written in PL/SQL has correct logs.
    How can we get PL/SQL logs? Please help.
    Thanks

    Hi Srini, here are the env details I got from customer:
    1) $ uname -a
    Linux srvoracle06.gpodeacero.corp 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
    2) select banner from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE 11.1.0.7.0 Production
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 – Production
    3) The EBS version result is:
    Oracle Applications : 12.1.2
    Hi Hussein, about enabling trace for concurrent program, how to do that? I guess you are not refering to database SQL trace right?

  • How can i get the source code from java concurrent program in R12

    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    Zulqarnain

    user570667 wrote:
    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    ZulqarnainDid you see old threads for similar topic/discussion? -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Java+AND+Concurrent+AND+Source+AND+Code&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • How to select multiple values from the Parameters in the concurrent program

    How to select multiple values from the Parameters defined in the concurrent program...and i believe multiple selection is not a direct feature of EBS, but is there any workaround solution to acheive mulitple selection?

    I think there's no way to do that using standard feature.
    Some workaround I use :
    1. If the number of selections are fixed, you could use multiple parameters for the same valueset. For example :
    Selection1 : <choose first selection>
    Selection2: <choose 2nd selection>
    ..etc.
    If you don't use it then leave it empty.
    2. Use text varchar valueset and enter it manually and separate by comma (or other value) , eg : selection1,selection2,selection3....etc.

  • Concurrent Program not executing

    Hi All,
    I have created new custom concurrent program of type SQL*Plus to purge the data. To my surprize when I submit the program, program is not getting executed, which I can confirm saying the data is not getting deleted. Also the log messages mentioned script is also not displayed in the LOG.
    No debug message is displayed in neither LOG nor OUTPUT.
    Executable File Name is correctly given and taken care of all other mandatory stuff while registration.
    Bleow the script:
    I am passing Number of Days ( 500 ) as parameter to this program.
    So here &1 = 500:
    DECLARE
    L_deleted_rec_cnt NUMBER;
    BEGIN
    fnd_file.put_line ( fnd_file.LOG, ' Conc Program Starts');
    DELETE
    FROM xxX_TABLE_NAME
    WHERE TRUNC (creation_date) < TRUNC (SYSDATE- &1);
    L_deleted_rec_cnt := SQL%ROWCOUNT;
    IF L_deleted_rec_cnt > 0 THEN
    COMMIT;
    fnd_file.put_line ( fnd_file.LOG, L_deleted_rec_cnt||' Records purged');
    ELSE
    fnd_file.put_line ( fnd_file.LOG, ' No Records to purge');
    END IF;
    fnd_file.put_line ( fnd_file.OUTPUT, ' Conc Program End');
    EXCEPTION
    WHEN OTHERS THEN
    fnd_file.put_line (fnd_file.LOG, 'Error in purging '||SQLCODE||' '||SQLERRM);
    END;
    Please advise.
    Regards,
    Ram

    It is 11i and the LOG is showing as Concurrent Program executed succesfully. THere is not error reported in the LOG.
    And also nothing writter to OUT file also.
    Content in LOG file:
    XXXX Customer Advocacy: Version : 1.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXCC module: XXXX Error Log Purge
    Current system time is 28-DEC-2009 04:55:46
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    450
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 52374634      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 28-DEC-2009 04:55:47
    Content in Out FIle:
    Input truncated to 2 characters
    Regards,
    Ram

Maybe you are looking for