Alternate color in two successive line

i would like to have a line in a color and the next in an other color.
for example, the first line in blue, the second in yellow, the third in blue etc...
in order to alternate the colors between each record (line) on my report.
thanks

Hi!
/* Purpose: Set a color to every 3 rows in the report */
if ( MOD(:cs_rowct,6) <= 3 ) and (MOD(:cs_rowct,6)<> 0 ) then
color change.
end if
Above :cs_rowct is summary col in data model
based on one of your col(field) and reset at
report level and count at report level
Also you can change MOD condition depending on you req.
Nirali
null

Similar Messages

  • Crstal Report alternate color Help?

    Hello Friends,
    I have a crystal report, Crystal Report contains a Table and I change the alternate color of the Rows using the following formula:
    if RecordNumber mod 2 = 0 then crSilver else crNoColor
    I want the alternate color to be within the Table, but the alternate color is applied outside the Table also. How to do it?
    Thanks.

    If I understand correctly, the entire background of the details section gets the colour, not just the area within the verticle lines.  If so, then two possibilities, don't use verticle lines so that there is no border.
    If this solution is not useful, then while I haven't tried this, you might be able to use an image, set up the size you need (assuming the details section does not extend vertically) and set the conditional suppression to suppress using a similar mod formula.
    Hope this helps
    rasinc
    Edited by: rasinc on May 3, 2009 5:25 AM

  • Alternate color to the rows with sorting

    I have a table which has alternate color to the rows.one row in white and other in blue.when sorting is used, the blue-highlighted lines on the table are randomely re-located. They should not be impacted by the sorting.But they are getting effected.Is it possible to give alternate color to the rows with sorting?if yes,how.

    Go to Service.sap.com and follow the path > Problem Solving > Create Customer Messages. Choose a System and write a Message.
    raising an OSS message

  • In ALV, how do u get alternate colors in output

    In ALV, how do u get alternate colors in output

    For a non OO ALV...
    TYPE-POOLS:  slis.
    DATA:   xfield    TYPE slis_t_fieldcat_alv,
    gs_layout TYPE slis_layout_alv.
    In your data structure you have tu put a field for the color, example:
    DATA: BEGIN OF xdata OCCURS 1.
    DATA:   ebeln          LIKE ekko-ebeln,
            name1          LIKE lfa1-name1,
            txz01          LIKE ekpo-txz01,
            color_line(4)  TYPE c,           " <==== this is the color line
    END OF xdata.
    You have create a form for the layout like this:
    FORM init_layout.
      gs_layout-info_fieldname = 'COLOR_LINE'. "<==the name of de field of the structure
    ENDFORM.
    Perform the init_layout in the initialization.
    Your call alv function, have to be like this:
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_buffer_active         = 'X'
          i_callback_program      = 'YOUR_PROGRAM'
          i_callback_user_command = 'USER_COMMAND'
          is_layout                = gs_layout
          it_fieldcat              = xfield[]
        TABLES
          t_outtab                 = xdata
        EXCEPTIONS
          program_error           = 1
          OTHERS                  = 2.

  • Alternate Color Space

    We are running Creative Suite 6 on our macs here.  When you create a new spot color from the library the alternate color space is in LAB.  We work at a printing company and this doesn't do us very much good.  Is it possible to change this to be CMYK?
    Thanks for your help!

    This forum doesn't get all that much traffic. If you have applications specific questions ask in those forums.
    The answer may be different for the two apps.
    Bob

  • Alternate colors for Analysis grid in workbook

    hi all,
    I am wokring on Bex 7.0 , Can anyone guide me how to acheive the alternate colors in the  data area of Analysis grid in a workbook.This property is available in web items but i am not able to do to with the workbooks.And also pls I need an example how we can work with themes in workbooks ,also creating the new themes.
    Thank you.
    Regards
    Mandha
    Edited by: kranthi mandha on Jan 3, 2008 12:57 PM

    Hi,
    For Apply Formatting :
    Deselect this checkbox to switch off the display of formatting, including icons and background color. Displaying formatting during navigation can be time consuming. You may therefore want to switch if off for performance reasons. An example is if you are navigating to achieve a result that you want to export to a text-based file.Scroll bars and scrolling icons are not affected by this setting.
    SAP Notes:
    Customizing Default Workbooks
    You can format a workbook using all the Microsoft Excel functions. The following options are available, for example:
    &#9679;      Add a background graphic to the worksheet
    &#9679;      Add additional worksheets with design items or charts
    &#9679;      Embed a VBA macro that allows you to easily access the BEx Analyzer object model to enhance your workbook with BEx-specific custom VBA code
    &#9679;      Format cells outside of design items with text, borders, and colors
    &#9679;      Add a logo to a particular cell (outside the range of a design item)
    You can also format a workbook using the BEx Analyzer design functions:
    &#9679;      Add or remove design items that you want to display by default
    &#9679;      Change the locations of design items
    &#9679;      Apply a BEx theme (see Workbook Settings)
    Cells belonging to design items themselves use a standard formatting.  Using Microsoft Excel functions, you can manually format these cells in analysis mode. For example, you can select a row of results in the analysis grid and set the text to bold. However, when you refresh the query, the standard formatting for the query cells is restored and the settings for these cells are lost.
    You can permanently format design item cells in two ways:
    &#9679;        Using BEx themes, you can select different formatting themes, including formatting for design items. See Workbook Settings
    &#9679;        With certain types of queries, you can work in formula mode, which gives you complete freedom to format the cells as required. See Working in Formula Mode.
    For example, your current default workbook consists of a background graphic and the Navigation Pane and Analysis Grid design items. You work with different queries in which exceptions were defined. You want to be able to display exceptions easily when you open queries in the BEx Analyzer. You want to display a background graphic that contains an exception alert symbol. You proceed as follows:
    &#9679;        Create a new blank workbook using Microsoft Excel function New.
    &#9679;        In analysis mode in the BEx Analyzer, choose Format ® Sheet ® Background in the Microsoft Excel menu, and select a different background graphic.
    &#9679;        Use the BEx Analyzer design toolbar to insert a List of Exceptions design item. If you were not already connected to a system, you are prompted to connect now.
    &#9679;        Insert an Analysis Grid design item to display the query results.
    &#9679;        Choose Save ® Save Workbook As in the analysis toolbar, and save the workbook to the server.
    &#9679;        Close the workbook.
    &#9679;        Choose Open ® Open Workbook and open the workbook from the server. This is a prerequisite to be able to define workbooks as default workbooks.
    &#9679;        In the analysis toolbar, choose Global Settings, and in the Current Default Workbook section, choose Use Current. Your customized workbook is now the default workbook.
    &#9679;        Choose Open ® Open Query and select a query.
    Your query now opens in the workbook you have defined as the default.  The Exception design item is already embedded in your workbook and your custom background graphic is displayed
    Themes
    BEx themes, based on NetWeaver Portal styles, are shared services across the Business Explorer suite. In the BEx Analyzer, they are delivered as a set of Microsoft Excel style definitions for your workbook. Themes provide formatting information such as background color, font, and font size. To display the set of style definitions for a workbook, choose Format  ® Style from the Microsoft Excel menu.  The styles provided by the Business Explorer are prefixed with SAPBEX*.
    Themes are content objects that are stored on the server and that you can choose to activate.  Themes are stylesheets in which you can make important changes to a theme. All workbooks in which the theme is used are updated accordingly. 
    The following settings are available on the Themes tab page:
    Current Theme
    The list of available BEx themes is displayed. The BEx theme that is currently applied to your workbook, if any, is selected.
    New/Delete/Apply/Save
    If the following special authorization is assigned to your user name, you can change and save themes on the server: AUTHORITY-CHECK OBJECT 'S_RS_TOOLS' ID 'COMMAND'  FIELD 'THEMES'.
    If you have this authorization, these buttons appear:
    &#9679;      Create a new theme by choosing New.
    &#9679;      Select a theme from the Current Theme list, and choose Delete to delete it. This deletes your theme locally.
    &#9679;      Select a theme from the Current Theme list, and choose Apply to apply currently configured styles to it. When you do this, the BEx Analyzer reads the Microsoft Excel style definitions of all the styles in the workbook that are prefixed with SAPBEX* and stores them in the selected theme. This allows you to edit the styles in Microsoft Excel and then create a theme with these customized styles.
    &#9679;      To save all the themes to the server, choose Save.
    Reapply Theme Before Rendering
    Since BEx themes are saved on the server, they can be changed on the back end. Select this indicator if you want to retrieve the most up-to-date definition of the style from the server and apply it again.
    Apply New Styles
    Select this indicator to update the current workbook with any style that has been added to the theme on the server since the theme was originally applied. If, for example, new styles have been added to a theme during a patch release, you can retrieve them from the server with this option.
    Do Not Use a Theme
    Select this indicator to stop using the selected theme in your workbook.
    pls chk this link:
    http://help.sap.com/saphelp_nw70/helpdata/en/85/1321d0b7864766b5208a0b221a7608/frameset.htm
    *pls assign points,if info is useful*
    Regards
    CSM reddy

  • Change the color of the outer line of a shape

    Hello I'm trying to create a rectangle with a red border and no inside fill. It's only to highlight some text of a bank form.
    I know i have to right click the layer and choose blending options and stroke. But I've tried to change the color so many times and no matter what I do, the outer line remains gray and with rounded corners.
    I want the corners of the rectangle to be squared, not rounded but I'm having a hard time changing this.
    Please help
    I'm using Photoshop CS3
    thank you
    Could anyone please show a picture of where to change the color of the outer line? I've tried everything.

    Hi,
    With Ps CS3, you'll probably want to define a Layer Style for a Stroke and then use that with the Square Shape Layers.
    This is a Stroke of 4 px, 'Centered' (so a very slight corner rounding on the outside edge. 'Inside' will give you square corners for both inside and outside edges). To change the color of the stroke, go to Layer> Layer Style> Stroke and change the color by clicking on the color bar.
    regards,
    steve 

  • Using PHP to generate images in alternate colors

    I have a PNG image of a black silhouette graphic with
    softened edges against a transparent background.
    Can I use PHP to generate this image in alternate colors
    (allowing the black graphic to be displayed in a color other than
    black)?

    AngryCloud posted in macromedia.dreamweaver:
    > I have a PNG image of a black silhouette graphic with
    softened
    > edges against a transparent background.
    >
    > Can I use PHP to generate this image in alternate colors
    > (allowing the black graphic to be displayed in a color
    other than
    > black)?
    I have no experience with this, but I was just poking around
    in the GD
    references and found a comment on imagefill() that might
    help:
    http://us.php.net/manual/en/function.imagefill.php
    Comment:
    http://us.php.net/manual/en/function.imagefill.php#81873
    Or you may need to work with some of the other alpha
    functions.
    Mark A. Boyd
    Keep-On-Learnin' :)

  • My sales order is having two schedule lines

    Hi sap gurus,
    my sales order quantity is 36 pcs.
    the same sales order has two schedule lines in that the material availability date is 05/02/2010 for quantity 22 and for second is 15/02/2010 quantity is for remaining 14 quantities.
    so here delivery can be created for quantity 22 becasue the MAD is on 05/02/2010.  upto here no issues.
    here in my production server user is able to create only one delivery document for total 36 quantity which includes the 14 quantity also for which the MAD is at a far date that is 15/02/2010.
    (2).  i opened the delivery there two picking requests has been generated one on 04/02/2010 & for 07/02/2010.  how it is possible by the system.
    how is it possible for a material which is available in the future date that is 15/02/2010.
    can any help on this.
    regards,
    balaja

    Hi,
    Though the MAD is different, same delivery is possible for the two Schedule lines.
    But for the picking request creation for the future MAD (15/02/2009), please check your sales order. That is, go to VA02, and in to the schedule line level and then to the Shipping button and look for the various dates...
    Regards

  • Two phone lines on the same SIM card - but which one is active?

    I have two phone lines on my SIM card. Of course, only one of them can be active at one time. The switch between them is done through a SIM application which is loaded on the SIM card (supplied by the carrier)
    My question is that, sometimes I forget which line is the active one. Is there any way of seeing my active phone line?
    All my prior not-so-smartphones showed Line1 or Line2 in the home screen. But i could not find if iphone does this.
    P.S. settings-phone-my number does not answer this question, as it always displays the phone number that the iphone is registered to.
    Thanks

    Your husband needs to put his sim in an iPhone & turn iMessage off to fix this. If your husband setup a support profile with Apple, he can also login to that support profile & remove the phone.

  • Can you have two phone lines?

    I was just wondering if you can have two phone lines going to the same house one for home and one for business?
    If yes how would they do it? Just connect another line from the telephone graph to the house?
    Many Thanks Luke

    You can have as many phone lines to your house as you like: each pays rental.
    I work from home so have two.
    One is for phone calls only, t'other has my broadband and BTV on it.
    The phone calls only has unlimited 24/7 calls; the second comes with after 1900-0700 and free weekend calls.
    Shame BT are phasing out BT BB Talk; under that regime every customer has two phone number/lines on one copper/fibre connection
    AQ.
    "Welcome to Royston Vasey - You'll never leave."

  • Can I have two phone lines on my iPhone 4G (one for biz and one for personal calls)?

    can I have two phone lines on my iPhone 4G (one for biz and one for personal calls)?

    FWIW, from my experience I was not able to get this to work.  When I conected a second bluetooth audio device the first device disconnected.

  • How can i dynamically vary the color of one graph line

    I was looking on the developer zone and noticed several people are looking for a way to change the color of one graph line. Simplest case I would like to know: a graph is running, then you press a button and from that point on the color of the graph changes, but doesnt change the old data line color. THis way the line will consist of different colors.
    The property node changes the whole line, and the line is always just one color. It should be possible to make the line consist of different color sections, anyone know how?

    The application is actually not as slow as it seemed, i had some settings set wrong (anti aliasing in plot, and some functions in advanced, when you right click on the graph)
    Especially unchecking the anti-aliasing makes it much faster
    Also, just plotting point and not a line, or alternatively, changing the interpolation makes it faster.
    Anyway, the attached files do not rely on processor so much anymore, see for yourself
    Attachments:
    multicolor_looking_plot.vi ‏99 KB
    multicolor_looking_plot_2.vi ‏105 KB
    multicolor_looking_plot_3_truncated_array.vi ‏99 KB

  • BAPI_ACC_DOCUMENT_POST tax with two vendor line

    Hi ,
    I have a problem account tax parameter of Bapi_acc_document_post . I have to send two vendor lines , one of them with special gl indicator and one of them is tax related with zero amount . I fill account tax parameter properly but bapi doesnt not reflect tax item to bset table.
    Can you help me for fill BSET table
    Lets simulate record.
    account_payable-ITEMNO_ACC = 1.
    account_payable-vendor = 1000.
    account_payable-SP_GL_IND =  'R'.
    account_payable-TAX_CODE = 'I0'.
    account_payable-ITEMNO_ACC = 2.
    account_payable-vendor = 1000.
    ACCOUNTTAX-ITEMNO_ACC                     0000000003
    ACCOUNTTAX-GL_ACCOUNT                     1910101004
    ACCOUNTTAX-ACCT_KEY                       VST
    ACCOUNTTAX-TAX_CODE                       I0
    ACCOUNTTAX-ITEMNO_TAX                     000002
    CURRENCYAMOUNT-ITEMNO_ACC                     0000000003
    CURRENCYAMOUNT-CURR_TYPE                      00
    CURRENCYAMOUNT-CURRENCY                       USD
    CURRENCYAMOUNT-AMT_BASE                       1.000,0000
    CURRENCYAMOUNT-ITEMNO_ACC                     0000000002
    CURRENCYAMOUNT-CURR_TYPE                      00
    CURRENCYAMOUNT-CURRENCY                       USD
    CURRENCYAMOUNT-AMT_DOCCUR                     1.000,0000
    CURRENCYAMOUNT-AMT_BASE                       1.000,0000
    CURRENCYAMOUNT-DISC_BASE                      1.000,0000
    CURRENCYAMOUNT-ITEMNO_ACC                     0000000001
    CURRENCYAMOUNT-CURR_TYPE                      00
    CURRENCYAMOUNT-CURRENCY                       USD
    CURRENCYAMOUNT-AMT_DOCCUR                     1.000,0000-
    CURRENCYAMOUNT-AMT_BASE                       1.000,0000-
    CURRENCYAMOUNT-DISC_BASE                      1.000,0000-

    Hi,
    Check the bellow link which may help in providing you solution.
    Sample Code: BAPI_ACC_DOCUMENT_POST for FB70
    <link to blocked site removed by moderator>
    Regards,
    Goutam Kolluru.
    Edited by: Thomas Zloch on Feb 6, 2012 8:11 PM

  • Two T1 lines and multilink PPP question

    We are getting an additional full T1 line from our ISP for failover and increased bandwith. Each T1 line will go to different NOCs. We decided on multilink ppp (MLPPP). Our ISP told us that traffic will be transmitted on both T1 lines. Packets from one NOC will go to the other NOC, reassembled and send to WAN. In the event one NOC fails, all traffic will go through the other one.
    I understand two MLPPP lines must terminate on a single router at a single location. Is what I mentioned above possible?
    I also have a 2651XM router with 256MB of memory. I need two seperate WIC CSU/DSU integrated T1 modules. Can someone recommend a model?
    Thanks

    The most common implementation is indeed MLPPP which terminates multiple PPP links on the same end devices. There is also an implementation of multi-chassis multilink which can terminate ppp links on separate chassis. I guess that is is possible that the chassis could be in separate NOCs. I have no experience with this implementation where the participating routers are in different NOCs, but I assume that it could work.
    HTH
    Rick

Maybe you are looking for

  • Trackpad issues on Macbook Pro, new June 2009

    I have been unable to resolve a trackpad issue that began this afternoon on my Macbook Pro. The computer was new in June. I was playing an online computer game, and it seemed that drag was locked on even though I hadn't changed any settings. Movement

  • IMPORT_TABLE_STATS - Is this a Bug in 9i ?

    Oracle Database 9.2.0.1.0 on REHL 8.0 exec DBMS_STATS.import_table_stats ('scott', 'ABC_XYZ', stattab =>'savestats' );The above statement executed successfully without any error. The funny part is that there is no table with name 'ABC_XYZ' in SCOTT s

  • Error Message for Date Format

    Hi Friends, Could you guys help me with sample code in java script to throw error message if the user enter the wrong date format( my requirements of date format like yyyymmdd)in BSP. Regards CSM Reddy

  • Adobe Flash CC 2014 Code Hint - Unable to build code hint cache...

    Hello! I just downloaded and tried to use Flash CC 2014. Code Hinting doesn't work! So I tried some way to bring it back. And the following solution worked: 1. Quit Flash 2. Delete Code Hint Folder: C:\Users\<user>\AppData\Local\Adobe\Flash CC 2014\e

  • Oracle 8.1.7 Documentation

    Why does the download stop at 99% and then display in Task Manager "not responding"? Michael Eustace [email protected]