Making a custom field mandatory in co11n txn ?

Hi Experts,
I have added a field in co11n transaction ( say a) i want to
make these field mandatory ( i.e i should not let the user to
save the order without the value in my field ?
can any tel me how to do this, which exit should i use ( i have
list of all exit for co11n txn ) ?
thanks,
siva.

If dont want to code in Exit again . Try Chain Endchain.
This can be written in the screen you had developed in PAI module.
  CHAIN
  FIELD:AFRU-ZZCHARG MODULE FORM_VALID.
  CHAIN.
and write your conditional code in FORM_VALID on save button click.
MODULE FORM_VALID INPUT.
  CASE sy-ucomm.
   WHEN 'BU'.
       IF AFRU-ZZCHARG IS INITIAL.
             SET CURSOR FIELD AFRU-ZZCHARG.
         MESSAGE e389(00) with 'Please enter the batch '.
       ENDIF.
   WHEN OTHERS.
ENDCASE.
Thanks Swapnil

Similar Messages

  • Need to Make end customer field mandatory in sales order form.

    I need to make end customer field mandatory when sales channel entered as some value...
    for this i have used when validate record on order form
    when i enter a value in sales channel as desired value the form is getting saved automatically and the field is getting mandatory
    but my requirement is to make field mandatory and then to save the order.
    let me know the sequence how it works if any one knows.

    Sanni,
    >
    when i enter a value in sales channel as desired value the form is <b>getting saved automatically</b> and (then) the <b>field is getting mandatory</b>
    but my requirement is to make field mandatory and then to save the order.
    >
    Which trigger are you using to do the "getting saved automatically'?
    Does this trigger fire before the trigger that is making the field mandatory?
    Regards,
    PS: Is this an Oracle EBS query? If yes, this is the wrong forum
    Edited by: Prabodh on Jun 14, 2012 4:48 PM

  • Making task list field mandatory in creation of maintenance plan?

    Dear All,
    I need your help in configuration of Making task list field mandatory in creation of maintenance plan. I checked with sceen variant config but that also not giving me any option to make the field mandatory.
    Is there any note or user exit for it?
    Regards,
    Kaushal Rai

    Dear,
    Pls check the exit IPRM0004:Maintenance plan / item: Customer check for time "SAVE".
    Regards
    Sunil

  • Badi for making gross weight field mandatory in MM01.

    Hi,
    Pls tell me the Badi for making gross weight field mandatory in MM01/MM02.
    Thanks in Advance.

    Hi!
    if it is not working with customizing I would do it in this userexit (CMOD)
    MGA00001
    it is the user exit before saving the material master data.
    have fun
    Flo

  • Making PAN Number Field MANDATORY while creating a Vendor

    Dear Experts,
    I want to create a Vendor Master with PAN Number Field Mandatory.
    Is there any input for making PAN Number Field Mandatory at the time of creating a vendor.
    Regards - Manjunath

    Hi Trivedi,
    I tried the user exit. But it is pulling the values.
    Please find the coding here
    IF j_1imocust-j_1ipanno = ' '.
      MESSAGE e007(zmsg).
    ENDIF.
    We are not abe get the PAN vanue in  j_1ipanno  field.
    Looking for your help .
    Pleas guide.

  • Making PAN Number Field MANDATORY in Vendor Master while CREATING VENDOR

    Dear Experts,
    I want to create a Vendor Master with PAN Number Field Mandatory.
    Is there any input for making PAN Number Field Mandatory at the time of creating a vendor.
    Regards - Manjunath

    Please post in the right forum >

  • Custom field mandatory

    Dear friends,
    In IDES, i have created the project and when iam releasing ,PRs will be creating, While creating PR Iam getting the following message.
    " Custom field mandatory"
    And PRs are not creating.
    Pl.suggest.
    Regards,
    Canand

    Check Field selection for Network in IMG:
    PS->Structure->Op Structure->Network->User Interface settigns->Define Field Selection for Network
    Select Network Details.
    Now Check if Material Group, Purchasing group field is hidden or not. If it is hidden make it input.
    Bye
    SSanjay

  • Solman 7.1 - CRM WebClient UI - custom field mandatory on status change

    Hi
    I've got a question and I'm not sure if it's possible.
    Basically i have created a custom field in CRM WebClient UI and I have added this field to my Z configuration. This works fine.
    Now, I'm wanting to make an error to appear if this field is blank (hasn't been filled in) when the status of the transaction type changes to a specific status.
    i.e. if "custom field" is BLANK when SMTM changes to Closed, then error appears
    I know the field can be made mandatory, but this particular custom field won't be filled out straight away. Therefore I want the check to occur when the document is closed. Can this be done via PPF Conditions? Or is ABAP/enhancement the only way?
    Thanks
    Shaun

    Hi,
    For customizing crm web ui, you must need AET or EEWB tools. Best Practices for SAP CRM Web UI Customization - CRM - SCN Wiki
    but try by using the standard sap note  1772650 - ST710:You can save a message even though mandatory fields are not filled in. which can set certain warning message for custom fields or not and the other relevant  1931783 - Incident can be saved without filling mandatory fields
    Please check.
    Thanks
    Jansi

  • Making Storage Location field mandatory in Work Order

    Hi
    As per our proces, if PR is created from work order and if there is no storage location in work order then PO will have warehouse address as a shipping address. So it is expected that PR must have storage location details when it is created from work order to avoid incorrect shipping address in PO.
    So, I want to make storage location field mandatory in components tab of work order.
    Also I want to avoid the users to deliberately removing the storage location and making it blank.
    Regards
    Prakash

    Hi,
      You will have to use one of the below mentioned user exits  to accomplsih this requirement.
    CNEX0026 Maintenance order: General check for material
    CNEX0027 Maintenance order: Determination of plant or storage location for component
    Thanks
    Narasimhan

  • Making the City field mandatory in PR05

    Hi,
    Could anyone please tell me how could i make the city field mandatory in Travel Expense manager (PR05) and also where could i maintain values for that field to appear as a drop down. ant help on this would be much appreciated.
    Regards,
    Roville

    hi,
       you can make the field mandatory by using the screen modification ,
    path to follow
    Personnel Managment
               |...............Personeel administration
                                             |.....................customizing Procedure
                                                                           |..................screen modification
    and you can maintain the field values by using the IMG Path
    RupaPrasad.

  • Making an ESS Field Mandatory

    Does anyone know how to make an ESS Field mandatory?
    I've looked at this thread, and tried it, but it doesn't appear to work...
    [Customizing V_T588MFPROPC to be in agree to T588M |Customizing V_T588MFPROPC to be in agree to T588M;
    By selecting "Mandatory" in the Administrative Personalization simply puts a red asterisk next to the field but does not contain business logic.
    I'm hoping for a solution that 1. Doesn't require ABAP programming 2. Doesn't require Java WD Programming.
    Please let me know if such a solution exists.
    Thanks,
    -Tim

    have you tried this cause it works correctly without doubt I have done it, please check for bank information for example
    Of course it works without a doubt, Please check the customisation of the table V_T588MFPROPC
    0006 10 P0006 AREAC X
    0006 10 P0006 TELNR X
    These are the fields for telephone number, earlier these were not mandoratory with these settings, they become required,
    Please check

  • Business Partner Custome Fields Mandatory

    Hi,
    I have added some custome felds to the manage business partner. I want some of the custome fields to be mandatory.
    Can anybody tell how to do it?
    Regards,
    Raveendra

    Hi
    Please paste what code you have made here in your reply.
    <b>Meanwhile, go through the following links -></b>
    Re: Vendor Master Extension in SRM
    Re: F4 for customer table fields
    Re: Add custom fields to Contract Transaction in SRM 4.0
    <u>Other realted Information -></u>
    It is possible to add custom fields / structure to the Business partner screen.
    It is required that you create a custom screen (sub-screen) and perform the assignments in the BDT. Go to area menu BUPT. You can see sub-menu Screen Layout. Check the customizing using transactions BUS2 to BUS5.
    You can add custom fields, custom screens and assign custom PBO and PAI function modules. You can have a look at how the existing screens are made and accordingly copy / configure your custom screen and fields. Enhancement through BUPT will work. Just ensure that the field group which you add for that there is a flag 'TABLE CONTROL' in transaction BUS2 which has to be set.
    Hope this will help.
    Regards
    - Atul

  • Making only onr field mandatory in material master

    Hi,
    We want to make a field 'Account Assignment Group (MVKE-KTGRM)' (field is in  Sales: Sales org - 2 view) mandatory for finished products only.
    The field 'Item category Grp' in the same view is already mandatory.
    We do not want to make any other additional field mandatory.
    How this can be done?
    Regards,

    hi,
    You can make the field mandatory based on the only below points:
    1. Transaction
    2. Material type
    3. Industry sector
    4. Plant
    5. Procurement type
    6. Sap delivery
    Now as per above field reference, you can't do only based on the finished production...
    So, think abt it and then choose the field reference key as per your req. and then only it is possible to make it mandatory...
    As per my view you can make it possible via material type, plant ..
    Think abt it...
    Regards
    Priyanka.P

  • Making Posting date field Mandatory in DP91 screen

    Hi All,
    Is it possible to make the posting date field mandatory in the DP91 screen.
    Currently if the posting date is not specified, system will always consider the current date as posting date and picks the appropriate actual line items.  
    Is its possible to make the posting date field Mandatory through standard way or if not through exit.Pl suggest
    Regards
    SB

    Hi All,
    By Mistake I have typed wrongly.The requirement is
    In DP91 screen the current date is populated in posting date to field by default. But the user want it should be empty and they will key in the date.The reason behind is if they will always raise the Billing request for the previous month and by mistake if they executed DP91 for current date it will be an issue.
    Regards
    sb

  • Making input selection fields mandatory in Z-reports

    Hello Experts,
      We have a query on Z-reports:
    1)Suppose if we have some 8 to 10 selection parametrs in input screen of a Z-report & we have certain defined output fields,then we make certain fields as mandatory in input selection screen.
    2)If client's requirement is not to make any of the fields mandatory, then the logic to be built will be too cumbersome. This is because, user can give any inputs in any permutation & combination. This makes the logic for coding more complicated.
    In such cases, what should be the approach, like whether, we should insist client, that any of the fields should be made mandatory entry OR if not, how should we proceed with such  a requirement.
    NOTE: Logic becomes more complex, with the increasing number of input selection parameters(If none of the fields are mandatory).
    Kindly comment / suggest a way out for this.
    Regards
    Mahesh

    Hi Mahesh, In my view, explain the situation to client clearly, also talk to end user .. they'll be in better position to let you know about the information they need in most of the cases (and they don't harm even-if included in other reports as well), make these fields as mandatory.  Let the client know that the easier the report, better would be the benefits (may be 1 report can suffice for 5 reports) .. mostly this is what happens in the practical scenarios.

Maybe you are looking for