How to Enable/Disable/Grey out   fields

Hello Friends,
My requirement is to create 3 buttons....by default all should be enabled.when i click on first button other should get disable.....means one at a time.
I have created 3 attributes of type wdy_boolean...and in button properties ENABLED-- i binded it to corresponding attributes.
then in Actions i am setting that attributes...i tries as ABAP_TRUE as well as ABAP_FALSE but by default all are coming disabled.
Can you pls help me out of this.
Thanks
Kiran

in Customizing Transaction SPRO
goto:
SAP Solution Manager
Scenario-Specific Settings
Change Request Management
Extended Configuration
Change Transaction
Transaction Types
Partner Schema
Define Partner Determination Procedure
>> select your Procedure i.e. ZDHF0001
goto: "Partner Functions in Procedure"
change the flags in "Changeable"
PS: be aware that this might cause other problems to appear.

Similar Messages

  • How to enable/disable the input fields based on the data entered/user action in the web dynpro abap?

    How to enable/disable the input fields based on the data entered in the web dynpro application abap?  If the user enters data in one input field then only the next input field should be enabled else it should be in disabled state. Please guide.

    Hi,
    Try this code.
    First create a attribute with the name readonly of type wdy_boolean and bind it read_only property of input field of which is you want to enable or disable.
    Next go to Init method.
    Set the readonly value as 'X'.
    DATA lo_el_context TYPE REF TO if_wd_context_element.
         DATA ls_context TYPE wd_this->element_context.
         DATA lv_visible TYPE wd_this->element_context-visible.
    *   get element via lead selection
         lo_el_context = wd_context->get_element( ).
    *   @TODO handle not set lead selection
         IF lo_el_context IS INITIAL.
         ENDIF.
    *   @TODO fill attribute
    *   lv_visible = 1.
    *   set single attribute
         lo_el_context->set_attribute(
           name =  `READONLY`
           value = 'X').
    After that Go to the Action  ENTER.
    First read the input field ( first input field, which is value entered field) , next give a condition
    if input value is not initial  then set the readonly value is '  '.
    DATA lo_nd_input TYPE REF TO if_wd_context_node.
         DATA lo_el_input TYPE REF TO if_wd_context_element.
         DATA ls_input TYPE wd_this->element_input.
         DATA lv_vbeln TYPE wd_this->element_input-vbeln.
    *   navigate from <CONTEXT> to <INPUT> via lead selection
         lo_nd_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
    *   @TODO handle non existant child
    *   IF lo_nd_input IS INITIAL.
    *   ENDIF.
    *   get element via lead selection
         lo_el_input = lo_nd_input->get_element( ).
    *   @TODO handle not set lead selection
         IF lo_el_input IS INITIAL.
         ENDIF.
    *   get single attribute
         lo_el_input->get_attribute(
           EXPORTING
             name =  `VBELN`
           IMPORTING
             value = lv_vbeln ).
    if lv_vbeln IS not INITIAL.
        DATA lo_el_context TYPE REF TO if_wd_context_element.
        DATA ls_context TYPE wd_this->element_context.
        DATA lv_visible TYPE wd_this->element_context-visible.
    *  get element via lead selection
        lo_el_context = wd_context->get_element( ).
    *  @TODO handle not set lead selection
        IF lo_el_context IS INITIAL.
        ENDIF.
    *  @TODO fill attribute
    *  lv_visible = 1.
    *  set single attribute
        lo_el_context->set_attribute(
          name =  `READONLY`
          value = ' ' ).

  • BADI/user exit for me22n - disable/grey out field quantity (MEPO1211-MENGE)

    Dear all SAP gurus,
    When changing PO (ME22N), I need to disable (grey out) the quantity field on item (MEPO1211-MENGE), when all scheduled quantity is already received (EKET-MENGE = EKET-WEMNG).
    Have tried using LMEIGICJI and Handle_event method in CL_SCREEN_VIEW_MM. But still doesn't go to the screen that wants to be disabled.
    Tried using BADI ME_PROCESS_PO_CUST, but couldn't find how to disable the quantity field.
    (IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM only works for custom field).
    Please kindly advise
    thanks in advance

    Hi Ahmad,
    No need of ABAP, follow this IMG Path.
    Material Management -> Purchasing - Purchase Order ->  Define Screen Layout at Document Level
    After Executing it . Choose ME22 from list and then choose display icon.
    than double click Quantity and Price here uncheck opt. Entry and check display.
    save your work.
    Hope this works.
    Regards
    Ahsan

  • 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 Enable/Disable suppressUpload and suppressDownload

    my xml doesnt have this attribute
    how to enable /disable supressUpload and suppressDownload.
    <?xml version="1.0" encoding="utf-8" ?>
    - <MeRepApplication schemaVersion="1.1" id="ZAM_09" version="09">
      <Property name="CLIENT.BUILDNUMBER" />
      <Property name="C_APPLRESOLVE" />
      <Property name="DATA_VISIBLE_SHARED">X</Property>
      <Property name="E_APPLRESOLVE" />
      <Property name="FACADE_C_CLIENT">X</Property>
      <Property name="FACADE_E_CLIENT">X</Property>
      <Property name="HOMEPAGE.INVISIBLE" />
      <Property name="INITVALUE" />
      <Property name="RUNTIME">JSP</Property>
      <Property name="TYPE">APPLICATION</Property>
    - <SyncBO id="ZAM_09" version="2" type="twoWay" allowCreate="false" allowModify="true" allowDelete="false" reqDirectSync="true" downloadOrder="1">
    - <TopStructure name="TOP">
    - <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
      <Input type="create">false</Input>
      <Input type="modify">false</Input>
      </Field>
    - <Field name="BUKRS" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="ANLN1" type="C" length="12" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="ANLN2" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <ChildStructure name="010">
    - <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
      <Input type="create">false</Input>
      <Input type="modify">false</Input>
      </Field>
    - <Field name="BUKRS" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="ANLN1" type="C" length="12" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="ANLN2" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="KOSTL" type="C" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="WERKS" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="STORT" type="C" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="TXT50" type="C" length="50" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="TXA50" type="C" length="50" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
      </ChildStructure>
      </TopStructure>
      </SyncBO>
      </MeRepApplication>

    Just adding on to Nameeta's post, there is a supress download checkbox in the advanced setting s link(Settings -> Advanced Settings) on the client, this will supress downloads for all syncbos and not just for any one syncbo. Also there are no tools in the middleware to add these settings, the only way to do this is to modify the xml manually.
    Best Regards,
    Karthik
    Message was edited by:
            Karthik V Setty

  • How can we disable a particular field in BI,BCS Report in Portal

    Hi Friends,
    I have one doubt in Portal.
    How can we disable a particular field in BI,BCS Report in Portal depending up on user.
    For Exam: In Our Application can we divided in to 3 Categories. Managerial, Regional and Supervisor.
    Manager having all authorizations. So here I donu2019t have any problem.
    When Regional Manager logs in portal Depending up on that Regional Plant number will be in Disable mode.
    EX: India Regional Manager logs in portal Plant number Files == IND123 Like in BI Report
           UK Regional Manager logs in portal Plant number Files == UK154   Like in BI Report
    When Supervisor logs in portal Depending up on that Regional Plant number will be in Disable mode and also Company Code also in disable mode
    EX: India Supervisor logs in portal Plant number Files == IND123 Like in BI Report and also Company code input file is ABC is in Disable mode
        In India Another Supervisor logs in portal
    India Supervisor logs in portal Plant number Files == IND123 Like in BI Report and also Company code input file is ASD is in Disable mode
           UK Supervisor logs in portal Plant number Files == UK154   Like in BI Report and also Company code input file is XYZ is in Disable mode
    This is my Req; How can we do there. Could you help me.
    Give me these Ans:
    1. Is it Feasible in portal.
    2. Depending upon user we can disable particular filed in Portal.
    3. Can we find out who is login in Portal. by Using BI System. in WDJ We can Find out Like IUSER Code Same as BI Developer also Find it. Is it Possible or not.
    Regards
    Vijay Kalluri

    no

  • Grey out field

    hi,
    i wanna grey out field account assignment group in the header of billing document.
    Right now when im creating billing (VF01) before posting, it can be changed, we wanna these field cant be changed.
    Do we need user exit to do that or is there config ..??
    many thanks ya
    Alia

    These are different technique used for such requirement. All of them may or may not be applicable. Under SPRO, there are screen controls/field groups for data entry.
    In your case, i think, userexit or transaction variant will be more appropriate.

  • So I've changed my hard drive for an ssd and now I've been told to enable trim now I've got the apple cover will they show me how to enable it with out some program of the internet ?

    so I've changed my hard drive for an ssd and now I've been told to enable trim  ?  now I've got the apple cover will they show me how to enable it with out some program of the internet ?

    Use an app called chameleon ssd optimizer.
    I enabled trim with it after almost a year of having installed a Samsung 840 pro SSD and my read/write speeds almost quadrupled.
    I would definite;y advise using it even though Samsung SSD's come with there own garbage disposal.
    Hope that helps.

  • How to disable (grey out) button in report

    Hi,
    Can any one; pls help how to disable button (grey out) on some specific condition.
    I have a report of 2 pages; In first page it displays few records; once click on specific record control goes to next page 2; And here i have button (template based button); Once click on this it perform pl/sql procedure.
    My requirement is: The button should disable (should not hide) when moves from page 1 to page 2 based on some specific returned values in page 2.
    I have return code in button conditions (Condition type = PL/SQL Function Body Returning a Boolean)
    Sample code is:
    if :value1 = 'disable_test_value' then
    return false;
    else
    return true;
    end if;
    The above code is working fine with button completely disappers if the :value1 = 'disable_test_value' (which is suppossed to be as we gave return false).
    My question is: Is there any way; we can still show button (but button disabled or grey out; so that no action can perform on this button )? And also show some text message in other text field when button is disabled?
    Thanks!!
    UK

    I have an example: http://apex.oracle.com/pls/otn/f?p=27168:1 using theme #2. You need to use a theme that has a "grayed-out" alternate button template.
    To accomplish this I:
    1) Created one item named P1_VALUE1 to contain the condition as to whether the button should be enable ("enable_test_value") or disabled ("disable_test_value").
    2) Created an enable button with a "Button Style" of "Template Based Button" with "Button Template" value of "Button". I had the "Condition" type of "PL/SQL Function Body Returning a Boolean" to be:
    if :p1_value1 = 'disable_test_value' then
    return false;
    else
    return true;
    end if;I had the "URL Target" to be: javascript:alert('Performing function ...');
    3) Create a disabled button with "Button Style" of "Template Based Button" with "Button Template" value of "Button, Alternate 3". I had the "Condition" type of "PL/SQL Function Body Returning a Boolean" to be:
    if :p1_value1 != 'disable_test_value' then
    return false;
    else
    return true;
    end if;I had the "URL Target" to be: javascript:alert('Performing function ...');
    Mike

  • Greyed out fields to be enabled in delivery schedule tab of ME21N & ME22N

    Hi Gurus,
    I need to make two fields in PO create and change tcode, to be made editable as they are greyed out for particular document type and item category combination. Please refer screenshots below:
    Standard Order:
    Framework Order:
    I tried settings in 'Define Screen Layout at Document Level' for that field selection as well as in Edit system settings at the item detail level...but still the fields are in disabled mode only. Any help in this regard??
    Thanks in advance...

    Hello Pramod,
    As AKPT has pointed out, FO type documents are used for a broad framework type scenario, where most of the details are unknown at the time of releasing the PO.
    The system by default allows standard, limit (B) and service (D) for such POs.
    If you are trying to change the item category during creation (and not after the PO has history) please look at this IMG -> MM -> Purchasing -> Define Doc types -> Framework order FO -> Allowed Item categories.
    I don't think delivery schedules are allowed for FO type orders.

  • Want to disable/"grey out" dial-up connection "settings" button in the "connections" tab of Internet Options

    Hi, I'm looking to "grey out" a dial-up connection for some users in workplace, so that they are forced to use our VPN client in order to access the web. Does anyone know if this is possible?
    I know you can disable all settings on that tab using local group policy, (e.g. Administrative Templates\Windows Components\Internet Explorer) but I only want to disable a specific dial-up connection (for usb 3G modems).
    I've read of various IE settings being locked down in the registry here, HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions, but havent seen the settings I want.
    The actual connection is visible here, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections, I just cant figure out how to grey it out. Any ideas? Thanks!

    http://technet.microsoft.com/en-us/library/cc732613(v=WS.10).aspx
    The following Group Policy settings can be edited and applied to users that are members of the Group Policy object (GPO) in which the Group Policy setting is included. By default, the Group Policy settings are not configured.
    Prohibit deletion of remote access connections. If you enable this Group Policy setting, then affected users cannot delete any remote access connections, including those they create themselves.
    Prohibit access to the Remote Access Preferences item on the Advanced menu. If you enable this Group Policy setting, then affected users cannot access the
    Remote Access Preferences setting on the Advanced menu of the Network Connections folder. The top menu bar, including the
    Advanced menu, appears when you press the ALT key.
    Prohibit access to properties of a LAN connection. If you enable this Group Policy setting, then affected users cannot change any of the properties of a LAN connection.
    Ability to change properties of an all user remote access connection. If you enable this Group Policy setting, then affected users can modify the properties of a remote access connection that is shared with the other users on the computer.
    By default, standard users can only modify properties for a connection that is not shared.
    Prohibit connecting and disconnecting a remote access connection. If you enable this Group Policy setting, then affected users cannot connect by using any remote access connection, or disconnect any that are currently connected.
    Prohibit changing properties of a private remote access connection. If you enable this Group Policy setting, then affected users cannot change the remote access connection properties that are not shared. By default, standard users can modify
    connections that are not shared.
    Prohibit renaming private remote access connections. If you enable this Group Policy setting, then affected users cannot rename remote access
    connections that are not shared. By default, standard users can modify connections that are not shared.
    Rob^_^

  • HELP - Guest Log In on File Sharing Suddenly Disabled (Grey Out)?

    Hello all.
    This is my office MacPro, we have a pool of Macs running graphics and also Avid software. We file share with local network through Apple File Sharing.
    By default we would be able to turn on our own Mac's file sharing, and other user would log in to our Public folder > Drop Box ... etc
    In Leopard, we are able to designate other folder for file share, which I have done. I disabled my default Public folder for file sharing. And created a folder outside my User folder for file sharing, so that others log into my mac as guest user can access it too.
    Actually everything is just fine, other mac users just need to log in as Guest to access my share folder.
    But this morning, all of a sudden, without any tweaks or anything, other mac users cannot log in as Guest, the Guest option is grey out.
    I have tried disabling file share, enable, re-create a new folder to share or re-enable the default Public folder to share, but the Guest option is still grey out.
    What could have happen?
    Need to solve this as soon as I can, thanks and cheers

    Thanks - the weekend was very pleasant indeed!
    I agree that something seems to awry in the Leopard MBP. The question is "what". The symptoms now are:
    1) iTunes music sharing from MBP is broken
    2) Connecting to Panther Mac via AFP is broken (although one Mac can be connected via IP address)
    3) Machine works well on a Windows network
    Based on all of this, I would guess that there is a problem in the "Bonjour" networking of the MBP. You could try:
    1. Using a different account to see if it is local to your user id.
    2. Failing that, removing your com.apple.AppleFileServer.plist and com.apple.AppleShareClient.plist files from /Library/Preferences
    Outside of that, I would have to do some more digging.

  • Sort option in Repetitive Area on AR Invoice PLD is disabled / greyed out

    Hi Experts,
    I have an issue whereby in my PLD the sort option under Print Layout Design Manager -> Repetitive Area -> Sort is greyed out / disabled in the AR Invoice PLD. Does anyone know why this might be? I've not seen this before and I can't find any notes relating to specifically to this issue in an AR Invoice PLD.
    2007A PL06 Hot Fix 01.
    Many thanks for any help,
    Caroline

    Hello Khushwant,
    In SAP when your business Process is Sales Order --> Delivery --> AR Invoice
    SAP would print the Batch Numbers along with the Delivery document.
    But your Business Process is Sales Order --> AR Invoice
    SAP would print the Batch Numbers along with the Invoice document.
    Whichever document releaves inventory, SAP will Open the Batch selection screen when adding that document and the Batch Report will be printed on a seperate sheet along with that document.
    The functionality change in SBO 2007, is that the Batch number print on the Delivery / Invoice document itself instead of on a seperate Page as in 2005.
    Could you please explain your Business Process in relation to what I have mentioned earlier.
    Printing the Batch Number as part of the Invoice document itself in SBO 2005 is going to be a tough task.
    Let me know if where and how you want to print this information.
    Regards
    Suda

  • Grey out fields in selection screen

    experts help needed
    i want to display in the selection screen like this
    sales org                k918
    doc type                 zior 
    divison                   10
    distribution channel    20
    file name      /info/ordersinfo/india/incomming/order/order.txt
    1) i want all the sales org ,doc type ,division,dis channel to be greyed out in the selection screen
    2)file name : the path i have mentioned is the application server path where my text file
    order.txt will be there.
    this i want the user to type this text and also i need to display this as default value.
    i tried like this
    parameters : p_file type string default    /info/ordersinfo/india/incomming/order/order.txt.
    it is giving error. Please help me how to do this

    Hi,
    Try like below:parameters : p_file type string default '/info/ordersinfo/india/incomming/order/order.txt.' obligatory.
    and then in order to grey out your other fields
    at selection-screen output.
    Loop at screen.
    if screen-name  = 'SALES ORG'. <<<Name of the parameter that you have declared
    screen-input = 0.
    modify screen.
    endloop.
    Similarly you can do for other fields too.
    Regards,
    Himanshu

  • Can't enable Dictation (Greyed out)

    System Preferences -> Dictation & Speech -> Dictation tab
    All the settings are greyed out:
    On/Off, Shortcut, Language, About Dictation and Privacy...
    ...so I can't enable dictation.
    Anyone else have this?
    Input is set to Internal microphone -- the mic is working fine as the icon indicates the input level changing when there's noise.
    Odd...

    I think it's related to Profile Management -- or actually 'Parental Controls' -- as I see an option in there to disable Dictation (disabled by default for new Parental Control accounts).
    Since my account is an Adminstrator account, by design I can't have Parental Control enabled on it, but the Users preferance pane would suggest it is 'Managed'.
    This is understandable to some degree, as my account WAS managed from Lion server when I upgraded to Mountain Lion. Maybe that's why it applied default parental control to my admin account during the upgrade!! Holy moly..
    I've since removed the management profiles deployed via OS X server but to no avail.  My account is still 'Managed', Shows 'Enable Parental Controls' as ticked. If i try to untick it it says 'You cannot enable parental controls on for an administator account'... lol.
    BUG!

Maybe you are looking for

  • I cant get home sharing to work on 11.

    it shows up on my old computer but not on the new one im trying to sync music too. Why?

  • All web browsers, search engines and apps redirect automatically to broken links.

    Hi, I have a big problem. When I browse internet, my iPhone redirect it automatically to different links. most of them are broken links. When I try to stop, web browser or app will be closed. This occur with every web browser, google and apps such as

  • T61 screen won't display images

    My T61 turns on, the backlight comes on, but images do not appear, not even the boot images with the manufacturer's name. If I wait the amount of time it would take to load to the desktop, I can use the keyboard to navigate to My Computer and open th

  • I have a sixth generation ipod nano (16 gb) that does not turn on

    When i plug it into my PC, it connects to itunes, and asks me to restore it. After I restore it, it asks me to prepare for a system recovery for the ipod. Then it repeats this endlessly. It is out of factory warrenty as far as i know. I thought it wa

  • Business Connector or XI?

    Hi, for a small german payroll (HR) system it's necessary to have the B2A process for LSTA/LSTB (ELSTER) and ELENA active. Yet we realized that with R/3 4.6C and Business Connector 4.8. Now my question: Do we have to install and configure the XI comp