Is it possible to make a cell disabled based on value in WD4A

This is a question related to Webdynpro in ABAP programming. I am trying to set a particular cell in my ALV(in WD4A) to non-editable based on the value of that particular cell. Is this possible to do this programmatically?
If anybody has done this, please share info.
Thanks,
Padmaja

Then ask this question in the correct forum.

Similar Messages

  • Is it possible to make a cell change colour of a period of time with rules?

    Is it possible to make a cell change colour of a period of time? for example
    Date
    Company
    Pick Up
    Destination
    Total
    Paid
    Sat, 5 Apr 2014
    COMPANY NAME
    PICK UP POINT
    THE DESTINATION
    £100.00
    FALSE
    Is it possible for B7 to change colour if 2 weeks have passed from the date in B1 and Paid is still FALSE and green if it's TRUE?
    Many thanks.

    Hi NeoNapster,
    This may be a start. Conditional Highlighting of a cell that depends upon the values in other cells can be tricky, but we can work on that.
    Date
    Company
    Pick Up
    Destination
    Total
    Weeks
    Paid?
    OK?
    Sat 5 Apr 2014
    COMPANY NAME
    PICK UP POINT
    THE DESTINATION
    £100.00
    29.0
    FALSE
    Overdue by 29.0 weeks
    Sat 4 Oct 2014
    COMPANY NAME
    PICK UP POINT
    THE DESTINATION
    £100.00
    3.0
    TRUE
    OK
    Wed 1 Oct 2014
    COMPANY NAME
    PICK UP POINT
    THE DESTINATION
    £100.00
    3.4
    FALSE
    Overdue by 3.4 weeks
    Wed 8 Oct 2014
    COMPANY NAME
    PICK UP POINT
    THE DESTINATION
    £100.00
    2.4
    FALSE
    Overdue by 2.4 weeks
    Mon 20 Oct 2014
    COMPANY NAME
    PICK UP POINT
    THE DESTINATION
    £100.00
    0.7
    FALSE
    OK
    Sat 25 Oct 2014
    COMPANY NAME
    PICK UP POINT
    THE DESTINATION
    £100.00
    0.0
    FALSE
    OK
    Table with one Header Row
    Formula in F2 (Weeks) and Fill Down
    =DUR2WEEKS(TODAY()−A2)
    That shows the Duration in weeks from the Date in column A until TODAY. You can hide this column.
    Column G can contain the text TRUE or FALSE or could be checkboxes.
    Formula in H2 and Fill Down
    =IF(G2,"OK",IF(F2>2,"Overdue by "&F2&" weeks","OK"))
    IF a cell in G is TRUE, then insert "OK". No need for any more checking.
    Else IF a cell in F is greater than 2, then insert "Overdue by" and the number of weeks
    Else insert "OK" (the invoice is less than 2 weeks old).
    Conditional Highlighting of the Body Cells in column H. Select the cells.
    Add a Rule...
    text is
    OK
    Green Fill
    Add a Rule...
    text is not
    OK
    Red Fill.
    Column H with the Conditional Highlighting rules:
    OK?
    Overdue by 29.0 weeks
    OK
    Overdue by 3.4 weeks
    Overdue by 2.4 weeks
    OK
    OK
    (And I have just discovered that colours do paste into this forum ).
    Regards,
    Ian.

  • ALV Grid display cell color based on value ( Function Module ALV )

    Hi,
    I want to color the cell based on value eg ( Green = Green color, Red = Red color, Amber = Yello color ).
    Each and every cell is editable after displaying on screen. once the user clicks update button the contents has to be saved to a custom table.
    Can anyone help?
    Advance thanks

    Hi,
    <li>To get color for the cell, you need to set EMPHASIZE field with below information while building fieldcatalog.
    emphasize (highlight columns in color)
    value set: SPACE, 'X' or 'Cxyz' (x:'1'-'9'; y,z: '0'=off '1'=on)
    'X' = column is colored with the default column highlight color.
    'Cxyz' = column is colored with a coded color:
    C: Color (coding must begin with C)
    x: color number
    y: bold
    z: inverse
    <li> To edit the fields, you need to set EDIT = 'X' or INPUT= 'X' . Try those .
    wa_fieldcata-input = 'X'.
    <li>you need to set PF status , to do your remaining requirement.
    <li>For any help, you have to search the forum .
    Thanks
    Venkat.O

  • How to make buttons as disable based on radio button selection in .htm

    Hi
    I have two radio buttons. So i want that when i select one radio button other buttons should become disable in
    .htm in crm webui.
    Thanx,
    Nawal kishore.

    I am not sure why u need this .. but if you disable the radio button, user won't be able to change the radio buttons any more!!!
    You can do it in this way.
    1. go to the radio button attribute of the context node ..
    if get_p_xxxx method is present then modify that to include the below code. If not present create the method. see any standard method
    CASE iv_property.
       WHEN if_bsp_wd_model_setter_getter=>fp_server_event.
          rv_value = 'selected'. "remember case
    endcase.
    2. create a event with the name 'selected'. "" case is important
    3. check in do_handle_event if the event is created or not..." if there is not event added in that method, you need to add your method name there...
    4. set some flag in the event method which you have to access from the get_i_XXX method(XXX is the radio button attribute).
    depending on the flag you make it disable.

  • How to make a cell populate the same as other cells mac numbers

    does anyone know if theres a command where I can make a cell be the same value as another cell? so i change one cell and it populates the same in others. Thanks!

    Hi appleryan,
    =A1
    in any cell will bring the value of A1 into that cell.
    quinn

  • How to use any cell as an static value

    Hello,
    I don't know if it is possible to use any cell as an static value, same as $ in excel, E$2$.
    I need to divide all the values of a table with a unique value of a cell. In excel is when you put $E$2, this make a cell an static value.
    This is possible en Web Intelligence?
    Best Regards
    SU

    Hello Srivatsa,
    Thanks for your response. An example could be the sum and divide by the sum (to calculate participation) of a table.
    2
    2
    3
    S=7
    Then I want to divide 2 by 7, 2 by 7 and 3 by 7. The Sum (in this case 7) is the static value, how can I use it for operate all the registries?
    To have,
    0.29
    0.29
    0.43
    Thanks & Regards
    SU

  • Is it possible to make an OSB Proxy service offline/online based on BS

    JMS QUEUE
    |
    |_____ Proxy Service <-------->Business Service <---------> External System URL
    I have a configuration as shown above.
    There is a way to make the Business Service offline/online based on the External system URL being offline/online by setting the
    Business service-> Operational Settings->Offline Endpoint URIs with a timesatmp.
    Is it possible to make the state of the proxy service to enabled/disabled based on this state of BS based on external enpoint URI?
    This is a requirement such that the messages in the JMS queue doesnot get lost or consumed when the external system is offline.
    Thanks in Advance!

    I have thought about this. There are some problems here....
    I cannot use the same proxy to invoke the java callout and then based on the code or handler disable it, since
    1) i would have no way to enable back the proxy again.
    2) Also there is some amount of message loss.
    So i will have to use another proxy to do the same, but in this case
    1) what would be the trigger to this proxy?
    2) And how often do i invoke the java callout to see if the URI is up or not? (wouldnt that affect the performance?)
    I am just wondering why did they give an offline URI option in the business service and no similar option in the proxy service, Any Idea?
    Thanks

  • How do I make a cell equal a certain degree of a 360° zodiac point?

    I need to make a cell equal a certain degree on a 360° zodiac point when typing a number from 0-359. For example, if I would put in the number "10" in a cell it would give me "10 Aries" as a result in the cell. Doing 360 "if, then" statements is not desirable, and I don't think it is possible in Numbers. Usually spreadsheet programs have a limit on the number of "if, then" statements that can be "nested" in a cell. One friend recommended "concatenating," but this sort of makes my head spin at the moment. Any help would be appreciated. Below are some "if, then" statements that I put into Microsoft Excel before it said I could not put in anymore.
    =IF(OR(D1=0),"0 Aries",IF(OR(D1=1),"1 Aries",IF(OR(D1=2),"2 Aries",IF(OR(D1=3),"3 Aries",IF(OR(D1=4),"4 Aries",IF(OR(D1=5),"5 Aries",IF(OR(D1=6),"6 Aries",IF(OR(D1=7),"7 Aries",IF(OR(D1=8),"8 Aries",IF(OR(D1=9),"9 Aries",IF(OR(D1=10),"10 Aries",IF(OR(D1=11),"11 Aries",IF(OR(D1=12),"12 Aries",IF(OR(D1=13),"13 Aries",IF(OR(D1=14),"14 Aries",IF(OR(D1=15),"15 Aries",IF(OR(D1=16),"16 Aries",IF(OR(D1=17),"17 Aries",IF(OR(D1=18),"18 Aries",IF(OR(D1=19),"19 Aries",IF(OR(D1=20),"20 Aries",IF(OR(D1=21),"21 Aries",IF(OR(D1=22),"22 Aries",IF(OR(D1=23),"23 Aries",IF(OR(D1=24),"24 Aries",IF(OR(D1=25),"25 Aries",IF(OR(D1=26),"26 Aries",IF(OR(D1=27),"27 Aries",IF(OR(D1=28),"28 Aries",IF(OR(D1=29),"29 Aries",IF(OR(D1=29),"29 Aries",IF(OR(D1=30),"0 Taurus",IF(OR(D1=31),"1 Taurus",IF(OR(D1=32),"2 Taurus",IF(OR(D1=33),"3 Taurus",IF(OR(D1=34),"4 Taurus",IF(OR(D1=35),"5 Taurus",IF(OR(D1=36),"6 Taurus",IF(OR(D1=37),"7 Taurus",IF(OR(D1=38),"8 Taurus",IF(OR(D1=39),"9 Taurus",IF(OR(D1=40),"10 Taurus",IF(OR(D1=41),"11 Taurus",IF(OR(D1=42),"12 Taurus",IF(OR(D1=43),"13 Taurus",IF(OR(D1=44),"14 Taurus",IF(OR(D1=45),"15 Taurus",IF(OR(D1=46),"16 Taurus",IF(OR(D1=47),"17 Taurus",IF(OR(D1=48),"18 Taurus",IF(OR(D1=49),"19 Taurus",IF(OR(D1=50),"20 Taurus",IF(OR(D1=51),"21 Taurus",IF(OR(D1=52),"22 Taurus",IF(OR(D1=53),"23 Taurus",IF(OR(D1=54),"24 Taurus",IF(OR(D1=55),"25 Taurus",IF(OR(D1=56),"26 Taurus",IF(OR(D1=57),"27 Taurus",IF(OR(D1=58),"28 Taurus",IF(OR(D1=59),"29 Taurus",IF(OR(D1=60),"0 Gemini",IF(OR(D1=61),"1 Gemini",IF(OR(D1=62),"2 Gemini"))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

    Hi Mike,
    The first thing I noticed in your formula was the multiple OR() statements with a single argument.
    =IF(OR(D1=0),"0 Aries"
    OR(condition1,condition2,...) returns TRUE if any of the arguments is TRUE. With only one condition, it returns TRUE if D1=0 and FALSE if D1 contains any value except 0. The bare boolean statement D1=1 returns the same results with the same conditions.
    Although it's not too difficult to improve the efficiency of the formula, I would drop IF and use a little bit of math and the CHOOSE function (plus some concatenation) for what you want:
    From your formula, I gather each of the houses occupies a 30° sector, starting at 0, 30, 60, 90, etc. with "0 housename" at each of those values.
    To simplify the formulas I've done the calculations in three steps:
    A value in the range 0 to 359 is entered in D2.
    E2 is an intermediate cell that calculates the Quotient of that value divided by 30, then adds 1 to the result.
    =QUOTIENT(D2,30)+1
    This gives an index number that tells which house (1=Aries, 2=Taurus, 3=Gemini, etc.) that Zodiac point lies in.
    F2 is a second intermediate cell that calculates the remainder of the value in D2 divided by 30, the number appended before the name of the house.
    =MOD(D2,30)
    G2 choses the name by its position in a list of choices, basing the choice on the index number calculated in E2, then concatenates the number calculated in F2, a single space, and the name returned by CHOOSE into a single text string and returns that string to the cell.
    =F2&" "&CHOOSE(QUOTIENT(D2,30)+1,"Aries","Taurus","Gemini","3","4","5","6","7","8","9 ","10","11","12")
    To save space,here (and to avoid having to look up the rest of the Zodiac signs and their order ), I've used numbers in place of the rest of the names.
    The separate parts may be combined into a single formula:
    =MOD(D2,30)&" "&CHOOSE(E2,"Aries","Taurus","Gemini","3","4","5","6","7","8","9","10","11","")
    For details (and further examples) see the descriptions of each of these functions in the iWork Formulas and Functions User Guide. The guide, and the equally useful Numbers '09 User Guide, may be downloaded using the Application menu (in Numbers, the "Numbers" menu) items with those names.
    Regards,
    Barry

  • Is it possible to make a fillable form have variable fields - so if you select a radio button it triggers a different form field to be seen depending on which radio button is selected??

    Is it possible to make a fillable form have variable fields - so if you select a radio button it triggers a different form field to be seen depending on which radio button is selected??

    Yes, one needs to use some custom JavaScript code to control the other fields' properties.
    Disabling (graying-out) Form Fields by Thom Parker

  • Portege R600 - Is it possible to make a call with the SIM?

    Hi,
    I wonder if its possible to use the Wireless connection manager 5 and to make or receive a call?

    Hi,
    I see that nobody answered so i will try to explain what i meant -
    Is it possible to make audio call with the Wireless Manager by the GSM modem module?
    I succeed to send SMS and to connect to HSPA data services but i dont find any reason why i can not connect to the GSM and make a call.
    I have Portege R600 model PPR61E-01C00NG3
    I even succeed to use the GPS that probably installed in the GSM/HSPA modem (wireless manager 5).
    If anyone can explain how and if it possible to make a call please send your reply ... i wnat to use the laptop with BT instead of cell phone ....
    Thanks
    Yan

  • Is it possible to make an alert message.

    Hi,
    Anyone knows if it Is possible to make an alert-message that pops up ( f.e as a little window) on a specific day to remember me of something I have to do that day?
    Would be handy.
    Is this possible with Tiger or is there a third party application that does the trick?
    Thanks in advance.

    Try a free widget called quikAlert
    http://www.apple.com/downloads/dashboard/business/qwikalert.html
    Regards
    TD

  • Is it possible to make a copy of the Leopard install DVD?

    Is it possible to make a copy of the Leopard install DVD? If so, is there a special way this has to be done? I just found out that we needed to use the Leopard install DVD to recover a complete backup from Time Machine after a recent hard drive failure. We have the family pack of Leopard, so I would like to keep the original at home and send a copy when my daughter goes off to college in case she needs to recover again. Her machine was originally a Tiger MacBook, so those install disks will not work. If it is not possible to copy the DVD, is there a way to create a bootable utility to do a time machine recovery?

    This half-solved my problem. I have had no problems creating a backup copy for my intel based computers, but non-intel based computers are problematic; a G5 powermac tower and a G4 Powerbook. Both with super drives for single density burning. Both have Leopard running, installed from an install disc purchased from Apple. However, neither will mount the copy, but intel based computers will. have burnt/burned with both toast 9 and Disc Utility. Discs won't mount and are "spit out" by the drive.
    Power Mac G5 OS X: 10.5.4
    Model Identifier: PowerMac7,3
    Processor Name: PowerPC G5 (3.0)
    Processor Speed: 2 GHz
    Number Of CPUs: 2
    L2 Cache (per CPU): 512 KB
    Memory: 1.5 GB
    Bus Speed: 1 GHz
    Boot ROM Version: 5.1.8f7
    Any thoughts?
    -Jim

  • I am trying to find out if I can change a setting of the calendar in my iPhone.   When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change? SS

    I am trying to find out if I can change a setting of the calendar in my iPhone. 
    When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change?

    Hello SMEvans32
    You can use iCloud to share the Calendar, that way she will always be up to date on that particular section of your work calendar. If you want to use iCloud, I would recommend backing up so you have a safe copy of your data.
    iCloud: Calendar sharing overview
    http://support.apple.com/kb/PH2689
    iCloud Setup
    http://www.apple.com/icloud/setup/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Top-Level Navigation Bar - Is it possible to make it 3 levels?

    Dear Portal Experts,
    Could someone please advise if it is possible to make the Top-Level Navigation Bar show more than 2 menu levels?  I looked at the document and it said we can only have 1 or 2 levels.  But I'm just wondering if there is any way around it.  Thanks.

    yes you are right .we can set only 1 0r 2 levels but good news is there is a workaround
    follow this blog
    Tag  Libraries: Creating a Hover Menu in SAP NetWeaver Portal
    reward points if helpful

  • Is it possible to make a type cast in TestStand?

    I've got the following problem.
    I use a receive function which waits for an undefined package. (struct package).
    The problem is i can't specify the module with the exaxt package.
    Generally in C i define a Pointer and create enough buffer for it. Is it the same in TestStand?
    Is it possible to make a type cast?
    for example:
    i've got these packages
    struct packet;
    struct  data;
    the function does not know which structure to receive.
    err = receive(buffer,maxlen);
    how do i specify the buffer variable?
    can i create a type "void" with a String to have enough buffer.
    and then to make a type cast, for example "Locals.dataobject = ((data)Locals.buffer)"
    any ideas?
    thx for help

    Unfortunately there is no way to do type-casts in TestStand. What you could do is write a wrapper-dll in C, that has for example two parameters for both possible structs. The dll then takes one of the parameters, does the typecast and passes it on to your original dll.
    From TestStand you can pass the struct(or better container in the "TestStand language") you want to use to the accoridng parameter of the wrapper-dll, leaving the other parameter empty or with some default-value.
    Hope this helps!
    André

Maybe you are looking for