Making a field enabled

Hi all,
In ME22 Transaction, the DOCUMENT DATE (BUDAT) field by default is disabled .
I have to made it as enabled.
Please suggest me how to make the posting date field as enabled
Are their any BADIS or field exits or any way to solve this problem
Regards
Ajay

It can be done by creating transactional variant in the tcode SHD0.
In the field Transaction on SHD0 enter the transactioncode for the screen you want to modify (E.g. VA03)
In the field Variant on SHD0 enter the name you want to give the transaction variant (E.g. ZVA03)
Press Create
Now the screen for the transaction is shown and you can enter default values in the fields of the screen
Press Enter. Now a screen that enables you to make further customizing (Hide, Output only, Invisible,
Mandatory) if the screen fields is shown.
After you have finished customizing the screen press Enter to go to the next screen and exit
to save the Transaction variant.
Check the tcode the field is made enabled.

Similar Messages

  • Making selective fields editable in adobe form [using web dynpro]

    Hi,
    I have displayed an adobe form using web dynpro application. But I have to make certain fields (not all fields) on this adobe form editable. I dont want to make this adobe form interactive because I dont have to save any data in database. The data entered in the editable fields will be saved as a pdf.
    What I did so far:
    1) The fields which I want as editable,  I have given there type as "User entered/ optional" & for rest of the fields I have given type as "Read only".
    2) In web dynpro, I have enabled the adobe
    3) This is not making the fields editable.
    4) If I write the following code in my webdynpro method WDDOMODIFYVIEW, then my data coming from adobe is not getting displayed even though the fields get selectively editable.
    *data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
    *LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    *check first_time = abap_true.
    *LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
    *LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    *LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    Any inputs regarding this??
    Thanks & Regards.

    Hi,
    Like I had mentioned using the following code in my webdynpro method WDDOMODIFYVIEW, my data coming from adobe form was not getting displayed even though the fields get selectively editable.
    *data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
    *LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    *check first_time = abap_true.
    *LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
    *LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    *LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    So I kept this code & I also kept the Interface type "ABAP Dictionary based".
    Additionally in Webdynpro, I used adobe form generated FM to get the adobe content & passed it to the "content" parameter of my adobe component in webdynpro.
    Thanks & Regards.

  • Module pool fields enable

    hi abapers,
    I developing a screen.
    am using this screen to insert header and item tables to database.
    in the initial display am making all fields in disable mode in PBO.
    so wen i click on update or display i hav to enable some key fields.
    am making enabling the particular fields in PAI but its showing in disable mode.
    even when i click 'ADD LINE' button i have to make multiple entries to my line item table based on my header table.entries.
    <<inapproprate text removed by moderator>>
    Thanks & Regards,
    Rajesh
    Edited by: Matt on Nov 5, 2008 1:19 PM

    use flag...
    declare variable flag1 ,flag2,flag3, flag4 type c....
    in pai...
    when push1.
       flag1 = 1...
    when push 2.
      flag2 = 1.
    etc......
    in pbo....
    if flag1 = 1.
    loop at screen.
    endloop.
    endif.
    if flag2 = 1.
    loop at screen.
    endloop.
    endif.
    etc....

  • Short Dump while making a fields as required in BDT object screens

    Hi,
    I'm making a field as "required" by checking the required button on that field in the BDT screen.
    But am getting a short dump when I'm trying to use that screen.
    It seems like some data is getting converted to bad format due to this (am not fully sure about it.)
    Any idea on this.
    Thanks & Regards,
    Vipul.

    Hi Pinaki,
    The entire functionality is working absolutely perfect if I dont check that field as "Required" .
    I'm not sure if I'm missing some customising or is it a problem with BDT.
    Thanks & Regards,
    Vipul.

  • How to make screen field enable when table control gives an error

    Hi,
        I had a scneario like when table control data wrong then one parameter of the screen should be enabled for the input, i knew that screen-name will not work since it will have always table control fields only when table control gives an error.
    How to make the other parameter enable when table control throws an error.
    Regards,
    Jaya

    Hi Gobi,
         Thanks for your response, but issue is - how to make other screen fields enable when there was an error in the table control data.
    For table control - lets say we will use the code as i mentioned above.i am sure that we cant write the code for field enable in between loop & endloop.
    as you said if we right outside the loop-endloop, the module wont be triggered when table control throws an error, because that statement was not there in the loop-endloop.
    please let me know if you need any more information on the issue. I hope there is alternative for this in SAP.
    Thanks
    Jaya

  • PDF Form javascript for making readonly field by using button

    Please let me know the PDF Form JavaScript for making selected fields(Text field,Drop down list,..) as read-only by using Button.

    Do you want your button to be made read only?
    One starts with Acrobat JS Reference.
    // make all fields in a form read only;
    var oField; // variable for field being processed;
    // loop through the form fields;
    for (var i = 0; i < this.numFields; i++) {
    // process each field name;
    oField = this.getField(this.getNthFieldName(i)).readonly = true;

  • What else must I do to force data entry other than making the field required in LC 9 Forms Designer?

    I am trying to make sure that fields are populated with data prior to moving to the next field, but it seems that simply making the field required is not sufficient.  What else must I do to enforce data entry within required fileds?
    Thank you,

    There are a variety of scripting techniques that can be used based upon the form requirements, UI aesthetics, designer preference,... The script below forces data entry into a text field object called 'tf1' but it is a dangerous practice and should be used carefully. You may find yourself in a infinite loop based upon the tab order. A safer pattern includes global field validation upon submit.
    // form1.page1.subform1.tf1::exit - (JavaScript, client)
    if (this.isNull) {
      xfa.host.messageBox("tf1 is a mandatory field.","Text Field 1 Error",0);
      xfa.host.setFocus("form1.page1.subform1.tf1");
    Steve

  • Problem with the custom field - enabling

    hi,
    i am using one customer field in the shopping card header , and using BBP_DOC_CHECK_BADI to issue an error message if this field is left empty.
    but the problem comes after the error message is issues , this field becomes disabled , and the user has to go back , and again come to the order screen to enter the value and order the cart.
    i have tried all possible options , to keep the customer field enabled , but not able to do so.
    have you got any inputs for me..
    Edited by: khan voyalpad usman on Aug 21, 2008 12:29 PM

    Hi,
    Have you checked the BBP_CUF_BADI_2 implementation in your system ??
    May be some logic there is disabling the customer field right after the error message is generated..
    Thanks,
    Pradeep

  • How to diable only one field enabled and other fields disabled for one user group?

    Hi,
    I have a form contains many fields. A group of users can add items using that form.
    As per the user requirement I have created a filtered view and that filtered view can be seen by some other sharepoint user group but as per their further requirement the new sharepoint user group is only allowed to update Remarks field. All other fields
    should be disabled for them.
    In my idea, I have to create multiple forms and in one of it except Remarks field all should be disabled but I am unable to assign multiple forms to a single list.
    Or how to make Remarks field enable to this user group and for other admin user group all fields could be enabled.
    Hope I have expressed my question correctly.
    Any solution would be appreciated.

    There is no Out of the Box way to set permissions on each column, primarily due to the performance impact. The following thread provides some options,
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c0794232-9bab-4cea-91d8-f311a793a863/how-to-set-column-wise-permission-in-sharepint-list-in-sharepoint-2010?forum=sharepointadminprevious
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Making screen field mandatory

    hi can any one help in making the field email as a mandatory in su01 t-code and kindly help with process where to go and what are the steps do i take to make the field mandatory

    Go to SHD0,
    give the transaction as SU01 and give the name of transaction variant for example 'USR1'. click create. Since your requirement is only for email give some dummy name and click on create. In the next screen give some dummy name and enter and continue till you reach the screen with this title "Screen values 0900 Program SAPLSZA5" . In this screen for the field 'Email' check the box under 'required' column. now click exit&save. give some short text in the next screen and save it under appropriate package, Transport requests.
    Note : you can default your transaction variant as the standard variant. (SHD0 - standard variants tab-> Activate/Deactivate as standard variant)
    Now go to se93 and click on create , give transaction code as for example 'SU01N' (this will be your new transaction for creating user with email as mandatory field) and choose start object as 'Transaction with variant'
    In the resultant screen, give the transaction code as SU01 and transaction variant as 'USR1' (the one we created earlier), check on all gui support box's accordingly, and save it under appropriate package and Transport request.
    From here on you can use SU01N as the transaction for creating users with email as a mandatory field.

  • User Exit for making the field Bill of Lading Mandatory in Delivery

    Please suggest an User Exit for making the field Bill of Lading Mandatory in the Delivery document when we create an inbound delivery.

    Hi,
    I'm not sure, pls check these
    USEREXIT_SAVE_DOCUMENT_PREPARE
    EXIT_SAPLV46H_001
    NOTIF_EVENT_SAVE
    thanks
    Mohanprabu C

  • Does making final field static improve performance or save memory?

    Are final fields given value at compile time by the compiler?
    private final String FINAL_FIELD = "31";
    Does making final field static improve performance or save memory?

    Actually it's final static fields with primitive or String type that are treated specially. For other final fields only extra compile time checking is produced, they are the same at run time.
    final static primitives are treated as compiler constants, and a literal value is substituted. No actual field is created.
    Myself I consider an awareness of Java internals valuable. For example, if you were unaware of the above the occasional misbehaviour of final static primitives referenced in other classes would be baffling. If your code references a final static primitive from another class it's compiled as a literal, not a reference, so if their value changes in the other class, the referring class will retain the old value if not re-compiled.

  • Making a field on screen input enabled or disabled

    Dear Friends,
    Please suggest how can I make a field on my dialog-program screen input enabled or disabled through coding. I understand that the same can be done by setting screen parameters but i wish to do that through programming only.
    Regards,
    Alok.

    Hi Alok,
           A field can Enabled or Disabled by setting its attributes.
    As it is a element placed on screen and modify the screen  you need to modify the screen table.
    loop at screen.
    screen-group1 = 'SC1'.
    Enable:
    if screen-name = 'PA_MATNR':
      screen-input = '1'.
      screen-output = '0'.
    modify screen.
    endif.
    DISABLE:
    if screen-name = 'PA_MATNR':
      screen-input = '0'.
      screen-output = '1'.
    modify screen.
    endif.
    endloop.   
    Some more Info :
    1  --- Active
    1 --- Input
    1 --- Output
    0 --- Invisible
    Screen field is displayed, even if Invisible is set statically.
    Field contents are displayed.
    Ready for input, even if Input is not set statically. However, not ready for input if the Output only is set statically.
    1
    1
    0
    0
    Screen field is displayed, even if Invisible is set statically, except when Output only is set statically.
    Field contents are not displayed.
    Ready for input, even if Input is not set statically.
    1
    0
    1
    0
    Screen field is displayed, even if Invisible is set statically.
    Field contents are displayed.
    Not ready for input, even if Input is set statically.
    1
    0
    0
    0
    Screen field is displayed, even if Invisible is set statically, except when Output only is set statically.
    Field contents are not displayed.
    Not ready for input, even if Input is set statically.
    1
    1
    1
    1
    Screen field is displayed, even if Invisible is set statically, except when Output only is set statically.
    Field contents are not displayed.
    Ready for input, even if Input is not set statically. User input is masked by asterisks (*).
    1
    1
    0
    1
    Screen field is displayed, even if Invisible is set statically, except when Output only is set statically.
    Output is masked by asterisks (*).
    Ready for input, even if Input is not set statically. User input is masked by asterisks (*).
    1
    0
    1
    1
    Screen field inactive.
    Screen field is not displayed, regardless of the static attributes.
    0
    0
    0
    1
    Screen field inactive.
    Screen field is not displayed, regardless of the static attributes.
    Br,
    Laxmi

  • Making a field as read-only using Forms Personalization.

    Hi All,
    I have one requirement.I developed one form which is used to display Customer related Information.Some fields are created under one block and "reason-for-write off amount" field is created under another block.I have created Master-Detail relation for these 2 blocks.If there is any "reason-for-write off amount" is present for queried customers then it shows the "reason-for-write off amount" data.check boxes also created beside customer number field in Master block.If there is no "reason-for-write off amount" for any customer I need to write it and when I click on "submit" button in my form it goes to database.
    Now my requirement is :
    I need to make "reason-for-write off amount" field as read-only and I need to CHECK corresponding Customer "check_box" and make "SUBMIT" button as disable using personalization.
    I wrote code in Personalization as
    Trigger-Event:WHEN-NEW-FORM-INSTANCE
    Condition: :DUMCUST.REASON_FOR_WRITEOFF IS NOT NULL
    Processing mode:BOTH
    Actions:
    object type: ITEM
    Target Object: :DUMCUST.REASON_FOR_WRITEOFF
    Property Name: Enterable
    Value:false
    object type: ITEM
    Target Object:      :XXMCS_CUSTOMER_DETAILS.CUSTOMER_NUMBER_CBX
    Property Name: Value
    Value:1
    object type: ITEM
    Target Object:      :XXMCS_CUSTOMER_DETAILS.SUBMIT
    Property Name: Enabled
    Value:False
    But it is not working..the applied changes are not affected in my form.I tried the above actions with WHEN_NEW_BLOCK_INSTANCE trigger also.I didn't write any validation triggers for these items in my FMB also.
    Could anyone please help me..
    Thanks in Advance.

    in your iterator declare the inputfield with disabled = true .
    p_replacement_bee = cl_htmlb_inputfield=>factory(
                                id        = p_cell_id
                                disabled  = 'true'
                                value     = comments ).
    this will generate the html like below
    <input type="Text"
    class="urEdf2TxtEnbl urEdf2TxtRo urV" autocomplete="off" id="TAB1_1_4" ct="InputField" name="TAB1_1_4" st="r" tp="STRING"
    readonly value="some value" onblur="sapUrMapi_InputField_Blur('TAB1_1_4',event)"
    onkeydown="sapUrMapi_InputField_keydown('TAB1_1_4',event)"
    onkeyup="sapUrMapi_InputField_KeyUp('TAB1_1_4',event)" onfocus="sapUrMapi_InputField_focus('TAB1_1_4',event)">
    now you can use js getElementById as this now has a id attached (TAB1_1_4)

  • Making a field mandatory in purchase order wrt account assignment

    Hi,
       I want to make a field mandatory in purchase order wrt a patricular account assignment category.Can any one of u help me?

    Hi
    Using a BAdi  you can acheive this.
    Create a New Field selction key with Order Acknowledgement as mandatory field
    The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.
    Typical applications for this BAdI include:
    Processing of own objects
    Processing of additional data on standard objects
    Implementation of additional checks and derivations
    Change of data in standard fields
    Change in field selection
    Use one of the the methods
    Field selection At item level method FIELDSELECTION_ITEM_REFKEYS
    Special rules at item level method FIELDSELECTION_ITEM
    This method enables you to change the display properties of fields at item level by supplementing or swapping the field selection reference key. You can thus restrict the processing options for certain groups of users, for example.
    The following parameters are available:
    IM_ITEM
    This import parameter contains the item data of the outline agreement.
    The interface reference is of the category IF_PURCHASE_OUT_ITEM.
    CH_KEY0 to CH_KEY6
    These change parameters contain the field selection reference keys.
    Please go through the BAdi Document tation for more details
    Please take hepl of ABAP er in implementing the BAdi
    Thanks & Regards
    Kishore

Maybe you are looking for

  • Common headers and footers in web applications

    I want to include common headers and footers in all web applications. I do not want to include the header/footer in each application WAR file. I've tried to follow Orion's tutorial for building a response filter, and I get it working to the point tha

  • Production in both plant

    Dear PP Guru, I have two plants 1000 & 2000.HERE mrp is not running.They are creating manual production orders.But now they have one requirement that:They want to manufacture one Finish material A in both the plant i.e.A having five operation but fir

  • No ip address for wifi devices

    Hello, We have an Cisco WAP561 (Firmware 1.1.0.4) in our network. The problem is, after a while the connected device's are not getting a DHCP address from the DHCP server anymore. The DHCP server is a Windows Server 2012 R2 with the DHCP role install

  • In in debug mode ,i got path '/usr/sap/apdo/data/test.txt'

    Could i physically find this txt file, and open it for now?? Where could i find the txt file??? Thanks.

  • BPS - Executing planning function with SAVE

    We are trying to use BPS for a slightly different purpose. We need a front-end to enter sonme data into a transaction cube. The issiue we are facing is we wish to execute a plnning function just before SAVING without having the user press any other b