Is it possible to give Direct print of Excel format XML Report

Guru,
As far my understnading Excel Format reports are not supported for direct print in EBS,
I could see the following error in CM request logfile and came across couple of metalink Note :  387104.1 & 1317314.1
However iam not sure on this functionality .
Please provide your experience on this case.
<stdin>: File does not begin with '%PDF-'.
lp: stdin is empty, so no job has been sent.
APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1
Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 1.

Hi,
Initially I get the Form Name by calling FM: SSF_FUNCTION_MODULE_NAME and I store it in l_fm_name. now calling the FM: l_fm_name like below:
LOOP AT i_item INTO wa_item.
CALL FUNCTION l_fm_name
          EXPORTING
            wa_item                    = wa_item
         EXCEPTIONS
           formatting_error           = 1
           internal_error             = 2
           send_error                 = 3
           user_canceled              = 4
           OTHERS                     = 5.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
ENDLOOP.
As I have multiple form need to print, I am calling the smartform in loop.

Similar Messages

  • Unable to print in excel format

    Hi,
    I develop report in xml publisher and my apps version is 11.5.10.2
    But my report is not printing in excel format.
    Any idea on this....
    Regards
    Zaheer

    Hi Zaheer;
    Please check Hussein Sawwan greatest previous post:
    Re: Unable to View Excel Output File Created by XML Publisher
    Regard
    Helios

  • Is it possible to get direct print without preview of the Smart Form?

    Hi,
    I developed a custom report where line items are coming with a check-box in front of each item. User can select single/multiple line-items by checking those check-boxes. The report also has a PRINT button in application tool bar by clicking which a Smart Form will be printing for each item. Thats mean, for 10 selected line items, 10 forms will be printed.
    But, after clicking the PRINT button, print preview of the form is coming and from there I can go for a print/printer. I do not need the print preview and want to have the direct print option while clicking the PRINT button. How can I have this functionality?
    Thanks in Advance
    Roy

    Hi,
    Initially I get the Form Name by calling FM: SSF_FUNCTION_MODULE_NAME and I store it in l_fm_name. now calling the FM: l_fm_name like below:
    LOOP AT i_item INTO wa_item.
    CALL FUNCTION l_fm_name
              EXPORTING
                wa_item                    = wa_item
             EXCEPTIONS
               formatting_error           = 1
               internal_error             = 2
               send_error                 = 3
               user_canceled              = 4
               OTHERS                     = 5.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
    ENDLOOP.
    As I have multiple form need to print, I am calling the smartform in loop.

  • Printing parameter values in xml report, and displaying it in header of the

    Hi All,
    Can anybody give me an idea to print the parameter values in the xml report.
    My requirement is like, I have 10 parameters in report builder, I have generated the xml file and created the .rtf template and finally registerted in oracle apps. But now, the requirement is to print the parameter values in the report output.I don't see any xml tags in the xml output.
    Any suggestion will be appreciated.
    Thanks in advance.

    I think all the XML attributes can contain lexicals. If you bring up the property palette against the report object you can just set the following:
    XML Tag Attributes: myParameter="&<P_1>"
    where P_1 is your user parameter.

  • How can I print a free format style report that is 3 pages long

    You may say this would be like a letter format (no columns), but is actually a formatted document. It is on 3 pages. I was instructed by a Oracle reports teacher to place on multiple frames with page protect to fix my problem of text for one line of text to appear on two pages. I tried this, but it did not work.
    I've had to specify 3 panels to accommodate for the 3 pages of text. I've made the frames vertically expandable for varied body of text.
    Thanks ahead of time,
    Jeannie

    hi ,
    see if this can solve your problem
    in reports 6, in the object navigator...u have three sections within the Layout Model...viz ... Header Section, Main Section and the Trailer Section. u just need to go to the properties of the Main Section and set the Verticals panels per page property to the desired number of pages across which u wanna span ur record. and put in the corresponding frames and fields within them
    null

  • Is it possible to mail the data in excel format in data tabs?

    Hi all,
    I need a few clarification .
    We all know report data can be mailed in excel format.
    But my excel is having 4 tabs of data.
    Is that can also be mailed if so can you please guide...
    Regards
    sas

    hi,
    you can do it..
    try the following given code..
    *&      Form  process_email
    * subroutine created for processing and sending the attachments to mail id.
    FORM process_email.
      IF p_sender EQ space.
        gd_sender_type = space.
      ELSE.
        gd_sender_type = 'INT'.
      ENDIF.
    *Body
      docdata-obj_name = 'Mail_Excel_File'.
      docdata-obj_descr = 'Excel file attachment'.
      objtxt = 'Attached is the sample Excel file'.
      APPEND objtxt.
      DESCRIBE TABLE objtxt LINES tab_lines.
      READ TABLE objtxt INDEX tab_lines.
      docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
      CLEAR objpack-transf_bin.
      objpack-head_start = 1.
      objpack-head_num = 0.
      objpack-body_start = 1.
      objpack-body_num = tab_lines.
      objpack-doc_type = 'RAW'.
      APPEND objpack.
    *Attachment
      n = 1.                                    "for sending 1st attachment
      DESCRIBE TABLE objbin1 LINES tab_lines.
      objpack-doc_size = tab_lines * 255.
      objpack-transf_bin = 'X'.
      objpack-head_start = 1.
      objpack-head_num = 1.
      objpack-body_start = n.
      objpack-body_num = tab_lines.
      objpack-doc_type = 'XLS'.
      docdata-obj_name = 'Excel_File_Attachment1'.
      objpack-obj_descr = 'Excel File Attachment1'.
      APPEND objpack.
      n = n + tab_lines.                       "for sending 2nd attachment
      DESCRIBE TABLE objbin2 LINES tab_lines.
      objpack-doc_size = tab_lines * 255.
      objpack-transf_bin = 'X'.
      objpack-head_start = 1.
      objpack-head_num = 1.
      objpack-body_start = n.
      objpack-body_num = tab_lines.
      objpack-doc_type = 'XLS'.
      docdata-obj_name = 'Excel_File_Attachment2'.
      objpack-obj_descr = 'Excel File Attachment2'.
      APPEND objpack.
      n = n + tab_lines.                       "for sending 3rd attachment
      DESCRIBE TABLE objin3 LINES tab_lines.
      objpack-doc_size = tab_lines * 255.
      objpack-transf_bin = 'X'.
      objpack-head_start = 1.
      objpack-head_num = 1.
      objpack-body_start = n.
      objpack-body_num = tab_lines.
      objpack-doc_type = 'XLS'.
      docdata-obj_name = 'Excel_File_Attachment3'.
      objpack-obj_descr = 'Excel File Attachment3'.
      APPEND objpack.
    *Create the list of recipients
      reclist-receiver = p_email1.
      reclist-rec_type = 'U'.
      reclist-express = 'X'.
      APPEND reclist.
    *Send the e-mail by using this function module
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = docdata
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = objpack
          contents_bin               = objbin_final
          contents_txt               = objtxt
          receivers                  = reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      COMMIT WORK.
    ENDFORM.                    "process_email
    hope this helps
    Regards
    RItesh J

  • Is it possible to insert data into two Excel worksheets using Report Generation Toolkit?

    I'm using the toolkit to insert data into two separate worksheets in Excel using named cells. The problem is that it tends to favor one sheet or the other. In other words, one sheet will have data and the other no data and vice versa. (Sometimes I get data in both sheets.) Is there something I can do to clear this up or is what I'm trying to do unreasonable? I would like to use two worksheets so one sheet receives text and data. The other sheet is used to format the data into a printable report. (i.e. using Excel's CONCATENATE function) The second (report) sheet is also used to receive plots (JPEG files) from LabVIEW. I'd send the plot images to the first sheet, but I can
    not see a way to automatically transfer images from sheet to sheet. I'm using LV 7.1, Win2000 and Toolkit v.1.0.1

    Hi,
    You can use the "Excel Get Worksheet.vi" under All Functions >> Report Generation >> Excel Specific >> Excel General to specify a particular worksheet as the current worksheet. Then, you can specify which worksheet you want to write to in your VI.
    Let me know if you have any further questions and good luck!
    Kileen C.
    NI

  • Special character printing in xml reports

    Hello,
    When i am trying to print euro symbol in xml report, i am getting some '?' symbol instead of euro symbol.
    Need your suggestion here what extra tags we need to use for the same.
    I have designed rtf file and inserted euro symbol using word doc.
    Thanks,
    Amar

    In Report properties at XML prolog Value field change to below code:
    <?xml version="1.0" encoding="windows-1252"?>
    or try like below
    copy contents to BI Publisher Desktop\Template Builder for Word\fonts in your <oracle_home>\lib\fonts
    Regards,
    Ajay Reddy
    Edited by: user13259014 on Feb 23, 2011 12:06 PM

  • Is it possible to give each page within one pdf document a specific set of print settings?

    I have a complex document (catalogue) that requires printing. There are several different printer settings required and each one is specific to each page within the document. For instance pg 1 is single sided in colour, page 2-3 is duplexed in b&w, page 3-8 is duplexed in colour, etc.... Is it possible to give each page within the pdf document a given set of print settings and then print the entire document as a whole?

    Hi jennyskop
    I assume that is not feasible ...You need to give the print command again and select the respective pages and their settings !

  • Is it possible to call the Print Quote functionality from Custom ADF page

    Hi,
    We are researching if it is possible to call the Print Quote functionality from the Custom ADF application.
    Goal is to pop up the PDF report upon clicking the Print Quote button on the custom page. Is it possible ?
    Atleast advice on the direction to go forward is appreciated.
    Thanks
    Sai

    Hi ,
    Please check following thread on forum -
    Re: ADF: Calling OAF Page from ADF page
    Check this may also be useful-
    https://blogs.oracle.com/shay/entry/to_adf_or_oaf_or
    I have not tried yet but Steven Chan (Sr. Director OATG) suggest following methodolgy for this-
    https://blogs.oracle.com/stevenChan/entry/appsdatasource_jaas_ebs
    Thanks,
    Ashish

  • Direct Print a webi report, from InfoView

    Hi,
    I want to direct print a webi report after I open it with InfoView, but i don't know if it's possible.
    Right now, when I open a webi report in InfoView I have a button saying "Print to PDF", which will open that report as a PDF document.
    But I want to print directly to a printer and not to open the report in a pdf viewer.
    Is there a way to have a direct print button in InfoView for webi documents ?
    Thank you.
    Eugen
    Edited by: eudor2000 on Jun 3, 2010 7:49 PM
    Edited by: eudor2000 on Jun 3, 2010 7:49 PM

    Hi Eugen,
    At this point it is not possible.
    Here is SAP Notes which clearly state that SAP BOJ is aware of it and got several enhancement request and these requests are reviewed every six months. Since these requests require major changes in the software, SAP BOBJ has not given any time frame of availability of this feature.
    Here is SAP NOTE: 1345933
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3133343539333326]
    Regards,
    Bashir Awan

  • Printing report to direct print 9i

    Hi,
    I am able to direct print the reports on web using normal parameters...i.e. desname, destype and desformat.
    When it prints successfully, it gives us a message in a separate browser window "The report has been successfully printed out"
    And we don't want this message. Can anybody tell me to suppress this window and message ?
    Command:
    WEB.SHOW_DOCUMENT('/reports/rwservlet?
    report=REPORT.rdf&userid=scott/tiger@ora&
    P_DEPTNO='||:EMP.DEPTNO||'&
    desformat=htmlcss&destype=printer', '_blank');
    Thanks,
    Martonio.

    Martonio,
    if you use RUN_REPORT_OBJECT() built-in in Forms to print Reports then you don't have this problem.
    If you request the Report directly from a Web browser, not using Forms at all, please ask the same question on teh reports forum here on OTN.
    Frank

  • Directly printing works - but viewer fails with an error

    Hey,
    we are using: Crystal Reports 2011 and runtime for VS2010.
    I open and print my reports via c#. The directly printing works fine. But the viewer don't works. It's really crazy, because directly printing and viewing are using the same methods for database login etc.
    At preview a form with the crystalreportsviewer will be opened and the reportsource is being set. After that the viewer shows the progress box. After a short while the progress box disappears and the following error is shown:
    Crystal Report Windows Forms Viewer
    Die Abfragen zum Abrufen der für diesen Bericht erforderlichen Daten können nicht ermittelt werden.
    Daten konnten nicht aus Datenbank abgerufen werden.
    Fehler in der Datei CS_201001_u {5BF5FF1B-C662-4A1E-80CA-B4BEB0124295}.rpt:
    Daten konnten nicht aus Datenbank abgerufen werden.
    OK  
    Translated in english:
    Crystal Report Windows Forms Viewer
    The queries to retrieve the required data for this report can not be determined.
    Fehler in der Datei CS_201001_u {5BF5FF1B-C662-4A1E-80CA-B4BEB0124295}.rpt:
    Data could not be retrieved from database.
    OK  
    But the database logon methods etc. are all the same as at directly printing. What could it be?
                this.crystalReportViewer.ShowPrintButton = false;
                this.crystalReportViewer.ReportSource = pMainCRWReport;
                this.crystalReportViewer.ShowProgressAnimation(this._DruckOptionen.ShowDruckstatus);
                if (pPreviewOptions.Zoomlevel == 1 || pPreviewOptions.Zoomlevel == 2 ||
                    (pPreviewOptions.Zoomlevel >= 25 && pPreviewOptions.Zoomlevel <= 400))
                    this.crystalReportViewer.Zoom(pPreviewOptions.Zoomlevel);
                                pMainCRWReport.PrintToPrinter(pReport.Druckoptionen.AnzahlKopien,
                                                              pReport.Druckoptionen.KopieSeitenSortiert,
                                                              pReport.Druckoptionen.StartPage,
                                                              pReport.Druckoptionen.EndPage);
    pMainCRWReport is ReportDocument.

    Yes, it looks like that. I don't use postbacks or sessions.
    I have inserted the following code just before the ReportSource of the viewer will be set.
    ReportDocument doc = (ReportDocument)pMainCRWReport;
    foreach (Table table in doc.Database.Tables)
           MessageBox.Show(string.Format("{0}: {1}", table.Name, table.TestConnectivity().ToString()));
    All TestConnectivity returning true!
    CrystalDecisions.CrystalReports.Engine.InternalException: Daten konnten nicht aus Datenbank abgerufen werden.
    Details:  Datenbankanbietercode: -243
    Daten konnten nicht aus Datenbank abgerufen werden.
    Fehler in der Datei CS_201001_u {870C483C-D947-4FEA-A1C6-1AD0DC4A2805}.rpt:
    Daten konnten nicht aus Datenbank abgerufen werden.
    Details:  Datenbankanbietercode: -243 ---> System.Runtime.InteropServices.COMException (0x800002D3): Daten konnten nicht aus Datenbank abgerufen werden.
    Details:  Datenbankanbietercode: -243
    Daten konnten nicht aus Datenbank abgerufen werden.
    Fehler in der Datei CS_201001_u {870C483C-D947-4FEA-A1C6-1AD0DC4A2805}.rpt:
    Daten konnten nicht aus Datenbank abgerufen werden.
    Details:  Datenbankanbietercode: -243
       bei CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetPage(PageRequestContext pPageRequestContext)
       bei CrystalDecisions.ReportSource.EromReportSourceBase.GetPage(PageRequestContext pageReqContext)
       --- Ende der internen Ausnahmestapelüberwachung ---
       bei CrystalDecisions.Windows.Forms.ReportDocumentBase.GetPage(Int32 pageN)
       bei CrystalDecisions.Windows.Forms.DocumentControl.ShowNthPage(Int32 PageNumber)
       bei CrystalDecisions.Windows.Forms.DocumentControl.ShowFirstPage()
       bei CrystalDecisions.Windows.Forms.PageView.ShowFirstPageEx()/
    OK  
    The error -243 is an informix error:
    Could not position within a table table-name.
    The database server cannot set the file position to a particular row within the file that represents a table. Check the accompanying ISAM error code for more information. A hardware error might have occurred, or the table or index might have been corrupted (truncated). Unless the ISAM error code or an operating-system message points to another cause, run the oncheck utility (secheck with IBM Informix SE or tbcheck with IBM Informix OnLine) to check and repair table and index.
    It seems to be that the viewer can't read the records with are locked within a transaction. I don't understand why the direct printing works. Is it possible to set the ISOLATION LEVEL for the report database connections?
    I have tried this note but it don't works.

  • Branch Office Direct Printing - server offline?

    Hi All,
    We are implementing Branch Office Direct Printing and I have a question about when the server is down or, in the case of a WAN connection to/from the branch going down, the client being unable to reach the server.
    I could have sworn I originally read about Windows 8/2012 being smart enough to send the print job straight from the client to the printer in cases where it can't talk to the server, but now I seem unable to locate that information.  Is that indeed
    the case (hopefully)?
    Thanks,
    Wes

    Branch Office Direct Printing may benefit your organization in the following ways:
    Client      computers running Windows Server 2012 obtain printer information from the      print server, but send the
    print jobs directly to the printer. The print      data no longer travels to the central server and then back to the branch      office printer.
    The      printer information is cached in the branch office, so that if the print      server is unavailable for some
    reason (for example if the WAN link to the      data center is down), then it is still possible for the user to print.
    The      client computer renders the print job before sending it to the printer.      The major difference between Branch Office Direct
    Printing and Client-Side      Rendering (CSR) is that Branch Office Direct Printing does not send the      print job to the server. Instead the job is sent directly to the printer,      resulting
    in a significant reduction in network bandwidth usage when the      printers are centrally managed.
    Branch Office Direct Printing Overview
    http://technet.microsoft.com/en-us/library/jj134156.aspx

  • Direct Printing PDF via Acrobat 8.0 under Lion

    Direct printing a PDF via Acrobat 8.0 worked under Snow Leopard but no longer under Lion. I have a relatively old installation of CS3 on my MacBookPro and wanted to print a pages document with 12 x 12 cm size onto an A4 page (with integrated cutting marks) - this is not possible with the integrated PDF printer in Lion an so i decided to use Acrobat 8.0.
    The Console says the following:
    Process:         DistillerIntf [30793]
    Path:            /Applications/Adobe Acrobat 8 Professional/Acrobat Distiller.app/Contents/MacOS/DistillerIntf
    Identifier:      DistillerIntf
    Version:         ??? (???)
    Code Type:       X86 (Native)
    Parent Process:  pdf800 [30788]
    Date/Time:       2011-11-05 13:18:36.563 +0100
    OS Version:      Mac OS X 10.7.2 (11C74)
    Report Version:  9
    Crashed Thread:  7
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
    VM Regions Near 0:
    --> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Applications/Adobe Acrobat 8 Professional/Acrobat Distiller.app/Contents/MacOS/DistillerIntf
        __TEXT                 0000000000001000-0000000000003000 [    8K] r-x/rwx SM=COW  /Applications/Adobe Acrobat 8 Professional/Acrobat Distiller.app/Contents/MacOS/DistillerIntf
    Has anybody an idea how to solve this problem. Of course i posted this error on the Adobe Help forums but since these guys only want to sell the newest Suites if have no hope, that somebody will respond to my question - and i think it is a Lion issue (CUPS problem).
    http://forums.adobe.com/thread/921666

    This is right, but since the upgrade to Lion was a relatively big one (with many functionalities that i have be missing before) i think i will not go back just to regain a normal-working direct PDF printing. Nevertheless i think, if the very old CS3 worked until Snow Leopard it would be very easy for an Apple Engineer to figure out, which trick would allow Acrobat to direct print again - i don't think the underlying CUPS has changed very much - also i found a lot of similar error reports on the web (mostly Acrobat related after updates from System ) which were solved via correcting some rights in the library (this didn't do the trick for me ...)
    Best problem solving would be, that Adobe Software gets cheaper - i have installed the newest Aperture, iWork, Office, iLife, Mindmanager, ... - if you are not a student but a hobby worker these software packages are quite affordable ...

Maybe you are looking for