Oracle Concurrent Program Output

I was tried to output concurrent report into HTMlL format, but it adds the tage <font="symbol">Field</font="symbol> between my data. So the output become some weird character.
Does anyone experience similar problem?
Thanks

Basically, i create the rdf report with the following parameters:
width : 30
height: 8.5
report width: 180
report height: 66
and in the concurrent program
column: 180
row: 66
orientation: landwide
when i set the output of concurrent program to text, it squeeze the text together. And when i set the output HTML, it displays all the column properly, but change the font to symbol.

Similar Messages

  • 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

  • Current Concurrent Program Output permissions

    Hi,
    I am working on Oracle Applications 11.5.10
    Is it possible to send the concurrent program output of the current running program as a mail ? Or does the output file become available for reading once the whole program completes ?
    I am writing the errors encountered during the current program into the output file for the current program. At the end of the program, I am calling a shell script to send the output file in mail. However I am getting an error message saying file not found or no permission on file. So wanted to know if I am doing the right thing. Or should I call the mail notification only once the whole program completes.
    I tried to search the forum, but no where its mentioned if anyone is trying to access output file of currently running program. It will be great if someone can share their knowledge.
    Thanks,
    Sou

    Hi;
    Please check thread
    Concurrent Request Output with e-mail
    Re: concurrent ouput to email
    Regard
    Helios

  • How to send concurrent program output file as an attachment in the notification mail

    Hi All,
    We are on Oracle apps version - 11.5.10.2
    We have a requirement wherein we need to send the concurrent program output file as an attachment while sending the notification mail to the user.
    Currently we have tried the approach wherein we are specifying the user id in the OPTIONS tab (Notifying the following people) while submitting the concurrent program.
    But using this approach, the user gets only the URL of the output file in the notification mail and not the output file as an attachment.
    Kindly let us know if anyone has incorporated the logic to send the output file as attachment in the notification mail.
    Please Note - We do not want any custom code to be written to send the attachment.
    Any pointers to this will be helpful.
    Regards,
    Shruti

    Hi All,
    We are on Oracle apps version - 11.5.10.2
    We have a requirement wherein we need to send the concurrent program output file as an attachment while sending the notification mail to the user.
    Currently we have tried the approach wherein we are specifying the user id in the OPTIONS tab (Notifying the following people) while submitting the concurrent program.
    But using this approach, the user gets only the URL of the output file in the notification mail and not the output file as an attachment.
    Kindly let us know if anyone has incorporated the logic to send the output file as attachment in the notification mail.
    Please Note - We do not want any custom code to be written to send the attachment.
    Any pointers to this will be helpful.
    Regards,
    Shruti

  • How to Email Concurrent Program Output to Email using Shell Script

    Hi All,
    Have a Nice Day,
    I have a tricky requirement and i was not able to achieve, let me explain my requirement
    I have created a PLSQL Concurrent Program named "Approval Update". This will do update and it display the number of rows updated.
    Now i need to take this concurrent program output and it needs to be send it to the person who submits this program as an email using shell scripts.
    I have referred meta link note as well as some OTN posts but I was not able to achieve this.
    Please help me to complete this As soon as possible, Thanks in advance for your help.
    Let me know if you need more clarifications.
    Regards,
    CSK

    I don't have much idea in shell scripts all i want is, in my shell script i need to get the parent concurrent program output and that needs to be emailed to the intended person.
    Please help to to get the shell script commands for this.I do not have any shell script to share, sorry! If you want the query to get the parent request_id so you can get the log/out file name/location from then please refer to:
    REQUESTS.sql Script for Parent/Child Request IDs and Trace File IDs [ID 280295.1]
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_CONC_REQ_SUMMARY_V&c_owner=APPS&c_type=VIEW
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_CONCURRENT_REQUESTS&c_owner=APPLSYS&c_type=TABLE -- LOGFILE_NAME & OUTFILE_NAME
    Thanks,
    Hussein

  • 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

  • Java Concurrent Program - Output of BI publisher report

    Hi,
    I have a requirement of a Java Concurrent Program in Oracle apps to print the output of a BI Publisher Report. I need help in the following aspects
    1. Setting up my Jdeveloper for writing the Java code
    - I have downloaded xdo*,cabo*,jbo*,framework*,util* from $JAVA_TOP to my_classes (C:\JDeveloper\jdevhome\jdev\myclasses)
    - However my import statements are not working yet.
    2. I had a reference of similar program where I used it for generating PDF file (output of a XML publisher report) from OA Framework page
    This is a controller class which was generating the PDF output. Link is given below
    https://docs.google.com/leaf?id=0BxunA4-pnNcqNGY5NDNjNDItYjhlMi00ZDNlLTk1ZTctMWY4MjhjNTYwZDdh&hl=en_US
    Any help !!!!!!!!!!

    Hi Hussein,
    Helpful Links.. Yes I had studied them before I posted this. But my requirement is bit complex.
    Please check the following link
    Attachment Print along with xml output - Need help !!!
    Thanks,
    Neil

  • Sending concurrent program output as an Email to a distribution list

    Hi Oracle Gurus,
    We have a unique requirement wherein we need to send the output of a Concurrent Program as an attachment with an mail to a Distribution list . Can someone please let me know if there is any provision within Apps to accomplish the same.
    Regards
    Kiran

    Hi ,
    COncurrent prorams is for Reports ?
    if so try with solution.
    write a unix script. or this purpose.
    Something in the order of this should work. You get the idea.
    1. Define printer styles
    2. Define a printer driver to call script in the arguments field:
    $ZZ_TOP/bin/email.sh $PROFILES$.FILENAME
    $PROFILES$.USERNAME $PROFILES$.TITLE
    3. Assign printer to the print styles and the driver
    4. Register the e-mail printer
    5. Default your report use the e-mail printer
    # Example script email.sh
    #!/bin/ksh
    [email protected]
    mailx -s "$3" $email_addr $1
    exit 0
    $1 is $PROFILE$.FILENAME
    $2 is $PROFILES$.USERNAME
    $3 is $PROFILES$.TITLE
    try with this u will get some idea.
    just let me know after you done it.
    --Basava.S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Concurrent Program output error

    Hi
    When i want to check the output of concurrent program i am getting error for all concurrent program
    An error occurred while attempting to establish an Applications File Server connection with the node FNDFSERP-1-DR.
    There may be a network configuration problem, or the TNS listener on node FNDFSERP-1-DR may not be running. Please contact your system administrator.
    I have check several for on metalink and run adrelink force=y "ad FND" and other FND product also but still the same issue. Kindly help me
    Database 10.2.0.4
    EBIZ - 12.1.2
    OS - HP Unix
    Thanks
    Krishna

    Hi Helios,
    Application listener is up and running .
    i have tried to stop all services and start again. this is sucess. all services are start/stop with status code 0.
    I have run autoconfig on application tier that is also sucessfull.
    for tnsping i have an issue. when i do FNDFS_Hostname i am able to ping. if i see the log file for my concurrents, there is entry for FNDFSHostname (_ is missing in this, how come this happen i am not sure). how can i restore the oroginal things to FNDFS_Hostname. Kindly advice.
    Thanks
    krishna

  • How to email a concurrent program output in PDF format?

    I have a XML report running as a concurrent program with PDF output. I need to automate the xml report to be emailed to a specific user as the concurrent manager runs with PDF output. I am using reports 6i and database 10g.
    Please help me.

    Hi
    Use following code in AfterReport trigger
    function AfterReport return boolean is
    BEGIN
    SRW.USER_EXIT(’FND SRWEXIT’);
    DECLARE
    vinhandle UTL_FILE.file_type;
    rfile RAW (32767);
    flen NUMBER;
    bsize NUMBER;
    ex BOOLEAN;
    vrec VARCHAR2 (30) := ‘[email protected]’; –receiver’s email id
    vsender VARCHAR2 (30) := ’[email protected]’; –sender’s email id
    vsubj VARCHAR2 (50) := ’subject’; –subject
    vmesg VARCHAR2 (4000);
    vmtype VARCHAR2 (30) := ‘text/plain; charset=us-ascii’;
    BEGIN
    vmesg := ‘Please print and complete attachment’; –message
    UTL_FILE.fgetattr (’CTEMP’, –name of the directory
    ‘o’ || :p_conc_request_id || ‘.out’, –name of the file
    ex,
    flen,
    bsize
    vinhandle :=
    UTL_FILE.fopen (’CTEMP’, ‘o’ || :p_conc_request_id || ‘.out’,'R’);
    UTL_FILE.get_raw (vinhandle, rfile, flen);
    UTL_FILE.fclose (vinhandle);
    utl_mail.send_attach_raw (sender => vsender
    ,recipients => vrec
    ,subject => vsubj
    ,MESSAGE => vmesg
    ,attachment => rfile
    ,att_inline => FALSE
    ,att_filename => ‘o’|| :p_conc_request_id|| ‘.out’
    – CTEMP is a directory with path as $APPLCSF/out or your custom out folder
    END;
    return (TRUE);
    end;
    Susheel

  • Concurrent Program outputs gettting merged

    Hi,
    We are facing a strange issue in our EBS 11i instance where the output of one concurrent program is getting merged with another program output.(i.e output of financial concurrent programs get merged with HR/Payroll concurent program output and vice versa). This is not hapeening foe all the programs but only hapeens for few specific programs.
    Has anyone faced this issue previously or can highlight the cause for this abnormal issue.
    Regards,
    Rupdipt

    Is this a cloned instance? Have you reviewed the contents of the output files to verify none of those output files from the source instance?
    If the above doesn't help then I would suggest logging a SR.
    Thanks,
    Hussein

  • Oracle Concurrent Programs remains in Running Normal State for long time.

    Hi All,
    We have encountered an issue where Concurrent Programs remains in the state of Running Normal.
    Importantly when we try to cancel those requests , it displays a pop-up message "*Could not lock request*".
    Also, when we click on Diagnostics button; it says
    *"Post-processing has completed for this request, but the manager has not yet marked it as Completed", the report is completing normal but the status is not marked as completed by manager."*
    Please help me to find the root cause of this issue.
    It happened twice in this week and we had to bounce the Database followed by the CMCLEAN.sql
    Thanks in advance.
    Regards,
    Avadhut

    Hi,
    We have encountered an issue where Concurrent Programs remains in the state of Running Normal.
    Importantly when we try to cancel those requests , it displays a pop-up message "*Could not lock request*".Please see (Note: 1076452.1 - Requests Show as Running Forever But Give Could Not Lock Request When Cancelling).
    Also, when we click on Diagnostics button; it says
    *"Post-processing has completed for this request, but the manager has not yet marked it as Completed", the report is completing normal but the status is not marked as completed by manager."*
    Please help me to find the root cause of this issue.
    It happened twice in this week and we had to bounce the Database followed by the CMCLEAN.sqlPlease mention the application release.
    Is the issue with specific concurrent program?
    Was this working before? What changes have been done recently?
    Thanks,
    Hussein

  • Shell script to send concurrent program output via FTP and Email

    Hi,
    Does any one have a shell script to send the output generated by a concurrent proram
    1 - Using FTP to an external server
    2 - By email as an attachment.
    Thanks

    There are more specific forums which address this question within the Oracle Technology Network. Please consider posting your question there for better responses. The focus of this forum is limited to HRMS suite of modules:
    http://forums.oracle.com/forums/categoryHome.jspa?categoryID=84
    Regards,
    Greg

  • Oracle concurrent program paramters r12

    Hello,
    i want to create custom report in oracle apps the requirement is :
    Requirement (1)
    Excel report to be automated from Oracle ERP system by a concurrent job on a 1st of each calendar month with date parameters of 15th to 31st of previous calendar month
    Excel report to be automated from Oracle ERP system by a concurrent job on a 15th of each calendar month with date parameters of 1st to 14th of current calendar month
    CP Parameter(1) Date : 15th of previous calendar month
    CP Parameter(2) Date : 30th of previous calendar month
    Requirement (2) Monthly report extracted will only show changes from the previous month
    Can you please tell me how to create above parameter in oracle apps concurrent manager ??
    Also we need to display Monthly report extracted will only show changes from the previous month ??
    Pls help me ...
    Thanks,
    Ali
    Edited by: 981529 on Jan 13, 2013 8:10 AM
    Edited by: 981529 on Jan 15, 2013 2:18 AM

    Hi,
    Your question is related to Oracle EBS.
    Please post in the respective Category
    http://forums.oracle.com/forums/category.jspa?categoryID=3
    Thanks.

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

    Why 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

Maybe you are looking for

  • Blue screen of death, can't boot recovery or from external disk.

    Hello Guys. I have a very wiered problem with my 15 Macbook Pro early 2011 (thunderbolt), latest version of mountain lion (10.8.4?). The computer does boot but won't show up the login screen. I've tried  to boot in recovery mode, but as soon as recov

  • Server Admin not drawing graphs

    I have a fresh install of Leopard that will not display the graphs in Server Admin on the server. I can see the graphs if viewing from my laptop or other machine, but not from the server itself. It gets a few errors like ... ... [0x0-0x1b01b].com.app

  • Connect 2 macs to 2 displays

    Hello Thank you for taking the time to view this , I have a problem i recently purchased a 20" cinema display which is currently hooked up to 2 mac minis using a Belkin Switch 2 KVM , The only problem is i want to connect my apple studio display to t

  • Weblogic Classpath setting error not able to pick the properties file

    Hi All, We are using a third party jar and create a java Web service on the top of that jar. This jar file need two configuration file .properties and .xml when we deploy war for the application into weblogic server it will give file not found error.

  • App Store doesn't update applications

    My first iPhone 3G had no problems with the application store but ever since I exchanged it for another iphone now the application store shows all applications up to date even though if there are updates availables. Does anyone has the same problem a