How to make the field as non editable?

Hi Gurus,
I have created the WD leave applications which will trigger the BAPI(which returns half of the work structure allocated to the employee leave sickness)value  will be freezed in the input UI element.
Right now am getting the above said value but UI element is in still editable mode.
My requirement is once we freezed the value UI element has to be non editable.
any useful clues will be higly appreciated with higher points...............
Thanks in Advance,
Dharani

hai dharani,
1.create a context attribute o type boolean and bind it to the ui elements enable property.
2.use the following code to set the enable to false.
3.wdContext.currentContextElement().setEnabled(false);
Any issues let me know.
Thanks n Regards
Sharanya.R

Similar Messages

  • 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.

  • How to make a field in non Editable mode

    Hi All:
    Now i created one form through wizard method this consists of following details
    Table name:T1
    Fields:No,Name
    here my requirement is how to make this "No" field in non editable mode after the insertion of the first record.

    You can make it a display item, you can disable the item, or you can set the update property to No. See the set_item_property in the Help documentation.

  • Signing pdf dokuments with the Microsoft Surface pen. How to make the signature a non-editable part of the file?

    Hi!
    I have purchased a Microsoft Surface PRO 3. One main reason for the purchase is to sign pdf´s with the Surface-pen on the screen, save the file and avoid paper-printing the documents. Problem is however that the signature doesnt become a solid part of the document when saving it. This makes the signatures randomly not visible on some apple-produkcts, some printers etc.
    I use only a free-download-version of the Adobe reader.My question is if a pro-version allow me to save the documents with the electronic signatures as a fixed part of the document - like the rest of the pdf-content?
    Regards Trygve Wedset 

    Hi vward26,
    You can use Acrobat to make only part of a PDF document editable.
    Kindly refer this FAQ:http://tv.adobe.com/watch/acrobat-x-tips-tricks/how-to-convert-just-part-of-a-pdf-file/
    Regards,
    Florence

  • How to make the field in no edit mode

    Hi Experts,
    In the selection screen with default value I am giving one date field. But user wants it in NO EDIT mode. only display.. how to do this. pl. give me sample code. Thanks & Rewards.

    hi
    in at selection screen o/p event
    in the screen table
    make its input = 0
    tables : mara.
    SELECT-OPTIONS :  s_matnr for mara-matnr MODIF ID m default 1000 to 1002.
    AT SELECTION-SCREEN OUTPUT.
         loop at screen.
          if screen-group1 = 'M'.
            screen-input = 0.
           modify screen.
          endif.
        endloop.
    reward if helpful
    prasanth

  • HOW TO MAKE THE FIELDS ON TABLE CONTROL SCREEN FIXED!!

    Dear all,
    Can you please tell me as to how to make the fields on the table control screen fixed (not respond to the scroll bar) i.e. simillar to MC88 screen , the first two fields are fixed and don't respond to the scroll.
    Please Help!!!!
    Vj

    Hi
    In TC, goto attributes and set 'Fixed columns' as 2. This will fix the first 2 columns.
    Regards
    Navneet

  • How to made Qty field as non editable in MIRO

    Hi SAP Gurus,
    While Post a Goods Receipt (MIRO) for Receive the Material from Job
    Worker, the Qty of Raw Material which needs to Issue or consume from
    Stock will propose as per PO BOM. The Qty field of Raw Material is in
    Editable Mode. Business wants that Qty Field to be Non-editable and not
    to allow user to Change the Proposed Qty. As per PO BOM and based on
    Material Received from Job Worker, Raw Material has to Issue or Consume
    from Stock. If any Under Consumption or Over Consumption will be
    adjusted thru MB04.
    Pls let me know is there any setting to make Raw Material Qty field as
    non editable.
    Thanks & Regards
    Sathish
    Ph:9940518715

    Hi,
    There is no field selection in MIRO.
    USE SHD0 and create a screen variant
    Thanks & regards,
    Kiran

  • How to make the field in the output ALV report editable ?

    Hi,
       I have a requirement to make fields like MATNR,WERKS in the output ALV report editable . Could any of you help me with this ?.
    Thank you.
    Moderator Message: Search.
    Edited by: kishan P on Sep 6, 2010 6:35 PM

    Hi
    Please for available information on SCN. There are a lot of information on SCN about ALV wit hEDIT functionality.
    Regards
    Abhii

  • How to make selective fields of VD03 editable?

    Hi all,
    In VD03 transaction, if i press the Display -> Change option in Customer menu all the fields of the tabstrip sales, Billing Documents and Partner functions gets enabled, i.e ready for change. But I need to make only certain fields editable and the remaining fields need to be grayed out. How to achieve it?
    Thanks in Advance,
    Aravindan.

    hi,
    For this you can use screen Variant(Using Transaction SHD0) and assign this screen variant to all user
    Regards,
    Alpesh

  • How to Make the fields Delta enabled or Change pointer enabled in R/3

    Hi ,
    I have a scenario, in which we are using the DS 0CUSTOMER_ATTR to load the master data.There are some fields added to this data source but this fields are not delta enabled i.e. when these fields change in R3 it does not write to Change Pointers ( and hence no delta ). For this reason every week we have to do a full load which takes very long.
    Can any one suggest how to make this fileds delta enabled or how to know weather these fields are writing the Change pointers or not in R/3 when they change?
    Regards,
    Vishnu

    Hi Vishnu,
    In your case you need to build the logic for your custom fields as you have enhanced the Business Content DS..
    The way you can build the logic would be using the CDHDR and CDPOS tables if the changes are recorded in those tables.
    The above tables contain any changes done to any documents..
    Let me know if it helps..
    Best Regards
    Avinash

  • How to make the fields of table clickable?

    Hi Experts,
    I have created one RFC based WD program. We are displaying data in a table. Now I have to make some of the fields of table clickable.
    When the user will click on some of the fields, another RFC should be called.
    How I can do so?
    Regards,
    Gary

    hi
    when you try to select the attributes of the table that has to be  populated
    you may have  to right click on the rootuicontainer and select apply template and select table
    and select the attributes from the node that has to be populated in the table and click next
      and you can find the attributes name and textview which is by default that would be shown inthe table
      instead you can  change the textview and select from the dropdown select the linktoaction and linktourl
      and or you can go other way as add a new column to the table and select buttons to the table .
      and for each each row and on click of the button you can call the RFC .
    Thanks

  • How to make Mandatory field as Non-empty

    Hi All
    I need to make a mandatory field as NON EMPTY.
    How can i do that.
    Please help me on this.
    Thanks
    Sathish

    What have you tried so far?

  • How to make the fields of the table mandatory while creating new entries..?

    Hi,
    I have created a new Z table which has 6 fields. All the 6 fields are KEY fields and all are of CHAR type. I have generated the table maintenance generator for the same. My requirement is all the fields should be MANDATORY while creating the entries. No field should be BLANK.
    When creating the new entries in the table, even if I don't give any values to some of the fields, it is saving the entry. But, it shouldn't happen like that. If any of the field is kept blank, it should not allow the user to save the entry. Can someone tell me how to approach this. Will there be any settings while creating the table which takes care of this.
    I read somewhere that this can be done using the Table EVENTS. Can someone tell me what is the code that we should write there in the Events which prevents the user from saving the blank fields. While writing the logic in the events, how to check whether the particular field is BLANK or not. Will the values be stored in any internal table kind of thing..?
    My table name is ZCRF_TAB and the fields are FLD!, FLD2, FLD3, FLD4, FLD5 & FLD6. Can someone provide me sample code for my requirement. Thanks in advance.
    Best regards,
    Paddu.

    Hi,I think u have generated Table Maintainance Generator, goto Environment->Modifications->Events
    Select appropriate option by using F4,I think value 05 is appropriate for u r requirement.Enter From routine name.Dbl click on the routine.
    Write the appropriate code like:
    If ZTABLE-FIELD1 is initial.
    Message (E000) with "Fill all the manadatory fields".
    Thats it.Just look at the following docu with screenshots,by this understand how u can use Table Events:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
    Regards,
    Rock.

  • To make a field in non editable mode

    hi all,
    I have a requirement. In which i want a field to be in display mode.
    i want the user to select the data into the field only from the f4 option and not to entre manually.
    How can i code this. this is a report and not a module pool program.
    when i tried at selection screen even and loop at screen and input = 0 then i cant pass the value from f4 into the field.
    Kindly suggest.
    Regards & thanks
    vidhya

    Hi VIdya,
    use AT SELECTION-SCREEN ON VALUE-REQUEST Event.
    in the CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
    *   DDIC_STRUCTURE         = ' '      " Pass remaining Values as usual !
        retfield               = retfield
    *   PVALKEY                = ' '
    *   DYNPPROG               = ' '
    *   DYNPNR                 = ' '
    *   DYNPROFIELD            = ' '
    *   STEPL                  = 0
    *   WINDOW_TITLE           = WINDOW_TITLE
    *   VALUE                  = ' '
    *   VALUE_ORG              = 'S'
    *   MULTIPLE_CHOICE        = ' '
       DISPLAY                = ' F'  " Here Passing F forces the F4 Help for Display Field.
    *   CALLBACK_PROGRAM       = ' '
    *   CALLBACK_FORM          = ' '
    *   MARK_TAB               = MARK_TAB
    * IMPORTING
    *   USER_RESET             = USER_RESET
      TABLES
        value_tab              = value_tab
    *   FIELD_TAB              = FIELD_TAB
    *   RETURN_TAB             = RETURN_TAB
    *   DYNPFLD_MAPPING        = DYNPFLD_MAPPING
    * EXCEPTIONS
    *   PARAMETER_ERROR        = 1
    *   NO_VALUES_FOUND        = 2
    *   OTHERS                 = 3
    Hope this simple advice solves your problem
    Cheerz
    Ram

  • How to make the fields dynamic read only in live cycle designer

    hi folks
    I have created a form in Adove livecycle es. Some fields should be read only from the start. So i have set the property .access 'open'. In versions of Adobe 8 this works, but in the latest version  it won't so i think it should be done via another solution. Does anybody know how?
    kind regards,
    Anton Pierhagen

    May be the below code may help.. It loops thru all the pages in the PDF form and make them protected. So the user can not change any value in the form.
    for (var i = 0; i < xfa.host.numPages; i++)
    var oFields = xfa.layout.pageContent(i, "field");
    var nodesLength = oFields.length;
    //set the access type to be protected for all fields
    for (var j = 0; j < nodesLength; j++)
    var oItem = oFields.item(j);
    oItem.access = "protected";
    Thanks
    Srini

Maybe you are looking for

  • Creative Mediasource Library

    Once you have put a CD into CMS, and you have converted the tracks to mp3, when you then burn the same tracks onto a blank disc, and put it into CMS, surely it should already have the info ? It always used to, but now i find it doesn't have the track

  • What software do I need to purchase/subscribe?

    I'm planning to do the $143.88 subscription for PLUS on FormsCentral.  I will be creating probably no more than 15 forms per year.  I will need to create forms, maintain them, do reports and gather data on membership information, registration of even

  • Any bright ideas? (string parsing question)

    Hi, I need to put together some static methods for parsing and comparing strings in different formats. I've written the skeleton methods with some nice comments below: public class ParsingTools {     * This method should be able to convert a string t

  • Why are some apps not shown as installed?

    Are apps that were purchased prior to App Store, in my case iWork apps, not going to show as installed on the MAS? Is it only apps installed from MAS that will appear as installed? Olly

  • XML publisher responsibility

    Experts, Through XML publisher responsibility , i am creating a data defintions and when i click the tab apply the next screen displays the error as # oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Ke