ME59N - Making Plant Mandatory

All -
Is there a way to make the plant field mandatory in ME59N? Any help is appreciated!
Thanks!

I didnt have much luck with SHD0 - im assuming thats what you meant by screen variants.

Similar Messages

  • How to make plant mandatory field in Sales order thru standard SAP process

    Hello,
    There is requirement in business that User wants to make plant field Mandatory in Sales order line item once material number is entered. Can you please guide me how I can make Plant field mandatory thru Standard SAP process.
    I had checked it thru Incompletion process & Order type incompletion messages but still Plant field is not becoming mandatory in Sales order. It only gives incompletion log while saving the SO. Please suggest how to do it thru Standard SAP process.
    Thanks & Regards,
    Saurabh

    HI
    Plant will determine based on Customer-material Info Record, Customer Master data & material Master
    If plant is not mandatory in customer Master and Customer material no problem
    but at the time of creating the material master  Plant Mandatory as per my knowledge, so system will pick plant from Material master  that is the case why you required plant Mandatory in Sale order level
    and you need to do Shipping Point Determination for that plant
    Did you check by using User Exit ? if not try once what i have suggested
    Try with User Exit
    MV45AFZZ , FORM USEREXIT_SAVE_DOCUMENT
    VBAP - WERKS = " "
    if VBAP - MATNR , POSNR = not initial
    Error Messgae "E"
    Check and Revert
    Regards,
    Prasanna
    Edited by: prasanna_sap on Feb 14, 2012 11:41 AM

  • Making field mandatory in ME21N

    Hi All,
    I need to make the Purch.Requisition field mandatory in the Purch.Order in ME21N.
    it should be mandatory only for one specific company code and DOCtype.
    ( like, mandatory only for CompCode 3000 and doctype NB ).
    the field name is MEPO1211-BANFN.
    Should i be using some screen exit or BADI for this purcpose.
    Thanks.

    Making PR mandatory based on Doc Type can be achieved via SPRO. The path is
    SPRO>Materials Management>Purchasing>Purchase Order>Define Screen Layout at Document Level. Create a new field selection based on your exisiting field selection or modify your exisiting one. It depends on your requirement. Click on Reference data, item You would find PR and some radio buttons. Click the one for Reqd Entry. Save.
    Once this is saved, go to SPRO>Materials Management>Purchasing>Purchase Order> Define Document Type. Enter the updated field selection from above in the document type row for which this change needs to be activated.
    Hope this helps!
    Thanks!

  • Effects of making PR mandatory while creating PO?

    Hi,
    What will be the effect of making PR mandatory while creating PO?

    Dear Ujjwal
    Go to SPRO-Material Managamant-Purchasing--Authorization Managmant-2) Define Functional Auth for buyers---Function Authorizations: Purchase Order Create New function Authority(02- PO With Ref to PR) Mark Ref to Purchase Req.As per require condition.
    Then Go to SU01 pass your SAP ID then goto select parameter and pass Parameter ID as EFB ,Parameter Value 02(as per your confi, and save.)

  • Making Fields mandatory in Production Order

    Hi,
    In transaction code CO01 i want to make the PLANNING PLANT field mandatory, Kindly guide me how to do this??
    Naren

    Hi Narendra,
    Goto SHD0.
    ennter t-code co01 there. goto tab page screen varients and anter varient name Zco01. Write program and screen name there.( you can get this names from F1 help on the field in the co01. in the field press F1 and goto technical information. Pick the program and screen from there.)
    Then create a varient with this information, you will goto co01 tcode, enter there and you will get a pop up asking for different values. You can make the filed you require as mandatory.
    come back if more help is required.
    Sumeet

  • Making fields mandatory

    Hi Gurus,
                  I want to make fields mandatory such as doc. header text , reference in F-02 for all doc. types . So that I can get reports using these fields. Can anybody tell me how can I do (making these fields mandatory) by using SPRO.
    Thanks

    Hi,
    if the fields are available in the field status group assigned to account master data you can make it mandatory by setting it as a "required entry". Caution: every acc. number using this field status group has this field as a mandatroy entry, maybe you have to define add. fiels status groups for only a few accounts where this required entry is necessary.
    In Customizing it can be found by searching for "field status variants" which contains all the "filed status groups". The variants are assigned to each company code.
    BR Christian
    Edited by: Christian Ortner on Jan 22, 2010 1:37 PM

  • Making UDF Mandatory

    Hello Experts,
    I want to make this UDF mandatory in my item master data. I was referring to: Making UDF's Mandatory .. I tried the code given there and it works!
    However, I also want to make another UDF mandatory in the Business Partner Master Data. I used the same code but it didn't work:
    IF @transaction_type = 'A' AND @object_type = '4'
    BEGIN
    If exists (SELECT T0.CardCode FROM OCRD T0 where T0.U_Telno is null and T0.CardCode=@list_of_cols_val_tab_del)
    begin
    SET @error = 10
    SET @error_message = N'Please Fill In Telephone Number'
    end
    END
    Where did I go wrong? Thanks in advance!

    After reading through some forums on SP, I went on to change the Object Type to 2 and redo the UDF and it works fine now.

  • A/R invoice (making udf mandatory)

    Hi All Experts,
           I am trying  to make some UDF mandatory in A/R Invoice as object_type '13'  and transaction_type  'A' and 'U'.The problem is it not at all working and this invoice is sent for financial approval ,i am trying this  which is wrong query as
    IF @transaction_type = 'A' AND @object_type = '13'
    BEGIN   
    if exists (Select T0.cardcode from oinv T0 where T0.U_Region is null and T0.DocEntry=@list_of_cols_val_tab_del)
         begin
              SET @error = 10
              SET @error_message = N'Enter Region'
         end
    END
    Can any one guide me with right query in repect to the approval  process.
    Regards,
    Inder

    Hi!
    Try this
    IF @transaction_type = 'A' AND @object_type = '13'
    BEGIN   
    if exists (Select T0.docentry from oinv T0 where (T0.U_Region is null or T0.U_Region = '') and T0.DocEntry=@list_of_cols_val_tab_del)
         begin
              SET @error = 10
              SET @error_message = N'Enter Region'
         end
    END

  • Making RFQ mandatory for creation of purchase order

    Hi,
    I need to set up the following:
    1. For specific purchase order document types, RFQ should be mandatory i.e. it should not be possible to create purchase order before RFQ is created.
    2. Purchase orders can be created only if RFQ is approved.  How can i set up the release strategy in RFQ?
    Thanks in anticipation of your reply.

    Hello Sameet,
    1. You can use default parameter EVO to make the RFQ manadatory for purchase order. In the parameter you need to flag mark "reference to reference document " indiactor on Fast processing tab and assign this parameter to the user profile.
    2. For setting up RFQ approval process, please follow the steps:
    You must perform the following steps:
    1.  Create characteristics and classes
            For more on this topic, see Edit Characteristics and Edit Classes.
    Note
    If you wish to link your release procedure to workflow, you must perform steps 2 and 3. You make these settings in Customizing for Business Workflow (Basis -> Business Management).
    Otherwise, continue with step 4.
    2.  Define organizational plan
            For more on this topic, see Edit Organizational Plan.
    3.  Assign standard tasks and activate event-receiver linkage.
            For more on this topic, see Perform Task- Specific Customizing.
    4.  Set up release procedure for RFQs
        a)  Create release group
        b)  Create release code
        c)  Create release indicator
        d)  Create release strategy
    Hope this helps
    Regards
    Arif Mansuri

  • Making Classification Mandatory

    Dear all,
    I've created a class with characteristics for my vendor master. How can I make this classification assignment mandatory upon vendor master creation via XK01, MK01 and FK01? So that users would have to assign a vendor to a class thus entering the mandatory characteristics.
    Please assist.
    Thanks!

    used user exit.
    asation.
    write code vaild
    user exit SAPMF02K
    sample code
    IF I_MSEG-SOBKZ = 'E' AND I_MSEG-KZBWS IS INITIAL.
    MESSAGE E002(ZSD01).
    ENDIF.

  • Making Plant As Optioanl In Purchase Requisition Creation

    Hi,
    Can we make Plant as optional while creating the Purchase Requistion ?
    What would the negative aspect of doing the same.
    Regards,

    Thanks for the reply.
    I have changed setting for NBB, still It is giving the same error.
    One of the members in this forum has confirmed that we can't make Plant optional in the PR.
    Pls. note that I am checking the same on IDES.
    Regards,

  • Making Requester Mandatory in PO Distributions

    Hi,
    We have a requirement to make the Requester field mandatory in the PO
    Distribution screen. I used forms personalization to make the required
    property of that field to True.
    But, when i create a new PO, PO line and save it, it does not validate the
    field in the distributions screen. The field is required ONLY when i
    navigate to the screen. Is there a way we can achieve this?
    Thanks,
    Ashish

    Hi... Try this...
    1. Please goto SPRO>Material Management>Purchasing>Purchase Order>Define Screen layout at Document level
    2. Choose "Me21n" and select "Details"
    3. You will be listed with a bunch of "Field Selection Group", double click on them and look for the specifc field label you are lookin for.
    4. choose "Reqd.entry" for the field label.
    Hope this is helpful
    Regards,
    kumara

  • Making checkboxes mandatory on SUBMIT.

    Hi,
    How do I make a checkbox group mandatory , based on the selection of some checkboxes, in a previous section.
    Eg:
    If the user selects a checkbox, then the selection of some checkboxes in the  following checkbox group in the subsequent section has to be mandatory.
    How do I do that.
    Regards,
    Gautam

    Yes if your application is stateless then u have to use the code..
    Even in your case, you can use the code as follows:
    <b>Layout:</b>
    <% data: v_checkbox_id type string,
          sy_tabix type string.
    Loop at itab_map into wa_map.
    sy_tabix  = SY-TABIX.
    concatenate v_checkbox_id 'CHK' sy_tabix into v_checkbox_id.%>
    <td>
    <htmlb:checkbox id = "<%= v_checkbox_id %>"
    checked = "<%= wa_map-field1 %>" />
    </td>
    <% ENDLOOP.
    %>
    <b>In Oninputprocessing:</b>
    DATA: GT_TIHTTPNVP TYPE TIHTTPNVP.
    data: v_checkbox_id type string,
             wa_formfields      TYPE ihttpnvp,
          sy_tabix type string.
    REFRESH GT_TIHTTPNVP.
    CALL METHOD REQUEST->GET_FORM_FIELDS
      CHANGING
        FIELDS = GT_TIHTTPNVP.
    Loop at itab_map into wa_map.
    sy_tabix  = SY-TABIX.
    concatenate v_checkbox_id 'chk' sy_tabix into v_checkbox_id.
          READ TABLE GT_TIHTTPNVP INTO wa_formfields WITH KEY name = v_checkbox_id.
          wa_map-field1 = wa_formfields-value.
       append wa_map to itab_map.
    endloop.
    This will solve the problem..
    <i>* Reward each useful answer</i>
    Raja T

  • Making fields mandatory in tab pages in OM

    Hello,
    Can anyone tell me how to make an individual field within an OM infotype mandatory e.g. the employee group and the employee subgroup on IT1013 on the Working Schedule tab within PPOME?
    I don't seem to be able to track down the module pool.
    Thanks
    Sandra.

    Hi,
    I think, you can use the screen control to make a field mandatory.
    This is found in Tcode PM01-> GOTO-> Screen Control.
    You will have to maintain the infotype feature to call the alternate screen with your screen modifications.
    Details in SAP Help under Developing an Infotype in Personnel Administration -> Infotype Screen -> Control
    Hope this info helps you...
    Best Regards,
    Venkat.

  • Making Fields mandatory in SM30

    Does anybody know how can we make fields in SM30 as mandatory. If we have 4 fields in some Z-table, i want to make 2 of the fields mandatory...Pls help me out.

    Two methods for this
    1. Put code in table maintenance
    You have to put some code in while generating table maintenance screen from table maintenace generator which will validate the field when user try to enter data using SM30..
    Goto table maintenace generator follow menu path
    Enviroment->Modification->Event
    Add a event there (01     Before saving the data in the database) and code to validate data... this code will be called before saving data in database via transaction SM30.
    2 .Modify screen
    Follow menu path Enviroment->Modification->Maintenance Screen
    And make the field require field

Maybe you are looking for