Want to dislay amount in red color

Hi,
I am working on Dunning Forms(SAP script). The requirement says, that the amount field should be displayed in Red color font, however they will take a color printout, but how do i assign the color to a font type in SAP Script.
If anyone has any idea about this, please share your knowledge.
Thanks,
Sneha Soni.

Please have a look at below links. May be useful to you.
[Print Controls|http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a95e351ea11d189570000e829fbbd/frameset.htm]
[Description of all SAPscript Print Controls|http://help.sap.com/saphelp_nw04/helpdata/en/b1/fd1042ea8711d18e310000e83dd9fc/frameset.htm]
I hope it helps.
Best Regards,
Vibha
Please mark all the helpful answers

Similar Messages

  • Have no records I want to display some custom text in Red color in Advaced

    Hi All
    When I instantiate a query, if I have no records I want to display some custom text in Red color in Advanced Table instead of the standard No results found.
    i.e. something like, 'click on Add Records'
    Any ideas pls..

    Did u tried as Ravans suggested.
    Put the indicators outside of the case structures.  Wire across the borders of the case structure.  It creates "tunnels".
     I am not getting
    but it displays both result at a time. but i want
    to display the instruction first, to the user, so that they act
    according to the instruction and ,than i want to display the result.  
     Try this VI.
    Balaji PK (CLA)
    Ever tried. Ever failed. No matter. Try again. Fail again. Fail better
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
    Attachments:
    string display-1.vi ‏22 KB

  • I'm using numbers for my students grades. the passing grade is 30 points. what i want to happen is that very students with a grade of less than 30 will have their points it red color. does the IF function can do this? how?

    i'm using numbers for my students grades. the passing grade is 30 points. what i want to happen is that very students with a grade of less than 30 will have their points it red color. does the IF function can do this? how?

    Hi efren
    Conditional format will do this.
    Select the Cells, then Menu > Format > Show Conditional Format Rules
    Regards,
    Ian.

  • So You Want to Change Squirrelmail's Default Color Scheme...

    I needed to do this, because I'm migrating users to Dovecot over time. In the event they connect to the old webmail site I want it to be obvious, so I changed the background color.
    This requires vi or some other plain text editor. Proceed at your own risk.
    The file you need to edit is:
    /usr/share/squirrelmail/themes/default_theme.php
    1) First, make a backup copy.
    here's the file, in the event you ignore suggestion #1
    <?php
    * January 2, 2000
    * Theme Name: 'Default Theme'
    * This is the default theme that comes standard with SquirrelMail.
    * Most of the colors were taken from mail.yahoo.com's theme on their
    * site.
    * To create a new theme, just copy this file, and edit the colors.
    * Be sure to rename the file and keep the original, just in case.
    * @author Luke Ehresman
    * @copyright © 2000-2007 The SquirrelMail Project Team
    * @license <a class="jive-link-external-small" href="http://opensource.org/licenses/gpl-license.php">http://opensource.org/lic enses/gpl-license.php</a> GNU Public License
    * @version $Id: default_theme.php 12127 2007-01-13 20:07:24Z kink $
    * @package squirrelmail
    * @subpackage themes
    global $color;
    $color[0] = '#dcdcdc'; // (light gray) TitleBar
    $color[1] = '#800000'; // (red)
    $color[2] = '#cc0000'; // (light red) Warning/Error Messages
    $color[3] = '#a0b8c8'; // (green-blue) Left Bar Background
    $color[4] = '#ffffff'; // (white) Normal Background
    $color[5] = '#ffffcc'; // (light yellow) Table Headers
    $color[6] = '#000000'; // (black) Text on left bar
    $color[7] = '#0000cc'; // (blue) Links
    $color[8] = '#000000'; // (black) Normal text
    $color[9] = '#ababab'; // (mid-gray) Darker version of #0
    $color[10] = '#666666'; // (dark gray) Darker version of #9
    $color[11] = '#770000'; // (dark red) Special Folders color
    $color[12] = '#ededed'; // (light gray) Alternate color for message list
    $color[13] = '#800000'; // (dark red) Color for quoted text -- > 1 quote
    $color[14] = '#ff0000'; // (red) Color for quoted text -- >> 2 or more
    $color[15] = '#002266'; // (dark blue) Unselectable folders
    $color[16] = '#ff9933'; // (orange) Highlight color
    ?>
    2) Change the hex code for the color to the color you want. For example, to change the background from white to a green-blue, replace;
    $color[4] = '#ffffff'; // (white) Normal Background
    with
    $color[4] = '#a0b8c8'; // (green-blue) Normal Background
    Here's a list of hexadecimal color codes:
    http://www.december.com/html/spec/colorsafe.html
    3) Save the file. If you are logged into webmail, reload the page to see the change.
    Message was edited by: flatrack

    Here's another trick. Say you want to have each user have a specific theme, something other than default. The user specific settings for Squirrelmail are in /var/db/squirrelmail/data. Each user has a file called username.pref, where username = their actual short username. For the user msmith, it would be msmith.pref. For existing users, you can edit the file and add/modify whatever preferences you want. Set up your Squirrelmail like you want it site wide, and look at your pref file for an example. At my site, I want everyone to have the plain blue theme, and to turn off the alternating colors in the message list. Here are the preferences to do that:
    altindexcolors=0
    chosentheme=../themes/plain_bluetheme.php
    I added those two lines to each users pref file, when they log in next they will have the plain blue theme. They can change it in the "Options" if they wish, but day one they get the plain blue theme.
    For new users that you create through Workgroup Manager, there is a file in that directory called default_pref. That file is a template Workgroup Manager uses when creating a new user in Squirrelmail, so just add the prefs you want in that file, and each new user gets those preferences automatically when they are created.
    There is a plugin that dose something similar called forced_prefs available at the Squirrelmail site, but if you force those prefs, users will not be able to change them if they want. It's also not real simple to use, at least for me. Documentation is pretty sparse as well.

  • What is the reason for the Red color for the swap values?

    Dear experts,
                         May I know why the swap values displyed while executing the ST02 T-code are in Red color?

    System performance tuning is continuous work. Once you will change the parameter then you need to monitor the system if you continuous getting Red in St02 then you need to again fine tune the parameters. So, it is a continuous improvement that happens over time. If you want to analyze it then you can check ST03n about how much load is there on the system and based on that you can change the parameter.
    Thanks
    Sunny

  • JTable: After one row is modified, the row should have red color background

    After one row is modified(using setValueAt()),
    I want the modified row to have red color background color.
    How can I do that? I tried.
    JTableInstance.setBackground( Color.RED);But it sets all the rows not the only modified row.

    import java.awt.*;
    import java.util.ArrayList;
    import javax.swing.*;
    import javax.swing.table.*;
    public class TableChangeTest extends JFrame {
        public TableChangeTest() {
            initComponents();
            renderer = new MyTableRenderer();
            table.setDefaultRenderer(String.class, renderer);
            int row = 0;
            table.setValueAt("test1",row,0);
            rowsChanged.add( row );
            row = 2;
            table.setValueAt("test2",row,1);
            rowsChanged.add( row );
        private void initComponents() {
            panel = new JPanel();
            scrollPane = new JScrollPane();
            table = new JTable();
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            setTitle("Table Change");
            panel.setLayout(new BorderLayout());
            table.setModel(new DefaultTableModel(
                    new Object [][] {
                        {"1", "a"},
                        {"2", "b"},
                        {"3", "c"},
                        {"4", "d"}
                    new String [] {
                "Title 1", "Title 2"
                Class[] types = new Class [] {
                    java.lang.String.class, java.lang.String.class
                public Class getColumnClass(int columnIndex) {
                    return types [columnIndex];
            scrollPane.setViewportView(table);
            panel.add(scrollPane, BorderLayout.CENTER);
            getContentPane().add(panel, BorderLayout.CENTER);
            Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
            setBounds((screenSize.width-357)/2, (screenSize.height-241)/2, 357, 241);
        public static void main(String args[]) {
            new TableChangeTest().setVisible(true);
        private JPanel panel;
        private JScrollPane scrollPane;
        private JTable table;
        private TableCellRenderer renderer;
        private ArrayList rowsChanged = new ArrayList();
        class MyTableRenderer extends DefaultTableCellRenderer {
            public Component getTableCellRendererComponent(
                    JTable table,
                    Object value,
                    boolean isSelected,
                    boolean hasFocus,
                    int row,
                    int column) {
                super.getTableCellRendererComponent(table,
                        value, isSelected, hasFocus, row, column);
                setBackground( Color.white );
                if( rowsChanged.contains(row) ) {
                    setBackground( Color.red );
                return this;
    }

  • Showing Qunatity in Red color

    Hi All,
    In account Dimension
    1. Quantity
    2. Each cost
    3. Tot sales
    In input schedule once i enter data then once i click on send data it's showing 'quantity' and 'Each Cost' in red color with brackets(that means a negative value).
    I want it as Positive value.
    How to resolve this issue ?
    Regards,
    Phanikumar

    Hi Phani Kumar,
    Whether a member will be displayed as positive or negative depends on the ACCTYPE property of the member.
    1. ACCTYPE of INC and AST will be negative in the database, but will be displayed as positive in the reports.
    2. ACCTYPE of EXP and LEQ will be positive in the database, but will be displayed as negative in the reports.
    So, you need to adjust the ACCTYPE of your accounts as per your requirement.
    Hope this helps.

  • Set Negative values in red color

    Hi, i want to set the negative values in the table in the red color.I have created the table dynamically.So i have created a context node called "ColorData" and in that i created a context attribute "grossSemantic". I have set the type of this attribute as "com.sap.ide.webdynpro.uielementdefinitions.TextViewSemanticColor" .And i have written the below code.
    But there is no effect at all. Where am i going wrong? Please suggest.
    String color = "ColorData";
    IPrivate<ViewName>.IColorDataNode colorNode = wdContext.nodeColorData();
    IPrivate<ViewName>.IColorDataElement colorElem = colorNode.createColorDataElement();
    for(int flag = 0; flag < wdContext.node<BapiNodeName>.size(); flag++){
    IPrivate<ViewName>.I<BapiNodeElement> tableElem = bapiNode.get<BapiElement>(flag);
    if(tableElem.get<ColumnName()>.signum() == -1){
    editor.bindDesign(color "." "grossSemantic");
    colorElem.setGrossSemantic(WDTextViewSemanticColor.NEGATIVE);
    column.setTableCellEditor(editor);
    Regards,
    Padmalatha.K

    Say the table data source is named "Rows".
    Add a calculated context attribute "color" of type TextViewSemanticColor to node "Rows" (or an 1:1 subnode if needed).
    Bind the table cell editor (TextView) property "semanticColor" to attribute "color".
    Implement calculated attribute as
    WDTextViewSemanticColor getRowsColor(..., IRowsElement element)
      return element.getSign() == -1 : WDTextViewSemanticColor.NEGATIVE : WDTextViewSemanticColor.STANDARD; 
    Armin

  • Red color for negative values with $ symbol in Excel

    Hi All,
    We have a custom XML Publisher Report developed using XML rtf template. There is a number field in that template and the field is number formatted with $. i.e. output will look like this.
    $100
    $200 ...
    the issue which we are facing is when that number field is having negative value, then it is displayed in red color.
    and the client dont want that red color to appear in excel.
    ex:
    -($100) is displayed in red color in the excel output. This should be displayed in black color.
    Can anyone help me on this..
    Thanks
    gtungala

    In excel, under format cells, under category -> Number, look under Negative Numbers to see if the selected option is a number format in red. I think selecting a regular format (in black) should fix the issue..
    Thanks!

  • PFCG - Users Tab - Red color

    Hi Team,
    we are facing a problem where in for a specific role in PFCG - the users tab is in red color and we had done a user compare and the result is user master record for the role was adjusted but still the color fpr the role is in RED COLOR.
    Could you pls let know how exactly we can change the color to green.
    Regds,
    Satyanarayana N.

    Please try following:
    1.      Start transaction PFUD.
    2.      Specify the roles that you want to use for the comparison.
    3.    Schedule or check job for the full comparison
    Here you can start report PFCG_TIME_DEPENDENCY by specifying the time when the job is to start. The overview displays the status of background jobs that have already been scheduled.
    If you schedule the report PFCG_TIME_DEPENDENCY daily before the start of business as a total comparison and it runs error-free, the authorization profiles in the user master are up-to-date every morning.
    If you choose this action, all four processes types are always included, regardless of your selection under Processing Type. To execute only certain processing types of the comparison as a background program (for example, with the aim of improving runtime behavior), choose Perform User Master Comparison and the desired processing types. Then choose Save, to schedule a variant of the program RHAUTUPD_NEW.
    ○       Performing the User Master Comparison
    With this action, you start the user master comparison in dialog for individual roles.
    regards,
    Rajan

  • Getting rid of red color cast?

    My photo has too much orange and red in it.
    In CS5, I created a new Color Balance Adjustment Layer.
    - I decreased the amount of Red within in the Shadows, Midtones and Highlights.
    - It seems like there was a bit too much blue so I decreased the amount Blue in the Shadows, Midtones and Highlights.
    1. It now seems like there is too much yellow. How do I get rid of the yellow without adding too much blue? Are there general guidelines for doing this?
    2. The steps I used are to color correct the image are:
    - fix colors using Color Balance Adjustment Layer
    - fix Levels
    - Sharpen image
    Are there any other basic edits I should consider?
    Thank you.

    Hello!
    First, I would use adjustment layers, so that I can tweak the results, and re-edit after a save (if I chose a file format that allows layers)
    If the image has areas that should be grey, I would use the neutral color eyedropper from a curves or levels adjustment layer.
    If the image has different lighting conditions in different zones, I would mask those areas, invert the mask, and re-apply another levels-curves from their eyedroppers, to adjust that other area.

  • Red color problems in LR 4.1

    Have LR 4.1, CS6, Windows 7, use AdobeRGB1998, PSD, color managed with Eye one display 2, RAW images.  Rarely take photos of red subjects, so have not seen this problem before now......wedding with 10 bridesmaids in "coral" dresses has uncovered a problem.  Am seeing difference in red colors within LR, from the Library to the Develop mode/views they are different..  When saving PSD to the web as sRBG, colors of red are garrish, not at all true to the original PSD doc.  Sending jpegs to Walgreens for my family shows very wrong colors, ranging from pink to orange to too-red.  Anyone else having these problems?

    Go into your develop panel and softproof one of these images for sRGB. Turn on the monitor and profile gamut warning. My guess is that the red color is outside both your monitor and sRGB. This will give rise to very large color shifts easily especially in highly saturated colors. The only thing you can do about it is to bring them back into gamut. There are many tutorials on the web on how to do this. One example is here: http://tv.adobe.com/watch/whats-new-in-lightroom-4/soft-proofing-images
    Or this excellent one from Andrew Rodney: http://digitaldog.net/files/LR4_softproof2.mov

  • Display Display value in Red Color in Pop Up List of value Item

    Dear All,
    i have created an Pop up List of Value item.I need to display Display value in Red Color in Pop Up List of value Item.
    What should i pass in HTML Form Element Attributes .I have try using
    style="font-color:red";That code.
    How can i display Display Value in Red Color.
    Thanks

    Is this what you are looking for?
    http://apex.oracle.com/pls/apex/f?p=42778:12
    If so..
    * Go to Shared Components -> Templates -> Select Type as "Popup List of Values"
    * Edit Popup LOV template
    * See the class name being used for div under Result Set section. In My case, its t1PopupBody
    * Under Page Attributes -> Page HTML Head section append following CSS
    <style>.t1PopupBody a{color:red;}</style>* Apply Changes
    If its not working, then inspect the pop-up lov with firebug and update CSS definition accordingly.
    Regards,
    Hari

  • How to print red color in plain paper?

    When printed on glossy papers, red color (in photo or text) looks great.
    When I print on non-photo, plain papers, red color came out brownish.
    I tried on premium ink jet papers, it does not print red but in brown color.
    How can I print red color in plain paper?

    When dealing with printing ink, R=100m+100y+0c+0k. What drives the color toward rust, maroon, and brown is the addition of c to the mix. That may be the result of the diffuse reflection of the uncoated paper surface, its absorb rate, the ink chemistry and – the light source. Since the easiest variable to test is the light source, look at that color using a source weak in blue emission, incandescent light, and watch the red shift. Remember also that the reflected color will never be as bright as paper it is printed on. Each ink film is a filter subtracting light from the paper reflection.  
    Shown above (with a mode change to RGB for the purpose of this display) is its version of 100 each of m+ y  and a patch with the unwanted c

  • Printing problem - HP Officejet Pro 8500 Wireless All-in-One Printer, Red color fads on 4th copy

    I have an HP HP Officejet Pro 8500 Wireless All-in-One Printer, and am trying to print 75 copies of a program for our event. After the first 5-6 pages the RED in my program starts to turn magenta. I have brand new HP ink, and am printing on HP Color Injet Paper. I have renectly replaced the Black/Yellow printhead (at least 6 months ago). At first when I cleaned the printheads, I could print 2 or 3 pages showing my RED color. Then turns back to magenta. When I received the test patterns after cleaning the print heads they are all perfect with no lines.
    What is going on and how can I fix it?
    This question was solved.
    View Solution.

    Hi TM1997,
    I understand you have an Officejet 8500 Wireless that is not printing red properly, it keeps turning to magenta. I'm sorry to hear this, but I will definitely do my best to help you!
    As I'm sure you saw, when replacing the black and yellow printhead, that there are two printheads in the Officejet 8500 and the second one controls the magenta and cyan. I would suggest that you first have a look through this Troubleshooting Print Quality Issues document. You can also manually clean your printhead with the steps in this 'The Following Printhead Appears to be Missing or Damaged' or 'The Following Printhead has a Problem... document.
    Hope this helps, have a great day!!
    Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    **MissTeriLynn**
    I work on behalf of HP

Maybe you are looking for

  • Need to store variables from multi-select in Dashboard Prompt.

    I am using a Dashboard Prompt with a Drop-down List Control. The user selected value from this Drop-down List Control is stored in a Presentation Variable. I would like to use a Multi-Select Prompt and store all multi-select values in a variable stri

  • Partial goods receipt for PO with multiple line items

    Hello All, While doing MIGO, for a PO with multiple line items, if one line item is having error, will we be able to go ahead with goods receipt? Or entire material document is blocked for doing MIGO? We will be doing a development - in case if there

  • Transport-changing package owner

    Hi Gurus, I am facing an issue in BW system. After changing transport layer for particular package , Request is going into corrections and repairs. Since this is not the original system for the object, also it was prompting for local workbench reques

  • Report Painter Output at Center

    Dear Techis, From report painter output i m printing thru spool request i m getting output as at left side but i want it to come as center , so anybody pls tell me where i have to make setting at report painter or somewhere else.. Pls do the needful

  • IPhone 5 unable to connect to internet or use web-based apps like Facebook or Tumblr

    About two days ago, shortly after using my iPhone 5 to upload a picture of my son eating a donut to Facebook, I seem to have lost all ability to connect to the internet or update content on web-based apps like Facebook or Tumblr.  I tried to restore