Validate Maintenance Plant field in Notification

Hello All,
I made the MaintPlant field in the Location tab of the notification mandatory via the OIAZ transaction using the 'Influencing' fields Notification Type.
However, the system still lets me save a notification (in t-code IW51 & IW52) even if I don't enter a value in the MaintPlant field. The system shows the message "Fill in all required entry fields" only if I select the Location tab.
What I wish to do is to find a way to have the system validate that an entry exists in all the mandatory fields in any tab when the notification is saves. More specifically, it would even suffice if I can have the system validate only the MaintPlant field while saving and generate an error message if value does not exist.
Thanks
Jensibo

Thanks Kolla Pushpa.
I had already tried the 'Field Selections' and did not want to use it here.
I tried SHD0. But even this was working like the standard transaction. I suppose becuse it was agian a variant of the transaction and screen.
However, the user exit was helpful and I was able to achieve what I wanted.
Thank again for your help.
Regards
Jensibo

Similar Messages

  • How to make WBS element field in Notification a mandatory.

    How to make WBS element field in Notification a mandatory.
    Should I use USer Exit.
    In cutomization I didnt find ant standard customization

    Hi,
         If it is about WBS element field in Maintenance Order then check up user exit ;- IWO10009 PM Order: Customer Check for 'Save' Event
    For Notification i am not sure whether this field is ther , but anything u can perform checkings via 
    QQMA0014 QM/PM/SM: Checks before saving a notification
    Alternatively u can also explore via Transaction variant SHD0 ..
    regards
    pushpa

  • Error when trying to change maintenance plant of a PM equipment

    We need to change the maintenance and planning plant of an equipment in order to specify his new location when it is transfered. Although it is described as a normal procedure in SAP help, we receive error message IO 231 saying that "maintenance plant A and planning plant B are in different controlling areas" and SAP does not let us proceed with the plant change ! Did anybody have the same experience ? I believe that it is probably a customizing setting somewhere in FI-CO ! Any help is welcome.

    Hi Thyagarajan,
    here is what you find in SAP help:
    <u><b>Changing the Maintenance Plant</b></u>
    <u>Prerequisites</u>
    It may be necessary to change the maintenance plant for a piece of equipment. For example when it is to be installed at a functional location which is in another maintenance plant, or when it is to be used in another maintenance plant from now on.
    However, you can only change the maintenance plant for a piece of equipment, when the piece of equipment is no longer installed at a functional location.
    <u>Changing a maintenance plant has the following consequences:</u>
    -The system automatically clears all fields of the master record that are dependent on the maintenance plant.
    -A change of maintenance plant can result in a change of company code, which causes the system to clear all fields that are dependent on the company code.
    -The company code change can produce a change in the <b>controlling area</b>, which means that the system clears all fields dependent on the controlling area.
    So for me, it is clear that having plants in different controlling areas should not prevent us from changing the equipment maintenance plant.
    Message was edited by:
            Eric Canivet

  • Maintenance Plant or Planning Plant ?

    Hi Experts,
    While running the report or any T-Code many times i observed there is a field ony Plant.
    Like in while creating workcentere the field is only plant i know it is Maintenance Planning Plant.
    If i am not wrong where ever i see the field only Plant it means it is Plannin Plant ?
    Please give your comment on this.
    AR

    Dear Pete,
    Like while creating workcentre system is only asking for entering Plant and i know it is Planning Plant.
    Also while displaying Material through MMBE there is field plant it mean it is planning plant because all the inventry of material is done for doing the planning activities so that it must be Planning Plant.
    But i am not not 100% sure about the above two.
    It seems that workcenter can be maintain under Maintenance Plant as wel as in Maintenanace Planning Plant same may be with inventory stock.This could be the reason system is only asking for Plant.
    But to make it sure i want assurance from you experts.Please give your experts comment on the same.
    AR

  • Supplying Plant field is not appearing in vendor creation of receving plant

    Dear Friends,
    Iam configuring Cross Company Scenario to my  client for the version SAP 4.6C as they implemented a new company code and want to transport the material from one company code to another company code.
    I made all the required customizations in the system
    while creation a vendor code in the reciving plant in Pur.Org.Data screen->Extras--> Add.Pur.data i am unbale to view plant field where we maintail supplying plant
    In OMSG at purchasing data at add purchasing data PLANT, vsr relevacne & plant relevance made optiional
    but while creation of vedor code the other two VSR relevance and Plant relevance indicators are populating but the PLANT field is not appearing.
    without this assignment while creating a STO, shipping data tab is not appearing
    Please Provide me input in solving this error.
    Thanks inadvance
    Regards
    Srini

    Dear Srini Behara
    The field selection is controled at Vendor accounting group.
    For Vendor account group (std 0001) , the field Plant in additional Pur data is supressed whereas for accounting group 0007 this field is activated.
    Please rfer the following path to activate the field
    SPRO--> Financial accounting --> Account receible and Payable --> vendor accounts --> Master data --> Prepataions for creating vendor master data --> Define account groups with screen layout
    Select the Vendor account group and go to Purchase org data and change the Plant filed option.
    Or create teh Vendor under accounting group Plant (0007 std)
    warm regards
    Ramakrishna

  • For LUMF - BOM, Plant field in Sales Order should be editable for TAP

    Dear Gurus,
    I have the following requirement.
    Requirement...
    TheComponent level BOM (LUMF) should be exploded in sales order with one by default plant when iI enter the main component in Sales order but if I want to change the plant of main item manually system should allow me in order change mode. And this changed plant to be determined automatically for all the components of that BOM.
    As we know if we maintain the BOM at component level we will use the Itm Catg Grp "LUMF" so the pricing will be determined on the component level.
    In CS01 we maintain the BOM for a main item. I have followed the same process in CS01 by entering Main Item material, Plant and BOM usage (5). whenever i enter the main item in sales order it explodes correctly with components, quantity and Plant.
    The Plant field for main item (TAP itm Catg) becomes gray. But now my query is that if I want to change the plant of main item system is not allowing me as I have  created BOM for a specific Plant. Same Bom I have maintained with other plants also
    I know that We have one more option in CS01 like we can create a BOM without entering Plant also. But before I doing it for trial and error I want to know whether it will work for my latest requirement.
    And what is the Group BOM ? how to use it? will it be helpful me in this requirement?
    Please help me for the issue, I need to configure it as soon as possible.
    regards,
    Vojas

    Dear Kapil,
    Thanks for your suggestion i followed it also but yet I am facing the same problem.
    I did as follows
    I extended the Main item and components to the different plants.
    And also created the same BOM for different plants in CS01.
    After doing this if I create a Sales order and enter the Main Item with quantity system asks me for the Plant to explore the BOM, as i enter a plant BOM get explodes and the plant for main item becomes gray which i dont want. Any how I want the this plant field for main item in editable mode.
    Let me explain my requirement in short
    I maintain the LUMF BOM (Pricing at component level) .
    once I enter the BOM material with quantity system should explode the bom with one plant by default. and in change mode of sales order the Plant for main item should be editable instead of gray mode. Becoz decision can be changed later on the delivering plant location.
    Please suggest me. Its a high priority issue for me.
    regards,
    Vojas

  • More than one Planning plant for a maintenance plant.?

    hi Friends, can we have more than one Planning plant for a maintenance plant.Is there any advantage or disadvantage of this condition.?

    Hi,
         You can have Maintenance Planning Plant & Maintenance Plant in any of the follwing ratios, i.e., 1:1 / 1:n / n:1. Actually in Maintenance, there can be electrical & mechanical maintenance.
              In the case of 1:1 relation, all the maintenance activities (Electrical & Mechanical) will be planned by single Maintenance Planning Plant for single Maintenance Plant.
            In case of 1:n, single maintenance planning plant will do the plaaning of maintenance activities for all the maintenance plants.
          In case of n:1, electrical activity will be planned by one Maintenance planning plant & mechanical activities by another planning plant for a single Maintenance plant.
          Defining Maintenance planning plant & maintenance plant in different relations will help us in generating different kind of reports.
    I am looking forward your reply.
    Regards,
    Maheswaran.

  • To find the date type fields in the row and validate those date fields

    TYPES : BEGIN OF TY_MARA,
              MATNR TYPE MARA-MATNR,
              ERSDA TYPE MARA-ERSDA,
              ERNAM TYPE MARA-ERNAM,
              LAEDA TYPE MARA-LAEDA,
              MTART TYPE MARA-MTART,
            END OF TY_MARA.
    DATA : it_mara TYPE STANDARD TABLE OF ty_mara,
          it_mara1 TYPE STANDARD TABLE OF ty_mara,
           wa_mara TYPE ty_mara.
    loop at it_mara into wa_mara.
      describe field wa_mara-ersda type c_data.
    if c_data eq 'D'.
      CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
        EXPORTING
          date                            = wa_mara-ersda
       EXCEPTIONS
         PLAUSIBILITY_CHECK_FAILED       = 1
         OTHERS                          = 2
      IF sy-subrc eq 0.
    wa_mara-ersda = '00000000'.
        append wa_mara to it_mara1.
        write :wa_mara-matnr,wa_mara-ersda.
        else.
            wa_mara-ersda = '00000000'.
        append wa_mara to it_mara1.
        write :wa_mara-matnr,wa_mara-ersda.
      ENDIF.
      endif.
      endloop.
    This issue regarding how to find the date type fields in the row and validate those date fields.If its not a valid date ,i have to assign initial value to that.
    I've tried that for single field using describe field.Please help me do that for all fields.

    Hi Sam,
     I believe we had discussed the same issue in the below thread. Can you please refer the below one?
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d93e16ff-c123-4b36-b60b-60ccd34f6ca7/calculate-time-differences-in-infopath?forum=sharepointcustomizationprevious
    If it's not helping you please let us know
    Sekar - Our life is short, so help others to grow
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • User Exit /Badi to display Plant field in Accounting Doc Generated in MIGO

    Hi All,
      when we do GR in MIGO FOR Movement type '101' , it creates a material document and accountign document. In the Accounting Document , we need the plant field to be displayed with the plant from the Purcahse order in the Addtional Account assingments subscreen. ( the same document can be seen in FB03).
    Is there any user exits or Badi available for this particular scenario. R we missing anything in the functional configuration.
    Kindly let us know. Thanks in advance,.
    Regards,
    Leo.

    Hi,
    You can use the badi MB_DOCUMENT_UPDATE method MB_DOCUMENT_BEFORE_UPDATE
    or badi MB_MIGO_BADI method POST_DOCUMENT.
    You need to call a function module IN UPDATE TASK in order to save the data in DB, you can use an update statement within this FM...
    Create the FM with processing type: Update Module and Start Delayed.
    Regards.

  • Any way to validate the Mandatory field in the XML file

    Hi,
    Is there any way to validate the Mandatory field in the XML file. I created an xml type table xml_validate based on the schema and insert the XML files with statement.
    INSERT INTO xml_validate(warehouse_id,xml_file_name,warehouse_spec)
    Values (agreementid,p_filename,XMLTYPE.createXML(l_clob));
    It is validating the data types, extra tags etc but not validating the missing of the manadatory tag/value.
    Thanks in advance
    Rizly

    Hi Ants,
    Yes, I was not doing the strict validation, after searching the forum i understood that was the reason. So i did this way,
    begin
    for x in (select myColumn from myTable where WAREHOUSE_ID=41) loop
    x.myColumn .schemaValidate();
    end loop;
    end;
    The out put is:
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00011: internal error: LsxvPushCandidate array overflow
    ORA-06512: at "SYS.XMLTYPE", line 345
    ORA-06512: at line 3
    My i know more information about this error, especially
    LSX-00011: internal error: LsxvPushCandidate array overflow
    Thanks in advance
    Rizly

  • How to Validate the Text Field in JSF

    Hi,
    I am facing a issue to validate the text field where the below code accepts (space' ',underscore'_',pipe'|') symbol as a first character and last character.Where by it can accept in the middle.
    It should not accept special characters also. Below code is working properly for special characters.
    <tr>
    <td width="30%" align="right"><b><h:outputText id="aAccrualType" value="Accrual Type" /> </b> <span style="color:red">*</span></td>
    <td width="50%">: <h:inputText id="accrualType" value="#{accrualTypeMast.accrualType}" required="true" >          
    <t:validateRegExpr pattern="^[(a-z)||(A-Z)||(0-9)||(_)||(\s)||(/)]+$" />     
    <f:validateLength minimum="1" maximum="50"/>     
    </h:inputText>
    <h:message for="accrualType" showDetail="true" style="color:red" />
    </td>
    </tr>
    The thing is i dont have much knowledge in regular expression.
    Is there any other way to do this.
    Could anyone help me in this.
    Thanks,
    Ambika&#9786;

    This has nothing to do with JSF.
    I suggest you to read the Pattern API documentation [1]. You can easily create a small Java Application and test the regexp using String#matches() as it uses the same regexp guidelines.
    public static void main(String[] args) {
        String regexp = "^[a-z]+$";
        String value = "foo";
        boolean match = value.matches(regexp);
        System.out.println(value + " matches " + regexp + ": " + match);
    }[1] http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html

  • FI -Follow on Doc-Plant field not updated for Plant to Plant Tfr

    Hi All,
    For plant to plant stock transfer made with movement type 641- the receiving plant and  supplying plant fields are not getting populated in the debit and credit line items respectively in  the accounting document.
    In FI the same G/L Account is getting debited and credited.So there is no meaning or information one is getting from FI. We have to go to MM and see the rec'ing and supplying plants.
    Can anybody tell whether any specific customisation to be done for updating the plant fields in FI Accounting document.
    Thanks in advance.
    Regards
    Deepak

    Hi
    Please maintain plant entries and make an entry default in the extended attribute tab - location radio button in the org structure, for the respective user and recreate the SC.
    R/Reddy.

  • How to validate an text field item using javascript for numbers only.

    hi,
    how to validate an text field item using javascript for numbers only.please help me on this urgent
    please mail me solun if posible on [email protected]

    Hi,
    Page HTML header
    <script>
    function onlyNum(evt) {
      // Usage: onKeyPress="return onlyNum(event)"
      evt = (evt) ? evt : window.event;
      var charCode = (evt.which) ? evt.which : evt.keyCode;
      if (charCode > 31 && (charCode < 48 || charCode > 57)) {
        var status = 'This field accepts numbers only!';
        alert(status);
        return false;
      var status = '';
      return true;
    </script>Item HTML Form Element Attributes
    onKeyPress="return onlyNum(event)"Br,Jari

  • Plant field in MIGO in ECC 6.0

    Hi,
    When I goods receipt a purchase order in MIGO in SAP ECC 6.0 for a particular plant(e.g. 0010) and later on in the day I then goods receipt another another PO for a different plant (e.g. 0600) how come the Plant field still contains the 0010 plant number?
    Is there somewher in SAP that i can remove this feature so it doesn't default back to the previous plant i used.
    Thanks,
    B.

    Hi,
    Check the settings in defalut values in MIGO,
    Steps:
    Go to transaction MIGO,
    Go to Settings in the Menu
    Select Default values.
    Based on the default values system will show the plant value.
    Plese getback with further details if the problem is not resolved.
    Regards,
    Sreenivasa

  • GL Listing with populated plant field

    Hi all,
    In GL listing (T-code-FBL3n) for Sales account-GL there is provision to see the line items detail of Sales Account with Plant as field, but I am seeing the GL line items without Plant field populated, How this field can be automatically populated as this acounting line item automatically gets created as soon as we save Billing document(VF01) and posted to proper GL.
    Kindly help me to populate the Plant field.
    Thanks in advance....
    Raju

    Dear Raju,
    In FBL3N Report there is Change Layout Icon (Ctrl+F8) in Report Toolbar there you have to select Hidden Field Plant and add to report and press copy you will get Plant Column in your report.
    thx
    Ganpat Sundhesa

Maybe you are looking for