Disabling Mandatory field

How to disable mandatory field UOM in PO form whose value will be defaulted from Item entered in PO lines?
I did it thru form personalization by setting ENABLED property FALSE
but getting the following errors:
1. FRM-41035: Cannot set NAVIGABLE attribute of non-enabled item
<blockname.itemname>.
2. FRM-41316 Cannot set Insert Allowed property of disabled item .
3. FRM-41019 Cannot set REQUIRED attribute of non-enterable item .
On ignoring the errors UOM is disabled.
Pls suggest how to overcome these errors?
Thanks in Advance
Sree

Sree,
This looks like an Oracle Forms issue, maybe even EBS related?
I suggest posting this in the Forms forum, as this is the Apex forum.
Toon

Similar Messages

  • Disable a mandatory field in ME21N (Material Group)

    Hi Experts,
    Material group field is mandatory in ME21N. I need to disable the control on this field, how can I do this ?
    In fact, I need to disable this mandatory field for a PO creation in reference to a Contract.
    Many thanks in advance for your help.
    BR,
    Cesar

    Hi,
    If PO is created with material number this field is get defaulted from material master basic data view. But If PO is with short text means without material number, then material group is mandatory anyway..Its stadard SAP program behavior.
    You are saying this field should be optional in case of PO with refernce to contract? Does it mean that Contract is not with material and it is with short text? Please elaborate little bit on your requirement so as to answer d same.
    Deepak.

  • While creating info record mandatory fields are disable .

    hi all,
    while creating info record some  mandatory fields are disable (valid to) in condition what i can do to procede further?
    how i fill data in that  field?

    Hello,
    I think that is set as a mandatrory field. You can give any values in days here. Enter 1 or 2 and proceed.
    Prase

  • How to avoid mandatory fields popup when cancelling a transaction

    Hi All,
    I have created a Employee create page and put some mandatory fields on it
    and have 2 buttons apply and cancel . if i navigate to that page and not enter anything and press cancel button a dialog comes up asking me to enter mandatory fields
    what should i do to avoid that popup ?
    thanks
    ananya

    Either
    1) disable client side validation on press of cancel button
    2)Or Don't mark the fields required and handle this in ur code on apply button event as server side validation.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                               

  • Mandatory fields  for mapping in ORDERS idoc.

    Hi
    I m working on File to idoc scenario for creation of sales order in ECC 6.0 , now I want to know what are the mandatory fields in ORDERS idoc which needs to be populated or else disbaled so that the sales order gets created properly in the ECC 6.0..
    Pl let me know the method of finding mandatory field for mapping for  any idoc  and which fileds of idoc are to be disabled.
    Pl help ..
    ans will be rewarded .
    thanks & rgds
    mojib

    HI,
    U can disable the control record segment and in the IDOC adapter use the option apply control record from payload.
    If you have set the Apply Control Record Values from Payload indicator in the receiver IDoc adapter, the following fields are filled from the IDoc-XML payload:
    ·        MESCOD
    ·        MESCFT
    ·        TEST
    ·        EXPRSS
    ·        STD
    ·        STDVRS
    ·        STDMES
    ·        SNDSAD
    ·        SNDLAD
    ·        RCVSAD
    ·        RCVLAD
    ·        REFINT
    ·        REFGRP
    ·        REFMES
    ·        STATUS
    ·        DIRECT
    ·        OUTMOD
    ·        CREDAT
    ·        CRETIM
    read the information in below link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/ab/bdb13b00ae793be10000000a11402f/frameset.htm
    thnx,
    chirag

  • How to disable a field in selection screen based on condition.

    Hi,
    I have 2 radio buttons- p_normd, p_recov  and 2 other controls - like text boxes, say tb1 and tb2. and some mandatory fields below.
    If i choose p_normd, i want one control(tb2) to be disabled and if i choose p_recov, i want the other control(tb1) to be disabled(tb2 should be enabled then.)
    Currently i am using the following code. The 1'st radiobutton is intially checked. But the problem is when i click on the 2'nd radio button, the other control(tb1) is not getting disabled. When i double click, i get an error telling mandatory field to be filled. Only after the other mandatory fields below are filled, and after i double click on the unchecked radiobutton, the other control gets disabled.
    Please suggest what to do..
    The current code below:
      AT SELECTION-SCREEN OUTPUT. "ON RADIOBUTTON GROUP rg01.
      LOOP AT SCREEN.
      IF  p_normd EQ c_x  AND screen-group1 = 'SC2'.
            MOVE 0 TO screen-input.
          MODIFY SCREEN.
      ENDIF.
      IF p_recov EQ c_x AND screen-group1 = 'SC1'. "IF screen-name = 'ERDAT-LOW' OR screen-name = 'ERDAT-HIGH'.
            MOVE 0 TO screen-input.
            MODIFY SCREEN.
      ENDIF.
      ENDLOOP.
    Thanks,
    Ammu

    Hi
    declare your parameter as below:
    parameters: p_x type c radio button group g1 user-command r.
    in at selection screen output event .
    check for the radio button.
    loop at screen.
    if screen group is <desired value>
    then screen-active = 0 or 1. <do whatever you want to do.>
    modify screen.
    endloop.
    see below the sample code.
    <<<<<AT SELECTION SCREEN EVENT>>>>>
    AT SELECTION-SCREEN ON BLOCK B1.
      IF P_LCOST = C_X.
        PERFORM CLEAR_FIELDS.    " Clearing fields before loading the screen
        CALL SELECTION-SCREEN 100 STARTING AT 20 5.
      ELSEIF  P_MCOST = C_X.
        PERFORM CLEAR_FIELDS1.          " Clearing fields before loading the screen
        CALL SELECTION-SCREEN 101 STARTING AT 20 5.
      ENDIF.
      IF SY-SUBRC = 0.
        PERFORM VALIDATION.             " Validating selection screen input
      ELSE.
        LEAVE TO TRANSACTION C_TRAN.
      ENDIF.
    <<<<<<DECLARATION PART>>>>>>
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: P_LCOST RADIOBUTTON GROUP GI DEFAULT 'X',
                P_MCOST RADIOBUTTON GROUP GI.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS WINDOW TITLE TEXT-002.
    SELECTION-SCREEN BEGIN OF BLOCK B2.
    PARAMETERS: P_COAREA TYPE CSKS-KOKRS OBLIGATORY,         " controlling area
                P_FYR    TYPE COEP-GJAHR OBLIGATORY,         " fiscal year
                P_PERIOD TYPE COEP-PERIO OBLIGATORY.         " fiscal period
    SELECT-OPTIONS: S_CCNTR FOR V_KOSTL OBLIGATORY,       " Cost Center
                    S_COELM FOR V_KSTAR MODIF ID M1,       " Cost element
                    S_PDATE FOR V_BUDAT OBLIGATORY.       " posting date.
    SELECTION-SCREEN END OF BLOCK B2.
    SELECTION-SCREEN END OF SCREEN 100.
    SELECTION-SCREEN BEGIN OF SCREEN 101 AS WINDOW TITLE TEXT-003.
    SELECTION-SCREEN BEGIN OF BLOCK B3.
    PARAMETERS:     P_CCODE  TYPE T001-BUKRS OBLIGATORY,         " Company Code
                    P_FYEAR  TYPE COEP-GJAHR OBLIGATORY.         " fiscal year
    SELECT-OPTIONS:   S_GLACC FOR V_HKONT OBLIGATORY,       " G/L Account
                      S_PCNTR FOR V_PRCTR MODIF ID M2,      " Profit Center
                      S_PODATE FOR V_BUDAT OBLIGATORY.      " posting date.
    SELECTION-SCREEN END OF BLOCK B3.
    SELECTION-SCREEN END OF SCREEN 101.
    thanks
    LG
    Edited by: LalitG on Apr 13, 2011 1:38 PM

  • How to set an mandatory field to non-mandatory.

    Hi,
    In my form, I will need to set a field to mandatory in certian condition and then set it to not mandatory under different condition.
    I know how to set it to mandatory: field.mandatory = "error"
    Can someone let me know how to reset the field to not mandatory.
    Thanks,
    Laura

    You can try:
         field.mandatory = "disabled";
    Thanks
    Srini

  • Disabling a field when a radiobutton is selected.

    Hi,
    I have two radio buttons R1  and R2  and three input fields date1,date2 and date3 of which date3 is mandatory. My requirement is when I click on R2 the field date1 needs to be disabled. I am coding the logic at selection-screen output. But since the field date3 is mandatory this logic is calling after the madatory field check only. I want it to call before the mandatory field check.
    Any solution?.
    Thanks & Regards,
    Soumya.

    look at this code it may help u
    SELECT OPTIONS
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS: r1 RADIOBUTTON GROUP rad1 MODIF ID sc7 USER-COMMAND cli DEFAULT 'X',
                r2 RADIOBUTTON GROUP rad1 MODIF ID sc6.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_ponum  FOR ekpo-ebeln MODIF ID sc1,   "PURCHASING DOCUMENT NUMBER
                    s_prodno FOR afko-aufnr MODIF ID sc2.   "ORDER NUMBER
    PARAMETERS
    PARAMETERS:     p_chno(8) TYPE c MODIF ID sc4.          "Challan no
    SELECT OPTIONS
    SELECT-OPTIONS: s_date FOR sy-datum MODIF ID sc5
                                  NO INTERVALS NO-EXTENSION.    "Date
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTIONSCREEN OUTPUT
    At selection screen if user selects PO then the Prod order will
    become dispaly only and if user selects prod order then
    the PO field and the challan.no becomes display only.
    In both cases the date will be mandatory field.
    AT SELECTION-SCREEN OUTPUT.
      IF r2 = 'X'.
       IF NOT s_prodno IS INITIAL.
        LOOP AT SCREEN.
          IF screen-group1 = 'SC1' OR screen-group1 = 'SC4' ."OR screen-group1 = 'SC5'.
            screen-input = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
      IF r1 = 'X'.
       IF NOT s_ponum IS INITIAL.
        LOOP AT SCREEN.
          IF screen-group1 = 'SC2'.
            screen-input = '0'.
            MODIFY SCREEN.
          ELSEIF screen-group1 = 'SC4' OR screen-group1 = 'SC5'.
             screen-required = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    reward if useful.
    Regards
    Dheeraj

  • Question about making mandatory fields hidden

    If I make an empty mandatory field hidden, do I have to set the mandatory property to "disabled" to prevent it from triggering the error message since it's empty?

    You are calling it a problem and I say works as designed. When you make a field mandatory you are indicating that the field must have a value (in the data file). When the submit is pressed, the mandatory fields are checked and if a value for that field is not in the data dom (in the bound node) then the message s displayed (whether the field is visible or not the binding still exists). You should make the field not mandatory by default, then make it mandatory when you make it visible.

  • Disable mapping fields

    Hi
    Is there any way to disable the fields in mapping.
    I am using same Message Type for source and target. But i want to disable some fields in source structure... is there any way to disable the fields in source structure.
    Thanks & Regards
    Sowmya....
    Edited by: Sowmya on Jun 2, 2008 11:20 AM

    HI,
    To Disable fields from Source structure will not make any logic as either the Source structure fields are mandatory or optional and you will be sending any data to it by any means either directly or by UDF, only target side Structure is important. Thus you can disable the fields in Target Structure.
    Right click on any of the field in Mapping -> Mark Disable filed option to disable the field
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jun 2, 2008 8:03 AM

  • Routing : disable the field "net price" in external process

    Hi all PP guru,
    in Routing, is there any way i can disable the field "net price" in external process, not let user enter any value in, also force the Purchase info record as mandatory field ?
    anyone know how to use "OP5D" ?
    Regards
    kh

    Hi,
    In the Transaction: OP5D:
    Select PP/QM task lists: operation screens
    In the Next Screen all the Fields are arranged in the Alphabetical Order.
    For Net Price: Select the Disp. Radiobutton (Display)
    For Purcase Infor record: Select the Req Radiobutton ( Required)
    Every time the Filed Net Price is for display purpose and Purchase Info Record is a Mandory Field for you.
    Hope this helps..
    Regards,
    Siva

  • Bypass mandatory fields...

    Hi All,
    How to bypass some mandatory fields to next screen(rendering true/false) in same page without validation.

    hello,
    Are you getting client side validation errors or server side?
    If its client side you can disable them by:
    <client-validation-disabled>true</client-validation-disabled>in your adf-faces-config.xml
    If all else fails you can also set showRequired="true" instead of required="true", the database should still throw required errors but they are less pretty.
    -Anton

  • Table -Mandatory fields -Intial Values

    All,
    Created a custom table with mandatory fields with Intial values. But now I want these mandatory fields with out Intial values.I tried to disable it and activate the table, But these intial values are comes back(enabled automatically) after table activated. Also I tried with SE14, but it returns the same.
    Some one please suggest me on this Issue .
    Regards,
    srs

    Hi,
    You cannot disable the once set value for the primary ker fileds and activate it again,as once value set for the key fields they will remain as it is. But this doesnot mean you cannot do it .
    Delete all the enteries from the table, delete the maintainence generator,activate the table.
    Again maintain the maintainenece generator and activate the tabel, and now do the eneteries.
    though this is bit lenghty procedure but will will solve the problem.
    Pooja

  • What are the mandatory fields while creation of material master in differen

    what are the mandatory fields while creation of material master in different views?

    Hi Gopi,
      This is purely depends on the function configuration, which would be done MM consultants.  Kindly check with them.
    thanks & regards
    Kishore Kumar Maram

  • Dynamic mandatory field error message is not getting displayed in webui

    Hi,
    In Appointment if the importance is HIGH i made Location as mandatory.For this i enhanced BT126H_APPT/ApptDetails. In the get_p_location() method of BTACTIVITYYH i have written the code.
    Now the problem is Error message for this dynamic mandatory field is not getting displayed in webui.
    I debugged in DO_FINISH_INPUT error message is getting generated but it is not getting displayed in ui.
    Can anybody tell where the problem is?
    Thanks,
    Hari.

    Hi Hari,
    Really sorry do not know how to convert this nug file to text
    How ever quick solution for your problem would be just keep your validation in 'DO_VALIDATE_INPUT' method of the view controller.
    Means even if the User clicks on SAVE , Since it fails here , it would not allow you to go further.
    Thanks,
    Rajesh P

Maybe you are looking for