Custom print style to copy output file of report to desired dir

Hi All
We have a requirement to Copy output of Custom AR Invoice (BI Publisher) report to dir which is done vide print Style (Print MAchine) which copies file to desired dir
This functionality was used in 11i (Ver 11.5.10) and it's working fine, when we moved to R12 (Ver 12.1.3) Some how this functionality is not working as expected but
when we use this print style with other BI publisher reports it's working fine not sure what is the issue here.
Regards
Kamalakar.G

This forum is meant for discussions about OTN content/site and services.
Questions about Oracle products and technologies will NOT be answered in this forum. Please post your product or technology related questions in the appropriate product or technology forums, which are monitored by Oracle product managers.
Product forums:
http://forums.oracle.com/forums/index.jsp?cat=9
Technology forums:
http://forums.oracle.com/forums/index.jsp?cat=10

Similar Messages

  • Regression testing on PDF output files from Reports?

    My current client is looking to do more automated regression testing of the output (content) of their reports, most of which are output from Reports6i into Adobe Acrobat PDF file format. Is anyone currently using or aware of a tool (QARun, WinRunner, etc.) that will do this? (Most of the tools can do a binary comparison of the PDF files that were output, but we need something that will look into the PDF files themselves and tell us where any differences are found in the actual content (text) of the report itself.)
    Thanks in advance for any info anyone can provide!
    - Bill

    Dear Nick,
    Just ensure a printer is configured. This can be done by typing in echo $PRINTER at the $Prompt.
    If it returns null then configurea printer and i fell this should resolve your problem,
    Since it did resolve my problem.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Nick Mavrakis:
    I am having some trouble getting pdf output in the unix environment from Reports 6i.
    If I kick off a defined report file (.rep) from the command line as follows:
    rwrun60 testreport.rep destype=file desformat=pdf desname=testreport.pdf userid=connection_details
    I get the following errors:
    REP-0004: Warning: Unable to open user preference file.
    REP-3300: Fatal error in toolkit.
    UI-9: This function call is out of context
    If I run the command without the file output options (rwrun60 testreport.rep userid=connection_details) then the report opens up on the screen correctly. From here, if I try to generate a pdf file, I get the following error:
    REP-1800: Formatter error.
    The report is defined as character type, and is a simple listing of approximately 50 records from a database table. There are no graphics or any pl/sql defined in the report.
    Has anyone had similar problems in trying to do this?
    Any help is greatly appreciated.
    Cheers
    Nick<HR></BLOCKQUOTE>
    null

  • How Open And Print Proc C Genrated Text File Based Report ON Browser

    Dear Sir
    I have my old 6i forms from which i runs some Pro*c programmers with the help of HOST() command ,and then that generates a normal text file as a resultant report like file name "kha10"
    which i can easily open with any text client ,,,
    now what i want is that, to open this file on browser like web Report on my forms 10g like report builder 10g
    can anyone help me as it will be a gr8 help otherwise i would have to develop approx 100 reports.....
    any solution or any technique plzz help me

    bro my work is almost done apart from this virtual directory , how to make a virtual directory so that is dosent comes under
    http://........../form/
    i mean where to put my
    <virtual-directory virtual-path="/procrepo" real-path="c:\" />
    as my original file looks like bellow
    <?xml version="1.0"?>
    <!DOCTYPE orion-web-app PUBLIC "-//ORACLE//DTD OC4J Web Application 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-web-9_04.dtd">
    <orion-web-app
         deployment-version="10.1.2.0.2"
         jsp-cache-directory="./persistence"
         temporary-directory="./temp"
         servlet-webdir="/servlet/"
    >
    <context-param-mapping name="configFileName">D:\DevSuiteHome_1/forms/server/formsweb.cfg</context-param-mapping>
         <virtual-directory virtual-path="/html" real-path="D:\DevSuiteHome_1/tools/web/html" />
         <virtual-directory virtual-path="/java" real-path="D:\DevSuiteHome_1/forms/java" />
         <virtual-directory virtual-path="/webutil" real-path="D:\DevSuiteHome_1/forms/webutil" />
         <virtual-directory virtual-path="/jinitiator" real-path="D:\DevSuiteHome_1/jinit" />
         <session-tracking cookies="disabled" />
    <!-- Uncomment this element to control web application class loader behavior.
    <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
    -->
    <security-role-mapping name="administrators">
    </security-role-mapping>
    </orion-web-app>
    plzzzzzzzzzzz help

  • JSF: Using own custom styles in skin css file?

    I have created custom skin by defining custom css file and implementing predefined ADF style definitions (aliases).
    Also, I need some other styles for use on specific parts i application, and my idea was to put these styles in same css file which is used in skin definition.
    For example:
    .footer_txt     {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; color: #FFFFFF}
    My intention was to use this styles in styleClass attribute of various
    adf faces components
    But after starting application, I can't find my additional styles in generated css file (pfmskin-desktop-10_1_3_1_0-ie).
    Looks like that css generator is ignoring any styles which are not ADF predefined styles?
    I was thinking that this is possible, because at the end of srdemo.css file (in SRDemo application) there is one part like this
    /* custom styles that I made up and set on the styleClass attribute of various
    adf faces components */
    .adfFacesDemoSearchPanelGroup
    width:100%;
    padding:6px 6px 6px 26px;
    background-color: #0099CC;
    I can put my styles in separate css file, but then I have to include this file in every application page...
    Is it possible to have custom defined styles in skin css file, and use them in styleClass attribute?

    Hi,
    skinning only works with the ADF faces skin selectors. There are plans to support custom selectors in a future version
    Frank

  • How to copy a file from one folder to another folder in Linux

    Hello everyone,
    Oracle forms 11g 11.1.2.0.0
    OS: Oracle Linux
    We use webutil to upload files to the application server from the client machine, and stores them in a folder named JOB_DOCS on the application server (This folder is created as a databse directory too). File types are JPEG, GIF, PDF, TXT, BMP, DOC, XLS etc...
    At a later stage when the user tries to view the uploaded documents, this was not getting displayed on the screen
    on our windows server, when the user clicks on the print button we copy the file from the JOB_DOCS folder to the forms\java folder using the below command
    HOST('COPY ' ||d:\JOB_DOCS\test.pdf||' '||'c:\oracle\middleware\as\forms\java\test.pdf ,NO_SCREEN);
    once the file is under the forms\java folder then it is getting displayed on the screen to print or save, and later we remove the file from forms\java folder.
    But my problem here is, recently we have installed our application on Oracle Linux server, and we have JOB_DOCS folder there, and the users can upload files to this folder also. How can we copy the file test.pdf from JOB_DOCS to forms/java in linux?
    And what could be the reson for the document cannot be accessed from the folder where it is saved? We tried giving folder permissions, adding the folder to PATH variable etc.

    For copying and moving directories you can use the cp and mv commands just like you use them with files. Yeah, I know. If you've already tried to copy a directory with cp, you've probably noticed that cp just complains at you. Probably it says something like cp: omitting directory yadda yadda. You see, the cp command wants you to use the -r option if you want to copy a directory with its contents. The -r means "copy recursively":
    $ cp -r dir1 dir2
    The above creates a directory named dir2 whose contents will be identical to dir1. However, if dir2 already exists, nothing will be overwritten: the directory dir1 will be copied into the dir2 directory under the name dir2/dir1.
    When renaming directories, you use the mv command exactly the same way as with files:
    $ mv dir1 dir2
    When dealing with directories, mv works a bit like cp does. If dir2 doesn't exist, the above will rename dir1 to dir2, but if dir2 exists, the directory dir1 will be moved into the dir2 directory under the name dir2/dir1.
    ref http://www.tuxfiles.org/linuxhelp/dirman.html

  • Contents of a custom print program for a custom smartform

    Hi...
    Can you please tell me if we are writing a custom print program from scratch for a custom smartform for which there is no standard form available what are all the things that need to be coded in the print program..
    My doubts on this are if we are configuring this form for output types of PO purchase order for mediums 1,2, 5 and 6 does any extra coding need to be done in the print program that is related to these mediums or is it just a configuration issue..
    Apart from data retrieval part and call the function modules to send the data to smartforms what are the other things that we need to code in a custom smartform..  Anything that we need to code related to printing issues..
    It would be great if someone can post a custom print program for any output type valid for mediums 1, 2, 5 and 6.
    Also my last doubt is do we need to do anything in SE11 in designing a smartform and in what context do we need it...
    Thanks and appreciate your help... Surely will reward for all the helpful answers..
    Thanks again..
    Kanthi..

    Hi,
    yes you need to create your own print program. You need to catch printing information and to send data to your smartforms.
    To send data to your smartforms you need to use structure describe in the data dictionnary.
    This is a peace of code for sending information to a smartform that will be print used an external program (Esker)
      DATA: it_data       LIKE TABLE OF zssf_bl WITH HEADER LINE,
            w_formname TYPE tdsfname ,
            w_fm_name  TYPE rs38l_fnam ,
            is_output  TYPE ssfcompop ,
            is_control TYPE ssfctrlop ,
            is_job_out TYPE ssfcresop .
    *  Récupère le nom du module fonction.
      MOVE 'Z_BL_STT' TO w_formname.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = w_formname
        IMPORTING
          fm_name                  = w_fm_name
        EXCEPTIONS
          OTHERS                   = 3.
    * Prépare les paramètres d'impression.
      is_output-xsfcmode   = 'X'.
      is_output-xsf        = 'X'.
      is_output-xsfoutmode = 'S'.
      is_output-xsfoutdev  = 'DOCL'.
      is_output-xsfformat  = 'X'.
      is_output-tdnoprev   = 'X'.
      is_output-tdnoprint  = ' '.
      is_output-tddest     = 'DOCL'.
      is_output-tdprinter  = 'PLAIN'.
      is_output-tdnewid    = 'X'.
      is_output-tdimmed    = 'X'.
      is_output-tddelete   = 'X'.
      is_control-no_dialog = 'X'.
      is_control-preview   = ' '.
      is_control-no_open   = 'X'.
      is_control-no_close  = ' '.
    * Prepare le formulaire
      CALL FUNCTION 'SSF_OPEN'
        EXPORTING
          user_settings      = ' '
          output_options     = is_output
          control_parameters = is_control
        IMPORTING
          job_output_options = is_job_out
        EXCEPTIONS
          OTHERS             = 5.
    * Appels du formulaire.
      CALL FUNCTION w_fm_name
        EXPORTING
          control_parameters = is_control
          output_options     = is_output
          is_bl              = zbl_soustrait
        TABLES
          it_data            = it_data
        EXCEPTIONS
          OTHERS             = 5.
    You need to catch information from the NAST table maybe
    Rgd
    Frédéric

  • Output file name format

    Hi All,
    How can i configure output file name to the desired format generated in target directory in communication channel configuration in conf scenario.
    ex: i want to generate the file in the below format..
    YYYYMMDD_<Receiver>.TXT
    Thanks and Regards
    Venkatesh

    Hi,
    This is the UDF u have to write in Mapping,
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key =
    DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName;
    Using this u will get the File name into target side,In this UDF add the Time stamp.
    Check this link for more details.
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Regards,
    phani
    Reward points if Helpful

  • Urgent: Custom font style not appearing in PDF output only

    Hi,
    For a customer, I received customer specific font styles(ttf font files) which I installed on my machine and then copied those files in Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts as well as in JRE/lib/fonts. Then I created a template in word and font there appears as custom font.
    Now I am getting that font style in all output formats(rtf,ppt,excel) except the PDF output. I am using Oracle BI Publisher desktop alone. Not sure what I missed because of which text font is not changing in PDF version only. I checked the PDF properties and there also custom font is not getting mapped.
    Thanks in advance.

    Here is the link that describes how to set up the font mapping for PDF output: Look for "Font Mappings (for PDF output)"
    BI Publisher Demo Library&lt;/title&gt;&lt;meta name=&quot;Title&quot; content=&quot;BI Publisher Demo Library&quot;&gt;…http://www.oracle.com/technetwork/middleware/bi-publisher/learnmore/demo-library-toc-173301.html
    Thanks,
    Bipuser

  • Specify the output file path and print name when printing pages

    hi,
    how can i Specify the output pdf file path and print name when i am using the function PrintPagesSilent from AcroAVDoc Object.
    My Code :-
    Acrobat.AcroAVDoc doc = new Acrobat.AcroAVDoc();doc.Open(path,
    "temp");

    Dear Irosenth,
    i try with different format (doc, docx,  xls, jpg, bmp and txt) and it working successfully, but it give an random name for the file which saved in default folder for Adobe PDF print.
    you can use the following function:
    private void PrintPDF(string[] inputfilepath){
    foreach (string path in inputfilepath){
    Acrobat.
    AcroAVDoc doc = new Acrobat.AcroAVDoc();doc.Open(path,
    "temp"); 
    Boolean v = doc.PrintPagesSilent(0, ((Acrobat.AcroPDDoc)(doc.GetPDDoc())).GetNumPages() - 1, 0, 0, 1);doc.Close(1);
    and calling it by the following code:
    PrintPDF(System.IO.Directory.GetFiles("c:\\t\\printjob"));
    copy all files that you want to convert in side the mentioned path and run it program, then check the defualt print path for Adobe PDF printer.
    test it and reply me. thanks again

  • Customized Seeded report to XMLP report but its not generating output file?

    I want to customize "Dunning Letter Print from Dunning Letter Generate" Report, which is called from "Dunning Letter Generate" Report
    Steps i followed to Customize reports are.
    1. Changed output format to xml for "Dunning Letter Print from Dunning Letter Generate" Report.
    2. Ran report to generate xml data and using xml data created RTF file
    3. Registered data definition and template with code and short name same which is ARDLP_NON_SRS
    Now while i am running report its completing normal, but its not generating output file giving Error like –
    "Unable to find Published Output for this request"
    “No Output File Exist for Request No - xxxxx”
    No Idea why its not picking template, Can anyone help me in this?
    Using:
    Oracle Applications : 10.0.5.2,
    MS Word 2007
    Thanks,

    I am not giving the solution, providing you a hint..
    This is the query you need to satisfy,
    SELECT NVL(R.DESCRIPTION ,CP.USER_CONCURRENT_PROGRAM_NAME)
    FROM FND_CONCURRENT_REQUESTS R, FND_CONCURRENT_PROGRAMS_VL CP,XDO_DS_DEFINITIONS_B XDS
    WHERE ( ( FND_PROFILE.VALUE('CONC_REPORT_ACCESS_LEVEL') = 'U'
    AND R.REQUESTED_BY = :$PROFILES$.USER_ID ) or
    ( FND_PROFILE.VALUE('CONC_REPORT_ACCESS_LEVEL') = 'R'
    AND R.RESPONSIBILITY_ID = :$PROFILES$.RESP_ID ) )
    AND R.PROGRAM_APPLICATION_ID = CP.APPLICATION_ID
    AND R.CONCURRENT_PROGRAM_ID = CP.CONCURRENT_PROGRAM_ID
    AND XDS.APPLICATION_SHORT_NAME=
    ( SELECT APPLICATION_SHORT_NAME
    FROM FND_APPLICATION
    WHERE APPLICATION_ID=CP.APPLICATION_ID)
    AND XDS.DATA_SOURCE_CODE = CP.CONCURRENT_PROGRAM_NAME
    AND R.OUTPUT_FILE_TYPE='XML'
    AND R.STATUS_CODE not in ('E', 'D', 'T', 'X')
    ORDER BY R.REQUEST_ID DESC
    Go to system profiles and query for 'Concurrent:Report Access Level', responsibility you need and modify the profile name accordingly....

  • When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb.But the output records is originally 4000 records. When copy to new excel it is showing 3.5 mb only. Does anyone knows the answer for this issue?

    When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb. The records contained in excel file is 4000 records. When taking the excel records and copy to new excel file the excel file size is 3.5 mb only.Why does the oracle software generates 20mb file?
    Does any one knows the answer please advice?

    Hello,
    This issue is because the Excel output from BI Publisher is MHTML (XML Publisher generates XHTML) not binary .xls.
    MHTML and XHTML are more verbose formats than binary .xls.
    It will be large because the current Excel output is just an HTML and not compressed like PDF. Please use the workaround (save it as .xls file).  This is a known limitation of RTF layout templates.
    BI Publisher Enterprise has a new feature True Excel Templates. The layouts generate binary Excel output.
    Excel Output File Size Generated By BI Publisher is Very Large (Doc ID 760437.1)
    Bogdan

  • No output file on custom Invoice Report

    Hi,
    I have made custom reports using Reports/XMLP for PO, Consolidated Invoice and Invoice. PO and Consolidated Invoice are running fine, my problem is with Standard Invoice.
    I made a modification to the datamodel of the standard report (RAXINV.rdf), creating a new report with the modified data
    (RAXINV_FAR.rdf). After uploading the report and creating the request, I
    followed all the steps that appear in the XMLP User Guide (Generate & register
    data definition, design and register the layout rdf model). After running the concurrent program It ends with no errors, but when I try to fetch the Output. Under View->Requests->Find->View
    Output, I get the error message: "Unable to find published output for this
    request" and after clicking 'OK' I get "No output file exists for request
    XXXXXX".
    The funny thing is that if I run the Concurrent "XML Report Publisher" I can retrieve the missing Output.
    Is there a patch/workaround to get the output without running "XML Report Publisher"?
    I´m on EBS 11.5.10.2 and the XMLP version is 5.0.0

    Stupid case of RTFM -- as I'd changed the mapping (as per other post) to include the ITEM as the higher level node this is the parameeter I need in the recordset
    so when recordset parameter is changed to item the other parameters rmaining the same)
    the file works fine
    Output text file
    1000001|One-time ship-to|ONE-TIME
    1000005|ddfask|;LK;L
    1000010|One Time  Customer Test|SADFIWQEFG
    I've given you the points in any case --although I solved the problem before I saw your post you put me on to the correct track from my other related post where I was missing  the higher level node in the data and message mappings
    Cheers
    and thanks
    Jimbo

  • Printing messages in Log File and Output File using Dbms_output.put_line

    Hi,
    I have a requirement of printing messages in log file and output file using dbms_output.put_line instead of fnd_file.put_line API.
    Please let me know how can I achieve this.
    I tried using a function to print messages and calling that function in my main package where ever there is fnd_file.put_line. But this approach is not required by the business.
    So let me know how I can achieve this functionality.
    Regards
    Sandy

    What is the requirement that doesn't allow you using fnd_file.put_line?
    Please see the following links.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Dbms_output.put_line+AND+Log+AND+messages&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=%22dbms_output.put_line+%22+AND+concurrent&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • When I open up an e-mail attachment a box pops up PRINT TO FILE below that line OUTPUT FILE NAME with an empty line for the file name vs. simply going to my default printer?

    when I open up an e-mail attachment a box pops up PRINT TO FILE below that line OUTPUT FILE NAME with an empty line for the file name vs. simply going to my default printer?

    Make sure that '''''Print to File''''' isn't selected in the native print dialog box ''(see screenshot below)'' middle-right, and make sure your Printer is selected at the top of that dialog box.
    ''I'm a little confused why an email attachment would need to go directly to the printer, but that's what you asked about.''

  • Can I print to AdobePDF with a pre-determined output file name?

    I have a list of PDF files that I need to reduce in size. I have tried many combinations of Adobe's "Save As Reduced PDF", "Save As Optimized PDF", as well as several compression programs. The best results I've found have been to print the PDF via AdobePDF, using the standard quality settings.
    This leads me to my problem. It's simple to batch the print process to print multiple files to AdobePDF, however each one requires the user to specify the output file name. Is there a way to interface with the AdobePDF tool in a way that the output file name is already determined? I.e. passed into the program as an argument? Any help would be greatly appreciated.
    Thanks,
         Dan
    EDIT: Under the Adobe PDF Settings, the option for Adobe PDF OUtput Folder is set for Prompt for Adobe PDF filename. There is also an option to dump to Documents\*.pdf, which retains the original filename. Is there a way to specify a different directory, rather than Documents, while retaining the *.pdf argument? Again, thank you.

    You would probably get better results printing from Acrobat. The HTMLLoader rasterizes the image first. You could possibly add a JavaScript function inside the PDF that prints and call that from your AIR app.
    See http://www.adobe.com/devnet/air/flex/quickstart/scripting_pdf.html for information on calling JS functions in a pdf file from AIR.

Maybe you are looking for

  • PowerMac G4 used as backup hard drive?

    I have an older PowerMac G4 with dual 500mhz processors. Can I install Leopard on this machine and use it as my backup drive. Also is it necessary to install Leopard to do so? Thirdly can I connect them wirelessly or do they need to be hard wired? Th

  • Question about Vienna Symphonic Library

    I currently have Opus 1 ESX 24 library. I was thinking about getting Opus 2 as well. VSL recommends the Vienna Special Editions as a better alternative. Does anyone out there recommend either/or? I certainly like the way ESX24 loads samples in Logic

  • Time Related Dimension(table) in communication data model

    Hi, The most common and important thing for a communication data model to me is time metrics. Things like mean up time, or mean down time are common KPIs we are tracking. To make this model efficient, we need to create a time dimension can precisely

  • OviSuite 2.2.1.23 crashes during calender sync

    I upgraded to the latest OVI suite and since then, OVI Suite crashes in while syncing my calender. Can someone help or suggest a workaround etc... I have the system info and dump, if someone from Nokia wants to have a look at the dump let me know whe

  • .mts files in FCP 5

    I'm still working of Final Cut Pro 5.1.4. I might be taking on a new project that works with .mts files. Can FCP 5 handle that? Is there a free converter available? (I don't have Toast) Thanks!!