Print report output Automatically.

Hi friends
I am using GET_PRINT_PARAMETERS to create an spool request to print the report output automatically once it is displayed on screen, the problem with this FM if I assigned import parameter immediately = 'X' it does not create any spool request.
Is there any other way to automate the printing instead of pushing Pritn Icon on Application toolbar.
Thanks
Lakhbir

Hi,
do this way...
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
       EXPORTING
         <b>IMMEDIATELY                  = 'X'</b>         LINE_SIZE                    = 220
         <b>RELEASE                      = 'X'</b>         MODE                         = 'CURRENT'
       <b>  NO_DIALOG                    = 'X'</b>       IMPORTING
*     OUT_ARCHIVE_PARAMETERS       =
         OUT_PARAMETERS               = L_PARAMS
         VALID                        = L_VALID
       EXCEPTIONS
         ARCHIVE_INFO_NOT_FOUND       = 1
         INVALID_PRINT_PARAMS         = 2
         INVALID_ARCHIVE_PARAMS       = 3
         OTHERS                       = 4.
      IF SY-SUBRC <> 0.
      ENDIF.
      NEW-PAGE PRINT ON   PARAMETERS L_PARAMS <b>NO DIALOG</b>.
"you can start your write statements here...
       PERFORM DISPLAY_DATA.
      NEW-PAGE PRINT OFF.
This will automatically prints the report
Regards
vijay

Similar Messages

  • Show Oracle APPS Report Output Automatically in IE

    Normally in Oracle EBS (View>Requests>Submit New Request) we submit the request to run any report and after normal completion of the report, we press the button View Output and system show the Output in IE, output may be in PDF or Text. In my case requirement is not from front end so i create one trigger (AFTER INSERT ON MTL_MATERIAL_TRANSACTIONS)and through "FND_REQUEST.SUBMIT_REQUEST" submit the report request to the concurrent manager successfully and completed. Here I want to show the report output automatically show in the IE instead of open the request and click on the View Output button.

    Why you have defined trigger that we can't understood.
    Can you explain more in detail or code you have written ?
    The Logs and Output are located in $APPLCSF/$APPLLOG and  $APPLCSF/$APPLOUT respectively,
    The output file is generated with  o<request_id>.out  in $APPLCSF/$APPLOUT  directory.

  • Re : how to print report output in DOT MATRIX printer

    Hai
           how to print report output in DOT MATRIX printer.
    Thanks
    mani

    Check this
    [http://help.sap.com/saphelp_nw04/helpdata/en/90/78f078030211d399b90000e83dd9fc/frameset.htm]
    also check the SAP Note 129581

  • Save report output automatically into html

    Hi Gurus!
    I have few reports that give a simple list output as result.
    Now I want to put an option in the output , an option that will be
      a save buttom which when clicked will automatically save the output
    into an html file and archive it to a particular folder.
    I would like to know how to automatically archive the report output
    when this save buttom is clicked to a folder.
    DO we do it after we have printed the report in the output
    and how do we go abot doing this .
    Regards
    Sumit

    Hi,
    After running a report, call this function module WWW_LIST_TO_HTML
    to convert the list output to HTML.
    Best Regards,
    Krishna

  • Printing report output in PDF format

    Hi,
    I want to know what are the settings needed to print a report output in PDF format, while executing the report from Oracle applications (Ver 11.5.6).
    Report is executed as a concurrent request from Oracle applications.
    Normally when we run the report from Oracle applications, output will be opened in a internet browser(IE) in HTML format. But I want the output to be opened in PDF format instead of HTML.
    OS: Sun Solaris 2.8.
    Thanks & Regards,
    Sarish

    Hi Sarish
    Please contact Oracle Support for an answer or to customise your application so that it prints a report output in PDF Format.
    To get PDF output you must run report/job with DESFORMAT=PDF in the command line instead of DESFORMAT=HTML/HTMLCSS.
    Regards
    Sripathy

  • Print Report Output in PDF Format

    :-) Hiee E'body
    I generated the output of a Report(developed in Report Builder 6i) in PDF format.
    The output file is created properly and the PDF file gets displayed on the screen in proper format but when i try to print the PDF file it gets printed across the page instead of printing
    it straight.
    I have checked all page and printer settings but cannot find the reason for this.
    If anybody is aware of the solution to this problem please guide me for the same.
    Have a nice day !!
    Thanking You ..
    Vivek Kapoor

    hello,
    sounds like you have a problem with portrait/landscape orientation of your document.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                   

  • Very Urgent! Print Report output to local printer on button click in form

    In Sales Order Form there is a print receipt button. In current situation On Clicking the 'Print Receipt Button' it submits a XML Publisher report(PDF output) to the concurrent manager. Currently to print that report i need to go view--> requests--> view output and then print. According to my new Requirement i need to print that report directly to local printer on one simple Print receipt button click in form.
    I am trying to call the printers on server using custom.pll. The report is running successfully but it is not printing output to the local printer. I need to print the report to the local printers based on responsibility. Local printers are available on apps server. Can anyone help me on this issue ASAP.
    Is it possible to print the document using custom.pll? Is there any other alternative to print the report on simple button click in form.
    Environment: Apps 11.5.10.2, Forms 6i
    Here is the code that i am using in my custom.pll.
    if (v_form_name = 'OEXOETEL' --and v_block_name = 'LINES_SUMMARY'
         and name_in('parameter.ACTIONS') = 'PAYMENT_RECEIPT' )THEN
    l_organization_id := Name_In('PARAMETER.OE_ORGANIZATION_ID');
    l_order_header_id := Name_In('ORDER.header_id');
    select to_number(oe_sys_parameters.value ('SET_OF_BOOKS_ID')) into l_sob_id from dual;
    xml_layout := FND_REQUEST.ADD_LAYOUT('XXAFP','XXAFPOEXPMTRCRTF','en','US','PDF');
    select a.profile_option_value
    into v_printer_name     
    from fnd_profile_option_values a
    , fnd_profile_options b
    , fnd_profile_options_tl c
    , fnd_user fu
    where a.profile_option_id = b.profile_option_id
    and c.profile_option_name = b.profile_option_name
    and fu.user_id (+) = a.level_value
    and c.language = 'US'
    and c.user_profile_option_name='Printer'
    and a.level_id = 10003 ;
    if (FND_SUBMIT.SET_PRINT_OPTIONS(v_printer_name, 'Portrait', 2, TRUE, 'N'))
         then
    l_new_request_id := FND_REQUEST.SUBMIT_REQUEST('XXAFP','XXAFPOEXPMTRC',
    null,null,FALSE,l_sob_id,l_organization_id,NULL,NULL,l_order_header_id,
    chr(0), '', '', '', '', '', '', '', '', '', '',
    end if;
    fnd_message.set_string('Request Submitted for Custom Payment Receipt. Request ID is '||l_new_request_id);
    fnd_message.show;
    copy('NULL','parameter.ACTIONS');
    IF (l_new_request_id = 0) THEN
    FND_MESSAGE.RETRIEVE;
    FND_MESSAGE.ERROR;
    else
    l_commit_result := APP_FORM.QuietCommit;
    END IF;
    I need to complete this requirement immediately. Can anyone suggest me better ways in doing this.
    Thanks,
    Srinivas

    I solved this problem myself using shell script through custom.pll. I wrote shellscript and called that shellscript through FND_REQUEST.SUBMIT_REQUEST.It printed 2 copies to local printer.

  • Printing Report Output

    Hi Tech Gurus,
    Its urgent requirement,assume that you are a end user submitting a request,once it is completed normally the output comes as a hardcopy through a printer.is it possible to configure like this.thanks in advance for ur clarification.
    Regards
    Samy

    Hi,
    To use a printer definition file (used only when running a report on a character-mode platform)
    1     Set the DESFORMAT system parameter to the name of the printer definition file.
    2     Set DESTYPE to Printer and DESNAME to the name of the printer.
    Rincy

  • Data missing in printed report output..

    Hi All, I use report builder 6i on WINDOWS..When we spool the output in PDF format using rwrun , we get all the data correctly but when the same file is directly sent to a physical printer for prinitng, the bottom margin details don't come on the printout..Could somebody help me out?

    Ya , we use margin..and these reports are within the physical printer limit..Is there anything at report setting level which controls the prinout formatting such as zoom or page scaling?Thanx..

  • Print Report output on A4 paper

    Hi Gurus,
    How could I print output of report ie. list to A4 paper.
    What settings need to be done.  Is it Printer related or ABAP related.
    Thank you.
    Points guaranteed.

    Hi,
    DATA:L_PARAMS TYPE PRI_PARAMS,
           L_VALID TYPE C.
        CALL FUNCTION 'GET_PRINT_PARAMETERS'
           EXPORTING
             IMMEDIATELY                  = 'X'
             LINE_SIZE                    = 220
             RELEASE                      = 'X'
             MODE                         = 'CURRENT'
             NO_DIALOG                    = 'X'
           IMPORTING
        OUT_ARCHIVE_PARAMETERS       =
             OUT_PARAMETERS               = L_PARAMS
             VALID                        = L_VALID
           EXCEPTIONS
             ARCHIVE_INFO_NOT_FOUND       = 1
             INVALID_PRINT_PARAMS         = 2
             INVALID_ARCHIVE_PARAMS       = 3
             OTHERS                       = 4.
          IF SY-SUBRC <> 0.
          ENDIF.
    "But it will take default printer from user settings
          NEW-PAGE PRINT ON   PARAMETERS L_PARAMS NO DIALOG.
           write : 'print is on'.
          NEW-PAGE PRINT OFF.
    Regards,
    Omkar.

  • Template is not attached to AP Check Printing report (XML Publisher)

    Hi Guru,
    I have implemented XML publisher version of AP check Print report and did all the setups. When we make the payment in payables it automatically submits check print report. The report is completed successfully, but no output.
    When I check View details button noticed that template layout is not attached to the report.
    Please do the needful.
    Thank in Advance,
    Venkat.

    Hi,
    The following are the Instance details
    OS : OEL5
    Database: 11g
    EBS : 11.5.10.2
    I have completed all the setups for the report and I am able to see the template attached to the request for other reports where we submit them in SRS window.
    But "AP check Print report" submits automatically through the form while making the payment against supplier in AP.
    Thanks in Advance,
    Venkat.

  • Set My Report output to A4 Size

    Hi All,
    May i know how to set my report output automatically to set to A4 size
    Thanks in Advance
    Have a NIce day

    Hi Tim
    Thanks for your response.
    I have used landscape mode and as my table in the report are wide and at present the pdf is generated in letter size .
    Is there any way to restrict my output to A4 so that they wont need to change any print settings before they take the print .As i cannot use the A4 size paper in design as many of reports tables are wide.
    Have a Nice day.

  • How to send report output to printer

    Hi,
    In Oracle applications one of my AR report has printer parameter
    when user submitting the request he needs to choose the printer name for that
    parameter then this report output needs to go to automatically to that printer after completion of report.
    Do I need to change report system parameter values for this?
    Could you help me in this?
    Thanks in advance.

    Hi,
    If you use ORARRP, you reports will automatically go to the default printers.
    Regards,
    Soumyajit

  • Printing logo with ALV report output?

    Hi all,
    I have written a sinple program to display a report output in ALV grid format and inserted a logo in it usingh standrad FM. Though the logo is inserted successfully displaying with list ,  but  when i am clicking on print preview the logo is missing.
    Please help me on how to print the logo with the list?
    Thanks,
    Vamshi.

    Hi Krishna,
    -->Firstly go to T-Code OAER.
    -->Give Class Name as PICTURES
    -->Give Class Type as OT
    -->Give Object Key as(watever the name you wish to give)
    -->Example key 1000
    -->Click on Execute.
    Here you will get Standard Document Types.
    Select which ever you want i.e., Attachment,Screen,Template ,etc.
    Double click on Attchment it will ask you the File on the Desktop.
    Upload the image.
    Now you can see the Image in the Folder PICTURES.
    Now go to the Report.
    Function Module 'REUSE_ALV_COMMENTARY_WRITE'.
                             i_logo = '1000'.
    Hope this will Help you.
    With Regards,
    Sharmishta.

  • Report output different when sent directly to printer

    I have a report that if formated for 8.5 x 11 paper and has an address at the bottom of the page. When the report is generated as a pdf the address is in the corrent postion. When the report is sent directly to a printer from the report server the bottom 2 inches of the report are not printed. If i send the pdf version to the same printer it prints correctly.
    Any help with this issue would be greatly appreciated.

    Thanks for your answer, Ramachandra!
    However I need some more specific information to solve this.
    Which printer layout settings are relevant for the handling of margins and duplex printing for Adobe Forms?
    I have not set up the printer myself but when talking to the printer guy which settings should I recommend him to look at?
    I can see in transaction SPAD that there are settings specific to SmartForms but there is nothing said about Adobe Forms. Is there some way to make Adobe Forms related setting appear in SPAD for a device type?
    Maybe my problem is not related to the printer device settings but rather to the way the printer is being called. When printing duplex we will have to override the default settings of the printer anyway.
    Function module FP_JOB_OPEN has a parameter structure of the type SFPOUTPUTPARAMS. Which fields in this parameter structure are to be manipulated to get duplex print and output fitted to page size?

Maybe you are looking for