Grey out the Time field in date assignment block

Hi All,
    In my project we need to create a date profile in which i need a date rule to get today date and the time should be greyed out. i tried all day event but not working out for Zdate type.  I tried different date types but Time field is not greyed out ( changing time to 00:00 is possible but client needs time to be empty)
With regards,
Selvam T

Hi Selvam,
as far I understand you want to define a certain date type as read only. There are several different ways to achieve your requirement:
date profile customizing: you can set the date as read only
I did not get your requirement of the time field, you can however play around with the following display customizing:
use BAdI CRM_APPOINTMENT_BADI to influence the appointment set
enhance the UI component, using the I-getter you can change a field to read only on UI level
I hope this helps.
best regards,
Johannes

Similar Messages

  • Greying out the particular field of active group

    hi guru's
    we have requirement of greying out a particular field of active screen group
    say for eg:
    LOOP AT SCREEN.
        if screen-group1 EQ 'PUR' OR screen-group1 EQ 'SAL' OR screen-group1 EQ 'FIN'.
          screen-input = 0.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    AT SELECTION-SCREEN OUTPUT.
      if rb_md EQ 'X'.
        LOOP AT SCREEN.
          if screen-group1 EQ 'PUR' OR screen-group1 EQ 'SAL' OR screen-group1 EQ 'FIN'.
            screen-input = 0.
          ELSEIF screen-group1 EQ 'MAS'.
            screen-input = 1.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ELSEIF rb_td EQ 'X'.
        LOOP AT SCREEN.
          If screen-group1 EQ 'MAS'.
            screen-input = 0.
          Endif.
          MODIFY SCREEN.
        ENDLOOP.
        if rb_pur EQ 'X'.
          LOOP AT SCREEN.
            if screen-group1 EQ 'SAL' OR screen-group1 EQ 'FIN'.
              screen-input = 0.
            ELSEIF screen-group1 EQ 'PUR'.
              screen-input = 1.
            ENDIF.
            MODIFY SCREEN.
          ENDLOOP.
        ELSEif rb_sal EQ 'X'.
          LOOP AT SCREEN.
            if screen-group1 EQ 'PUR' OR screen-group1 EQ 'FIN'.
              screen-input = 0.
            ELSEIF screen-group1 EQ 'SAL'.
              screen-input = 1.
            ENDIF.
            MODIFY SCREEN.
          ENDLOOP.
        ELSEif rb_fin EQ 'X'.
          LOOP AT SCREEN.
            if screen-group1 EQ 'SAL' OR screen-group1 EQ 'PUR'.
              screen-input = 0.
            ELSEIF screen-group1 EQ 'FIN'.
              screen-input = 1.
            ENDIF.
            MODIFY SCREEN.
          ENDLOOP.
        ENDIF.
      ENDIF.
    in the above code
    say for eg: the active group is 'SAL' in which i want to grey out one field say as parameter p_doc as invisible always
    what i need to do
    with regards
    s.janagar

    hi
    may be this code can help you:
    selection-screen begin of block b1 with frame title text-001.
    parameters : p1  radiobutton group r1 default 'X' user-command ac,
                         p2  radiobutton group r1,
    selection-screen end of block b1 .
    selection-screen begin of block b2 with frame title text-002.
    select-options : p_eg for mara-matnr modif id SAL
    parameters : p_doc  like mara-matnr modif id PUR.
    selection-screen end of block b2.
    at selection-screen output.
      if p1 = 'X'.
        loop at screen.
          if screen-group1    = 'SAL'.
            screen-input     = '0'.
            screen-invisible = '1'.
            modify screen.
          endif.
        endloop.
      elseif p2 = 'X'.
        loop at screen.
          if screen-group1    = 'PUR.
            screen-input     = '0'.
            screen-invisible = '1'.
            modify screen.
          endif.
        endloop.
      endif.

  • Grey out the input field as soon as check box checks on selection screen!

    HI Experts,
    In my report selection screen I have input_field1, input_field2, check_box1. Both input fields are mandatory fileds.
    My requireemnt is: If user as soon as checks the check_box1, the first input_field1 must go grey out (not allow allow to enter)!
    So I have assigned a user command to check box and assigned a modif-ID to the input_field1
    and wrote a LOOP AT SCREEN code as below,
    PARAMETERS show_all AS CHECKBOX USER-COMMAND flag.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS: p1 TYPE c LENGTH 10,
                p2 TYPE c LENGTH 10,
                p3 TYPE c LENGTH 10.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
    PARAMETERS: p4 TYPE c LENGTH 10 MODIF ID bl2,
                p5 TYPE c LENGTH 10 MODIF ID bl2,
                p6 TYPE c LENGTH 10 MODIF ID bl2.
    SELECTION-SCREEN END OF BLOCK b2.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF show_all <> 'X' AND
           screen-group1 = 'BL2'.
           screen-active = '0'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    But,am getting an error message saying "Enter all required fields"
    Pls. let me know how to fix this?
    Thank you

    I assume P1, P2 and P3 are marked as obligatory.
    You cannot achieve that. But here is an alternative to achieve a similar functionality.
    AT SELECTION-SCREEN.
      CHECK sy-ucomm EQ 'ONLI' OR sy-ucomm = 'SJOB' OR sy-ucomm = 'PRIN'.
      IF p1 is INITIAL or P2 is INITIAL or P3 is INITIAL.
        MESSAGE 'Enter all required fields' TYPE 'E'.
      ENDIF.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF show_all = 'X' AND
           screen-group1 = 'BL2'.
          screen-input = '0'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.

  • How to Grey out the field "tracking number" during change mode in the order

    HI Expert,
    How to grey out the Tracking number (AFVGD-BEDNR) at Order -> Operation tab -> external tab ->tracking number.
    during creation IW31 = not grey out and allow entry.
    for change mode IW32 = grey out
    if i set grey out at config OIOPD, it will grey out even during creation mode.
    Please advise
    Thanks
    Regards

    Hi
    I think Using field selection it is not possible to make as display ,kindly check with screen or transaction variant -SHD0
    regards
    thyagarajan

  • With 10.7.2 update iCal does not allow you to set "Reminders" by draging events from "All Day Events" into "Reminders" is there another way to do this instead of having to type out the entire reminder with date, time, and type?

    With 10.7.2 update iCal does not allow you to set "Reminders" by draging events from "All Day Events" into "Reminders" is there another way to do this instead of having to type out the entire reminder with date, time, and type?
    With Lion 10.7.1. you where able to drag events from "All Day Events" into the "Reminders" bar to create upcoming reminders.

    Exactly the same question I was about to post!
    Great being able to sync reminders (well overdue) however if I have to re-type a calener envent into reminders it's a waste of time!! 
    Come on Apple!!
    Just need an option for the calender event to add to reminder or the old drag to add to reminder functionality back, Please???

  • Grey out the purchase group fields in SRM 7.0 ?

    Hi Experts,
    We have a requirement where in we need to grey out the purchasing group field in the item section of shopping cart screen . we are using SRM 7.0 portal. So that users cannot change the defualt pruchasing group.
    Is there a way where we can make this invisible without making any changes to the standard code.
    We have checked the below path, we are not getting the correct field for purchasing group in that.
    SRM -> SRM Server -> Cross-Application Basic settings -> Extension and Field Control (Personalization) -> Control Actions -> Display Standard Metadata for Actions on Substructure Level Regards
    Any Help in this regard will be highly appreciated.
    Regards
    Venkatesh P

    Hi ,
    Below are the details :
    General Information About the Application and Component
    Application: /SAPSRM/WDA_L_FPM_GAF
    Web Dynpro Component: /SAPSRM/WDC_DODC_SC_I_BD
    Window Information: IV_L_FPC_CA_DETAILS
    View Information: V_DODC_SC_I_BD
    Configuration ID: /SAPSRM/WDCC_FPM_DODC_SC_I_BD_WI
    Information on Field
    Field ID: PURCHASING_GROUP_DROPDOWN
    Type of UI Element: DROPDOWN_BY_IDX
    UI Element Library: STANDARD
    But this field i dint find in that path.
    Regards
    Venkatesh P

  • Grey out the past / greying out the past

    reposted from http://richardmcgregor.wordpress.com/tag/ical/
    "I’m surprised that iCal doesn’t grey out days in the past (or at least give you an option to do this – if there is one I can’t find it!) The typical use case for a calendar is to see what events are coming up in the future, and i don’t think marking today in a different colour is enough. I want to be able to see at a very quick glance where the past ends and where the future begins, and I think greying out past days would be perfect.
    I seem to remember a while back Google Calendar started greying out past events, although I think they should go further and grey out the past days, or at least provide that as an option."

    Dear shahin11,
    Now I wanna achieve the goal with BAdI, but I really have no idea why it couldn't be greyed out in ME51N.
    method IF_EX_ME_PROCESS_REQ_CUST~PROCESS_ITEM.
    INCLUDE MM_MESSAGES_MAC.
    DATA: I_ACT_ITEMS TYPE MEREQ_ITEM.
    FIELD-SYMBOLS :<fs_sakto> type ANY.
    DATA: STR TYPE STRING.
    if I_ACT_ITEMS-MATKL ne 6299 AND SY-TCODE = 'ME51N' AND i_act_items-KNTTP = 'K'.
    STR = '(SAPLMEACCTVI)MEACCT1100-SAKTO'.
    ASSIGN (STR) TO <fs_sakto>.
    IF SY-SUBRC = 0.
    LOOP AT SCREEN.
    IF SCREEN-NAME = <fs_sakto>.
    SCREEN-INPUT = 0.   " grey out field - sakto
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ENDIF.
    endif.
    endmethod.
    Can you give me a hand?
    Thanks a lot.

  • How do i synch my pdf/books to my library. I was able to synch my ipod touch purchases by transferring them but can't figure out how to do my pdfs. Also why is my ipod picture greyed out-the one that lets my move the icons around.

    How do i synch my pdf/books to my Itunes  library. I was able to synch my ipod touch app purchases by transferring them but can't figure out how to do my pdfs. Also why is my ipod picture greyed out-the one that lets my move the icons around.
    I am afraid if i don't get the pdfs into my book library, i will lose them when i update to IOS 5-is that true?

    thank you-i have to check into the authorization and the account-i gave my husband my old ipod when i updated last year so both at one time have been on this computer but as it stands, it only comes up with my device when i plug into Itunes.
    i don't think i have any restrictions for installing apps although my normal way of doing it is to download from the ipod touch. i did find that all i had to do was right click on my device name and got the message to transfer my apps and then they showed up in my library. Also when i clicked the synch checkbox i was able to view the ipod touch picture without it being greyed out. after all that i was able toupdate to IOS 5 successfully except my videos and podcast, and pdfs  did not come over. This confuses me since i had dragged them over to my library to make sure that i had everything in my library and on my device. Not a big problem, since i just dragged them in itunes from my library to my device but sometimes i wonder if i understand the big picture:)

  • Want to grey out (Non-editable)  field in Additional Tab in Header of ME21N

    Hi all,
    i've got a requirement to grey out the field(Non Editable) of header tab in ME21N.
    Can anybody tel me the solutions.
    Rgds,
    Spandan

    Question asked again, and again, and again, and again. Search for "grey out" (and please read forum rules as it seems you didn't)

  • By default one field should be greyed out( not input field)

    hi all,
    My requirement is
    By default one field should be greyed out( not input field)
    when i click on a check box and press enter this field should be open to put input values.
    can some somebody please give me sample code for both PBO and PAI

    Hi Ram
    In flow logic.
    PBO
    module screen_modify.
    IN main program
    module screen_modify.
    loop at screen.
    if p_cb = space.
    if screen-name = <Name of your screen field>.
    screen-input = 0.
    screen-output = 0.
    modify screen.
    endif.
    endif.
    endloop.
    endmodule.
    P_cb is the checkbox.

  • Disable or Gray out the baseline field in miro

    Hi experts,
    Can any one help me for how to Disable or Gray out the baseline field in miro t-code
    I tried for user-exit and also for badi but i didn't get it.
    so please giude me
    Thanks & Regards
    Vishal

    sorry,
    it's baseline date fiels.

  • Regarding the Time dependent master data error

    Hi Masters,
            I've loaded the time dependent master data from flat file only two fields. When I checked that corresponding characteristics in maintain master data, that contains by default from date 01.01.2007and to date 31.12.9999 this date also. Could you please help me to rectify this error.
    Thanks in advance
    Raja.S

    Hi Antonino La Vela
          I have 2 Project Manger and in different duration for different project.
    Following datas are my data in Excel sheet.
    PM Name                    To date             From Date           Costcenter
    Ragunath                    01.09.2007        01.06.2006           Project name1
    Ramana mani              01.02.2008         02.09.2007          Project name2
    while loading above data, I'm getting following data in maintain master data
    PM name                   To Date             From Date           Costcenter
                                     31.12.9999         01.01.1000
    Ragunath                   31.05.2007         01.01.1000
    Ragunath                   01.09.2007         01.06.2007            Project Name1
    Ragunath                   31.12.9999         02.09.2007 
    Ramana mani             01.09.2007          01.01.1000
    Raman mani               01.02.2008          02.09.2007           Project Name2
    Raman mani               31.12.9999           02.02.2008   
    Could you please help me, how this unnecessary datas are loaded by default?
    Thanks in Advance
    Raja.S

  • How can I grey out the 'Next' button until a user clicks 'Submit'?

    Hi guys,
    despite how I say it or display it in slides, users don't read the instructions before the quiz. This results in them doing the quiz and then asking me why they scored zero when they answered all the questions. So my question is, how can I disable/deactivate/grey-out the Next button until a user clicks Submit after answering the question?
    I've got Captivate 6.1 on a Windows platform.
    Advice appreciated.
    Carl

    Hello Rod,
    thanks for your answer - I should think more laterally in future.
    In my testing, another question has arisen - how do I get the Next button behind the Clear button? It sounds stupid but I can't get the Next button behind the Clear. I go in to the Master Slide, click on Next to highlight it, and then move it either by the mouse or with the arrow button so that it sits under the Clear button. While Next is still highlighted I click on the button in the toolbar 'Send selected objects backward' to be sure, so that I see 'Clear'. When I go back to the Filmstrip, all I see is 'Next' and when I preview the slides all I see is 'Next' - what am I missing here? What have I failed to do? What am I not understanding?
    Advice appreciated.
    Thanks

  • How to disable (grey-out) the ticks of a JSlider?

    Hi everyone,
    In my GUI, I have a JSlider that I want to be disabled (greyed out)
    because it should be only actived on my application next version.
    (It is important though to have it to preserve GUI appearence).
    Problem is that I was unable to greyout the ticks even though
    already managed to grey out the slider and the number labels.
    Right now, it is pretty uggly to have a partial disabled slider,
    because due to ticks not being disabled.
    Questions:
    1) Does anyone have an idea of how to do it?
    A small part of my code is shown below:
    JSlider dynSl = new JSlider();
    dynSl.setMajorTickSpacing(1);
    dynSl.setValue(0); //Default
    dynSl.setMaximum(7);
    dynSl.setMinimum(0);
    dynSl.setPaintLabels(true);
    dynSl.setPaintTicks(true);
    dynSl.setFont(new java.awt.Font("Dialog", 0, 9));
    dynSl.setSnapToTicks(true);
    dynSl.setEnabled(false);
    // small code just to put the numbers of the slider smaller
    Enumeration enum = dynSl.getLabelTable().elements();
    while (enum.hasMoreElements()) {
    JLabel elem = (JLabel)enum.nextElement();
    elem.setFont(new Font("Dialog",0,8));
    elem.setEnabled(false);
    2) If not possible, how do I change the colour of a JSlider (including
    the Ticks)?
    My idea is to change Slider's colour to the same grey colour one used
    to disable it, making at the end the slider look as if it was disabled.
    Thanks in advance,
    Jorge

    Hi again,
    Thanks for the help.
    I was trying to avoid not having the ticks at all but it seems to be
    the best choise because I could not solve the problem of greying out
    them.
    I did some more troubleshooting though and for my surprise, if I use
    the same code alone, i.e, a simple frame with just the slider it works
    fine. I even thought that it was related with having Windows LnF as
    opposed to Metal (Java) LnF, but that was not the problem.
    The only thing it comes to mind, is that there may be some problem by including the slider on a GridBagLayout !?!?!?
    Anyway,
    What has no simple solution, solved is! :-)
    Jorge

  • How to find out the manditary fields in an IDOC

    Hi,
    How to find out the manditary fields in an IDOC.
    For example MATMAS05 .
    For this 2 segments I want to find out the manditary fields.
    E1MARA
    E1MAKTM

    Hi,
             go to transaction WE30 and give the corresponding IDoc type and enter. Then you will get all segments for that IDoc type then double click on segment. A popup box will come in that it will show a check box whether it is a mandatory segment or not. And segment editor button will give all the field details.
    Regards

Maybe you are looking for

  • How can I make Photos not open every time a photo card is inserted?

    Hello, Every time I insert an SD or CF card or even my iPhone, Photos opens up. How can I stop this from happening? I looked everywhere and I can't find a solution, thanks.

  • Satellite A300 - S-video doesn't detect TV

    Dear All Last week, I bought your new product: Toshiba Satellite A300 I liked its specifications specially the s-video output. When I reached my house, I connected it to my TV: Toshiba Bomba 29A3MJ http://www.toshiba-gulf.com/site/product/prd_details

  • Problem with constant popping adds on safari

    Hello everybody, I'm having trouble with safari. Adds windows are constantly opening themselves whenever I click on a page or there are constant nasty adds on the side of whenever I do a research on Google, this happens .. (I typed netflix and i have

  • Error when installing purchasing infocube

    hi experts, anyone has a suggestion for a problem i am facing? when trying to install purchasing infocube 0pur_c01, in dataflow before,after i ve collected the items and press install i get an abap error, here's part of it which you may find useful:

  • Internal order Budget KO22

    Hi, Does SAP allow business area to be entered as part of Internal order budget ? I've a requirement where IO budget are entered as per different business area in the same fiscal year.Can anyone advice whether this can be handled ? Thank you. Firefly