Report With Print Option

Hi Everyone,
I have requirement, i need to use PRINT icon in Outputlist, if the User clicks it should Print, is there any way to do this and the Program type is 'M'.
can anyone suggest the best way to do this ??
From
Nemani

Hi.
Already there will be a button to print in the Application Tool bar.
Activate it in the Status of your MEnu and if needed write some code by looking into a std Program or on your own, such that it prints the document when it is pressed.
Reward points if useful
Regards
Anji

Similar Messages

  • Print or download ALV report with sort options

    Dear friends,
    How i can download into excel or print ALV report with sort options, like customer name column with similar values should not repeat in the print out or download file.
    Regards,
    Praveen Lobo

    Hi Praveen,
    Use this code, its working:-
    *FOR SORTING DATA
    DATA : it_sort TYPE slis_t_sortinfo_alv,
           wa_sort TYPE slis_sortinfo_alv.
    *          SORT W.R.T. CUSTOMER NAME
      wa_sort-spos = 1.
      wa_sort-fieldname = 'NAME1'. "field customer name
      wa_sort-tabname = 'IT_KNA1'. "internal table with records
      wa_sort-up = 'X'.
      APPEND wa_sort TO it_sort.
      CLEAR wa_sort.
    "this will sort the ALV o/p for customer with same name
    "now the name will not be repeated
    "records with same name will be grouped
    *          DISPLAY RECORDS IN ALV GRID
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program                = sy-repid "report id
        it_fieldcat                       = it_field "field catalog
        it_sort                           = it_sort "sort info
      TABLES
        t_outtab                          = it_kna1 "internal table
      EXCEPTIONS
        program_error                     = 1
        OTHERS                            = 2.
      IF sy-subrc <> 0.
      ENDIF.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir
    Edited by: Tarun Gambhir on Dec 31, 2008 1:13 PM

  • In my MacBook Pro, finder is crashing after logging in. It is showing crash report with Relaunch option, when i click on Relaunch option finder is working properly but i am unable to see top bar(Apple, Date, Wifi). Even in safari address bar not accepting

    In my MacBook Pro(10.7.5), finder is crashing after logging in. It is showing crash report with Relaunch option, when i click on Relaunch option finder is working properly but i am unable to see Top bar(Apple logo, Date and Wifi etc... bar). Even in safari address bar, TextEdit not accepting any text means when type something not showing up and also i am unable operate any thing from keyboard. Plz help me…..

    One thing that you can try is installing a 'fresh' version of OS X Lion. Boot into your Recovery partition (holding down the command and R keys whilst booting) and elect to install OS X from the Recovery screen. You need not erase your hard drive and you should not lose any of your data.
    Oh, and just as a precaution, I would use Disk Utility, once you're in Recovery mode, to verify your hard drive before trying to install the OS again.
    Clinton

  • Fonts when sending Reports via Printer Option (10g Reports / Redhat 5)

    When I send a Oracle 10g report to the printer, which PPD file is it using? The printer you install on the server or the one in ORACLE_HOME/guicommon/tk/admin/PPD directory?
    I installed a printer on the Linux Server and copied the file to the ORACLE_HOME/guicommon/tk/admin/PPD directory. I added some new fonts in the PPD so that the report would pick some Windows fonts that didn't exist originally on the Linux. I installed the fonts on the server and am able to see them in PDF Output options on the server.
    When I send the report with the same parameters to the printer directly, it doesn't see those fonts. I only modified the PPD for that printer on ORACLE_HOME/guicommon/tk/admin/PPD directory. So I was wondering if I have to do it on the installed server file as well or not.
    Any help is appreciated.
    Chris

    This was a response that I received from Oracle Support. Basocally, I'd have to install the font in the internal printer memory to get this to work.
    Is there a way to send a Report to PDF in Oracle Forms and then at the same time once that PDF is generated, send it to the printer (without user interaction). That would take care of my problem. That would take care of my printing issue. I know PDF's work and I know I can print them displaying the fonts just fine.
    Support Response:
    Fonts need to be present in the PPD file as well as the internal printer memory .
    Reason is as follows.
    1)Based on PPD file , Font metrics will be used to create thye PS file with the correct font names.
    2)When the PS file is sent to the the printer, actual fonts are not sent . Note that this is a limitation of Oracle Reports PS driver on unix and . Hence, it is required to have a printer that has the fonts installed in its memory/system.
    Currently there is an internal pending enhancement request to upgrade the Postscript driver of Oracle Reports
    Reference
    4149510 UNIX POSTSCRIPT PRINTING ENHANCEMENTS

  • Can anyone help with printer options on iPad mini, can I change layout paper size?

    I am trying to change the printer options on my iPad mini so that I can print on legal size paper,  I also would like to change to portrait layout.  Is this an option when printing from an iPad Mini?

    Chad-
    I think the same problem exists with all the iOS devices.  I suggest you look for a free App from the manufacturer of your printer.  It will have limitations, but may include the ability to change paper size and image size and orientation.
    There are other printing Apps such as Print n Share that can do that, but they are not free.
    The problem you may face, is that such printing Apps can only be accessed from within other Apps that have the "Open In" option.  If you can use their built-in programs, they may meet your needs.
    Fred

  • Pricing condition type with print option

    I have a special requirement.  Printing option "b" maintained for condition type in pricing procedure.  Example ZR00.  For some customers this should not print and should allow only for specific customers.
    Any clue will appreciated.
    Please don't send the links.
    Suddu

    hi,
    is it that those conditons that are printed are only applicable to a particular customer.
    or
    though a conditoin is applicable but still you dont want to show.
    However my observation is, it requires some enhancement of Z table kind of thing. Reason is a discount which needs to be printed today may not be required tomorrow to be printed or the other way round. It depends on the customers business nature with your client. In such case it has to be part of master data where the enduser should have an option to make the necessary entries from time to time.
    If we hard code in the print program initially it can work. It will check the customer and print only those discounts but tomorrow if there is a change we have move a request to the print program again which is not the right approach.
    regards
    sadhu kishore

  • Printing a report with print sheets from the portal

    It is my understanding that a print sheet uses a variant to make a connection between the variable settings set in the web portal and the variable / filtering settings that are used when printing a report. It is also my understanding that without a print sheet and variant that when a user prints a report from the portal that the printed report would not have the same filtering (variable settings) as what the user sees in the report. I have created a report and a print sheet that uses a variant, but when we view reports in the portal there is not a print icon... we can only print from the browser. Printing from the browser only prints what is on the screen, not a formatted report set up in the reporting agent. How do I print a report that uses a variant and a print sheet set up in the reporting agent to be available to print from the portal... i.e. display an icon to print the report? If you have a better or more detailed explanation of what a print sheet is and how to set it up, please include that as well.

    The BW Reporting agent print settings is used for batch printing of BW reports not online printing from the web.
    Currently there are no SAP delivered formatted reporting print functionality for BW. BI 7.0 will have formatted reporting and PDF export options.
    SAP had recently released a How to Document on printing using MS Excel. See the attached link for the same.
    https://websmp205.sap-ag.de/~sapdownload/011000358700001853752005E/HowToWebPrintingWithExcel.zip
    Also this has been discussed in some other threads also:
    Web template entire page print ?
    Thanks.

  • Mac OSx Full Drivers with Printer Options

    Hi,
    Is there a way to deploy full drivers with iPrint. The PPD driver deployment works well, but it lacks any of the printer functions that is needed by the clients. The printer is a Xerox WorkCenter 7845 (Color, HolePunch, Stapling. . . )
    The PPD driver only does grey scale printing and none of the other features work. I would love to do the following with iprint:
    1. Set printer options.
    2. Deploy the full Mac OSx Driver package of Xerox for this printer.
    Hope there is a reply out there.
    Thanks.

    Originally Posted by odegos
    Hi,
    Is there a way to deploy full drivers with iPrint. The PPD driver deployment works well, but it lacks any of the printer functions that is needed by the clients. The printer is a Xerox WorkCenter 7845 (Color, HolePunch, Stapling. . . )
    The PPD driver only does grey scale printing and none of the other features work. I would love to do the following with iprint:
    1. Set printer options.
    You can edit the ppd file to set the options.
    Originally Posted by odegos
    2. Deploy the full Mac OSx Driver package of Xerox for this printer.
    Would like to know this to.
    Originally Posted by odegos
    Hope there is a reply out there.
    Thanks.

  • Report designer - Printing option - chops off columns to fit in page

    When I run a report from report designer, it runs perfect(can scroll to end with all the columns) - but when i try to change to print format(PDF), it chops of many columns of the report to fit into the page... I have a query with 15 columns but in the PDF i get only 4columns.
    Is there any workaround to squeeze in the whole report (*might be landscape) or Is this issue addressed in any OSS or SP?
    Thanks in advance folks,
    Voodi

    Hi Karol, thanks for the answer. Sorry for all the dumb questions, but the report designer is altogether a new animal. Not to mention I havent worked on this.
    I havent specified any page size for my report. When i run the report in the portal, the web page contains all the columns and not in PDF. Where can set the page size in the report designer to determine the size of my page.
    And is there a way, where i can set an option to embed the report into PDF as a landscape(not while printing, but embbeding).

  • Need help in rdf report 'footer'printing option

    Dear All,
    I have a requirement as below.
    I have a RDF report in that i am printing 3 copies of print in the printer,my requirement is in the second print copy i need to print a different footer.
    Ex: 1st copy footer:'ABC'
          2nd copy footer:'DEF'
          3rd copy footer:'ABC'
    Please help me on this.

    Than perhaps you don't have your mail system configured properly, such as a missing "smart host" or missing smtp relay in your sendmail configuraiton, or perhaps security options on your smtp gateway, or a networking or DNS issue, etc, etc.
    I suggest to try sending a normal e-mail and check the logs to make sure that it works, before troubleshooting the script.

  • Submiting reports with copies option from forms

    Hi ,
    I am submitting a report from the form with copies = 3 , but the copies are printed 3x3 = 9.
    Does any one know why it is printing 3 x 3 instead of 3
    the code is as follows:-
    IF par_destination = 'PRINTER' THEN
         SET_REPORT_OBJECT_PROPERTY(v_repid,REPORT_DESTYPE,PRINTER);
         SET_REPORT_OBJECT_PROPERTY(v_repid,REPORT_DESFORMAT, v_desformat);
         SET_REPORT_OBJECT_PROPERTY(v_repid,REPORT_DESNAME, par_printer_name);
    ELSE
         SET_REPORT_OBJECT_PROPERTY(v_repid,REPORT_DESTYPE,CACHE);
         SET_REPORT_OBJECT_PROPERTY(v_repid,REPORT_DESFORMAT, v_desformat);
    END IF;
         SELECT substr(par_rep_filename,1,instr(par_rep_filename,'.')-1) || '-' || v_next_reqno
         || '.' || DECODE(v_desformat, 'dflt', 'lst', 'wide', 'lst', v_desformat)
         INTO v_rep_output_filename
         FROM DUAL;
    v_file_path := v_file_path || v_rep_output_filename;
    v_url_path := v_url_path || v_rep_output_filename;
    SET_REPORT_OBJECT_PROPERTY(v_repid,REPORT_SERVER, v_repserver);
    v_report_other_params := 'mode='||v_mode || ' orientation='||par_orientation || ' paramform=no'
    ||' copies='||3||' blankpages=no'
    || ' ' || par_rep_user_params;
    message('other value -'||v_report_other_params);
    SET_REPORT_OBJECT_PROPERTY(v_repid,REPORT_OTHER, v_report_other_params);
    v_rep_instance := RUN_REPORT_OBJECT(v_repid);
    Please could some one help me with this.
    Thanks
    Bain

    Hi,
    if copies='||3||' isn't the problem, as it should be 'copies=3' then I would check the user parameters you append at the end.
    Frank

  • How to dispay report with layout option in selection screen?

    Hi all,
    I have designed a report which also has a list box in the selection screen for the type of saved  layout that users have saved. I want the report to be displayed in the  layout that the user has entered.
    Eg:  if user chooses \RP from the listbox in the selection screen; then the layout format for \RP should be displayed as output of the report.Can anyone tell me how to do this?Thanks in Advance.

    Hi ,
    parameters:p_vari type disvariant.
    data: v_save type c.
    v_save = 'A'.
    data:i_variant type disvariant.
    write the code in the At selection screen on value request p_vari.use the FM reuse_alv_variant_f4.
    then in the at selection screen check weather the selected variant is existed by using the FM reuse_alv_variant_existance
    and in the main GRID FM pass the variant internal table.
    or check BALV* in the Se38 for examples
    Regards,
    Bharani,

  • Limit the rows in a report with expandable option?

    HI
    There is a table in which 50 reords are there.
    1     111
    2     222
    3     333
    50     444
    I want to show only first 2 records and for the rest i want to show an expandable '+' sign.
    1     111
    2     222
    +     XXX (will be some of the oters from 3-50)
    When user click on this '+' sign this table should be expanded to show all 50 records.
    How can we achieve this?

    Oh, I thought your requirement was to show the first two records out of 50 and then show the remaining on click of '+'
    Now your telling me that you want to aggregate 50 records into a 3 member parent , where 2 of those records are displayed and the other 48 are grouped under a '+' ?
    It sounds like you want to create a hierarchy using a parent column , something like
    Case when <attribute> in '1,2' then <attribute> else '+' end
    Create a hierarchy something like :
    Total
    new parent column ( Case when <attribute> in '1,2' then <attribute> else '+' end )
    attribute
    So the results wil aggregate up to the parent column, if you drill on the attribute member 1 or 2 then it will drill to itself, if you drill on the '+' it will drill to the child members (of which there would be 48)

  • Running reports via command-line with /batch option

    Hi,
    I have created a batch file which runs, and exports the results of 7 different discoverer reports with /batch option.
    Contents of batch file:
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input1.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input2.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input3.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input4.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input5.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input6.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input7.txt"
    Sample of a cmd file the bacth file runs:....
    /connect user/password@oraprd /apps_responsibility "BIS Super User"
    /open "H:\Projects\DRP Import Modelling\Dev\Intransit Extract.dis"
    /sheet 1 /export xls "H:\Projects\DRP Import Modelling\automation\Intransit Input.xls" /batch
    The batch file runs ok and processes each report in sequence, and creates the excel export one after the other.
    However, I need to process the 7 reports in parallel, so changed the batch file to process in own thread :
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input1.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input2.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input3.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input4.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input5.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input6.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input7.txt"
    The reports kick off at the same time and I can see 7 dis4usr.exe processes running via task manager
    Problem:
    The first reports runs and exports ok.
    All the others dis4usr.exe processing stops with the following error pop-up:
    ! Could not open file. OK
    Question:
    Can you only process reports sequentially via command line mode with /batch option?
    If not...what am I missing...its driving me insane :)
    All asistance is greatly appreciated. Thanks

    Ladies and gentlemen.....I have solved my problemo!
    The reason why the rest of the reports were getting the 'could not open file.' error was due to the fact that each discoverer instance launched was
    trying to access the same standard log file simultaneously.
    I modified each cmd file to write logging info to individual files: eg
    /logfile "H:\Projects\DRP Import Modelling\Automation\input2_log.txt"
    Now that's there's no contention with logging, the reports are firing off beautifully in parallel :)
    I am definitely having a beer this evening!
    Thanks for everyone's input...kept me on the righteous path :)

  • Download ALV report with layout to application server

    Hi Gurus,
    I have a problem as follows:
    I have one ALV Grid report. This report is very time consuming.
    That is why, user wants this to be run in background every night and in the morning when user comes to the office that ALV report should be on user's drive in excel format.
    However, it should run with one specific variant and that variant should be dynamically populated. (I have handled this part)
    It should also apply specific layout that has many filtering conditions.
    As I can not download ALV to excel in background, I decided to download it to the Application server.
    My problem is that when run in background, in spool ALV report shows o/p with proper filter conditions that is 5 out of 20 records.
    But, when I write this report o/p to Application server, it writes all the records in there, i.e., all 20 records. It does not take into account all the filters. [:(]
    I also tried downloading spool to excel, but o/p is not neatly formatted. All columns are fying here and there.
    Any suggestion, how can I write ALV o/p to Application server with layout into consideration?
    P.S. I have searched forum for this type of query, but no apt responses.
    Thanks

    did u downloaded the report with standard option provided in the alv and checked the data? that is populating all 20 records?. if so then use coding for achieving the standard one
    at the end of selection do like this ..
    SET USER-COMMAND ' %PC' .
    and in the user-command use like this..
    case sy-ucomm.
    when '  %PC'.
    give the file name ..
    do processing ..
    endcase.

Maybe you are looking for

  • Saved my itunes on external hard drive added windows 7 then could not retreive after downloading itunes on new OS

    This has got to be a common problem for people upgrading to windows 7

  • New gl and reporting

    hi gurus, i have configured all steps required for new gl. now transactions are posting, suppose at a particular day i want to see p&l and balance sheet of a profit center then how can i do that. thanks & Regards, manoj Moderator: Please, avoid askin

  • Imovie "locking up"

    Lately, imovie has been locking up, giving me the spinning rainbow ball, whenever I open an existing project. Therefore I can't work on the project, play it or do anything because the spinning rainbow ball won't let anything happen. A typical project

  • Bad Magin Number running Windows 2000. Please help

    I'm getting the following error trying to run the Swing Applet Test from http://java.sun.com/products/jfc/tsc/articles/getting_started/applet_test.html java.lang.ClassFormatError: SwingingApplet (Bad magic number)      at java.lang.ClassLoader.define

  • Upload text in cutomer master

    hi! i have falt file with two columns customer number and text. customer numbers are already uploaded into the (table) sap, i need to upload text by READ_TEXT and SAVE_TEXT in VA02, can anybody sent me the sample program for it? regards anjali