How to avoid color printing in alv

Hi All ,
I am using alv standard print functionality to take printout.
My problem is when i am taking printout in color printer its printing key fields in blue color in background and i want printout in black&white whether i am using color printer.
Thanks

Hi Sandeep,
Try if this works
After giving print (Ctrl+P) you will get a popup to select the printer.
Click on properties
Expand the node "Output"
Select "Supress Colors"
Chosse the checkbox "Supress Colors/Shading in printout"
Regards

Similar Messages

  • How to avoid to print decimals in the output

    Hi,
    Please suggest me how to avoid getting decimals in the output.
    The variable that i am using is RKMNG. While declaring it i have used it in this manner,  rkmng type p decimals 0.
    but this only avoids fetching the data with decimals, when i am trying to print this value to the output using ALV FM, the decimals are appearing.
    Please can u provide me how to remove these three decimals that are appearing in the output.
    Thanks,

    do this :
    data : lv_var like i.
    move rkmng to lv_var.
    print lv_var.

  • How to avoid * in summary of ALV?

    RFKOFW00 output shows * in the totals line - in front of the Company Code.
    How to avoid this?
    I went into debug but am not able to pinpoint how this is getting populated even thoug the ALV input table does not have a *.
    Thanks
    Ven

    hi here is a sample code with totals check it,
    REPORT  zdemo_alvgrid                 .
    TABLES:     ekko.
    type-pools: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
          gd_tab_group type slis_t_sp_group_alv,
          gd_layout    type slis_layout_alv,
          gd_repid     like sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
    perform data_retrieval.
    perform build_fieldcatalog.
    perform build_layout.
    perform display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
      fieldcatalog-fieldname   = 'EBELN'.
      fieldcatalog-seltext_m   = 'Purchase Order'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      fieldcatalog-emphasize   = 'X'.
      fieldcatalog-key         = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'EBELP'.
      fieldcatalog-seltext_m   = 'PO Item'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'STATU'.
      fieldcatalog-seltext_m   = 'Status'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'AEDAT'.
      fieldcatalog-seltext_m   = 'Item change date'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MATNR'.
      fieldcatalog-seltext_m   = 'Material Number'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MENGE'.
      fieldcatalog-seltext_m   = 'PO quantity'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MEINS'.
      fieldcatalog-seltext_m   = 'Order Unit'.
      fieldcatalog-col_pos     = 6.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'NETPR'.
      fieldcatalog-seltext_m   = 'Net Price'.
      fieldcatalog-col_pos     = 7.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-do_sum      = 'X'.        "Display column total
      fieldcatalog-datatype     = 'CURR'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PEINH'.
      fieldcatalog-seltext_m   = 'Price Unit'.
      fieldcatalog-col_pos     = 8.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
    endform.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
                i_save                  = 'X'
           tables
               t_outtab                = it_ekko .
    endform.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    form data_retrieval.
    select ebeln ebelp statu aedat matnr menge meins netpr peinh
    up to 10 rows
      from ekpo
      into table it_ekko.
    endform.                    " DATA_RETRIEVAL
    regards,
    venkat.

  • How to enable color printing setting in R/3

    Hi,
    We have configured HP COLOR Laster jet 2650DN printer at r/3 level. but users are not getting print in color, when they give non sap print, then it prints in colors. I tried to enabled the color printer option in spad -> output attribute, but it didnot help. Is ther any other setting can enabled the color printing in sap ?
    Thanks
    Rajesh Kokane

    I understand that the issue is with color printing only for this printer. What device type are you using? Only printers listed in this note are fully tested and supported by SAP as detailed.
    Does color printing work for other printers you have and are the SPAD settings the same?
    Regards, Mark

  • How to avoid multiple selection in ALV tree control?

    Hi,
    Experts,
    I want to avoid multiple selections on Alv tree control after pressing control keyboard button(Ctrl). Even by pressing Ctrl keyword button i want to select only one row of a Alv tree control.i have used cl_salv_tree class for it is there any method to achieve this please pass some code/idea on it.
    Thanks in advance,
    Shabeer ahmed.

    I haven't tried it before but it should help.
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cda3992d-0e01-0010-90b2-c4e1f899ac01|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cda3992d-0e01-0010-90b2-c4e1f899ac01]

  • How to avoid TEST PRINT page

    Dear All,
    How to aviod the test print page in printing. I am getting SAP cover page(test print page) for every time I am printing. I ma using the following code.
      CASE sy-ucomm.
        WHEN 'PRNT'.
          DATA: l_params TYPE pri_params,
                l_valid TYPE c,
                l_arc_params TYPE arc_params.
              l_params-prsap = 'X'.
          CALL FUNCTION 'GET_PRINT_PARAMETERS'
            EXPORTING
              destination            = 'LPIN'
              copies                 = 1
             list_name              = 'TEST'
             list_text              = 'Test NEW-PAGE PRINT ON'
              immediately            = 'X'
              layout                 = 'X_65_132'
              line_count             = 65
              line_size              = 220
              release                = 'X'
              mode                   = 'CURRENT'
              no_dialog              = 'X'
            IMPORTING
              out_parameters         = l_params
              valid                  = l_valid
            EXCEPTIONS
              archive_info_not_found = 1
              invalid_print_params   = 2
              invalid_archive_params = 3
              OTHERS                 = 4.
          NEW-PAGE PRINT ON   PARAMETERS l_params NO DIALOG.
          PERFORM display_data.
          NEW-PAGE PRINT OFF.
      ENDCASE.
    Thanks,
    Ranjan

    Hi,
    Just check it out. I m printed report directly instead of display.
    w_destination = 'LOCL'.
        CALL FUNCTION 'GET_PRINT_PARAMETERS'
          EXPORTING
            destination    = w_destination
            layout         = 'X_58_170'
            no_dialog      = 'X'
          IMPORTING
            out_parameters = params
            valid          = valid.
        IF valid <> space.
    ALL DISPLAY PARAMETER RIGHT ON PRINTER
          NEW-PAGE PRINT ON PARAMETERS params NO DIALOG.
        ELSE.
    GIVE ERROR PRINTER DESTINATION IS NOT VALID
          MESSAGE s208(00) WITH text-010.
        ENDIF.
      ENDIF.
    User write stament, That will dirctly go for print.
    OFF THE PRINTING AFTER REPORT IS DISPLAY
      IF valid <> space.
        NEW-PAGE PRINT OFF.
      ENDIF.
    it may sortout ur problem.
    Regard,
    Vinod

  • How to avoid the printer device option screen when calling smartform?

    Dear gurus
    i have create a smartform and i have called it from my program.
    i dont want to show the printer device options how can i achieve that ?
    below is the code for calling my smartform.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = 'ZSNAK_VF03_PRINTING'
       IMPORTING
        fm_name                  = smart_form_function_nm
       EXCEPTIONS
         no_form                  = 1
         no_function_module       = 2
         OTHERS                   = 3
      CALL FUNCTION smart_form_function_nm
        EXPORTING
          itab1              = itab1
          temp4              = temp4
          temp3              = temp3
          ref_doc_no         = ref_doc_no
          po_no              = po_no
          printno            = printno
        TABLES
          itab_tab           = itab_tab
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
    Regards
    Saad Nisar.

    Hi,
    check this link
    smartforms  -   print option
    Regards and Best wishes.

  • How to avoid color boost when exporting?

    I noticed that the colors of any movie exported from iMovie 08 appear boosted i.e. stronger. No matter what codec I choose under "Share > Export using QuickTime" (Animation, AIC, Photo-JPEG) the colors are never like in the original. Can I export a movie and keep the original colors with this application?

    I found out that MJPEG or PhotoJPEG compressed original clips don't get that color treatment.

  • How to avoid repeating printing in oracle applications

    we have a report which is printing repeatedly for a particular report, what could be the reason?

    Hi,
    Is this concurrent program scheduled?
    Do you mean it keeps printing after the request is completed normally every 10 minutes?
    Is this a standard or custom concurrent program? Can you reproduce the issue with other programs?
    Regards,
    Hussein

  • ALV List Output: How to avoid data statistics from printing in Background

    Hi,
    I am running an ALV list display in Background mode and the output is showing the data statistics first and then the actual output of the ALV...
    I dont want the data statistics to be printed..
    How to avoid that.. is there any to do it...

    Hi Neela
    If you are using the good old REUSE_ALV_GRID_DISPLAY function module, you should be able to suppress the List Info if SY-BATCH is 'X' using the IS_PRINT parameter.
      MOVE 'X' TO is_print-no_print_listinfos .
    Presumably there is a similar parameter using classes.
    Cheers
    Lyal

  • Photosmart 8750 - how to avoid white edges on print? And how to match colors from monitor to print?

    Hi all! I´m new here so I hope I ask this in the right forum. Please advice me if this should be in another sub-forum..
    First: The white edges around my photos when printed:
    I can´t figure out how to avoid the white edges when I print my photos.
    If I print in A3 size (or any other size) there´s always the white edges around my photos on the print, and it´s really annoying.
    I make the size in Photoshop (CS4 extended) so that the photo matches the size of the printing paper, but still it gets adjusted when printing so I get the white edges.
    I either print directly from PS or from Windows Photoviewer. (I have Windows 7).
    In PS in the printing dialog box it says Scale to fit media, when I tick this and also have the Show Paper White ticked, it appears that the photo goes exactly as the size is set, but then I can see a thin white edge on top of it, illustrating that the photo will be printed with a white edge on top. If I untick the Scale to fit media, the photo appears to be cut a great deal before printed, so this will destroy my image.
    I usually print from Windows Photoviewer as the colours in PS turns out more different than when saved and printed from Windows. (My next question).  In Windows Photoviewer I only have the option Fit to frame, but in the preview it doesn´t look like any of those two options will give a borderless print.
    In the printers dialoge box for the Paper/Quality I only use the option for A3 HP glossy photopaper, but I see there are other options such as Photo without edges A3, but then the size says 423x303mm which is slightly bigger than the size of the photo.
    Also there´s a box to tick under it, Print without edges and under it Automatic fit without edges.
    Is it something here I should tick or untick?
    What options should I use to get it to print and fill the whole paper?
    Second: How to get the same colours on my print as it shows on my monitor?
    I have tried figuring out this, but I gave up. Though I know there´s something about the Profile´s, just not how to set them..
    As already said, the colours looks quite different when printed directly from PS than saved as .jpg and printed from Windows Photoviewer. In colours the print is closer to the actual colours when printed from Windows than from PS, but BW photos is quite far from as seen on the monitor when printed, from both of them.
    Instead of this nice warm "brownish" hue seen on my monitor, it´s printed with a greenish hue. Really annoying as I spend a lot of time working on my photos to get them as I like.
    In the printer´s dialog box (in Windows) I have disabled the ICM colour management.
    In PS dialog box I´m sure there´s something to do different under the Color Management, but I don´t know what.
    Also there´s probably something different in my monitor´s profile that differs from the printer and PS?
    Anyone who can help with either one or both of my problems??
    That would be highly appreciated so thanks so much in advance!

    HI Lisa91,
    Here is a link to a post about the same problem you are having and the same printer. You may find the posts helpful as some were able to find a solution. Post number 6 and number 12 specifically have found solutions that worked for them. Hope this helps some.
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • How to avoid the page timeout with the HP Color LaserJet Enterprise CP4025?

    We are using a DOS application developed with DB4 and running always on the same XP workstation. One month ago we changed our previous HP color printer (was broken) buying a newest CP4025. With the previous HP color printer, and also with another printer we have (HP Color LaserJet CP2025), our application works very well. But using the CP4025 now we have a problem.
    When our application prints in PCL mode, sends the first part of job, then the application perform some calculation tasks with the database and sends the final part after about 30 seconds. We don't know why, but the CP4025 seems to have a timeout after about 15 seconds that cause closing the printing job with a sort of end of page, printing wrongly a half page, and after a new page with the second half of the real single page.
    Why the CP4025 have a so short timeout? Our previous HP and also the CP2025 works well with our application, without perform any kind of short timeout. 
    Anybody knows how is it possible to avoid this timeout with the CP4025?

    In theory PCL5 jobs should only be terminated and forced to finish printing via either an IO timeout, the network connection being closed, or an end of job command in PCL5. 
    You can check/change the default IO timeout value through the front screen. You'll find it by navigating to Configure Device->I/O->I/O Timeout. I would recommend making sure it is set to something around 120 seconds. 
    Do you know whether the application itself is generating the PCL5 job, or whether it is going through a print driver to generate the job? 
    I work for HP

  • How to avoid white color in photo taking in iphone 4s at night with flash?

    how to avoid white color in photo taking in iphone 4s at night with flash?

    HI Lisa91,
    Here is a link to a post about the same problem you are having and the same printer. You may find the posts helpful as some were able to find a solution. Post number 6 and number 12 specifically have found solutions that worked for them. Hope this helps some.
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • HT3669 I have an HP deskjet color printer that only prints in black and white from my mac ... how do I get it to print in color

    I have an HP deskjet color printer that only prints in black and white from my mac ... how do I get it to print in color

    Check the printer itself.  Some printers you need to set the color & B&W settings on the printer itself instead of the Mac.   If that is not the case w/your printer, contact HP tech support and/or post in their forums if they have one. 

  • How to color row in ALV report?

    hi
    I am creating an ALV report using factory method.
    my report is based on itab which contain 3 coulms, 1 column is ERROR_TYPE . how can i color all the rows which contain E in error_type ???
    thanks
    Ami

    TABLES:LFA1.
    SELECT-OPTIONS:LIFNR FOR LFA1-LIFNR.
    DATA:BEGIN OF ITAB OCCURS 0,
    LIFNR LIKE LFA1-LIFNR,
    NAME1 LIKE LFA1-NAME1,
    LAND1 LIKE LFA1-LAND1,
    ORT01 LIKE LFA1-ORT01,
    REGIO LIKE LFA1-REGIO,
    SORTL LIKE LFA1-SORTL,
    CFIELD(4) TYPE C,
    END OF ITAB.
    data:col(4).
    data:num value '1'.
    SELECT * FROM LFA1 INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE LIFNR
    IN LIFNR.
    LOOP AT ITAB.
    concatenate 'C' num '10' into col .
    ITAB-CFIELD = col.
    num = num + 1.
    if num = '8'.
    num = '1'.
    endif.
    MODIFY ITAB.
    ENDLOOP.
    TYPE-POOLS:SLIS.
    DATA:FCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA:LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA:SORT TYPE slis_t_sortinfo_alv WITH HEADER LINE.
    DATA:EVE TYPE SLIS_T_EVENT WITH HEADER LINE.
    LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
    LAYOUT-WINDOW_TITLEBAR = 'VENDORS DETAILS SCREEN'.
    LAYOUT-EDIT = 'X'.
    LAYOUT-info_fieldname = 'CFIELD'.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    I_PROGRAM_NAME = SY-REPID
    I_INTERNAL_TABNAME = 'ITAB'
    I_INCLNAME = SY-REPID
    CHANGING
    CT_FIELDCAT = FCAT.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    IS_LAYOUT = LAYOUT
    IT_FIELDCAT = FCAT
    TABLES
    T_OUTTAB = ITAB.
    this is for coloring cols
    REPORT ZBHCOLOR_COLS.
    TABLES:LFA1.
    SELECT-OPTIONS:C_LIFNR FOR LFA1-LIFNR. " FOR GRID ONLY
    PARAMETERS:LIST RADIOBUTTON GROUP ALV DEFAULT 'X',
    GRID RADIOBUTTON GROUP ALV.
    DATA:BEGIN OF ITAB OCCURS 0,
    LIFNR LIKE LFA1-LIFNR,
    NAME1 LIKE LFA1-NAME1,
    LAND1 LIKE LFA1-LAND1,
    ORT01 LIKE LFA1-ORT01,
    SORTL LIKE LFA1-SORTL,
    REGIO LIKE LFA1-REGIO,
    COL TYPE LVC_T_SCOL,
    END OF ITAB.
    DATA:COLR TYPE LVC_S_SCOL.
    SELECT * FROM LFA1 INTO CORRESPONDING FIELDS OF TABLE ITAB.
    LOOP AT ITAB.
    IF ITAB-LIFNR IN C_LIFNR.
    COLR-FNAME = 'NAME1'.
    COLR-COLOR-COL = '5'.
    COLR-COLOR-INT = '1'.
    COLR-COLOR-INV = '0'.
    COLR-NOKEYCOL = 'X'.
    APPEND COLR TO ITAB-COL.
    COLR-FNAME = 'LIFNR'.
    APPEND COLR TO ITAB-COL.
    MODIFY ITAB.
    ENDIF.
    ENDLOOP.
    TYPE-POOLS:SLIS.
    DATA:FCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA:LAYOUT TYPE SLIS_LAYOUT_ALV.
    LAYOUT-ZEBRA = 'X'.
    layout-coltab_fieldname = 'COL'.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    I_PROGRAM_NAME = SY-REPID
    I_INTERNAL_TABNAME = 'ITAB'
    I_INCLNAME = SY-REPID
    CHANGING
    CT_FIELDCAT = FCAT.
    IF LIST = 'X'.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    IS_LAYOUT = LAYOUT
    IT_FIELDCAT = FCAT
    TABLES
    T_OUTTAB = ITAB.
    ELSEIF GRID = 'X'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    IS_LAYOUT = LAYOUT
    IT_FIELDCAT = FCAT
    TABLES
    T_OUTTAB = ITAB.
    ENDIF.
    Reward points if useful.

Maybe you are looking for

  • ICloud Control Panel doesn't stay installed.

    I'm installing on a Win 8.1 64bit machine with Outlook 365 Home Premium.  The install seems to go well, but after I finish and the Control Panel closes, I have to reinstall it when I open it again.  Anyone have a suggestion?

  • Calling a method from another class while in a seperate class

    Hello I am currently TRYING to proramme a simple alarm clock program, The way it has had to be set out is that there are two classes one is called ClockDisplay which is just the clock and the one i have had to create is called AlarmDisplay I am tryin

  • Question about the HandHeld Package Configuration

    PDA Model - Dell Axim 30 Pocket Pc o/s Windows CE 2003 SE ZFH Version - 6.5 I have configured the handheld package, program section as follows: Programs to include on the start menu: Pocket Explorer Groupwise Groupwise Appt Groupwise Day Groupwise No

  • Smart Playlists in iTunes

    Is there a way to make a subfolder within iTunes. I'm not able to create a playlist list I want without combining two different smart playlist. Thanks Bill

  • ICal won't accept Google Calendar password

    can't sync with my Google calendars anymore. I have deleted the calendar accounts on my Mac. Set up the 2-stpe passwords on Google. Tried to create new accounts in iCal with my email address (is not a gmail account) and app specific password: - used