How to print a special color in a report.

Hello,
I'm new with BI Publisher I'm working on some reports and the user request me to print a particular color on a cell if the cell has a special condition
Example:
If the cell comes with 1 print green to that particular cell
If the cell comes with 2 print yellow to that cell
and if comes with 3 print red to that cell
is this possible in BI Publisher? How can I do it?
regards,
NA

Hi you can try in different ways one of them is below .
<?if@inlines:number(your_field_name)<0?><?attribute@incontext:color;'red'?><?end if?>
or you can try for entire row like below
<?if@row:ID='1'?><?attribute@incontext:color;'red'?><?end if?>
Check the below link
https://blogs.oracle.com/xmlpublisher/entry/conditional_rows_and_columns
Edited by: varma on Apr 25, 2012 2:31 PM

Similar Messages

  • How to print page no/total pges in report programing?

    how to print page no/total pges in report programing?

    Hi
    This is an example:
    In TOP-OF-PAGE you can write:
    WRITE: SY-PAGNO, '/', '-----'.
    When the program has finished to print all data, run a routine like this:
    Declare a variable
    DATA: L_PAGE_COUNT(5) TYPE C,
          V_LINE TYPE I. "The line where page number is written
    * In my example I suppose the page number is always
    * written in the first row of the page.
    V_LINE = 1.
    *  Copy this code to the end of program
    *  Page count will be printed on each page here
      WRITE sy-pagno TO l_page_count LEFT-JUSTIFIED.
      DO sy-pagno TIMES.
        READ LINE V_LINE OF PAGE sy-index.
        REPLACE '-----' WITH l_page_count INTO sy-lisel.
        MODIFY CURRENT LINE.
        ADD 1 TO sy-index.
      ENDDO.
    Max

  • How to print with NO COLOR MANAGEMENT in Photoshop CS6

    Hi,
    I have been trying to print a target from i1Profiler so I can read it with my i1Pro and create a printer profile, but no matter what I do, there is no way to get photoshop from supplying a profile while printing. I tried to select Printer handles color and then put the printer driver in COLOR MANAGEMENT OFF (seemed to me this would disable both the printer managing color and photosbop managing color). Tried printing this way ( and many other ways) but NO SOLUTION --- the prints are EXTREMELY different from the on-screen view (which is in a properly profiled Apple monitor) and they actually look like the ones with a profile chosen.
    I also tried the utility Adobe Color Printer Utility and same results!!
    I am using an EPSON Stylus Pro 7900 that I just purchased.
    Please help
    Juan Dent

    [email protected] wrote:
    Hi,
    I have been trying to print a target from i1Profiler so I can read it with my i1Pro and create a printer profile...
    The key here is to actually actually go ahead and print the target from i1Profiler to your printer...in the Test Chart panel, create the test chart and click on Print instead of Save As. As long as you have the correct page size set in the Page Setup, you should get an accurate printer target to read. Depending on how many patches you have set, it may take a few pages but they will be properly formated for reading with the i1Pro...

  • RE: How to print the special characters in Smartforms

    Hi,
    Can you please let me know how to print "číslo" in Smartform output as it is getting printed as "císlo". I mean to say that special character "č" is getting printed as "c".
    Even I checkd the same in Slovakian language and same thing is happening.
    Kindly suggest.....

    Hi,
    Which device type do you use to create the spool and print. What is the result with device type I2SWIn or SWINCF?
    Regards,
    Aidan

  • Printing a Special Message in ALV Report

    Hi,
    I have a requirement to print a special message in an ALV report. Customer wants to see this single line message between Report Header and ALV grid. This is a dynamic message to be displayed based on the values in the ALV table. Please suggest me with a suitable solution.
    Thanks,
    Kannan

    Hello Kannan,
    if you are using OOPs ABAP to create this ALV then you can put a text field in your Calling screen just above the "Custom Control" Area. make the text area output only.
    Now you can pass a variable data to this screen variable from your program.
    change the value of this variable based on your condition on PBO part of the called screen.
    OR
    In case you are using REUSE_AVL then you need to pass the value at.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program       = sy-repid
        it_fieldcat              = t_fieldcat
        is_layout                = x_layout
        it_sort                  = t_sort
        i_callback_pf_status_set = w_status
        i_callback_user_command  = w_comm
        i_save                   = 'X'
        it_events                = t_event
        i_grid_title             = w_title
      TABLES
        t_outtab                 = t_data
      EXCEPTIONS
        program_error            = 1
        OTHERS                   = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    OR
    * Report title
      CLEAR t_heading[].
      CLEAR x_heading.
      x_heading-typ = 'H'.
      x_heading-info = 'Reporte Prueba'(001).
      APPEND x_heading TO t_heading.
    * Program name
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-KEY = 'Program: '.
      x_heading-info = sy-repid.
      APPEND x_heading TO t_heading.
    * User who is running the report
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-KEY = 'User: '.
      x_heading-info = sy-uname.
      APPEND x_heading TO t_heading.
    * Date of execution
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-KEY = 'Date: '.
      WRITE sy-datum TO x_heading-info.
      APPEND x_heading TO t_heading.
    * Time of execution
      CLEAR x_heading.
      x_heading-typ = 'S'.
      x_heading-KEY = 'Time: '.
      WRITE sy-uzeit TO x_heading-info.
      APPEND x_heading TO t_heading.
    * Top of page event
      x_event-name = slis_ev_top_of_page.
      x_event-FORM = 'TOP_OF_PAGE'.
      APPEND x_event TO t_events.
    Please pass your variable data that you need to the parameter w_status.
    Please give points if you find solution helpful.
    Cheers,
    Suvendu

  • How to print logo in printout using classical report.

    Hello Friends,
    By using below code i am displaying logo in output using Classical report.
    What my problem is it is not displaying in print out.
    Please help. or else tell me how to print logo in classical report as well as output print out.
    DATA: docking TYPE REF TO cl_gui_docking_container,
          picture_control_1 TYPE REF TO cl_gui_picture,
          url(256) TYPE c ,
          query_table LIKE w3query OCCURS 1 WITH HEADER LINE,
          html_table LIKE w3html OCCURS 1,
          return_code LIKE w3param-ret_code,
          content_type LIKE w3param-cont_type,
          content_length LIKE w3param-cont_len,
          pic_data LIKE w3mime OCCURS 0,
          pic_size TYPE i,
          repid LIKE sy-repid.
    repid = sy-repid.
    START-OF-SELECTION.
      CREATE OBJECT picture_control_1
        EXPORTING
          parent = docking.
      CHECK sy-subrc = 0.
      CALL METHOD picture_control_1->set_3d_border
        EXPORTING
          border = 5.
      CALL METHOD picture_control_1->set_display_mode
        EXPORTING
          display_mode = cl_gui_picture=>display_mode_stretch.
      CALL METHOD picture_control_1->set_position
        EXPORTING
          height = 100
          left   = 700
          top    = 1
          width  = 200.
      "Position
      IF url IS INITIAL.
        REFRESH query_table.
        query_table-name = '_OBJECT_ID'.
        " Logo Name
        query_table-value = 'ENJOYSAP_LOGO'.
        APPEND query_table.
        CALL FUNCTION 'WWW_GET_MIME_OBJECT'
          TABLES
            query_string        = query_table
            html                = html_table
            mime                = pic_data
          CHANGING
            return_code         = return_code
            content_type        = content_type
            content_length      = content_length
          EXCEPTIONS
            object_not_found    = 1
            parameter_not_found = 2
            OTHERS              = 3.
        CALL FUNCTION 'DP_CREATE_URL'
          EXPORTING
            type     = 'image'
            subtype  = cndp_sap_tab_unknown
            size     = pic_size
            lifetime = cndp_lifetime_transaction
          TABLES
            data     = pic_data
          CHANGING
            url      = url
          EXCEPTIONS
            OTHERS   = 1.
      ENDIF.
      CALL METHOD picture_control_1->load_picture_from_url
        EXPORTING
          url = url.
      WRITE : /'Classical Report Logo'.
    Regards,
    Phaneendra
    Edited by: phaneendra punukollu on Dec 31, 2009 11:38 AM
    Code Formatted by: Alvaro Tejada Galindo on Jan 4, 2010 4:52 PM

    Hello Nidhi,
    Thanks for your sugessition.
    Actual we have data from IDOCS and it is maintained in Ztables
    and need to dispaly in report ( Service centre - Warranty data ).
    The report is completed. So again going to Script means waste of time for us.
    So Plz help me  if possible in Classical report.
    Regards,
    Phaneendra

  • How to Print Selection-Screen along with ALV Report output

    Hi,
    I have a requirement wherein i need to also print the Selection Screen of a report when I print the ALV report output.
    Basically i need to print the ALV output along with selection screen.
    Could you plz suggest me the way.
    Regards,
    Nitin

    Hi,
    My selection Screen is a very big one. It contains around 30 select-options.
    So is their any standard method in which you can choose whether you want to take the output printout with or without Selection screen.
    Regards,
    Nitin

  • How to print a logo in existing / seeded report?

    Explain in details about the steps involved in printing a logo in existing / seeded report
    Thanks in advance
    Madhan

    It is either :
    1. Use bitmap reports (in earlier version of apps), set the output to postscript or pdf
    2. Use XML Publisher

  • How to Print GIF image in XML RTF Report

    Hi All,
    I have one requirement like to print the GIF image in Oracle Report.
    The report is an XML Report.
    The image file stored in database, the table is fnd_attached_docs_form_vl.
    select distinct file_name from fnd_attached_docs_form_vl
    Front end Navigation ----->
    view -----> Attachments
    Now i need to get the image from there and print it report.
    Can you pls help me.
    Regards
    Venu

    Hi,
    I didn't tried that scenario as my report is not a Non-XML Report.
    And my report is XML Report.
    Regards
    Venu

  • How to print a downloaded color document in black or gray scale

    I have Adobe Reader 9; Windows Vista Home Premium; HP Officejet Pro 8000 Wireless printer.  I have downloaded a document that is pre-set to print in color.  I want to print it in black or gray scale.  I click on the printer icon for the printing pop up.  When I click on the Properties bar to make the request for black or gray scale, nothing happens.  What steps can I take to convert the pre-set color download to be printed in black or gray scale?  Thanks!

    I have only had the experience when I have downloaded a link from within an email to my Hotmail account when the download has already been set up in color.  To date, I have not had that problem with Word.       There are specifically two situations regarding two different monthly emailed newsletters.  This is through Internet Explorer 8; Windows Vista Home Premium.  (I will not use Internet Explorer 9.  It causes blocks for routine procedures, especially involving my Hotmail account--such as not being able initially to download a normal attachment or, if downloaded, not being able to print a normal download attachment.)     However, after I sent out my request for help, I switched to Mozilla Firefox and was able to print the "color" download in black right away because the Preferences bar responded as it should.  (Through Internet Explorer 8, regarding this particular link/download/attachment, the printing pop up had a Properties bar.  However, I am aware that, in some other pop up formats, there are both a Properties bar and a Preferences bar to choose from.)       I have Mozilla Firefox as a backup because, sometimes, I have to resort to it to download email attachments (whether black or color) coming from the east coast when they will not download through Internet Explorer 8.  (I am near the geographic center of the US.)     Thank you for your interest in my concern.  I will gladly accept any advice regarding being able to print an email attachment/link color download in black when using Internet Explorer 8!  Does it depend on how the link attachment is set up or what the link attachment is??
    [private data removed]

  • How to print background grey color in script output of header part

      Hi Experts,
             I had developed SAP SCRIPT, in that there are no. of line items based on line items the color should get change i.e suppose first line items rows should print grey while second  items  rows should not, third line items rows again should print grey and fourth should not...as on... with header cells will come background colour grey.Anyone can help me for this requirement.
        How we can color the rows in sap script.
    Thanks.

    Hi,
    From what I understand of SAPScript, it's next to impossible to dynamically draw lines in the MAIN window. I guess this also applies to grey backgrounds since you'd need to define the exact position of a box.
    Better use Smartforms or Adobe forms.
    If you find out how to achieve this, I'm interested to know how you do this :-)
    Good luck!
    Best regards,
    Zhou

  • How to print doc in color

    I have a Mac Mini and an HP Photosmart 6510 wireless printer - I want to print  a Pages document in a single color instead of the usual black - how to do this ?

    Simples !
    You may wonder why the request - well the black nozzles of my HP 6510 are all blocked but color is OK to print.
    If anyone can help with unblocking the black please now HELP.  I have run numerous print head cleanings but all that happens is that levels of expensive ink fall rapidly.

  • How to print black using color ink

    I am low on black ink at the moment but have a full color cartridge. I realise what I wish to do is more expensive than usual but right now I need to print quite a few documents in black but dont think I've enough black ink to do the job. I have an HPDeskjet 2050 3 in 1 printer/scanner and I cant find an option to select to use color to make black. If anyone knows how to do that on this printer please let me know otherwise "I got me some 'splainin to do" tomorrow at work.
    Thanks

    Printer: HP 6330 All-In-One
    My color ink cartridge completely ran out of cyan (left only with yellow and magenta) and the black ink cartridge was completely emtpy.  In order to print an acceptable black and white doucument, I tried different settings until I found the right combination.  The output was a very dark purple.  The document took about four times as long to print due to the highest dpi setting, but the quality was very good in a pinch.
    Keep in mind that the doucument was printed from Adobe; the source document was from MS Word.  So, some settings may not appear in other applications.  However, a similar approach may be applied to obtain the best result.
    See the collection of screenshots for the printer settings.
    Hope this helps.
    -Seth 

  • How to Print in negative colors

    I am using Adobe Acrobat X and Reader X, both on Win7.
    I want to take a printout of a Design that I've exported from Software-Cam350.
    I can view the inversed colors by doing the following:
    Edit>Preferences>Accessibility>Change background color...
    But i want to take a print out of the same - negative colors ; that is - White design on black background, instead of Black on White.
    Also, I want a print out of only the section where the design is present and not of the whole page, as it will only waste my printer's toner because i only require the design part with some extra black on the outside(NOT the whole page).
    I also require the Design in the same ratio in which it was exported - 1:1. Thus, I don't even have an option of taking a Screenshot.
    Please suggest me as soon as possible as to how can I go about it?
    Thanks

    When the Print Dialog comes up, look for a ColorSync Option, hard to say where exactly because different printers have the option in different places, or a grayscale option of their own...

  • How to print with "no color management" in CS6

    I have downloaded the "no color management option" to print off a patch for an ICC profile - http://helpx.adobe.com/photoshop/kb/no-color-management-option-missing.html
    However, I keep getting an error message when trying to print from it - saying "error occured while setting color management" and then the color managment has a line through it when I go to the "Print" option.  I am using an epson 3800 and have reinstalled the drivers and it is still the same. 
    Any ideas?

    This forum is actually about the Cloud, not about using individual programs
    Once your program downloads and installs with no errors, you need the program forum
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll
    http://forums.adobe.com/community/photoshop

Maybe you are looking for

  • Please help, Macbook keeps disconnecting me from internet

    Hello, i just bought my macbook pro. Its a Mac OS X ver. 10.5.7 with a 2.26GHz processor. I have a Netgear 54mbps wireless router WGR614 v8 and a Motorola SB5100 SURFboard Cable modem. Now the problem im having is with the internet connection with my

  • How to install glass-fish 3.1.2.2 on Window 7 (64-bit)

    Window 7 Enterprose (Service pack 1) 64 bit Operating System 8GB RAM Could anyone tell me what are the prerequisites for installing glassfish server on above specified PC, as I have tried few times and it does not work, there seem to be problem with

  • Adding an asset

    when ever i try importing an asset it loads to 100% then drops back down to around 75% and loops in this fashion for ever, can i fix this problem or is it that I'm not waiting long enough

  • Reg ESB SOAP Invocation service

    Hi all, I am trying to invoke a wsdl in my ESB project, using the SOAP invocation service. My deployed web service uses authentication. I need to give username/password in order to access the end point url of the service. When I give the wsdl of the

  • CS5 First Impressions

    Computer I built is listed on my notes page http://www.pacifier.com/~jtsmith/ADOBE.HTM Since I work for a University, I ordered the Education version of Master Collection... and Adobe seems to have their registration problem(s) fixed, since it took a