Reprints output from concurrent requests

Hi, I copied the above Concurrent Program to a custom one and added 'XML Report Publisher' in the list of incompatible programs, because my custom program (Custom Reprints output from concurrent requests) should run only after XML Report Publisher completes. But the custom program ends in 'Inactive' Phase and 'NO Manager' Status. We tried bouncing the CM, but no luck. Any help is highly appreciated.
P.S: When I add XML Report Publisher to the list of incompatible programs for the seeded program - Reprints output from concurrent requests, everything works fine.
Thanks, Naveen Gagadam.

Hi Hussein, we are on: Oracle Applications : 11.5.10.2, Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi on LINUX.
I am submitting my Custom Reprints output from concurrent requests, XML Report Publisher from FND_REQUEST.SUBMIT_REQUEST. I cannot print the XML report without adding it to the list of incompatible programs because even though I submit the Custom Reprints output from concurrent requests after XML Report Publisher, it starts off before the XML Report Publisher completes and eventually it ends up in a warning. Please see below 1/2 of the log file (Will post the Other half immediately) from $FND_TOP/log. The name of the file is five_0908.mgr, 'five' being the name of the instance
Thanks, Naveen Gagadam.

Similar Messages

  • XML Output from Concurrent Request DBMS_XMLGEN

    I am trying to create xml output for a concurrent request, using the DBMS_XMLGEN package to generate my XML?
    I have gotten so far as to be able to run my procedure and see the output in TOAD using dbms_output.put_line, but I can't seem to quite get the right link to convert this to Oracle Apps output.
    I have a concurrent request setup to output XML.
    This calls my procedure to return to the output file.
    So far, when I run from APPS, all that shows in the Output file is 'XML document must have a top level element.'
    Here is the relevant code...
    ctx DBMS_XMLGEN.ctxHandle; -- vars to convert SQL output to xml
    xml clob;
    xmlc varchar2(4000);
    off integer := 1;
    len integer := 4000;
    i number := 0;
    rc_data sys_refcursor;
    begin
    -- this calls simple open cursor for sql statement, returns rows
    rc_data := fa10022_data(P_BOOK_TYPE_CODE
    , P_STATE
    , v_BEG_DATE_EFFECTIVE
    , v_END_DATE_EFFECTIVE
    , P_BEG_ASSET_ACCT
    , P_END_ASSET_ACCT
    , v_depr_per_ctr);
    ctx := dbms_xmlgen.newContext(rc_data);
    dbms_xmlgen.setRowsetTag(ctx, 'XXFA10022');
    dbms_xmlgen.setRowTag(ctx, 'G_DATA');
    xml := dbms_xmlgen.getXml(Ctx);
    i := dbms_xmlgen.getNumRowsProcessed(ctx);
    dbms_xmlgen.closeContext(Ctx);
    apps.fnd_file.put_line(apps.fnd_file.output, xml);
    I was also following this link...
    http://www.appsassociates.com/products/Generation_XML_PLSQL.pdf
    any suggestions?
    Thanks!!
    Janel

    That was painful, but it helped!
    Most of it is workflow code...POXMLGEN contains the pertinent coding.
    I think my problem now lies with some of my data. Depending on what is returned, I sometimes receive a warning with no output. I know there are special characters in the data (ex eacute), but I can't tell if that is what is causing the issue. I do have the statement dbms_xmlgen.setConvertSpecialChars(ctx, TRUE); in my code, so not sure what else to do.
    This is what is being returned in OPP log...
    Caused by: oracle.xdo.parser.v2.XMLParseException: Start of root element expected.

  • Unable to view output from concurrent manager

    Hello all,
    I am unable to view output from concurrent manager, I am using IE 8 32bit on Windows 7 & adobe 10.0.1
    It gives a blank page
    We are trying to view an xml report
    EBS 11.5.10.2
    db : 10.2.0.
    linux 4 update 5
    I have already reffered below documents but for no luck
    Note: 888932.1 - R12.1 Unable To View Output For Xml Outputs - View Output Button - The window opens up And Disappear Automatically
    Note: 305850.1 - Unable To View Output Of PDF Report When Clicking ''View Output''
    Thanks.

    Is the issue with XML/PDF concurrent requests or with all requests?
    Can you find any errors in Apache/Database log files?
    Is the application listener up and running? Can you find any errors in the listener log file?
    Have you tried to run AutoConfig and bounce the services and see if this helps?
    Thanks,
    Hussein

  • Can't view output for concurrent request

    I apologize if this is a common error - I tried to research this in the forums but didn't find anything that I haven't already tried. I checked the OPP - it is running with 3 processes - no error in the log that I can see. I checked the profile for the OPP timeout and have increased it....
    I have registered the data definition, registered and associated a template - created the concurrent program but when I try to run it completes with a warning and can't view output. The log states:
    XDO Data Engine Version No: 5.6.3
    Resp: 20420
    Org ID : 81
    Request ID: 2322744
    All Parameters: PO=5026930
    Data Template Code: GISDOSXML
    Data Template Application Short Name: XXGISD
    Debug Flag: N
    {PO=5026930}
    Calling XDO Data Engine...
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Unable to find an Output Post Processor service to post-process request 2322744.
    Check that the Output Post Processor service is running.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    --------------------------------------

    also - I found a note on using the XML Republish Report and I tried it with the report I ran and it erred completely. Here is the log for the republish:
    Oracle XML Publisher 5.6.3
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:683)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Caused by: oracle.xdo.parser.v2.XMLParseException: '=' missing in attribute.
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:324)
         at oracle.xdo.parser.v2.NonValidatingParser.parseAttrValue(NonValidatingParser.java:1556)
         at oracle.xdo.parser.v2.NonValidatingParser.parseAttr(NonValidatingParser.java:1461)
         at oracle.xdo.parser.v2.NonValidatingParser.parseAttributes(NonValidatingParser.java:1394)
         at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1225)
         at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
         ... 17 more

  • Reg: Error in Getting Wrong output using concurrent request

    Hi all,
    I created a rdf using oracle 10g report for below query
    SELECT EMPNO,ENAME,DEPTNO,SAL,MGR FROM EMP
    I Registered above created rdf in oracle apps with output format as xml
    when i ran the report using concurrent request, i am getting below output.     
         *<G_EMP>*
    *     <EMPLOYEE>*
    *          <EMPNO>1</EMPNO>*
    *          <ENAME>ALEX</ENAME>*
    *     </EMPLOYEE>*
    *     <EMPLOYEE>*
    *          <EMPNO>2</EMPNO>*
    *          <ENAME>RAGHU</ENAME>*
    *     </EMPLOYEE>*
    *<EMPLOYEE>*
    *          <EMPNO>3</EMPNO>*
    *          <ENAME>GURU</ENAME>*
    *     </EMPLOYEE>*
    *     </G_EMP>*
    NOTE:_
    I am not getting for rest of column in above query (ie. DEPTNO,SAL,MGR)_
    How to resolve this. Its urgent .. Plz

    Duplicate thread (please post only once).
    Reg: Plz Help me.. Not Getting output
    Reg: Plz Help me.. Not Getting output

  • Using fnd_request to send email of output from concurrent program

    Hello,
    In R12 how can I use one of the FND api's to send output from an FND_REQUEST to an email? Would I use FND_DELIVERY?
    I cann't seem to find documentation on this.
    I did find this:
    l_ret := fnd_request.add_delivery_option
    (type => FND_DELIVERY.TYPE_EMAIL
    ,p_argument1 => 'Quick Invoice to Workbench Transfer Details' -- Subject
    ,p_argument2 => '[email protected]' -- From
    ,p_argument3 => l_email_add -- To
    ,p_argument4 => '[email protected]'); -- CC
    But not sure how to use the above or if this would work.

    In R12 how can I use one of the FND api's to send output from an FND_REQUEST to an email? Would I use FND_DELIVERY?
    I cann't seem to find documentation on this.
    I did find this:
    l_ret := fnd_request.add_delivery_option
    (type => FND_DELIVERY.TYPE_EMAIL
    ,p_argument1 => 'Quick Invoice to Workbench Transfer Details' -- Subject
    ,p_argument2 => '[email protected]' -- From
    ,p_argument3 => l_email_add -- To
    ,p_argument4 => '[email protected]'); -- CC
    But not sure how to use the above or if this would work.Please see these links.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_REQUEST+AND+Email&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Concurrent+AND+Email&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Capture pasta output from concurrent

    Hello at all.
    A simple question:
    I need to print a PDF report with pasta.
    In preprocess phase i generate the postscript version of document with a bash script.
    I want write the message generate by script into concurrent log's. is possible ?
    Thanks

    Hi,
    Append the message you want to the log file of the concurrent request - you have control over the command called by the preprocess script already.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • Output from Concurrent program in XML format for bytes greater than 32K

    Hi,
    I created a custom concurrent program where i send the generated XML data as an output to the program.
    I have an XML template attached to the program, so the template picks up the xml output and converts it to a PDF.
    so ultimately when i run the concurrent program, the output is a PDF file. This way it is easy for the user to just run a program and get a PDF file.
    Now the generated XML data is from an oracle seeded program and it is a BLOB.
    I am converting it to a CLOB so that i can write it to the output. if the CLOB doesnt exceed 32K bytes, i have no issues writing it to the output.
    But since we cannot write more than 32K bytes, i an using a substr to write chunks of the CLOB for every 30,000 bytes.
    since it is chunking at every 30,000 bytes the next 30,000 bytes are coming in the next line and XML publisher is throwing an error with invalid character.
    Any idea how i can overcome this?
    Either i write the whole 33000+ bytes in one line to the fnd output or try to remove the line breaks from the xml data.
    Thanks in advance for anyone reading this!

    >
    > since it is chunking at every 30,000 bytes the next 30,000 bytes are coming in the next line and XML publisher is throwing an error with invalid character.
    Any idea how i can overcome this?So I suppose you're using FND_FILE.PUT_LINE ?
    Why not use FND_FILE.PUT instead, so that no new line is generated after each chunk ?
    http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T458258.htm#I_fndfile

  • XML output from conc request too large

    We are running an AP trial balance conc request with output type of XML. Once the parameters are entered for this report, it is only a couple page report when running output as text. But when it's run as XML output for the same params, I get over 10K+ pages in the output, too much that I cannot export it. I've tried several different parameters to make the report even shorter but the XML output is always over 10K pages. Is there a way to limit what comes out in the XML or not include DFF's in it? That's what seems to be taking up most of the space.
    Thanks,
    TSM

    Check for any format trigger, which restrict the data when you execute the report int text mode.
    -Ashish

  • How to open Report output in RTF format using concurrent request form.

    Hi
    I have created a report using BI publisher and RTF format. This report is working fine in PDF format. User can submit report using consurrent request form and can see report preview in PDF format.
    Now user wants to submit another request and wants to see report output in RTF format.
    User submitted a request, request successfully completed and generated a output RTF file in unix box but when user wants to see report output using concurrent request form (View Output) then window is showing raw data instead of RTF output.
    Can any body tell me about solutions?
    Thanks
    Ravi

    Hi Ravi
    I did little R&D on it and found following 2 solutions.I am sure that you also find something but for my shake i am putting it here.If you already find the solution then ignore it.
    I) 1st Solution
    1)Change the profiles 'Viewer: Application for Text' and put value as 'Browser'
    2) Change the profiles 'Viewer: Text' and put value as 'Browser'.Either change it system level or concerned user.
    3) Log out from Current session and close all internet explorer application.
    4) Log in again to check the result
    II) 2nd Solution
    1) Navigate to: Sys admin --> Install -> Viewer Options to open the Form "Viewer Options".
    Do the entry as shown below:
    File_Format     Mime Type               Description
    RTF          application/rtf Microsoft Word(.rtf)
    RTF          application/msword          Microsoft Word(.rtf)     
    2) Then ensure that the profile option Viewer: Application for Text is set to BLANK at the Site Level and User Level.
    3) Then ensure that the profile option Viewer: Text is set to 'browser' at the Site Level.
    -- It will pop-up the screen to choose application name from above two values.
    Hope this will work it for you. For me i replicated the scenario and both solutions were working for me.
    With Best Regards
    Darshan Bhavsar

  • How do I submit a concurrent request (for PL/SQL program)   from RDF

    Hi,
    I have a requirement i need to call a PL/SQL program using concurrent request from Oracle RDF, I am using below code.
    -> PL/SQL program has two input parameters
    Case:- 1
    reqid :=
    fnd_request.submit_request ('SQLAP','IPCS_ACH_VENDOR_PAYMENT1','','', FALSE,
                   :P_PAYMENT_BATCH,'N' , '', '' ,
    If i ran the above rdf i am getting below errors from concurrent request log
    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 'GEN_ACH'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Case :- 2
    reqid :=
    fnd_request.submit_request ('SQLAP','IPCS_ACH_VENDOR_PAYMENT1','','', FALSE,
                   :P_PAYMENT_BATCH,'N' );
    -> Able to compile the report without any errors.
    -> Upon running the rdf getting below error messages
    REP-0736: There exist uncompiled program unit(s).
    REP-1247: Report contains uncompiled PL/SQL.
    => Case:1 very well worked for Host file .
    --- Please help me how to submit a concurrent program( PL/SQL with 2 paramerers) in RDF ...
    Thanks
    Edited by: Apps Beginer on Dec 2, 2009 1:40 PM

    Looking at the 11.5.10 version of the [Oracle Applications Developer's Guide|http://download.oracle.com/docs/cd/B25516_18/current/html/docset.html] on page 21-32 - it states that the FND_REQUEST function must know information about the user and responsibility that is submitting the request. Therefore, the function only works from concurrent programs or forms within Oracle Applications. There are ways around this by initializing this information in your session before your call to SUBMIT_REQUEST. I've never tried this from a Report, but I've done it from PL/SQL that executes outside of Apps. You could try the following to see if it works.
    DECLARE
         n_RESP_APPL_ID          NUMBER;
         n_RESP_ID          NUMBER;
         n_USER_ID          NUMBER;
         n_REQUEST_ID          NUMBER;
    BEGIN
         n_RESP_APPL_ID := apps.FND_PROFILE.VALUE('RESP_APPL_ID');
         n_RESP_ID := apps.FND_PROFILE.VALUE('RESP_ID');
         n_USER_ID := apps.FND_PROFILE.VALUE('USER_ID');
         apps.FND_GLOBAL.Apps_Initialize(n_USER_ID, n_RESP_ID, n_RESP_APPL_ID);
         /* I prefer to use Named Notation for this call rather than enter placeholders for all 100+ parameters to SUBMMIT_REQUEST */
         n_REQUEST_ID := apps.fnd_request.submit_request(
                                       application => 'SQLAP',
                                       program => 'IPCS_ACH_VENDOR_PAYMENT1',
                                       start_time => To_Char(sysdate,'DD-MON-YYYY',
                                       argument1 => :P_PAYMENT_BATCH
                                       );Obviously, I don't know all of the parameters you need for your request, so I made a "BEST GUESS" based on your code sample so I doubt my example call to Submit_Request will work if you Copy-N-Paste. Make sure you use the correct parameters when you try this in your report.
    Hope this helps.
    Craig...
    If a response is helpful or correct, please mark it accordingly

  • Restrict user could not get output of conc request more than one

    Hi all,
    I actually have one scenario that I want to delete or purge concurrent requests after getting view output. Please tell me how it is possible to purge request , Its simple means to prohibit the user to
    see out 2nd time.
    "I have one option that May be I use personalization , when user click on view output button , after populating file
    code delete request from concurrent request table."
    Thanks

    user9275313 wrote:
    Hi Sirini,
    We have its solution already, when user click on view output then this directly go to printer, user can not view output, But I prevent here user he can click only one time against one request, the second time when he click of that button either it goes disable or that request purg in first click from the table.
    ThanksThere are several obvious issues that come to mind -
    1. If the user cannot view the output but can only print it, then the only way he/she can verify that it is the correct output is after printing it - seems to be a possible waste of paper.
    2. What if the printer jams (or runs out of ink etc etc) when printing the output ? What is the option to print a second time ?
    HTH
    Srini

  • How to View Output From Customized Form

    I have developed a new customized form and attach it in Receipt Form Menu. I have added a button of Print Receipt on the form by name Print Screen.I have added code behind the Print Receipt Button that when it would be clicked report of receipt would be generated.When i click Print Receipt Buttton Request is submitted to Concurrent Manager and i have to view it from Concurrent Request Window.My requirement is when i click Print Screen Button output would be generated and viewable at that place and i dont need to go in concurrent request window to view and print that output.Is there any solution please suggest me.I am thankful in advance to all.

    Hi;
    Please check [this |http://forums.oracle.com/forums/forum.jspa?forumID=129] and see it helpful
    Also see:
    How to view the output submitted by other user
    How to customize look of a view
    Regard
    Helios

  • How to view concurrent request of other users

    We have upgraded recently to R 12.
    Would really appreciate if some one can guide me how i can allow the super user "A" to be able to view all the concurrent requests that were submitted by various key users of HRMS.
    I know in 11i there is a profile option: "Concurrent: Report Access Level" that defines who can access the output of concurrent requests.
    I want to assign the same to one user (super user) only in R12 instance.
    how to do this???

    594647 wrote:
    We have upgraded recently to R 12.
    Would really appreciate if some one can guide me how i can allow the super user "A" to be able to view all the concurrent requests that were submitted by various key users of HRMS.
    I know in 11i there is a profile option: "Concurrent: Report Access Level" that defines who can access the output of concurrent requests.
    I want to assign the same to one user (super user) only in R12 instance.
    how to do this???Please see these docs/links.
    R12 View Concurrent Requests FAQ [ID 1261985.1]
    Unable To View Concurent Output Executed By A User Of The Same Responsibility [ID 1468231.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=View+AND+Concurrent+AND+Other+AND+User+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Need to view concurrent request output(pdf file of XML report)from OAFpage

    Hi,
    I am submitting a concurrent request from OA page (on click of submit button).
    As of now, to view output of the request user has to open SRS form.
    Now the rquirement is to submit the request as well as to open the output file of the request in one action(i.e. on click of submitbutton) instead of going to SRS form to view output.
    From the forum, I found out the way to go to request monitoring page and view all the current requests. But this is something different from what I am looking for.
    Can somebody help m in this case?
    Thanks & Regards
    Nitin

    refer this link
    http://apps2fusion.com/at/ps/286-bi-publisher-document-viewer-common-region-embeded-report-output-in-oa-framework-page
    --prasanna                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Max. no of columns in ALV Excel download

    I've a problem regarding the download of data from alv report's that have more than 99 columns. I have searched the forum but couldn't find a right answer. It is being done by standard option and not by custom functionality is there any way where we

  • Indesign CS3 - Changing file from all black to a pantone color

    Is there an easy way to change an all black file to a specific pantone color in Indesign CS3? I've ran into this plenty of times after setting up an all black job and then the customer decides they want to see on the laser printer what it would look

  • Fault Tolerance in Berkeley DB

    Please, can you help me with the following situation? I want to load a big data source (about 20 million of records) in Berkeley DB. I programmed in C++ all the data loader (using the Berkeley DB API) and I began to run it. However, I estimate that i

  • Link error: Failed to open external module

    Newbie question #2... I'm in chapter 5 of the tutorial, just added the button to calculate min and max values of the sinewave. I get two link errors when I try to run the program. 2 Project link errors:  Failed to open external module  Failed to open

  • Creating a SLIDESHOW- help!!

    Can I CREATE a photo SLIDESHOW on Photoshop Elements 12 (for MAC)???   Photoshop 9 does NOT have the feature, and it's driving me nuts!! Also, can I burn such a project to Blu-Ray (I have Premeire 12 installed on my I-Mac). Help!!!