Mandatory field "Priority" for maintenance plan

Hi,
Setting mandatory fields on preventive maintenance plan is not possible in customizing.
So the alternative are:
     - User-exit as described above (TCode SMOD)
     - Transaction variants (TCode SHD0)
I've tried SMOD: this approach is not a user friendly option. The user get an error but the field are greyed out and need to click on cancel before the are able to enter data.
So I triend the screen variant (SHD0). But I'm having an issue on the field "Priority" (RMIPM-PRIOK). The dropdownlist is not working...
Does anyone has a workaround? I want to avoid development...
Thanks,
Laura

Hi Laura,
I understand that you are trying to make the Priority field (PRIOK) in maintenance item mandatory. It is a very simple task with User-Exit. Just put the following code in the include ZXPRMU06 of user-exit IPRM0004.
IF IMPOS_IMP-PRIOK IS INITIAL.
   MESSAGE: 'Please Fill the Priority field.' TYPE 'I'.
   RAISE NO_UPDATE.
ENDIF.
You will get this message and the Plan is refused to be saved until Priority Field is filled.
Your ABAPer will be able to do it in few seconds.
Jogeswara Rao K
PS: Also for me SHD0 option has always been last resort.

Similar Messages

  • 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

  • Table for maintenance plan and maintenance cycle and Unit

    Hello,
    I need to know the table where the values are stored for maintenance plan, maintenance cycle and Unit.
    I know that we can get the maintenance cycle and unit from MMPT table.
    Question 1
    If the maintenance plan has only a single cycle then the data is stored in above table MMPT, but if a maintenance plan has mutiple cycles like 1 maintenance plan has maintenance cycle as 364 Days and 1092 days then the data is not stored in MMPt table.
    Question 2
    Requirement is I need to develop a report where in I need maintenance order, maintenance plan and the relevant maintenance cycle and unit. Supose an maintenance order is created for the above maintenance plan which has 2 maintenance cycle how can I identify for which maintenance cycle the order is created.
    Regards,
    Narendra

    Hi,
    Please review PM tables
    PM/SM/SD Tables
    MPOS                       Maintenance Items
    AFAB     Network - Relationships
    PLKO     Task list
    PLAS
    AFFH     Operations
    PRT assignment data for the work order
    AFFL     Work order sequence
    AFFT     Order process instructions
    AFFV     Order process instruction values
    AFFW     Goods movements with errors from confirmations
    AFIH     Maintenance order header
    AFKO     Order header data PP orders
    AFPO     Order item
    AFRC     Table of planned changes to conf.: Automatic goods receipt
    AFRD     Default values for collective confirmation
    AFRH     Header information for confirmation pool
    AFRU     Order completion confirmations
    AFRV     Pool of confirmations
    AFVC     Operation within an order
    AFVU     DB structure of the user fields of the operation
    AFVV     DB structure of the quantities/dates/values in the operation
    MPOS     Maintenance ITEM
    AFWI     Subsequently posted goods movements for confirmations
    AUFK     Order master data
    AUFM     Goods movement for order
    MPLA     Maintenance Plans
    BGMK     Master warranty header
    BGMP     Master warranty item
    BGMS     Text item master warranty
    BGMT     Master warranty text
    BGMZ     Warranty counter information
    CRHD     Work Center Header
    CRTX     Text for the Work Center or Production Resource/Tool
    EQKT     Equipment short texts
    EQST     Equipment link to BOM
    EQUI     Equipment master data
    EQUZ     Equipment time segment
    HIKO     Order master data history
    IFLO     Functional Location (View)
    IFLOT     Functional location (TABLE)
    IFLOTX     Functional location: Short texts
    IHGNS     Plant maintenance permit segment
    IHPA     Plant Maintenance: Partners
    IHSG     Object-related permits in Plant Maintenance
    ILOA     PM object location and account assignment
    IMPTT     Measuring point (table)
    IMRG     Measurement document
    KAKO     Capacity Header Segment
    KONP     Conditions (Item)
    KONV     Conditions (Procedure Data)
    OBJK     Plant Maintenance Object List
    QMEL     Quality notification
    QMFE     Quality notification - items
    QMIH     Quality message - maintenance data excerpt
    QMMA     Quality notification - activities
    QMSM     Notification - Tasks
    QMUR     Quality notification - causes
    STPOA     Name is does not have an A at the end; BOM items
    T001     Company Codes
    T001L     Storage Locations
    T001W     Plants
    T077D     Customer account groups
    T003O     Order Types
    T352R     Maintenance revisions
    T353I_T     Maintenance activity type description
    T356     Priorities
    T357G     Permits
    T357G_T     Table 357G texts
    T370A     Activity category for PM lists
    TINCT     Customers: Incoterms: Texts
    TVKO     Organizational Unit: Sales Organizations
    TVKOS     Organizational Unit: Divisions per Sales Organization
    TVKOV     Org. Unit: Distribution Channels per Sales Organization
    TVTA     Organizational Unit: Sales Area(s)
    VIAUFKST     Order selection view
    MMPT Cycle detail
    Regards
    Carlos

  • Status "Inactive" set for maintenance plan.

    Dear all,
    while doing
    Maintenance plan-->functions-->Activate<-->Inactive-->Deactive for maintenance plan
    which field and Table  we can able to get the details,Status "Inactive" set for maintenance plan.
    Required
    Changed by, Changed on , Deactivated field
    Regards,
    U.Linganathan

    Please refer MPLA table to OBJNR value.
    Refer JCDS & JEST tables to get the Inactive Maintenance plans.
    If Status I0320 is active in JEST table, then that Maintenance plan is Inactive.
    Pass INACT is not equal to "X" & OBJNR = "WO*" to get all Inactive Maintenance Plans OBJNR values. Pass that in MPLA table & get WARPL value.

  • Table name with feild Duration of Task/Frequency , Change in Duration/Frequency for maintenance plan

    hi experts,
    i need a table for maintenance plan which has field
    1) Duration of Task/Frequency
    2) Change in Duration/Frequency
    below i have elaborated my requirements.
    among those fields i have got the table name mpos,mpla,plpo except the above listed two feilds.
    i have to create a report with these requirements.
    anyone tell me in which table can i get that 6 and 7th fields.
    Requirement1:
    Maintenance Plan Number 
    Operation Code 
    Standard Teode(assigned to Plan)
    Standard Text Key description
    Cost Center
    Duration of Task/Frequency
    Change in Duration/Frequency
    Created Date
    Created By 
    Changed On 
    Changed By
    Requirement 2: layout of the report should be modifiable with the existing fields.
    Requirement 3: A transaction will be created to access the report.
    Requirement 4: In the report, Maintenance Plan number will be hyperlinked which will divert to AMP screen (display view of maintenance Plan) once clicked on it.
    Requirement 4: Report should contain all created and changed Maintenance Plan details.
    Requirement 5: Initial selection parameter for the report will be only Date. Based on the entered date, records created or changed during the duration should be picked up in the report.
    Requirement 6: Change in frequency will only be picked for single cycle plan. Strategic Plan will not be considered in case frequency change made in it.
    Requirement 7: Change By and Created By should be the complete name instead of User ID.
    regards,
    priya

    can anyone answer for my above question?
    regards,
    priya

  • No. range not found for  maintenance plan

    Hi Team,
    I have maintained no. range for maintenance plan in SPRO. However I am getting this error while creating maintenace plan.
    Thanks

    Hi,
    Check the number range customizing again via IP20. Use the groups option to ensure your number range interval is assigned to the maintenance plan category. Also check that maintenance item number range is maintained correctly via IP21.
    -Paul
    Moving to [Enterprise Asset Management (EAM)|Enterprise Asset Management (SAP EAM); forum

  • Service products for Maintenance Plan

    Hi All,
    Is it possible to Create maintenance plan from a a Service product  - Contract Line item(VA41)? I have come across the Tcode OISF but do not know how to make use of it?
    Would appreciate if you could throw some light on this?
    Pranav

    Hello
    You have maintained the following data for the service product that you subsequently entered in the outline agreement under Logistics --> Customer Service >Service Agreements>Environment -->Sales and Distribution -->Service Products:
    ·        Plant for maintenance planning
    ·        Work center
    ·        Order type
    ·        Plant of maintenance work center
    ·        Business area
    ·        General maintenance task list (you cannot assign equipment task lists or functional location task lists)
    ·        Task list type
    Then-you have created an outline agreement that fulfils the following conditions:
    1)The contract category is Contract.
    2)The contract type is Service and Maintenance.
    3) On the tabstrip Sales, you have specified
                  I)the start and end dates of the contract
                  II)service product as outline agreement item
    4)You have specified the start and end dates for billing in the billing plan under Goto> Item>Billing plan.
    When Creating the Maintenance Plan for Above Contracts
    1)When creating a maintenance plan, you choose an appropriate maintenance plan category.
       Maintenance plan category with reference to an outline agreement, maintenance call object u201Cservice orderu201D
    Enter the following data:
    1)Valid outline agreement
    Regards,
    Rakesh

  • Mandatory field 'Reason for Delay" required in VKM3 Tcode application

    Hi to all
    We use tcode VKM3 to release the sales order for which credit limit check does not required.
    Our requirement is to add a mandatory field 'Reason for delay" so that we can write in that field what's the reason to releasing it through VKM3.
    Please guide me how to fullfill that requirement.
    Thanks & Regards
    Anubhav Gupta

    Hi Anubhav,
    Refer to the following very useful link:
    Re: Add new fields to VKM3 transaction
    Hope it helps.

  • Field Selection for Maintenance Planing

    Hi Dear,
               I have done some field selection somewhere in SAP System.Now when I am creating Maintenance Item,Maintenance Plan,now I am getting Function Location field as Required.
    I don't remember where is the field selection for making the field Function location mandatory.
    Please suggest.I am also looking into it.
    Thanks and Regards,
    VJ

    Hi Narasimhan,
                           I got the field where the changes need to be done.In Notification reference screen I had set the Function Location as a mandatory field.
    Problem solved by me it self.
    Thanks for your Effort.
    Thanks and regards,
    VJ

  • Set field selection in maintenance plan

    Please help me where i can set or remove the  Equipment field as a mendatory in maintenance plan in SPRO
    R.S Raghav

    Hi R.S Raghav,
    If the field Equipment is already mandatory in maintenance plan, then check in transaction OIAO, this is for notifications, (the equipment field may be made mandatory for Notification). You can make that as optional entry.
    Check and revert back with your observations.
    Regards,
    Praveen

  • BI content for Maintenance Plan and Maintenance Item

    Dear community,
    we use in OLTP the transaction IP06 (Maintenance Item) and IP03 (Maintenance Plan) in module PM.
    Can anyone tell me the matching BI content in BW system 7.0 to import most of those fields from ERP?
    Not only master data, also transaction data (e.g. like scheduling list).
    I've already searched help.sap.com but didn't find a matching datasource.
    Regards

    Dear Srinivas,
    I've already run a systemtrace to find out the tables:
    The following tables are involved: MPOS, MMPT, MPLA and MHIO, MHIS.
    In BI-Content I just find MPOS in the DataSource 0PM_MAINTPOS_ATTR and 0PM_MAINTPOS_TEXT. That is ok for master data.
    The other tables I couldn't find in BI-Content.
    But maybe the BI-Content does not use these tables. Maybe there is used a view which I don't see in the trace.
    Regards.

  • BAPI for Maintenance Plan Scheduling with EHP5

    Hello.
    In documentation for LOG_EAM_CI_4 mentioned that: [API functions have been developed for the scheduling of maintenance plans. These APIs provide the same functions as transaction IP10: the creation of maintenance calls or the changing of existing maintenance calls|http://help.sap.com/erp2005_ehp_05/helpdata/EN/33/46AC67364447A3BA2F4EFA65B8C014/frameset.htm].
    We have activated EHP5 and all LOG_EAM_CI* business functions in our system, but still can't find this "magic" BAPI.
    Does anybody know its name?
    BR,
    Pavel
    Edited by: Pavel Nedvijaev on Nov 7, 2011 5:37 PM

    Maheswaran.K thanks for your reply, but as i wrote above we have activated all LOG_EAM_CI* including LOG_EAM_CI_3.
    Version of software components SAP_APPL, EA-APPL is 605 as it needed.

  • Workflow for maintenance plan

    Hi .
    I need to start/ deactivate / stop a maintenance plan depending upon few conditions.
    Is there any workflow for above mentioned scenario

    Hi,
       You can give the conditions in your workflow bulider. Check the link for more details.
    Work Flow Triggering when purchase order is released
    Cherck the posts of Raja Sekhar and Rob Dielemans.
    Thank you,
    Ramu N.
    Message was edited by: Ramu Nemurgommula
    Message was edited by: Ramu Nemurgommula

  • Deadline Monitoring for Maintenance Plans

    Hi there,
    i want to execute the deadline monitoring (IP30) for a maintenance plan in
    a function module. Unfortunately I couldn't find a function module for this
    purpose.
    So I tried to execute RISTRA20 (program connected to IP30) with the
    following statement:
    SUBMIT ristra20
      USING SELECTION-SCREEN '1000'
            WITH SELECTION-TABLE rspar_tab
            AND RETURN.
    Problem with this call is that some dialogue-dynpros are shown - I want the deadline monitoring completely in the background.
    Any ideas? Thx in advance..
    Regards,
    Markus

    we have found similar problems in many PM jobs; in some cases there are some Notes pointing to the issue ( and fixing them, too ) ; for this case check Note 984177 and related.

  • WLK1 Table mandatory field data for DATBI & DATAB missing

    Hi ABAPers,
    I have an issue in production i.e in table WLK1 few records have created which have data missing from mandatory field DATBI & DATAB . Can anyone tell me the reason for that and how to delete those records.
    Thanks,
    Soumya .

    Here in our case we are creating materials and availing certain time period i.e. DATAB and DATBI  for selling those in different stores. So if those goes missing will certainly cause problem.
    So, just by a creating Z code for selcting those records then deleating them and after that listing them again to database will solve the problem or not?
    Thanks.

Maybe you are looking for