Disable field XWAOK in MB21 T.code

hello,
anybody please help me. i want make XWAOK (Goods Movement for Reservation Allowed) field in display mode during reservation creation by using  t.code: MB21. but in MB22 it should be in change mode. how can i make this.
Thanks & Regards
Bhakta

Hi,
Try using screen variant or transaction variat through t code SHD0.
You can create new screen variant in which you can mark a particular field as invisible.
You can also explore the option of GUIXT.  This allows you to control your screens/ fields. But for this, you need to have help from your developer.
Hope this helps.
Regards,
Mihir

Similar Messages

  • Dsable field XWAOK in MB21 T.code

    hello,
    anybody please help me. i want make XWAOK (Goods Movement for Reservation Allowed) field in display mode during reservation creation by using  t.code: MB21. but in MB22 it should be in change mode. how can i make this. It is a check box.
    Thanks & Regards
    Bhakta

    Hi
    Go to the screen and implement the ehancement point in PBO.
    In that impletment u r own logic with condition if sy-tcode = 'MB21'.
    loop at screen.
      disable the field which u required.
    endloop.
    Regards,
    raghu.

  • Data into a disable field

    Hello there!
    I've got a question for you, guys...
    I have a screen in my online program that has a disable field. This disable field has to receive a code number from an optical reader, but since it is a disable field, it's not receiveing the data.
    Do you have any suggestions for my problem?
    Thanks in advise,
    Flávia

    Unfortunatly, the SAPgui will not handle taking data into a disabled field,  I had a requirement for the same a while back,  you must enable the field in order to have something written into it.  Or you can create another field where the data can be written and you can programmatically fill the other field, but this may be redundant.
    Regards,
    Rich Heilman

  • Make field selection for 201 Movement type for MB21 t.code

    Hello,
    I have making reservation through T.code..
    In that screen we have entered Movement type 201 in MB21 t.code  ,,it will show me two fileds
    G/L Account filed and Cost center..
    In that Cost center field is mandatory.....User told me to do the G/L account filed mandatory... how to do this....
    In filed selection there is only one fieled is the cost center....then there is no filed for G/L Account.
    Regards
    sapman man

    Hello,,
    For G/L account mandatory  ..in 201 Movement type.
    Go to  Spro-Inv ManagementGoods issuse/Transfer PostingSet manual account assignment---and Give + sign Infront of movment type 201.
    It will make the field G/L Account in MB21 201 movement type
    Regards
    Mahesh Naik.

  • How do you grey out/disable fields under a radio button if another radio button is selected in Adobe Acrobat XI Pro?

    How do you grey out/disable fields under a radio button if another radio button is selected in Adobe Acrobat XI Pro?
    I’m creating a form where the user has three options to make a payment.
    1. charge to my credit card
    2. charge associated costs to bank account
    3. By cheque or money order
    My Problem is, under each option, there are required fields that has to be filled out. So if the user picks the first option, charge to my credit card, they would fill out the required fields (credit card number, expiration date etc.). But when they click submit button to submit the form, it won’t let them, because there are required fields under the second option. Also, I have the radio buttons for the three options setup so that if the user holds the shift key and clicks a radio button, it unchecks it. So what I'm trying to do is this: If the user selects the radio button for option 1, the other two options are greyed out/disabled. And if the user holds down the shift key and clicks radio button for option one again, it unchecks the radio button and the other two options are available again. Is there a way to grey out or disable the two other payment options when the other one is picked. I’m assuming I will have to use javascript, but what would the coding be and which field do I write it under?
    Thanks in advance guys

    You will have to use custom JavaScript to access the various properties of the field object.
    The radio button group has a value. When no button is selected that value is "Off". When an individual button has been selected the value for the group will be the option or export value for that individual button.
    Once you have determined the button selected, then you will know the form fields that need to be made required. You use JavaScript to access those fields and change the "read only" property to false, and set the "required" property to true. For the fields associated with the other options, those fields should be reset, made read only, and have the "required" property set to false.
    Disabling (graying-out) Form Fields
    >> Also, I have the radio buttons for the three options setup so that if the user holds the shift key and clicks a radio button, it unchecks it.
    Radio button in a PDF do not work that way. Only check boxes can be unchecked by clicking on one that has been checked.
    If you plan the coding for the Mouse UP action to test for all possible options and code for each of those options you should have what you want.
    If you want actual code you need to provide a lot more details.
    It is even possible to perform some credit card and bank routing number validations with JavaScript and some check digit formulas.

  • Disabling fields(Make the field as non-editable)  in webdynpro ALV

    HI All,
    I have a requirement in the ABAP webdynpro where I have to disable(Make the field as non-editable) the field(or that ALV cell alone)  in the ALV after the user has inputed in that field.
    Is it possible, if yes, could you please give me some sample code , or links to which I can refer to.
    Thanks for your help.
    Regards,
    Subash M

    Hi,
    Use the following approach :
    1. Create an ALV and create an inputfield cell editor for the column that you want to make editable/disable.Refer this tutorial for creating an [Editable ALV|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1]
    2. Now under the same node create an attribute EDITABLE type boolean and bind this to the readonly property of the input field. Include the following code while creating Input field for binding.
    lr_input_field->set_read_only_fieldname( 'EDITABLE' ).
    3. Now implement the onDataCheck event or OnCellAction event and pass abap_true to this attibute to make the cell readonly/disable.Refer this tutorial for [Events in ALV|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd28494a-0801-0010-45a3-fc359d82d3e8]
    Hope this helps.
    Regards,
    Radhika.

  • Using Javascript to disable field "Planned"

    Hi every one,
    I want to use javascript to disable "Planned" checkbox in Project Server 2013 because we want that user can not see this planned time and be confused with the Project Server's automatic changes for the planned time.
    <script type="text/javascript">
    document.getElementById("Ribbon.ContextualTabs.MyWork.Home.ShowHide.PlannedWork-Medium-checkbox").checked = false;
    </script>
    I found this code in this subject :
    http://social.technet.microsoft.com/Forums/projectserver/en-US/0beeed2d-bebc-4217-981a-41b1252c7cc2/disable-field-planned-in-timesheet?forum=projectserver2010general
    But I don't understand where to use it. If i create a custom webpart with this code, I've got a null exception when the page is loading.
    So, can you help me ? Maybe I need to use it in an other file ?

    Hi Patmol6,
    Basically, to add javascript to a PDP (or timesheet page for instance), 
    edit the page
    add the content editor webpart
    set it as hidden
    copy paste the code
    Note that you can also point from the content editor webpart to a js file embedding the javascript code
    Here are few examples (some are in PS2007, but the process is similar): 
    http://epmsource.com/tag/content-editor-webpart/
    http://badalratra.wordpress.com/2013/05/04/how-to-disable-pdp-custom-fields-using-javascript/
    http://badalratra.wordpress.com/2013/02/03/javascript-code-to-add-custom-descriptions-underneath-project-field-on-the-pdp-page/
    http://epmcorner.wordpress.com/tag/content-editor-web-part/
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Disabling fields in subscreen

    Hi,
    I have a main screen '9970' and subscreen '7300'.
    The subscreen '7300' is also a subscreen of some other screen say '9000'.
    Now I need to disable the fields of '7300' only when it is called from the main screen '9970'. When i disable in fields in PBO of subscreen , then it will be disabled in screen '9000' also.
    Is there any way to disable fields of subscreen from the main screen '9970'.
    I tried the following in PBO of main screen
    LOOP AT SCREEN.
    If Screen-name = 'SCRAREA1'.
                SCREEN-INPUT = '0'.
          MODIFY SCREEN.
          ENDLOOP.
    ENDLOOP.
    ps: call subscreen SCRAREA1 using <prog-name> <screen-no>
    SCRAREA1 is the name of the subscreen area.
    But the above code is not capturing the subscreen area name at all..
    Anyone please suggest..
    Thanks
    Hemalatha

    Hi,
    In The main screen 9000 and 9970 pass the screen number to a global variable before calling subscreen 7300.
    In PBO of 7300 chek the variable to know if it has been called from the desired main screen say 9970. If yes disable it and pass another indicator say dibale  = X.
    Return to main screen.
    In the PBO of the Main screen check the variable DISABLE and grayout the fields you want.
    IMPORTANT.
    If you are doing CALL SCREEN 7300 from 9000.And then a LEAVE TO SCREEN from 7300 after processing, you will not go to the PBO of 9000. Control will execute the flow logic of 9000 after the CALL SCREEN statement.
    Let me know if any issues.
    Thanks,
    Vivekanand

  • How to set a value to a disabled field in an B1 screen ?

    Hi,
    Can anyone tell me how to set a value to a disabled field in an existing screen.
    For example , I want to set a value to the Paid/Credited field in the Sales - A/R Invoice screen, which is a disabled field.
    I tried setting the field as enabled but it throws an error.
    Thanks in advance
    Mina

    It depends on the business process required for generating the invoice.  (What is this process just now?)
    I can think on quite a few ideas, but can't be sure if any of them will match your specific requirements.  I'll list a few here and see if any of them might work, or at least generate some new ideas for you. (Unfortunately you can't change an existing payment object to add an invoice to it at a later date, nor is the reconciliation process exposed through the SDK.  This limits your options a bit.)
    1) Is there a need for a separate delivery and invoice?  Would skipping the delivery process and using the standard Invoice + Payment screen work for you?  Stock would be issued, invoice created and payment matched directly to invoice without any work.
    2) This might apply if the invoice is simply a one for one match with the delivery.  Rather than just generate a payment in the delivery screen, generate the invoice and a payment at the same time.  The standard invoice screen will then show it as paid.  You can control the dates on the invoice raised through DI code.
    3) Where do you write the Paid Amount to?  How is it not available in the invoice screen?  Put it somewhere accessible and write it to the user field.
    John.

  • Disable field highlighting?

    Good Morning,
    Working on a form that will be distributed to a number of users.  The form utilizes a lot of scripts to highlight fields that require attention.  The form works/shows well when the preset "highlight fields" is turned off (currently done manually).
    Is it possible to disable field highlighting using a script or by changing the preferences so that when the document is opened, the form fields are not highlighted?  During testing, the "highlight fields" option is turned on by default on other users machines.  I searched on the Internet and came across the following:
    Layout: Ready event
    app.runtimeHighlight = False
    Can this be used and if so, where would it be entered (hopefully not in every field).
    Thanks

    Thanks for the response.
    Form is created using Adobe Acrobat 9.  I put the code in the page properties of the the first page of the document as an action.  Doesn't seem to work.
    Any other suggestions?

  • Disabling fields on initialization of form 8.2

    Hi,
    I am new to LiveCycle Designer 8.2 and I am trying to disable fields on initializing a form. If there is already a discussion about this or a how-to could someone point me there. I am having problem finding documentation on this.
    Also I am confused on how to embed scripts into xfa doc. The Adobe documentation is confusing to me. Is there another FAQ or how-to for that aswell
    Thank you for the help

    You can set the initial state of an object in the object palette. Put focus on the object, and under the Object palette their is a value tab. On the Value tab their is a Type dropdown, you can set its initial state there.
    Scripts are tied to an object. Again put focus on the object. Open the script editor (Window/Scrip Editor or simply hit Cntrl-Shift F5). It will appear between the toolbars and the drawing palette. Now you are ready to script against the object that has focus. Choose an event (top left) where you want your script to run, choose a language (typically javascript) and leave the Run At parameter as client. All script for that event will be automatically written into the template for you when you save. You can change events and your script will disappear. All that means is that there is no script on th eevent that you are looking at. In the event dropdown, if there is an * beside an event that signifies that there is code on that event.
    Hope that helps

  • Disabling fields on initialization of form

    Hi,
    I am new to LivcCycle Designer and I am trying to disable fields on initializing a form. If there is already a discussion about this or a how-to could someone point me there. I am having problem finding documentation on this.
    Thank you for the help

    all you need is....
    this.access = "protected".
    this is a JavaScript code try using in initialize event of the field that you want to disable.

  • Disabling Field Disables the Entire Form

    I am trying to disable fields in the 'User Library.xml' form depending on who logs in; unfortunately the code below disables the whole form.
    Any pointers on how to get out of this logjam?
    <Field name='global.login_desc'>
    <Display class='Text'>
    <Property name='title' value='Login Description'/>
    </Display>
    <Disable>
    <eq>
    <block name="loggedinuseraccountid">
    <invoke name='getUser'>
    <rule name='EndUserRuleLibrary:getCallerSession'/>
    </invoke>
    </block>
    <s>Administrator</s>
    </eq>
    </Disable>
    </Field>

    A little javascript should do it.
    function switchForm(form,flag){
      inputs = form.elements;
      for(i=0;i<inputs.length;i++){
        inputs.disabled = flag;
    }No need to go to the server for this one.                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • BDC with disabled fields

    Hi all,
    I'm writing a BDC program for a transaction that might contain disabled fields. At run time I can't determine wich fields are disabled so the BDC doesn't work when I try to write in a those fields. Does anyone know how I can solve this issue?

    "Blind Data Carry" - that's a new one on me... it used to be Batch Data Communication!
    When you say "can't determine which fields are disabled", well generally you can do this - but it may require a lot of code and database lookups i.e. SAP itself determines which fields to block at runtime depending on configuration and data values and other switches therefore it should be technically possible to anticipate which are open for input and which are not.  If you chat to your functional guys, they can often give you broad business rules that might help e.g. "Balance Sheet GL accounts won't have Cost Centre open for input" which may help you write something a little easier.  You're likely to have the same problem with BAPIs - if you provide data values that are not required the BAPI may issue an error too.
    Which transactions are you trying to BDC into?
    Jonathan

  • Disable field with JeditorPane

    Hi, i ve a simple problem : impossible to show a disabled field in a form contained in my JEditorPane component. : i can clic on a button or a text area even if it s disable (disable attribute in HTML code). Please tell me how to do.

    not anwsered.

Maybe you are looking for