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

Similar Messages

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

  • 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

  • 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 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 MAKE THE SAVE BUTTON IN GREY MODE IN QA32 INTIAL SCREEN

    Dear friends,
    How to make the save button , in the tcode QA32  intial screen in GREY MODE.
    As  i don't want the screen variant created by me should not be seen by the user.

    Hi
    There is one option ,You can protect yor varient but not hide it.
    To protect>QA32>Mydefault>Varient Attibute>click on protect varient.
    If you select the field Protect variant, the variant can only be changed by the person who created it or last changed it.
    I hope this can be one of the solution
    Regards
    Sujit

  • 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

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

  • In List, How to modify the Link in Quick Edit Mode?

    In List, How to modify the Edit in Quic Mode Link? Instead of opening Quick view mode, to open in InfoPath customized form?

    Hi Eugene,
    According to your description, my understanding is that you want to midify the link of "Edit" and set it linking to a InfoPath Form which can bulk edit your List.
    You can use the code above to modify the Edit's hyperlink and set it linking to your InfoPath form.
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function () {
    $("#idHomePageNewItem").next("a").attr("href","the URL of your InfoPath form");
    $("#idHomePageNewItem").next("a").removeAttr("onclick");
    </script>
    For more information about bulk updating a SharePoint list using InfoPath form, you can have a look at the blog:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/c05983fc-d992-49ff-8d18-fa8f70777d66/using-infopath-2010-to-bulk-update-a-sharepoint-list?forum=sharepointcustomizationprevious
    http://infopath.wordpress.com/2013/09/23/infopath-repeating-table-add-edit-delete-sharepoint-list-items-bulk/
    http://sharepointknowledgebase.blogspot.com/2011/10/updating-sharepoint-list-by-using.html#.VGFsKHkcSM8
    If any misunstanding, please feel free reminding me and provide more detail for your issue.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • 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

  • Blackberry Desktop Software does not recognize Curve 8310 (on Computer Mass Storage mode is available)

    Blackberry Desktop Software does not recognize Curve 8310 (on Computer Mass Storage mode is available). Can not sync or do anything else. I believe I have the latest versions of Desktop Software and Device software. Stuck in limbo at this point. 

  • Currency Conversion Issue

    HI experts, i have an issue with my currency report, where user want see the sales volume data converting from CAD to US $. when i checked the query the conversion type is Avg rate M source to CAD and the Target currency is CAD only. but when he exec

  • Set Flag Automatically in Transaction BP

    Hello, We are in SRM 4.0 , classic scenario. We have a requirement to create a LSMW to set a flag "Central Block" under status tab for selected Business Partner. We tried this requirement using LSMW, Recordings. But it does not work. Do we have any B

  • How to interface the Weigh Bridge System with ABAP thru' RS232 PORT

    Hi Gurus, Can any one guide me how to interface the Weigh Bridge System with ABAP thru' RS232 PORT. I think we have to use the BAPI. What is the name of the BAPI. I have to capture the GROSS WEIGHT, TARE WEIGHT. can any one give me the code for that.

  • Installing SQL on OS 10.6.3

    I am interested in working with SQL in a very limited fashion so that I can assist my company as it tries to transition from a DOS based database to SQL. Curiosity and desire to learn is my motive. On the internet I've been floundering in terms and o