OAF: Creating PDF output without calling concurrent program.

Hi Everyone,
i want to Create PDF output in OAF.
I wil be having one button “Convert PDF” on my OAF page. On clicking on that button my page should generate pdf output without calling concurrent program(Because running a concurrent program may take much time sometimes.).
How can I do that?
I have never generated pdf outputs so plz help me to get out of this.
What are the possible ways to get this?
Any example?
Any suggestions wil be really useful.
Thanks.....

Hi ,
Please refer to -
http://apps2fusion.com/at/85-daxesh/515-oa-framework-xml-publisher-integration
http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework
Regards,
Ashish

Similar Messages

  • Output of the concurrent program in PDF - Reg

    Hi All,
    I have a requirement wherein i have to get the output of the concurrent program as a pdf file.
    I'm using the report file (.rdf) as the executable.
    When I'm giving the output as PDF in program definition, it errors out.
    The report is very complex and using XML publisher for getting a PDF output will be tedious one.
    Any pointers or tutorials will be of great help.
    Regards,
    Mohan

    Hi,
    "Program was terminated by signal 11
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request ********.
    Review your concurrent request log and/or report output file for more detailed information."
    The error message was not specific and i could not make out what it is.Please make sure that the DISPLAY is set properly as per (Note: 377748.1 - Postscript And PDF Reports Complete With 'Program Was Terminated By Signal 11'). Also, verify the value of Tk2Motif*fontMapCs as per (Note: 396336.1 - PDF Reports Fail With Program Was Terminated By Signal 11). Make sure you bounce the CM each time you do any modification.
    And regarding XML, can i get the PDF output from the concurrent program itself without using the XML publisher,by setting the output style as PDF??????Yes you can, create the concurrent program using reports builder and register it in the application with a PDF output format. If your database characterset is UTF8, then I believe you need to use XML publisher.
    Regards,
    Hussein

  • Calling Concurrent program from OAF-PDF Outtput not in English

    Hi ,
    I've successfully done "Calling Concurrent Program from OAF" once i clicked the button which i have in my page it generates RequestID and that shows request page,In that when i click "Output" icon the PDF file is opened.
    But in that PDF file it shows the datas in the different language.
    For example Emp name column is shown as
    ΚΙΝΓ
    ΧΛΑΡΚ
    ΣΧΟΤΤ
    ΦΟΡ∆
    ΣΜΙΤΗ
    ΑΛΛΕΝ
    Αδαµσ
    Σεντηιλςελ
    Σαραϖανα Χ
    Σεενυ
    Σαβενα
    Ηαριkindly help me...
    Regards,
    Saro

    Hi Hussein,
    Here I've shown the details of log file
    Purchasing: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXCON module: XXCON
    Current system time is 29-DEC-2010 11:37:23
    +-----------------------------*
    *| Starting concurrent program execution...*
    +-----------------------------*
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    Report Builder: Release 10.1.2.3.0 - Production on Wed Dec 29 11:37:29 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Executing request completion options...
    ------------- 1) PRINT   -------------*
    Printing output file.
    Request ID : 5865903      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 29-DEC-2010 11:37:33
    Regards,
    Saro

  • Reg emailing the output of a concurrent program as an attachment

    Hi,
    Our requirement is to email the output of a concurrent program?(SQL*PLUS Report Output) as an attachment to the supplied Email Id, without using seperate Shell Script.
    We have configured a printer and passed the Printer Driver argument as
    uuencode $PROFILES$.FILENAME Budget_Report.csv | /bin/mailx -"Cisco AS Budget Report" $Email_id
    The Problem is we are passing the Email address directly to the command.Can't we use the Parameter value to that command?
    And also a junk character 'end gets displayed in the mail body.
    Sometimes the concurrent Program ends with warning message as
    APP-FND-00500 : AFPPRN received a return code of failure from routine FDUPRN.
    An error occured while AOL tried to spawn the print process.
    Please suggest some ways on getting proper output?
    Thanks.

    Hi,
    Email address can be Profile Option - create a new profile option, set value and reference like the $PROFILES$.FILENAME.
    For logging pipe standard out and error to a logfile. Note I haven't tested the command below, just to give you an idea. Would be better to create a shell script then you can change without having to go to the Printer Drivers and bounce Conc Mgr.
    Ie. if you profile option is XX_EMAIL_ADDRESS then
    uuencode $PROFILES$.FILENAME Budget_Report.csv | /bin/mailx -"Cisco AS Budget Report" $PROFILES$.FILENAME >/mypath/myfile 2>&1
    With regards to the failure, if your uuencode or mailx returns 1 (ie, can't find file or whatever) then your print job fails. This is why you should either log or create shell script to handle the error better.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/
    Message was edited by:
    gareth.roberts
    oops, have tested changed to haven't tested!

  • Creating pdf-output in Germany

    Hello,
    I have created a report with Developer 6.08 on a Windows NT 4.0-Client.
    The report creates pdf-output.
    The compiled report is run with rwrun60 on several PC with also NT 4.0.
    On some PC the output file is correct and can be read by the Acrobat Reader. On others the numbers in the created
    output file have a (german?) comma as decimal seperator.
    These files cannot be read by the Acrobat Reader.
    The regional settings on all PC are set to "Deutsch(Deutschland)".
    The NLS_LANG is set to AMERICAN_AMERICA.WE88ISO59P1 and the "decimal"-variable in the report is a dot.
    There must be some difference between the PC, but where is it?
    Thanks, Birgit

    Birgit,
    There was a bug with some german printer drivers where if you printed a report to that driver, afterwards you would see this behaviour with PDF output. This was fixed in an earlier 6i patch set. I would suggest that you download the latest 6i patchset from metalink and install that.
    Regards,
    Danny

  • Xsql servlet: creating pdf output

    hello,
    is it possible to create pdf output with the xsql servlet???
    i know that html is possible. i'm a beginner..
    thanks
    cleo

    Birgit,
    There was a bug with some german printer drivers where if you printed a report to that driver, afterwards you would see this behaviour with PDF output. This was fixed in an earlier 6i patch set. I would suggest that you download the latest 6i patchset from metalink and install that.
    Regards,
    Danny

  • Calling Concurrent Program From OAF in R12

    Hi All,
    I have called concurrent request from OAf page..When i click the submit button the page forwarded to Request page..
    In that i have three buttons only Submit Request,search,Refresh but i need, What are all the options present in Requests > Submit window (not from OAF)"Hold Request,Cancel Request,Diagnostics,View Log"..
    Also in my OAF Page if i click Submit Request-->Radio Button "New Request"--> if i clock LOV it doesn't shows any values...
    Kindly help me to resolve this issue..
    Thanks in advance for your valuable suggestion..
    Regards,
    RKO

    Hi Hussein,
    Here I've shown the details of log file
    Purchasing: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXCON module: XXCON
    Current system time is 29-DEC-2010 11:37:23
    +-----------------------------*
    *| Starting concurrent program execution...*
    +-----------------------------*
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    Report Builder: Release 10.1.2.3.0 - Production on Wed Dec 29 11:37:29 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Executing request completion options...
    ------------- 1) PRINT   -------------*
    Printing output file.
    Request ID : 5865903      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 29-DEC-2010 11:37:33
    Regards,
    Saro

  • ADF: Calling concurrent program in Oracle Apps from ADF

    Hi All,
    I am using Jdev 11G...
    I have a requirement to call a concurrent program which is in Oracle E-Business from ADF page.
    i will have ADF page with one button, On click of that ADF button we need to call the concurrent program and show the output generated by the concurrent program from ADF.
    Plz help me to get out of this.
    Any answers will be really useful.
    Thanks.

    Hi Frank,
    Thanks for ur quick response.
    That is a Report and the output of the report is generated by running concurrent program.
    The output of the report is in pdf format.
    So we need to call the report from ADF and show the pdf output.
    Thanks.....

  • How to create a value sets for concurrent program?

    Hi Friends,
    I am creating a concurrent program with a parameter period...
    In the value set for the parameter period, I am using the following query :
    ---where application_id = 101
    and set_of_books_id = :$PROFILES$.gl_set_of_bks_id
    and closing_status IN ( 'O', 'F', 'C')
    order by period_year, period_num' ----
    In my cursor, i have a condition 'where set_of_books_id = ' ---
    How can I pass the above set of books id into the cursor ?? it is not working when I am defining another parameter as Book and passing that value to the cursor....
    I need that period parameter to return all the periods for the set of books where we are running the concurrent request from...I also need to get the set of books id for my cursor...
    Hope I am making sense...All that I am trying is to have period parameter and also a SOB id in cursor condition...
    Rgds,

    Hi Vamsi /Nitin,
    Let me explain the whole thing now.....
    My plsql procedure is ......
    CREATE OR REPLACE procedure GL_INT(
         perrbuff     out varchar2,
         pretcode     out varchar2,
    pbook          in varchar2,
    pperiod          in varchar2
         ) is
    cursor cur1 (p_sdate in date, p_edate in date )is
    select distinct group_id groupid,
    user_je_source_name source
    from gl_interface
         where accounting_date >= p_sdate
    and accounting_date <= p_edate
    and set_of_books_id = pbook;
    cursor cur2 is
    select distinct start_date sdate,
         end_date edate, period_name period
    from gl_period_statuses
    where      period_name = pperiod
         and set_of_books_id = pbook
         and application_id = 101;
    i               cur1%rowtype;
    j               cur2%rowtype;
    begin
    open cur2;
                   fnd_file.put_line(fnd_file.output,'PERIOD'||'----'||'GROUPID'||
                                       '----'|| 'SOURCE');
              loop
                   fetch cur2 into J;
    exit when cur2%notfound;
                   open cur1(J.sdate,J.edate);
                   loop
              fetch cur1 into I;
                        exit when cur1%notfound;
              fnd_file.put_line(fnd_file.output, J.period||'----'||I.groupid||'----'||
                                  I.source);
                   end loop;
              end loop;
         Close cur1;
    close cur2;
    Exception when others then dbms_output.put_line(SQLERRM);     
    end;
    ==================================================================================================
    For SOB value set, I have passed the default value as vamsi suggested ($profiles$.gl_set_of_bks_id)....
    For period value set, I have entered query as ..where application_id = 101
    and set_of_books_id = :$PROFILES$.gl_set_of_bks_id
    and closing_status IN ( 'O', 'F', 'C')
    order by period_year, period_num...................
    It still doesn't work....I don't know how to derive those Periods based on the SOBs and at the same time pass SOB id into the cursors...
    Please help...
    Rgds,
    Murali

  • Unable to view the output of a concurrent program

    Dear Members,
    I am using Oracle R12.1.3 Vision Instance.
    I have run the Create Accounting program. When I click on the view output button, the browser gets displayed and also gets closed immediately. I am unable to view the output.
    Can any one please help me in resolving this issue?
    Many thanks in advance.
    Regards.

    Dear Members,
    I am facing the above problem in IE.
    When I tried in Mozilla, I can view the outputs without any issues.
    Can any one suggest me why I am not able to view the output in the IE?
    Regards.

  • Calling concurrent program from form giving problem

    hi
    i have designed one concurrent program
    this concurrent program in turn calls another concurrent program.
    when i run it using SRS it is running fine
    but when i am submitting from FORM it is giving following error
    ORACLE error 6550 in FDPSTP
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'XXPOS_MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    script in form
    declare
         l_request_id number;
         l_errbuf varchar2(30);
         l_retcode number;
    begin
    l_request_id := FND_REQUEST.SUBMIT_REQUEST('CUSTOM',     -- application
    'XXINVSIMREV',     -- program
    'Postpaid SIM Reversal after rejection',
    SYSDATE,     -- start_time (optional)
    FALSE, -- sub_request
    l_errbuf,l_retcode,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
    NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
                   IF l_request_id = 0 THEN     
                        fnd_message.set_string('Program submission for sim reversal into inventory is failure');
                        fnd_message.show;
                   else
                             fnd_message.set_string('Program submission for sim reversal into inventory is success for request id='||l_request_id);
                        fnd_message.show;
                        commit;
                   End if;
    end;

    There are so many restrictions and special circumstances for creating a custom form for Applications that you should ask this question in the Apps Forum (http://forums.oracle.com/forums/category.jspa?categoryID=3). People here might or might not have any experience with this. In the Apps Forums they definitely do.

  • Creating a PLSQL Procedure as Concurrent Program

    Folks:
    I am new both to PLSQL and Concurrent program creation. I am actually working on a process for deploying changes from one environment to another, so I want to create a simpel PLSQL procedure that I can then register as a concurrent program, and finally test the download/uplaod of this procedure and program from one instance to another.
    I tried reading the Developer documentation on creating concurrent program, but couldn't find the information I was looking for. Here are some of my questions:
    1) The PLSQL procedure that I want to run as concurrent program, can it be declared within a new custom package, or does it have to be created as a procedure.
    2) In the concurrent program executable registration window, can i specify directly the name of this new procedure or do I need to create an additional wrapper PLSQL procedure that has Concurrent Program related attribute (Developer guide seemed to incline that way).
    3) What should be put in the 'File' parameter on Concurrent Program Execution Window in the case of pl/sql concurrent program. There is no file, so what to put in there?
    4) Any other place I can find step by step how to for making a 'PLSQL" package a concurrent program?

    Hi,
    1) Create PL/SQL Package with "main" procedure that has arguments ERRBUF and RETCODE plus your other required arguments.
    2) xxxx_pkg.main as per 1.
    3) xxxx_pkg.main (the package and procedure name)
    4) Best place to look is at an existing program! Plenty of basic examples on the net. Here's a link that has basic package and screens:
    http://garethroberts.blogspot.com/2007/10/excel-file-output-from-oracle.html
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • Create pdf document without ADS

    Hi,
    i am trying to create a pdf document to output some context information. I don't need interactive forms - i just want to display the information.
    Is there any way to generate a pdf document without using ADS?

    Hi Timo,
    Hope the following link will be useful for you.
    /people/prakash.singh4/blog/2005/04/05/create-a-pdf-file-using-java
    Regards,
    Santhosh.C

  • Reg: Creating sub menu for a concurrent program under menu on the Menu bar

    Hi all,
    I would like to know, how we can create a sub menu for a conc. program under a sub menu on the Menu Bar ?
    Thanks In Advance.
    Regards,
    Neeti

    It is a 2 step process. First, enable a new menu entry, which when called will fire a user-named trigger, where the call to the concurrent programs form is the executed. How to do it depends on the release. Previous to 11.5.10, this has to be done trough custom.pll, and 11i10 an r12 with forms personalization. Documentation and examples exists for both cases, have a look on metalink.

  • HowTo: create pdf output

    Hi,
    i have designed a report (jsp) with jdev 9i and reports 9i. how can i create a pdf output in jdev 9i. i have found no samples. can someone help me to do that? i will provide an opportunity to convert the web layout to an pdf file.
    thanks
    Achim

    Sun's forums are better for this kind of question (you have to register).
    For example:
    http://forum.java.sun.com/thread.jsp?forum=52&thread=94196

Maybe you are looking for

  • Time delay while printing PO Report with "watermark"

    Hi XMLP Gurus, I have to again resort to you guys for help. Hope I will find it. I have added a watermark to the PO Report RTF template and it is taking too much time (almost 3 mins) to print the output. With out a print option the report is running

  • How do I put a metadata(caption or keywords) in multiple pictures at once ?

    I would like to make a filter of places like NYC, London and some pictures have no GPS data, I would like to put blocks of pictures with the same metadata to do so. Thanks!

  • Test management with the solman.

    I have created a test plan and assigned test packages to different users. When I go to the tester work list (STWB_WORK) I can enter the "Run test package" window to see my test cases but do not have an icon to activate the transaction's in the "run t

  • How to import old iWeb sites

    I recently did a clean install of Lion and setup a new User for myself, rather than migrate my old user data. I copied my Sites folder from my Snow Leopard User folder into my User folder in Lion, but when I open iWeb, I can't see any of my iWeb site

  • 3000 N 100 / 0768 59G: kein sound unter windows 8.1

    Hallo, Ich will mein notebook 300N100 0768 59G von Windows XP auf Windows 8 or 8.1 umziehen. Alles ist gut, nur die Sundkarte "soundmax integrated digital hd audio" funktioniert nicht. Kein sound. Ich habe einige Treiber getestet: soundmax - Analog_D