How to use 2 vo's in xml publisher pdf genarate report from oaf--urgent

Hi Guru's,
i am integrating xml publisher report from oaf. I found one good artical published by prabaker in apps2fusion site and i implemented the same. But it is used onley one view object to generate pdf. But in my case i want to use 4 view objects to generate report as pdf. So, kindly suggest me how to resolve this issue.
below i mentioned the site name whihc i follwed to implement my requirement.
http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework.
pls help me as i am not getting , how to solve this issue.
Thanks in advance.
Keerthana

Hi,
When we develop simple XML report also we used to get single data source either generated either from RDF or PL/SQL, in OAF XML data is coming from VO and XML Publisher API’s will process that data.
This approach works fine if you are having one VO, but if you are having two VOs then it is not possible (As per my understanding and comparing this scenario with simple XML publisher report).
I also faced same problem few months back, on my form I was having two VOs one for header and other for Lines and I have generate Report to show the data for both Headers and Lines. In my case I created a separate VO that was containing both Header and Line details and I was passing header Id to query that. I used query this VO only when someone clicks on “Print” button and it worked fine for me.
Regards,
Mahesh B.

Similar Messages

  • How to use if condition in XML Publisher Desk Top

    Hi..,
    How to use if condition in XML Publisher desk Top.
    Please guide me.
    Thanks,
    Suresh.

    What kind of condition you want to use?
    You can use Condition like this:
    <?xdofx:if condition then value1
    else if condition then Value2
    else Value3
    end if?>
    Please go thru XML Publisher User Guide.
    Thanks
    Ravi
    [email protected]

  • How to use an SWF and XML in PDF?

    Hi
    I am publishing a PDF from Adobe RoboHelp (version 10, part of TCS 4). I have inserted some Flash-based SWF files whose text content is called from an XML file. Now, when I publish the RoboHelp project as an HTML output, and place the XML file in the published folder, I get the text content of SWF right.
    Any idea how I can get the SWF files and their XML content in the PDF?
    Sreekanth

    I think some searching will locate this issue and you have to manually add it back into Word or do as Dave says and add it in Acrobat. If you cannot find it in this forum, it is likely in the RoboHelp HTML forum.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to migrate rtf Templates in XML Publisher ?

    Hi All,
    I want the script so that i can download and upload the RTF files directly from my development instance to my production instance.
    For this i have come across 3 links
    How to migrate rtf Templates in XML Publisher?
    http://download.oracle.com/docs/cd/B40089_10/current/acrobat/120xdoig.pdf
    unable to migrate physical files using XDO Loader utility
    and from here i am running this command from /home/aryan directory
    java oracle.apps.xdo.oa.util.XDOLoader DOWNLOAD -DB_USERNAME apps -DB_PASSWORD fnd -JDBC_CONNECTION sharp.apps.com:1522:tst1 -LOB_TYPE TEMPLATE -APPS_SHORT_NAME CUSTOM -LOB_CODE ZEMP -LANGUAGE en -TERRITORY US
    but it is giving me error "ksh: java: not found". could anyone can tell me how and from where i have to run the download and upload command
    Thanks
    Aryan

    Hi Hussein,
    I tried with applmgr also and still for java -version it is giving me error ksh Java not found
    and for which java it is giving me error no java found in different directories path.
    Thanks
    Aryan

  • Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher

    Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher where date should be displayed as date only not string.

    I've tried to use hierarchy node variables, but it seems like you can't specify a attribute of the hierarchy such as level.  So with the WBS hierarchy, if you create a hierarchy node variable, you specify the WBS value to select (If I understand this correctly).  I wish I could instead specify "give me all the WBS nodes that happen to have the value of the level attribute greater or equal to 3.  If I understand Juergens post, he is saying make security access so that only certain WBS levels can be returned in the query.  I suppose we can try that, but that would then preclude getting the level 1 and 2 in the future if the authorization is global.

  • How to use Euro symbol in xml tags?

    How to use Euro symbol in xml tags?

    What do you mean by "in xml tags"? Can you post a three-line XML snippet showing what you hope to achieve?

  • Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper)

    Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper). For example, if I am downloading a paper by smith called "Surgery" that was published in 2002, it will automatically set the file name in the download to smith- surgery 2002. I have heard pages is smart enough to do this.
    thank you

    Pages can export only its own documents. They may be exported as PDF, MS Word, RTF or Text files.
    Pages can import (ie. Open a file as, or Insert a file into, a Pages document) documents in several formats, but won't rename the document as you describe. Documents that can be Opened (eg. Text, AppleWorks 6 WP, MS Word files) are converted to Pages documents, and retain their original names, with .pages replacing the original file extension. Files that can be Inserted (generally .jpg, .pdf and other image files) become part of the existing Pages file and lose their names.
    It may be possible, using AppleScript, to extract the text you want and to Save a Pages file using that text as the filename, but that would depend in part on being able to identify which text is wanted and which is not.
    How will the script determine where the author's name begins and where it ends?
    How will the script recognize the beginning and of the title, an decide how much of the title to use in the filename?
    How will the script recognize the year of publication?
    For papers published in a specific journal, with a strict format for placing each of these pieces on information, or containing the needed information as searchable meta data in the file, this might be possible. But it would require knowledge of the structure of these files, and would probably handle only papers published in a specific journal or set of journals.
    Outside my field of knowledge, but there are some talented scripters around here who might want to take a closer look.
    Best of luck.
    Regards,
    Barry

  • Displaying BLOB of type word doc in XML Publisher pdf output

    Hi all,
    Please guide me relating the Displaying BLOB of type word doc in XML Publisher pdf output with links or pointers.In the following xml column TRADE_LICENSE_COPY is BLOB when queried from toad and if clicked on the ouput word doc is being opened directly.How to show the column value word doc as attachment in pdf output?
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Generated by Oracle Reports version 10.1.2.3.0 -->
    <XXTDIC_SUP_REG>
    <LIST_G_BASIC_QUSNRY>
    <G_BASIC_QUSNRY>
    <RESPONSE_ID>194</RESPONSE_ID>
    <UAE_REGISTRATION>Yes</UAE_REGISTRATION>
    <TRADE_LICENSE_COPY>PK</TRADE_LICENSE_COPY>
    <WEBSITE_DETAILS>com</WEBSITE_DETAILS>
    <AMERICA_2009_2010>Between 81 and 90 %</AMERICA_2009_2010>
    </G_BASIC_QUSNRY>
    </LIST_G_BASIC_QUSNRY>
    <LIST_G_CONTACTS>
    <G_CONTACTS>
    <CONTACT_PERSON>MR.NTF1 NTL1</CONTACT_PERSON>
    <PHONE_NUMBER>0</PHONE_NUMBER>
    <EMAIL_ID>na</EMAIL_ID>
    <FAX_NUMBER>0</FAX_NUMBER>
    </G_CONTACTS>
    <G_CONTACTS>
    <CONTACT_PERSON>MR.NTF1 NTL1</CONTACT_PERSON>
    <PHONE_NUMBER>0</PHONE_NUMBER>
    <EMAIL_ID>na</EMAIL_ID>
    <FAX_NUMBER>-</FAX_NUMBER>
    </G_CONTACTS>
    </LIST_G_CONTACTS>
    <LIST_G_SC_QUSNRY>
    <G_SC_QUSNRY>
    <RESPONSE_ID1>113</RESPONSE_ID1>
    <FY3_PROJTYPE_COMMERCIAL>Between 21 and 30 %</FY3_PROJTYPE_COMMERCIAL>
    <ENG_INSTALL_CAPABILITY></ENG_INSTALL_CAPABILITY>
    <SCM_EXPERIENCE_PARTNERING>Have you had experience of &quot;Partnering&quot;?(i.e with major contracts / employers If so list them.Also please provide details</SCM_EXPERIENCE_PARTNERING>
    </G_SC_QUSNRY>
    </LIST_G_SC_QUSNRY>
    <LIST_G_ADDRESS>
    <G_ADDRESS>
    <OFFICE_ADDRESS>Addres1</OFFICE_ADDRESS>
    <ADDRESS_LINE1>Addre line1</ADDRESS_LINE1>
    <ADDRESS_LINE2>Addre line2</ADDRESS_LINE2>
    <ADDRESS_LINE3>Addre line3</ADDRESS_LINE3>
    <CITY>City1</CITY>
    <STATE>State1</STATE>
    <COUNTRY>US</COUNTRY>
    </G_ADDRESS>
    <G_ADDRESS>
    <OFFICE_ADDRESS>Addres2</OFFICE_ADDRESS>
    <ADDRESS_LINE1>Addre line1</ADDRESS_LINE1>
    <ADDRESS_LINE2>Addre line2</ADDRESS_LINE2>
    <ADDRESS_LINE3>Addre line3</ADDRESS_LINE3>
    <CITY>City2</CITY>
    <STATE>State2</STATE>
    <COUNTRY>IN</COUNTRY>
    </G_ADDRESS>
    </LIST_G_ADDRESS>
    <LIST_G_DSN_QUSNRY>
    </LIST_G_DSN_QUSNRY>
    <LIST_G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>060.42</PROD_SUB_CODE>
    <PROD_SUB_DESC>Automotive Maintenance Items and Repair/Replacement Parts.Filters: Air, Fuel, Oil, Power Steering, Transmission and Water, and PCV Valves</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>060.60</PROD_SUB_CODE>
    <PROD_SUB_DESC>Automotive Maintenance Items and Repair/Replacement Parts.Hose and Hose Fittings: Brake, Heater, Radiator, Vacuum, Washer, Wiper, etc.</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>207.37</PROD_SUB_CODE>
    <PROD_SUB_DESC>Computer Accessories and Supplies.CRT Holders, Cases, Glare Screens, Locks, etc.</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>207.60</PROD_SUB_CODE>
    <PROD_SUB_DESC>Computer Accessories and Supplies.Keyboard Dust Covers, Key Top Covers, Keyboard Drawers, Wrist Supports, etc.</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    </LIST_G_PROD_SUB_CODE>
    <LIST_G_CONT_QUSNRY>
    </LIST_G_CONT_QUSNRY>
    <LIST_G_BUSS_CLASS>
    <G_BUSS_CLASS>
    <BUSS_CLASS>SUPPLY_CHAIN</BUSS_CLASS>
    </G_BUSS_CLASS>
    </LIST_G_BUSS_CLASS>
    <CF_SUPPLIER_NAME>N1</CF_SUPPLIER_NAME>
    <CF_REG_STATUS>Draft</CF_REG_STATUS>
    <CF_BUS_CLASS></CF_BUS_CLASS>
    <CF_PROD_SUBCODE>060.36</CF_PROD_SUBCODE>
    <CF_PROD_SUBCODE_MEAN>Automotive Maintenance Items and Repair/Replacement Parts.Electrical Accessories: Alternators, Ammeters, Coils, Distributors, Generators, Regulators, Starters, etc.</CF_PROD_SUBCODE_MEAN>
    <CF_COUNTRY>India</CF_COUNTRY>
    </XXTDIC_SUP_REG>
    Thanks in advance.
    Best Regards,
    Mahi

    Mahi,
    you can't do that yet.

  • Print stored pdf files to a XML Publisher PDF report

    I want to print PDF attachments to a XML Publisher PDF report. How can I do it?
    For eg. We have an iRecruitment vacancy IRC1309 for which the applicants upload pdf resumes. We want to print applicant resumes to a single PDF file for review.
    Any suggestions?
    Thanks in advance,
    Aakash

    Hi Guru,
    I have requirement to show attachment file in AR invoices which is .pdf files in BI Reports or Oracle Report.. Can ony one guide me please.
    Iam able to read blod data from fnd_lob table and also able to see junk data in xml output. Once rft template is generated then it is coming as blank. It does stream lob data. Can you please provide xsl fo statement to read.
    Thanks
    Simon
    Edited by: user13084103 on Nov 7, 2011 4:49 AM
    Edited by: user13084103 on Nov 7, 2011 4:50 AM

  • Error while calling xml report from oaf page

    hi all
    i am calling xml(pdf) report from oaf page the back end jdeveloper console this error message is coming
    when i am caling report empty out put is coming
    any one help me regarding this issue
    123109_073025194][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
    [123109_073025194][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
    [123109_073025194][][EXCEPTION] [DEBUG] [ICX_COOKIE_NAME]:[DEV]
    [123109_073025194][][EXCEPTION] [DEBUG] [JDBC:processEscapes]:[true]
    [123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [123109_073025194][][EXCEPTION] [DEBUG] [APPL_SERVER_ID]:[07910A4CBEF04DE395C782218C44D60710897045366671209174079915214149]
    [123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_STMT_CACHE_SIZE]:[100]
    [123109_073025194][][EXCEPTION] [DEBUG] [NLS_DATE_LANGUAGE]:[AMERICAN]
    [123109_073025194][][EXCEPTION] [DEBUG] [ICX_SESSION_COOKIE_VALUE]:[iDQBc8141owULp9woYLCe7wm:S]
    [123109_073025194][][EXCEPTION] [DEBUG] [ICX_TRANSACTION_ID]:[-1]
    [123109_073025194][][EXCEPTION] [DEBUG] [NLS_DATE_FORMAT]:[DD-MON-RRRR]
    [123109_073025194][][EXCEPTION] [DEBUG] [RESP_APPL_ID]:[20023]
    [123109_073025194][][EXCEPTION] [DEBUG] [LOGIN_ID]:[113493]
    [123109_073025194][][EXCEPTION] [DEBUG] [DB_PORT]:[1521]
    [123109_073025194][][EXCEPTION] [DEBUG] [USER_ID]:[1251]
    [123109_073025194][][EXCEPTION] [DEBUG] [DISPLAY_LANGUAGE]:[US]
    [123109_073025194][][EXCEPTION] [DEBUG] [APPLICATION_ID]:[crm.oracle.apps.xxcrm.crmmgmt.quotationmgmt.server.xxcrmquotationmgmtAM]
    [123109_073025194][][EXCEPTION] [DEBUG] [NLS_NUMERIC_CHARACTERS]:[.,]
    [123109_073025194][][EXCEPTION] [DEBUG] [NLS_LANGUAGE]:[AMERICAN]
    [123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]:[1]
    [123109_073025194][][EXCEPTION] [DEBUG] [GUEST_USER_PWD]:[GUEST/ORACLE]
    [123109_073025194][][EXCEPTION] [DEBUG] [RESP_ID]:[50722]
    [123109_073025194][][EXCEPTION] [DEBUG] [NLS_SORT]:[BINARY]
    [123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_PLSQL_RESET]:[false]
    [123109_073025194][][EXCEPTION] [DEBUG] [FND_PROFILE_VALIDATION_ENABLED]:[null]
    [123109_073025194][][EXCEPTION] [DEBUG] [FUNCTION_ID]:[-1]
    [123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
    [123109_073025194][][EXCEPTION] [DEBUG] [ICX_PV_SESSION_MODE]:[115P]
    [123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_CONTEXT_CHECK]:[true]
    [123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_USABLE_CHECK]:[false]
    [123109_073025194][][EXCEPTION] [DEBUG] [NLS_LANG]:[null]
    [123109_073025194][][EXCEPTION] [DEBUG] [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=data02.utsco.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DEV)))]
    [123109_073025194][][EXCEPTION] [DEBUG] [FNDNAM]:[APPS]
    [123109_073025194][][EXCEPTION] [DEBUG] [FND_PROXY_USER]:[null]
    [123109_073025194][][EXCEPTION] [DEBUG] [TWO_TASK]:[DEV]
    [123109_073025194][][EXCEPTION] [DEBUG] [APPS_JDBC_DRIVER_TYPE]:[THIN]
    [123109_073025194][][EXCEPTION] [DEBUG] [DB_HOST]:[data02.utsco.com]
    [123109_073025194][][EXCEPTION] [DEBUG] [DBC_FILE_PATH]:[C:\OAF\jdevhome\jdev\dbc_files\secure\DEV.dbc]
    [123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
    [123109_073025194][][EXCEPTION] [DEBUG] [SECURITY_GROUP_ID]:[0]
    [123109_073025194][][EXCEPTION] [DEBUG] [LANG_CODE]:[US]
    [123109_073025194][][EXCEPTION] [DEBUG] [FND_MAX_JDBC_CONNECTIONS]:[500]
    [123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
    [123109_073025194][][EXCEPTION] [DEBUG] [USER_NAME]:[CRMUSER]
    [123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]:[5]
    [123109_073025194][][EXCEPTION] [DEBUG] [DB_NAME]:[DEV]
    [123109_073025194][][EXCEPTION] [DEBUG] [NLS_CHARACTERSET]:[AL32UTF8]
    [123109_073025194][][EXCEPTION] [DEBUG] [ORG_ID]:[82]
    [123109_073025194][][EXCEPTION] [DEBUG] [DB_ID]:[DEV]
    [123109_073025194][][EXCEPTION] [DEBUG] [GWYUID]:[APPLSYSPUB/PUB]
    [123109_073025194][][EXCEPTION] [DEBUG] [NLS_TERRITORY]:[UNITED ARAB EMIRATES]
    [123109_073025194][][EXCEPTION] [DEBUG] [ICX_SESSION_ID]:[848565270]
    [123109_073025194][][EXCEPTION] [DEBUG] [JDBC:oracle.jdbc.maxCachedBufferSize]:[358400]
    [123109_073025194][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
    [123109_073025194][][EXCEPTION] [DEBUG] [java.vendor]:[Sun Microsystems Inc.]
    [123109_073025194][][EXCEPTION] [DEBUG] [ajp.connection.listener.state]:[down]
    [123109_073025194][][EXCEPTION] [DEBUG] [sun.management.compiler]:[HotSpot Client Compiler]
    [123109_073025194][][EXCEPTION] [DEBUG] [oracle.j2ee.container.version]:[10.1.3.3.0]
    [123109_073025194][][EXCEPTION] [DEBUG] [os.name]:[Windows XP]
    [123109_073025194][][EXCEPTION] [DEBUG] [sun.boot.class.path]:[C:\OAF\jdevbin\jdk\jre\lib\rt.jar;C:\OAF\jdevbin\jdk\jre\lib\i18n.jar;C:\OAF\jdevbin\jdk\jre\lib\sunrsasign.jar;C:\OAF\jdevbin\jdk\jre\lib\jsse.jar;C:\OAF\jdevbin\jdk\jre\lib\jce.jar;C:\OAF\jdevbin\jdk\jre\lib\charsets.jar;C:\OAF\jdevbin\jdk\jre\classes]
    [123109_073025194][][EXCEPTION] [DEBUG] [sun.desktop]:[windows]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.vm.specification.vendor]:[Sun Microsystems Inc.]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.runtime.version]:[1.5.0_05-b05]
    [123109_073025194][][EXCEPTION] [DEBUG] [com.oracle.corba.ee.security.trusted.clients]:[*]
    [123109_073025194][][EXCEPTION] [DEBUG] [oracle.security.jazn.config]:[C:\OAF\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\jazn.xml]
    [123109_073025194][][EXCEPTION] [DEBUG] [user.name]:[utsguest]
    [123109_073025194][][EXCEPTION] [DEBUG] [user.language]:[en]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.naming.factory.initial]:[com.evermind.server.ApplicationInitialContextFactory]
    [123109_073025194][][EXCEPTION] [DEBUG] [sun.boot.library.path]:[C:\OAF\jdevbin\jdk\jre\bin]
    [123109_073025194][][EXCEPTION] [DEBUG] [oc4j.jms.usePersistenceLockFiles]:[false]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.version]:[1.5.0_05]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.util.logging.manager]:[oracle.classloader.util.ApplicationLogManager]
    [123109_073025194][][EXCEPTION] [DEBUG] [user.timezone]:[GMT+04:00]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.net.preferIPv4Stack]:[true]
    [123109_073025194][][EXCEPTION] [DEBUG] [sun.arch.data.model]:[32]
    [123109_073025194][][EXCEPTION] [DEBUG] [javax.rmi.CORBA.UtilClass]:[com.sun.corba.ee.impl.javax.rmi.CORBA.Util]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.endorsed.dirs]:[C:\OAF\jdevbin\jdk\jre\lib\endorsed]
    [123109_073025194][][EXCEPTION] [DEBUG] [sun.cpu.isalist]:[pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86]
    [123109_073025194][][EXCEPTION] [DEBUG] [sun.jnu.encoding]:[Cp1252]
    [123109_073025194][][EXCEPTION] [DEBUG] [file.encoding.pkg]:[sun.io]
    [123109_073025194][][EXCEPTION] [DEBUG] [DBCFILE]:[C:\OAF\jdevhome\jdev\dbc_files\secure\DEV.dbc]
    [123109_073025194][][EXCEPTION] [DEBUG] [file.separator]:[\]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.specification.name]:[Java Platform API Specification]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.class.version]:[49.0]
    [123109_073025194][][EXCEPTION] [DEBUG] [user.country]:[US]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.home]:[C:\OAF\jdevbin\jdk\jre]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.vm.info]:[mixed mode]
    [123109_073025194][][EXCEPTION] [DEBUG] [os.version]:[5.1]
    [123109_073025194][][EXCEPTION] [DEBUG] [org.omg.CORBA.ORBSingletonClass]:[com.sun.corba.ee.impl.orb.ORBImpl]
    [123109_073025194][][EXCEPTION] [DEBUG] [path.separator]:[;]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.vm.version]:[1.5.0_05-b05]
    [123109_073025194][][EXCEPTION] [DEBUG] [user.variant]:[]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.protocol.handler.pkgs]:[oracle.apps.xdo.common.net.protocol|com.evermind.protocol]
    [123109_073025194][][EXCEPTION] [DEBUG] [checkForUpdates]:[adminClientOnly]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.awt.printerjob]:[sun.awt.windows.WPrinterJob]
    [123109_073025194][][EXCEPTION] [DEBUG] [RUN_FROM_JDEV]:[true]
    [123109_073025194][][EXCEPTION] [DEBUG] [sun.io.unicode.encoding]:[UnicodeLittle]
    [123109_073025194][][EXCEPTION] [DEBUG] [com.sun.jts.pi.INTEROP_MODE]:[false]
    [123109_073025194][][EXCEPTION] [DEBUG] [awt.toolkit]:[sun.awt.windows.WToolkit]
    [123109_073025194][][EXCEPTION] [DEBUG] [MetaObjectContext]:[oracle.adf.mds.jbo.JBODefManager]
    [123109_073025194][][EXCEPTION] [DEBUG] [FND_TOP]:[C:\OAF\jdevhome\jdev\dbc_files\]
    [123109_073025194][][EXCEPTION] [DEBUG] [oracle.j2ee.http.socket.timeout]:[500]
    [123109_073025194][][EXCEPTION] [DEBUG] [com.oracle.corba.ee.security.ssl.port]:[5656]
    [123109_073025194][][EXCEPTION] [DEBUG] [JRAD_ELEMENT_LIST_PATH]:[C:\OAF\jdevhome\jdev\myhtml\OA_HTML\jrad\]
    [123109_073025194][][EXCEPTION] [DEBUG] [JTFDBCFILE]:[C:\OAF\jdevhome\jdev\dbc_files\secure\DEV.dbc]
    [123109_073025194][][EXCEPTION] [DEBUG] [com.sun.CORBA.POA.ORBServerId]:[1000000]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.naming.factory.url.pkgs]:[oracle.oc4j.naming.url]
    [123109_073025194][][EXCEPTION] [DEBUG] [user.home]:[C:\Documents and Settings\utsguest]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.specification.vendor]:[Sun Microsystems Inc.]
    [123109_073025194][][EXCEPTION] [DEBUG] [oracle.home]:[C:\OAF\jdevbin]
    [123109_073025194][][EXCEPTION] [DEBUG] [oracle.dms.sensors]:[5]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.library.path]:[C:\OAF\jdevbin\jdk\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\DevSuiteHome_1\jdk\jre\bin\classic;C:\DevSuiteHome_1\jdk\jre\bin;C:\DevSuiteHome_1\jdk\jre\bin\client;C:\DevSuiteHome_1\jlib;C:\DevSuiteHome_1\bin;C:\DevSuiteHome_1\jre\1.4.2\bin\client;C:\DevSuiteHome_1\jre\1.4.2\bin;C:\apps\product\11.1.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.vendor.url]:[http://java.sun.com/]
    [123109_073025194][][EXCEPTION] [DEBUG] [XDO_TOP]:[E:\oracle\apps\apps_st\appl\xdo\12.0.0]
    [123109_073025194][][EXCEPTION] [DEBUG] [javax.rmi.CORBA.StubClass]:[com.sun.corba.ee.impl.javax.rmi.CORBA.StubDelegateImpl]
    [123109_073025194][][EXCEPTION] [DEBUG] [oracle.j2ee.dont.use.memory.archive]:[true]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.vm.vendor]:[Sun Microsystems Inc.]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.runtime.name]:[Java(TM) 2 Runtime Environment, Standard Edition]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.class.path]:[C:\OAF\jdevbin\jdk\jre\lib\rt.jar;C:\OAF\jdevbin\jdk\jre\lib\jsse.jar;C:\OAF\jdevbin\jdk\jre\lib\jce.jar;C:\OAF\jdevbin\jdk\jre\lib\charsets.jar;C:\OAF\jdevbin\jdk\jre\lib\ext\dnsns.jar;C:\OAF\jdevbin\jdk\jre\lib\ext\localedata.jar;C:\OAF\jdevbin\jdk\jre\lib\ext\sunjce_provider.jar;C:\OAF\jdevbin\jdk\jre\lib\ext\sunpkcs11.jar;C:\OAF\jdevbin\j2ee\home\oc4j-api.jar;C:\OAF\jdevbin\j2ee\home\lib\oc4j-unsupported-api.jar;C:\OAF\jdevbin\j2ee\home\lib\activation.jar;C:\OAF\jdevbin\j2ee\home\lib\mail.jar;C:\OAF\jdevbin\j2ee\home\lib\persistence.jar;C:\OAF\jdevbin\j2ee\home\lib\ejb30.jar;C:\OAF\jdevbin\j2ee\home\lib\ejb.jar;C:\OAF\jdevbin\j2ee\home\lib\javax77.jar;C:\OAF\jdevbin\j2ee\home\lib\javax88.jar;C:\OAF\jdevbin\j2ee\home\lib\servlet.jar;C:\OAF\jdevbin\j2ee\home\lib\jms.jar;C:\OAF\jdevbin\j2ee\home\lib\jta.jar;C:\OAF\jdevbin\j2ee\home\lib\jacc-api.jar;C:\OAF\jdevbin\j2ee\home\lib\connector.jar;C:\OAF\jdevbin\j2ee\home\lib\jmx_remote_api.jar;C:\OAF\jdevbin\j2ee\home\lib\jax-qname-namespace.jar;C:\OAF\jdevbin\webservices\lib\jaxr-api.jar;C:\OAF\jdevbin\webservices\lib\jaxrpc-api.jar;C:\OAF\jdevbin\webservices\lib\saaj-api.jar;C:\OAF\jdevbin\webservices\lib\jws-api.jar;C:\OAF\jdevbin\j2ee\home\lib\oc4j-internal.jar;C:\OAF\jdevbin\j2ee\home\lib\oems-jms-oc4j.jar;C:\OAF\jdevbin\j2ee\home\lib\oems-jms-client.jar;C:\OAF\jdevbin\j2ee\home\lib\oems-jms-server.jar;C:\OAF\jdevbin\j2ee\home\lib\oc4j-schemas.jar;C:\OAF\jdevbin\j2ee\home\lib\ojsp.jar;C:\OAF\jdevbin\j2ee\home\lib\oc4j_orb.jar;C:\OAF\jdevbin\j2ee\home\lib\iiop_support.jar;C:\OAF\jdevbin\j2ee\home\lib\orbbase.jar;C:\OAF\jdevbin\j2ee\home\iiop_gen_bin.jar;C:\OAF\jdevbin\j2ee\home\lib\jmxcluster.jar;C:\OAF\jdevbin\j2ee\home\jaccprovider.jar;C:\OAF\jdevbin\javavm\lib\jasper.zip;C:\OAF\jdevbin\j2ee\home\lib\adminclient.jar;C:\OAF\jdevbin\opmn\lib\optic.jar;C:\OAF\jdevbin\j2ee\home\jacc-spi.jar;C:\OAF\jdevbin\j2ee\home\jazncore.jar;C:\OAF\jdevbin\j2ee\home\jazn.jar;C:\OAF\jdevbin\jlib\ospnego.jar;C:\OAF\jdevbin\jlib\ldapjclnt10.jar;C:\OAF\jdevbin\webservices\lib\wsserver.jar;C:\OAF\jdevbin\webservices\lib\wsif.jar;C:\OAF\jdevbin\webservices\lib\orawsmetadata.jar;C:\OAF\jdevbin\webservices\lib\orajaxr.jar;C:\OAF\jdevbin\jlib\jssl-1_1.jar;C:\OAF\jdevbin\jlib\ojmisc.jar;C:\OAF\jdevbin\toplink\jlib\toplink-oc4j.jar;C:\OAF\jdevbin\diagnostics\lib\ojdl2.jar;C:\OAF\jdevbin\xqs\lib\xqs-api.jar;C:\OAF\jdevbin\xqs\lib\xds.jar;C:\OAF\jdevbin\jdev\lib\jdev-oc4j-embedded.jar;C:\OAF\jdevbin\j2ee\home\lib\pcl.jar;C:\OAF\jdevbin\j2ee\home\lib\ext;C:\OAF\jdevbin\lib\dmsapp.jar;C:\OAF\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\admin_ejb.jar;C:\OAF\jdevbin\BC4J\lib\bc4jdomorcl.jar;C:\OAF\jdevbin\jlib\jsp-el-api.jar;C:\OAF\jdevbin\jlib\commons-el.jar;C:\OAF\jdevbin\jlib\oracle-el.jar;C:\OAF\jdevbin\jlib\jewt4.jar;C:\OAF\jdevbin\jdev\appslibrt\regexp.jar;C:\OAF\jdevbin\jdev\appslibrt\share.jar;C:\OAF\jdevbin\jdev\appslibrt\uix2.jar;C:\OAF\jdevbin\oaext\mds\lib\mdsrt.jar;C:\OAF\jdevbin\oaext\lib\mdsdt.jar;C:\OAF\jdevbin\oaext\lib\oamdsdt.jar;C:\OAF\jdevbin\javacache\lib\cache.jar;C:\OAF\jdevbin\lib\xschema.jar;C:\OAF\jdevbin\BC4J\lib;C:\OAF\jdevbin\BC4J\lib\adfbinding.jar;C:\OAF\jdevbin\BC4J\lib\adfcm.jar;C:\OAF\jdevbin\BC4J\lib\adfm.jar;C:\OAF\jdevbin\BC4J\lib\adfmweb.jar;C:\OAF\jdevbin\BC4J\lib\adfs-jazn.jar;C:\OAF\jdevbin\BC4J\lib\adfs.jar;C:\OAF\jdevbin\BC4J\lib\adfshare.jar;C:\OAF\jdevbin\BC4J\lib\bc4jct.jar;C:\OAF\jdevbin\BC4J\lib\bc4jctejb.jar;C:\OAF\jdevbin\BC4J\lib\bc4jimdomains.jar;C:\OAF\jdevbin\BC4J\lib\bc4jmt.jar;C:\OAF\jdevbin\BC4J\lib\bc4jmtejb.jar;C:\OAF\jdevbin\BC4J\lib\bc4jsyscat.jar;C:\OAF\jdevbin\BC4J\lib\collections.jar;C:\OAF\jdevbin\jdev\appslibrt\fwkjbo.zip;C:\OAF\jdevbin\jdev\appslibrt\fwk.zip;C:\OAF\jdevbin\jdev\appslibrt\atg.zip;C:\OAF\jdevbin\jdev\appslibrt\collections.zip;C:\OAF\jdevbin\jdev\appslibrt\iasjoc.zip;C:\OAF\jdevbin\jdev\appslibrt\rosettaRt.zip;C:\OAF\jdevbin\jdev\appslibrt\portalFlexComps.jar;C:\OAF\jdevbin\jdev\appslibrt\svc.zip;C:\OAF\jdevbin\jdev\appslibrt\pat.zip;C:\OAF\jdevbin\jdev\appslibrt\concurrent.zip;C:\OAF\jdevbin\jdev\appslibrt\oamMaintMode.zip;C:\OAF\jdevbin\jdev\appslibrt\fwkCabo.zip;C:\OAF\jdevbin\jdev\appslibrt\wsrp-container.jar;C:\OAF\jdevbin\jdev\appslibrt\pdkjava.jar;C:\OAF\jdevbin\jdev\appslibrt\ptlshare.jar;C:\OAF\jdevbin\jdev\appslibrt\xml.jar;C:\OAF\jdevbin\jdev\appslibrt\wsrp-container-types.jar;C:\OAF\jdevbin\jdev\appslibrt\jaxb-impl.jar;C:\OAF\jdevbin\jdev\appslibrt\jaxb-libs.jar;C:\OAF\jdevbin\jdev\appslibrt\jazn.jar;C:\OAF\jdevbin\jdev\appslibrt\jazncore.jar;C:\OAF\jdevbin\bibeans\lib\biamlocal.jar;C:\OAF\jdevbin\bibeans\lib\bipres.jar;C:\OAF\jdevbin\bibeans\lib\bicmn.jar;C:\OAF\jdevbin\bibeans\lib\bidatasvr.jar;C:\OAF\jdevbin\bibeans\lib\bidataclt.jar;C:\OAF\jdevbin\bibeans\lib\bidatacmn.jar;C:\OAF\jdevbin\bibeans\lib\biext.jar;C:\OAF\jdevbin\bibeans\lib\bicmn-nls.zip;C:\OAF\jdevbin\bibeans\lib\bipres-nls.zip;C:\OAF\jdevbin\bibeans\lib\bidata-nls.zip;C:\OAF\jdevbin\oaext\config\oac\oacfilter.jar;C:\OAF\jdevbin\j2ee\home\lib\scheduler.jar;C:\OAF\jdevbin\jdev\lib\jdev-rt.jar;C:\OAF\jdevbin\jdev\lib\ojc.jar;C:\OAF\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\connectors\datasources\datasources\datasources.jar;C:\OAF\jdevbin\diagnostics\lib\ojdl.jar;C:\OAF\jdevbin\lib\dms.jar;C:\OAF\jdevbin\jdbc\lib\ojdbc14dms.jar;C:\OAF\jdevbin\opmn\lib\ons.jar;C:\OAF\jdevbin\jdbc\lib\ocrs12.jar;C:\OAF\jdevbin\rdbms\jlib\aqapi.jar;C:\OAF\jdevbin\j2ee\home\lib\ojms-provider.jar;C:\OAF\jdevbin\jdbc\lib\orai18n.jar;C:\OAF\jdevbin\lib\xmlparserv2.jar;C:\OAF\jdevbin\lib\xml.jar;C:\OAF\jdevbin\lib\xmlmesg.jar;C:\OAF\jdevbin\lib\xsu12.jar;C:\OAF\jdevbin\lib\xquery.jar;C:\OAF\jdevbin\jlib\osdt_core.jar;C:\OAF\jdevbin\jlib\osdt_cert.jar;C:\OAF\jdevbin\jlib\osdt_xmlsec.jar;C:\OAF\jdevbin\jlib\osdt_wss.jar;C:\OAF\jdevbin\jlib\osdt_saml.jar;C:\OAF\jdevbin\jlib\ojpse.jar;C:\OAF\jdevbin\jlib\oraclepki.jar;C:\OAF\jdevbin\toplink\jlib\toplink.jar;C:\OAF\jdevbin\toplink\jlib\antlr.jar;C:\OAF\jdevbin\toplink\jlib\toplink-essentials.jar;C:\OAF\jdevbin\webservices\lib\wsclient.jar;C:\OAF\jdevbin\webservices\lib\orasaaj.jar;C:\OAF\jdevbin\webservices\lib\xsdlib.jar;C:\OAF\jdevbin\webservices\lib\mdds.jar;C:\OAF\jdevbin\webservices\lib\relaxngDatatype.jar;C:\OAF\jdevbin\webservices\lib\soap.jar;C:\OAF\jdevbin\sqlj\lib\runtime12.jar;C:\OAF\jdevbin\sqlj\lib\translator.jar;C:\OAF\jdevbin\webservices\lib\orawsdl.jar;C:\OAF\jdevbin\j2ee\home\applib;C:\OAF\jdevbin\j2ee\home\jsp\lib\taglib;C:\OAF\jdevbin\j2ee\home\jsp\lib\taglib\ojsputil.jar;C:\OAF\jdevbin\lib\dsv2.jar;C:\OAF\jdevbin\j2ee\home\lib\http_client.jar;C:\OAF\jdevbin\j2ee\home\lib\jgroups-core.jar;C:\OAF\jdevhome\jdev\myhtml\OA_HTML;C:\OAF\jdevhome\jdev\myclasses;C:\OAF\jdevbin\jlib\jdev-cm.jar;C:\OAF\jdevbin\BC4J\jlib\bc4jhtml.jar;C:\OAF\jdevbin\BC4J\jlib\datatags.jar;C:\OAF\jdevbin\BC4J\jlib\bc4juixtags.jar;C:\OAF\jdevbin\BC4J\jlib\graphtags.jar;C:\OAF\jdevbin\jdev\appslibrt\wsp.zip;C:\OAF\jdevbin\jdev\appslibrt\diagnostics.jar;C:\OAF\jdevbin\jdev\appslibrt\svctester.jar]
    [123109_073025194][][EXCEPTION] [DEBUG] [oracle.j2ee.home]:[C:\OAF\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j]
    [123109_073025194][][EXCEPTION] [DEBUG] [oracle.application.environment]:[development]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.vm.specification.name]:[Java Virtual Machine Specification]
    [123109_073025194][][EXCEPTION] [DEBUG] [JRAD_XML_PATH]:[C:\OAF\jdevhome\jdev\myclasses\JRADXML;C:\OAF\jdevhome\jdev\myprojects;C:\OAF\jdevbin\jdev\oamdsxml\fwk]
    [123109_073025194][][EXCEPTION] [DEBUG] [javax.rmi.CORBA.PortableRemoteObjectClass]:[com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject]
    [123109_073025194][][EXCEPTION] [DEBUG] [org.omg.PortableInterceptor.ORBInitializerClass.oracle.oc4j.corba.iiop.server.IIOPInitializer]:[NO_VALUE]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.vm.specification.version]:[1.0]
    [123109_073025194][][EXCEPTION] [DEBUG] [sun.cpu.endian]:[little]
    [123109_073025194][][EXCEPTION] [DEBUG] [oracle.j2ee.container.name]:[Oracle Containers for J2EE 10g (10.1.3.3.0) ]
    [123109_073025194][][EXCEPTION] [DEBUG] [sun.os.patch.level]:[Service Pack 3]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.io.tmpdir]:[C:\DOCUME~1\utsguest\LOCALS~1\Temp\]
    [123109_073025194][][EXCEPTION] [DEBUG] [com.sun.jts.pi.CLIENT_POLICY_CHECKING]:[false]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.vendor.url.bug]:[http://java.sun.com/cgi-bin/bugreport.cgi]
    [123109_073025194][][EXCEPTION] [DEBUG] [com.oracle.corba.ee.security.ssl.mutual.auth.port]:[5657]
    [123109_073025194][][EXCEPTION] [DEBUG] [FND_JDBC_STMT_CACHE_SIZE]:[200]
    [123109_073025194][][EXCEPTION] [DEBUG] [os.arch]:[x86]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.awt.graphicsenv]:[sun.awt.Win32GraphicsEnvironment]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.ext.dirs]:[C:\OAF\jdevbin\jdk\jre\lib\ext]
    [123109_073025194][][EXCEPTION] [DEBUG] [user.dir]:[C:\OAF\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config]
    [123109_073025194][][EXCEPTION] [DEBUG] [CACHENODBINIT]:[true]
    [123109_073025194][][EXCEPTION] [DEBUG] [line.separator]:[
    [123109_073025194][][EXCEPTION] [DEBUG] [java.vm.name]:[Java HotSpot(TM) Client VM]
    [123109_073025194][][EXCEPTION] [DEBUG] [com.sun.CORBA.connection.ORBSocketFactoryClass]:[oracle.oc4j.corba.iiop.IIOPSSLSocketFactory]
    [123109_073025194][][EXCEPTION] [DEBUG] [javax.management.builder.initial]:[oracle.oc4j.admin.jmx.server.Oc4jMBeanServerBuilder]
    [123109_073025194][][EXCEPTION] [DEBUG] [com.oracle.corba.ee.security.use.ssl]:[false]
    [123109_073025194][][EXCEPTION] [DEBUG] [org.omg.CORBA.ORBClass]:[com.sun.corba.ee.impl.orb.ORBImpl]
    [123109_073025194][][EXCEPTION] [DEBUG] [file.encoding]:[Cp1252]
    [123109_073025194][][EXCEPTION] [DEBUG] [oracle.oc4j.http.socket.sendbuffersize]:[16384]
    [123109_073025194][][EXCEPTION] [DEBUG] [java.specification.version]:[1.5]
    regard
    sreekanth

    Hi Sreekanth;
    Change your output type from PDF to HTML. Then it will give you clear error message in HTML page after fixing it if you able to see/run report fine in HTML then change your output type back to PDF.
    GsrC

  • Out put file is not genrated when calling xml reports from OAF page

    Dear all
    i am calling xml reports from OAF page
    the out put file is not generated
    i am writing this code
    public int tradingrequest(String quoid, String costoder,int orgid)
    try
    OADBTransaction tx = (OADBTransaction)getOADBTransaction();
    java.sql.Connection pConncection = tx.getJdbcConnection();
    ConcurrentRequest cr = new ConcurrentRequest(pConncection);
    String applnName =
    "XXCRM"; //Application that contains the concurrent program
    String cpName = "XXCRM_COSTSHEET"; //Concurrent program short name
    String cpDesc =
    "Trading Costsheet Report XXCRM"; // concurrent Program description
    Number orgid1=new Number(orgid);
    // Pass the Arguments using vector
    Vector cpArgs = new Vector();
    cpArgs.addElement(quoid);
    cpArgs.addElement(costoder);
    cpArgs.addElement(orgid1.toString());
    // Calling the Concurrent Program
    int requestId =
    cr.submitRequest(applnName, cpName, cpDesc, null, false, cpArgs);
    tx.commit();
    System.out.println("Request ID is " + requestId);
    return requestId;
    } catch (RequestSubmissionException e)
    OAException oe = new OAException(e.getMessage());
    oe.setApplicationModule(this);
    throw oe;
    in controller i am writing this code
    OAMessageStyledTextBean y =
    (OAMessageStyledTextBean)webBean.findChildRecursive("quotationid");
    OAFormValueBean z =
    (OAFormValueBean)webBean.findChildRecursive("costorder");
    String quoid = y.getValue(pageContext).toString();
    String costorder = z.getValue(pageContext).toString();
    System.out.println("The quotation id and costing order are....." + quoid +
    " " + costorder);
    /*if click on run report button to run the report*/
    if ("Viewreport".equals(pageContext.getParameter(EVENT_PARAM)))
    if (tsflag.equals("Y"))
    int requestid = am.servicerequest(quoid, costorder, orgid);
    String url =
    "OA.jsp?akRegionCode=FNDCPREQUESTVIEWPAGE&akRegionApplicationId=0&retainAM=Y&addBreadCrumb=Y&REQUESTID=" +
    requestid;
    pageContext.setForwardURL(url, null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT, null,
    null, true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    when i call the report from oaf page the request id is coming
    when i click on view output i am getting this message
    Error
    The concurrent request 7335031 did not create an output file.
    WHEN I GOTO FIND REQUESTS PAGE QUERY THIS REQUEST ID I AM GETTING THE OUTPUT IN XM FILE
    Regards
    Sreekanth

    java.io.FileNotFoundException: \..\..\..\xdoAqdFFZfuuJ051010_0628487460.fo (The system cannot find the path specified)
    MY CO code
    if("GenerateReport".equals(event))
    // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
    DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
    try {
    // Hashtable hashtable = new Hashtable(1);
    // hashtable.put("TruckBookingRefNum",trucknum);
    // System.out.println("test"+trucknum);
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=LF Cargo Summary Report.htm";
    response.setHeader("Content-Disposition",contentDisposition);
    response.setContentType("application/HTML");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode) am.invokeMethod("getTestDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    System.out.println(" ByteArrayInputStream.ByteArrayOutputStream"+pdfFile+inputStream);
    //Generate the PDF Report.
    TemplateHelper.processTemplate(
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    "LFCUST",
    "XXLFCARSUM_TARGET",
    "English",//((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    "US",//((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_HTML,
    null,
    pdfFile);
    // hashtable);
    System.out.println(" TemplateHelper");
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    System.out.println(" byte"+b);
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    pdfFile.flush();
    pdfFile.close();
    catch(Exception e)
    System.out.println(" inside catch");
    response.setContentType("text/html");
    throw new OAException(e.getMessage(), OAException.ERROR);
    pageContext.setDocumentRendered(true);
    Edited by: user9367919 on May 13, 2010 10:31 AM

  • How to seperate Power Pivot Data Model and Power Pivot Report from Single Workbook.

    HI  Team,
    Initially, We have created Power Pivot report in workbook, containing Source Data Model as well.
    Now, we want to convert workbook having model as Shared Data Model, and all report needs to be part of single workbook.
    I want to implement one of the below solution, but know how to do it.
    1. Separate and Export all Power Pivot report sheet into single Excel Workbook such that it will have all report sheets.
    2. Use Same Model as it is and delete reports from existing one after export to new excel workbook.
    OR
    Is there is any other way to avoid re-creation of reports again? I want to use same report but instead of Embedded Excel data source, I want to use shared data Source in excel.

    One option is to use one workbook as the data source(model) and other workbooks for the reports.  This works in the stand alone Excel and SharePoint versions of Power BI, but not yet in O365 Power BI version.
    There is no export functionality. You would have to copy the workbook and update data source references. I have never tried it, but in theory it should work :).
    Brad Syputa, Microsoft Reporting Services This posting is provided "AS IS" with no warranties.
    Hi Michael,
    Yes your answer is partially correct..thanks for reply, I am working on Power Pivot reports on SharePoint.
    However, below issues observed.
    1. There is No Export Functionality ( as you told)
    2. We can not copy report sheet from workbook1 (which has Data Model) to Workbook2 ( only for report) using Control + C (copy) and Control + V (paste) option.
    Or Move Power Pivot Table ..
    So, solution can be (as you said, unfortunately I tried it already but dint worked)
    1. Copied workbook with New Name - Workbook2.
    2. Go to Data -> I tried to change connection setting -> to use shared Data Model -> I could create new Pivot table using shared Data Model
    But, Still I could use earlier designed Power Pivot tables as it is, to point to shared data model.
    I don't want to re-design entire report. As my project workbook has plenty reports.... :)

  • How-to use Excel for the XML file input?

    Hello all,
    Following our discussion with Gerhard Steinhuber on the very nice tutorial from Horst Schaude , "How to upload mass data via XML File Input" , I am starting this new discussion.
    In the comments section of this previous cited tutorial, Rufat Gadirov explains how to use a generated XML from Eclipse instead of your XSD file as your source in Excel.
    However, in spite of all the instructions, I am still facing the same issue in Excel when I try to save my file as XML : "The XML maps in this workbook are not exportable".
    What I try to do is to create one or more Sales Orders with multiple Items in it from a XML File Input, using excel to enter data.
    The part with the File input is working (if I directly upload my file to the webDAV, it creates a sales order instance with multiple items).
    The only missing part is the Excel data input that I cannot make work. Any help on this matter would be greatly appreciated.
    Here is my XML file that I try to use as a source in Excel before inputing data from Excel:
    <?xml version="1.0" encoding="UTF-8"?>
    <p:MySalesOrderUploadedIntegrationInputRequest xmlns:p="http://001365xxx-one-off.sap.com/YUUD0G3OY_" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <MessageHeader>
        <CreationDateTime>2015-03-02T12:00:00.000Z</CreationDateTime>
    </MessageHeader>
        <List actionCode="01" listCompleteTransmissionIndicator="true" reconciliationPeriodCounterValue="0">
            <MySalesOrderUploaded>
              <MySalesOrderUploadedID>idvalue0</MySalesOrderUploadedID>
              <MyBuyerID schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeID="token">token</MyBuyerID>
              <MyDateTime>2015-03-02T12:00:00.000Z</MyDateTime>
              <MyName languageCode="EN">MyName</MyName>
              <MyBillToParty schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyBillToParty>
              <MyDateToBeDelivered>2001-01-01</MyDateToBeDelivered>
              <MyEmployeeResponsible schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyEmployeeResponsible>
              <MySalesUnit schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MySalesUnit>
                <MyItem>
                    <MyItemID>token</MyItemID>
                    <MyItemProductID schemeAgencyID="token" schemeID="token">token</MyItemProductID>
                    <MyItemDescription languageCode="EN">MyItemDescription</MyItemDescription>
                    <MyProductTypeCode>token</MyProductTypeCode>
                    <MyRequestedQuantity unitCode="token">0.0</MyRequestedQuantity>
                    <MyConfirmedQuantity unitCode="token">0.0</MyConfirmedQuantity>
                    <MyNetAmount currencyCode="token">0.0</MyNetAmount>
                </MyItem>
            </MySalesOrderUploaded>
            <MySalesOrderUploaded>
              <MySalesOrderUploadedID>idvalue0</MySalesOrderUploadedID>
              <MyBuyerID schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeID="token">token</MyBuyerID>
              <MyDateTime>2015-03-02T12:00:00.000Z</MyDateTime>
              <MyName languageCode="EN">MyName</MyName>
              <MyBillToParty schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyBillToParty>
              <MyDateToBeDelivered>2001-01-01</MyDateToBeDelivered>
              <MyEmployeeResponsible schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyEmployeeResponsible>
              <MySalesUnit schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MySalesUnit>
                <MyItem>
                    <MyItemID>token</MyItemID>
                    <MyItemProductID schemeAgencyID="token" schemeID="token">token</MyItemProductID>
                    <MyItemDescription languageCode="EN">MyItemDescription</MyItemDescription>
                    <MyProductTypeCode>token</MyProductTypeCode>
                    <MyRequestedQuantity unitCode="token">0.0</MyRequestedQuantity>
                    <MyConfirmedQuantity unitCode="token">0.0</MyConfirmedQuantity>
                    <MyNetAmount currencyCode="token">0.0</MyNetAmount>
                </MyItem>
            </MySalesOrderUploaded>
        </List>
    </p:MySalesOrderUploadedIntegrationInputRequest>
    Thank you all for your attention.
    Best regards.
    Jacques-Antoine Ollier

    Hello Jacques-Antoine,
    I suppose that as you have tried to construct a map from the schema, you have taken the elements from the List level down. In this case I also can't export the map.
    But if you take the elements from the level MySalesOrderUploaded down, you'll get the exportable map (screenshots)
    Best regards,
    Leonid Granatstein

  • Issue using data link in XML Publisher

    Dear All,
    I am new to XML Publisher, for the first time trying data link concept in XML Publisher tool. The issue is very simple, I have two queries Q1(say it fetches sales_order_number, application_name ) and Q2 (say it fetches sales_order_number , error_number, error_description). And sales_order_number is passed as input using data link to Query Q2 from query Q1 and Q2 will retrive more than one row for a given sales_order_number.
    Say for a given dept_name 1001 the output will be something similiar like
    Q1:
    SO# | Appl.Name
    1001 | 'Invoice '
    Q2:
    SO# | Error.# | Error Desc
    1001 | 1512 | No Data Found
    1001 | 1513 | Invalid Entry
    1001 | 2674 | Error while inserting the record
    and the query which I have used in XML template goes like this
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[select sales_order_number, application_name                 
                      from T1
                     where sales_order_number = :in_sales_order_num]]>
    </sqlStatement>
    <sqlStatement name="LINES">
    <![CDATA[
    select sales_order_number , error_number, error_description
    from T2]]>
    </sqlStatement>
    <link name="Dummy_LINK" parentQuery="Q1" parentColumn="sales_order_number" childQuery="Q2" childColumn="sales_order_number" condition="="/>
    </dataQuery>
    <daraStructure/>
    And the grouping is as follows
    <group name="G_Q1" source="Q1">     
         <element name="sales_order_number" value="sales_order_number"/>
         <element name="application_name" value="application_name"/>     
    <group name="G_Q2" source="Q2">
         <element name="sales_order_number" value="sales_order_number"/>
         <element name="error_number" value="error_number"/>
         <element name="error_description" value="error_description"/>     
    </group>
    </group>
    And in the RTF template I have properly used <?for-each:G_Q1?> <?for-each:G_Q2?>- --
    <?end for-each?><?end for-each?>
    Ideally the header (Q1) should have one row and the lines (Q2) should have 3 rows. But the issue here is even Q1 produces 3 rows.
    If in case Q2 has 4 records, then Q1 also plots 4 records in the report output. Hope I am explaining the issue correctly. Any help to resolve the issue would be a great. Thanks in advance.
    Regards,
    Antony.

    try like this
    <?if: (TYPE='A') or (TYPE= 'B')?><TABLE STRUCTURE><?end if?>
    or
    <?if:contains('A~B', TYPE )?><TABLE STRUCTURE> <?end if?>

  • Calling XML Publisher Report from OAF using the conc programs xml output

    Hi all
    I am trying to call a report from oa Framework. I have developed the Template in the Ms-Word and for Generating the xml data i used the view object defined in OAF, this approach is working for me...i used the following code to do this in the AM as mentioned in many places...
    public XMLNode getEmpDataXML()
    OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
    XMLNode xmlNode = (XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    return xmlNode;
    now i want that instead of the view object i should use the xml generated by the report which is registered as concurrnet program with output as xml.
    I am submitting the concurrent program and able to get the request id ...
    Now from here what should i do.. please suggest...

    Hi,
    I am thinking of doing something very similar. What i was planning on doing is submitting the request, and then redirecting the user to the concurrent request page. They can then use the standard functionality to view output and get the xml to use the appropriate template.
    i would be interested in how you get the concurrent request id from the submitted job.
    Many thanks
    Rupesh

Maybe you are looking for

  • Mass deletion of open PR & PO

    hai all MM gurus, How to delete the open or pending PR's & PO's which are created on duration of any periods like 1.1.2008 to 31.3.2008?.

  • Why does my drawing become pixelated in Creative Cloud?

    After creating a drawing in Adobe Ideas on my iPad, I upload it to Creative Cloud. But, when I view it there, or email it to myself, the image is all pixelated. What am I doing wrong?

  • Error: Region could not be found in AK_REGIONS;

    we are doing one customization in which we are calling pageContext.forwardImmediatelyToCurrentPage(params, true, OAWebBeanConstants.ADD_BREAD_CRUMB_NO); from process form request and in process request we are checking the parameter passes from proces

  • To load master data into infoobject 0mat_unit

    Hi Experts, Cud you pls give me any idea to load master data into infoject 0mat_unit from R/3. We need more than 10,000 master data into 0mat_unit. How can I collect data from R/3 for different attributes of infoobject 0mat_unit? I will assign full p

  • Virtual Hosts configuration in JServ.conf

    I was trying to configure virtual hosts in the Jserv.conf file like this: NameVirtualHost 138.1.104.151 # directives for vhost1 <VirtualHost 138.1.104.151:10001> ServerName gsyang-lap.xyz.com <IfModule mod_jserv.c> ApJServDefaultHost gsyang-lap.xyz.c