Copy Planning Plant to Sort field in Maintenance Plan

Hi All,
Is there any User Exit User exit is available to Copy Planning Plant to Sort field in Maintenance Plan.
Regds
Vinit

I think it is not possibe as the sort field in maintenance plan is a customizing field. you can not enter any value in the sort field but you in SPRO first you have to maintain the values  for sort field.
The sort field in order and notification, there you can copy the planning plant or anything else as they are manual input fields

Similar Messages

  • Sort field in maintenance order

    Hello;
    I want to make sort field in maintenance order as a mandatory field. But if I make it as a mandatory field, system still allows me to save the order as long as I have not clicked 'Location' tab. So there is no positive control over this field. May I know, how do I achieve this? I have even tried to put order type as the influencing field but it does not help.
    Points assured.
    Regards
    Hemant

    Hello Hemant,
    access to the SAP service marketplace via www.service.sap.com to create an OSS message. Choose link "product errors". Therefore you need an OSS user and you have to be authorized to create OSS messages.
    To create an user-exit, you have to go to transaction CMOD. There you have to create a project and assign the enhancement you want to use (I'm not really sure, but I think IWO10009 is the correct one in your case - you can search the user-exits via transaction SMOD - search for IWO*).
    After this you have to implement your coding and then you have to activate the project.
    The implementation of the user-exit should be done by an ABAP developer.
    By the way - I've had a look at the OSS. There's note 768576.
    Reason and Prerequisites
    The problem is caused by a missing function.
    Influences set via field selection will only become effective if a screen with the corresponding fields is processed. You must also refer to the documentation defined in the corresponding Customizing area. For the location & account assignment data, no additional check is (such as with the general order header data) is realised during the saving.
    Prerequisite
    Via field selection you declared fields of the location & account assignment data as mandatory field, and no screen that contains these fields was passed.
    Solution
    By means of the example code, you must implement a corresponding mandatory field check via customer enhancement IWO10009 at the time of the order backup.
    1. Create subroutine Z_IWO10009_GET_DATA_FOR_FAW in program SAPMILA0. It would be best if you create an own include ZMILA0F1 for this so that you will not have any unnecessary expenditure for future Support Packages (via Transaction SE80).
    FORM Z_IWO10009_GET_DATA_FOR_FAW.
      CALL FUNCTION 'CO_IH_GET_HEADER'
           IMPORTING
                     CAUFVD_IMP = CAUFVD.
      CALL FUNCTION 'CO_IH_GET_ILOA'
           EXPORTING
                     CAUFVD_IMP = CAUFVD
           IMPORTING
                    ILOA_WA    = ILOA.
    ENDFORM.                    "Z_IWO10009_GET_DATA_FOR_FAW
    2. Create the following source code in customer enhancement IWO10009:
    STATICS: XTFAWF LIKE TFAWF OCCURS 0 WITH HEADER LINE.
    tables:  tfawf.
    DATA: wa_screen    LIKE screen.
    FIELD-SYMBOLS:  'A'.
      perform Z_IWO10009_GET_DATA_FOR_FAW(SAPMILA0).
      if xtfawf[] is initial.
        SELECT * FROM TFAWF INTO TABLE XTFAWF
                 WHERE PROG = 'SAPMILA0'.
      endif.
      LOOP AT XTFAWF WHERE CUST_M = 'X'.
        CALL FUNCTION 'FIELD_SELECTION_INFLUENCE'
             EXPORTING
                  dynprogruppe = '7   '
                  mode        = 'C'
                  modulpool    = 'SAPMILA0'
                  fieldname    =  XTFAWF-MFELD
             IMPORTING
                  input        = wa_screen-input
                  output      = wa_screen-output
                  active      = wa_screen-active
                  required    = wa_screen-required
                  intensified  = wa_screen-intensified
                  invisible    = wa_screen-invisible
             EXCEPTIONS
                  OTHERS      = 1.
        if wa_screen-required = 1.
          clear lv_mfeld.
          lv_mfeld = 'CAUFVD_IMP-'.
          case XTFAWF-MFELD.
            when 'ILOA-AUFNR'.
              lv_mfeld+11 = 'IAUFNR'.
            when 'ILOA-KOKRS'.
              lv_mfeld+11 = 'IKOKRS'.
            when 'ILOA-BUKRS'.
              lv_mfeld+11 = 'IBUKRS'.
            when 'ILOA-GSBER'.
              lv_mfeld+11 = 'IGSBER'.
            when 'RILA0-ARBPL'.
              lv_mfeld11 = xtfawf-mfeld6.
            when others.
              lv_mfeld11 = xtfawf-mfeld5.
          endcase.
          ASSIGN (lv_mfeld) TO  IS INITIAL.
            Message E461(IW)
            with 'Mussfelder der Standort&Kontierungsdaten füllen'.
            EXIT.
          ENDIF.
        endif.
      endloop.
    endif.
    3. Activate the changes
    Correspondingly you can implement this solution also for the order release, for example, via customer enhancement IWO10002.
    Bear in mind that this is a source code proposal. It might be useful or necessary to adjust this source code to special applications.
    Best regards
    Stephan
    Edited by: Stephan Theis on Jan 5, 2008 11:20 AM

  • Sort field in maint.plan&in ip30

    hi
    does some one implementd sort field use in img of maint plan
    and does dead line monitoring in ip3o
    whar are the benifits or scope
    ponts will be rewarded

    Hi,
    The sort field is used to 'sort' plans according to different criteria that you need to configure.
    For e.g. If a company has 200 Maintenance plans and you want to know all the plans valid for a certain division of the company. You can have these plans sorted as per company division.
    You will need to configure the sort fields in IMG. If company name is COMP, then sort fields may be
    COMPDIV1, COMPDIV2 etc (just an example).
    For scheduling maintenance plans indvidually IP10 may be used. However in real scenarios. the transaction IP30 is used to do a scheduling of all the maintenance plans together.
    Thanks,
    KF

  • Sort field in maintenace plan

    hi
    does some one implementd sort field use in img of maint plan
    and does dead line monitoring in ip3o
    whar are the benifits or scope

    Hi,
    The sort field is used to 'sort' plans according to different criteria that you need to configure.
    For e.g. If a company has 200 Maintenance plans and you want to know all the plans valid for a certain division of the company. You can have these plans sorted as per company division.
    You will need to configure the sort fields in IMG. If company name is COMP, then sort fields may be
    COMPDIV1, COMPDIV2 etc (just an example).
    For scheduling maintenance plans indvidually IP10 may be used. However in real scenarios. the transaction IP30 is used to do a scheduling of all the maintenance plans together.
    Thanks,
    KF

  • How are maintenance plant and planning plant linked in PM(Plant Maint).

    Hi All,
    How are maintenance plant and planning plant are linked in PM(Plant Maint).Where can I configure both of them in SPRO(I mean the path).
    I am a hard-core technical consultant so am sorry If I am asking a silly question.
    Kind Regards,
    Anshu Kumar

    Hi,
    Please find below the path to cretae the planning plant and assigning the plant:
    SPRO-Enterprise StructureDefinitionPlant MaintenanceMaintain maintenance planning plant;
    SPRO-Enterprise StructureAssignmentPlant MaintenanceAssign maintenance planning plant to maintenance plant;
    A Maintenance plant in which the technical objects of a company are installed.
    A Planning plant is a plant in which the maintenance tasks are planned and prepared.
    Hope it will help.
    Regards,
    Manish

  • Planning plant & work center

    Hi All,
    I have one scenario pls guide how we can do it in SAP PM.
    I have three maintenance plants but none of them is having planning plat situated in their premises. Planning plant is totally different entity. It works for all three maintenance plants along with their own workcenters.
    In above case, can we create only planning plant irrespective of maintenance plant/logistics plant??
    Can we assign work centers to only planning plant??
    Sundar

    Hi
    The details below is taken from the SAP IDES. These definition will be enough for you to get a conclusion...
    The maintenance planning plants must first have been created as normal plants.
    If all the plants in your organizational structure are also maintenance planning plants, then you must include each of these plants as a maintenance planning plant.
    Recommendation
    You should then always use maintenance planning plants if the maintenance planning is carried out centrally for several plants in one plant. If, from a PM perspective, each plant stands alone, then each plant is also its own planning plant.
    Assign the differing maintenance planning plants to the maintenance plants
    In Plant Maintenance, a distinction is made between the organizational units "planning plant" and "maintenance plant".
    Maintenance plant
    In a maintenance plant, you can manage technical objects and main work centers.
    Planning plant
    In the planning plant, maintenance task lists are defined for the respective maintenance plants, material planning is carried out on the basis of bills of material in task lists and orders, maintenance plans are managed and scheduled, maintenance notifications are created and maintenance orders can be handled.
    Technical objects and main work centers can be created in the planning plant just as in the maintenance plant.
    - Pithan

  • 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

  • How to change planning plant in Maintenance order

    Hi experts ...
    In maintenance order , depending on equipment , the planning plant gets defaulted . If Equipment is installed in another FL whose planning plant is different , the order's planning plant doesn't change (Greyed) . Is there anyway to change planning plant in orders
    NPB

    We have maitenance and planning plant same .Equipment was in maintenance plant XYZ and planning plant XYZ earlier . Now the same equipment is in maintainance plant ABC and planning plant ABC . In order , I am able to change maintenance plant  to ABC , but unable to change the planning plant to ABC .
    If I do not change planning plant and change only maintenence plant , what are the effects in cost reporting ? Since ultimately cost is settled to equipment cost center (which is now changed to ABC cost center) , I feel there will not be any effect . Old planning plant may only affect search right ? ....Please advise ...
    NPB

  • Assign Maintenance Planning Plant to Maintenance Plant

    Hi All,
    What is the purpose of the configuration node "Assign Maintenance Planning Plant to Maintenance Plant"?
    What happens if we don't maintain this configuration?
    Regards,
    Devasenapathy.K

    Hi ,
    Maintenance Planning Plant and Planning Plant are different
    In Logistics you define Plant which has to be distinguished as Maintenance Planning Plant . In these Plants you will plan for all your maintenance tasks
    You can plan and created
    1. Task list
    2. Planning and scheduling of Maintenance Plans
    3.creation of  Notifcations
    4. Execution of Maintenacne Orders
    Maintenance Plants are also termed as Plants in which your technical objects are installed
    For example, if an equipment X is installed in the Plant 0001 then Plant 0001 is called as Planning Plant and this plant on its own cannot plan for maintenance activities unless it is created as Maintenance Planning Plant
    if this Plant 0001 is created as Maintenance Planning Plant, then this plant is responsible for Planning and execution of tasks for maintenance
    this is where your assignment is needed, if not Maintenance and execution cannot happen
    hope it is clear
    thanks

  • 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

  • Maintenance plan report.......

    hi all,
    please any one help me to solve this issue....
    my client wants ... A report to show all preventive maintenance objects call/planned dates of maintencenance plan, which were issued,completed and not completed with status issued,completed and not completed.....for the last 12 months.....
    so can any one share the procedure means from which table i can get the info to solve this issue so that i can do customized report with the help of ABAP coding..
    thanks in advance.........
    regards
    gunnu

    Hi,
         Check the below tables :-
    MHIO     Call Object from Maintenance Order
    MHIS     Maintenance plan history
    MMPT     Cycle definitions and MeasPoints for MaintPlan
    MMPX     Maintenance cycle short texts
    MPLA     Maintenance plan
    MPOS     Maintenance item
    T351     Maintenance strategy
    T351P     Maintenance packages
    T351T     Maintenance strategy texts
    T351X     Maintenance strategy package texts
    T399G     Maintenance Plan Sort Field
    T399G_T     Descriptions for Maintenance Plan Sort Fields
    T399P     Maintenance item category parameter
    T399W     Maintenance plan type parameter
    T399W_T     Maintenance plan category descriptions
    VIMPOS     Maintenance Item (view)
    1. You have different status at MP Call object level , Called , Completed, Hold, fixed, skipped, Manual,
    2. For MP :- CRTD,Inactive, Locked, Deactivated etc
    3. You need to differentiate via Maintenance Plan Category
    4. Call Object Status
    5. Maintenance Plan status
    6. Time period
    etc
    regrds
    pushpa

  • BOM is not getting displayed in case of centralized planning plant.

    Dear All,
    there are 2 plants for which we have centralized planning. the users have created Equipment BOM for the two plants. but in case of the second plant for which the planning plant is different from the maintenance plant, the BOM is not getting displayed in the Maintenance Order (i.e. in the components tab).
    kindly through some light on it. whether i have to do some settings for it.
    Regards,
    Ritesh Kapoor

    Hi,
    Yes while using IH01, i have ticked the BOM explosion option, but when i am giving the plant there then only it is displaying the BOM of that equipment.
    Also when i am creating an order for the same equipment, then it does not displays the BOm & shows the message which i have written in my previous mail.
    Ritesh

  • Goods issue in planning plant.

    As per the client requirement my maintenance plant is P11,P12 and P13(these plants are newly set up)  and my planning plant is
    P01,P02 and P03.And my spares are in P01,P02 and P03.Now my goods issue will be done in my planning plant as the spares are
    in planning plant.For this scenario,what are the necessary config to be done for my new plants P11,P12 and P13  so that I dont
    face any issue in goods issue.Similarly should any necessary settings be done if I want to do my GR in spare parts plant i.e.
    planning plant.

    Hi Dear,
                 You assign the Planning plant to the maintenance plant, then you can issue the Goods.
    No Special Assignments needed.
    Hope it helps you.
    Regards,
    Yawar Khan

  • Maintenance plan for Mirror database

    HI All
    How do we implement Maintenance plan for high safety Database mirroring?
    We have Server A (Principal)and server B (Mirror) and we created maintenance plan on principal server and this maintenance plan have 3 sub plans plan full backup  schedule daily plan 2 log backup every 10 minutes and plan 3 purge the full backup files
    ,log backup files and log history if older then 2 weeks . All jobs are running fine in principal sever .but how to run theses after fail over by agent?
    My client accept maintenance plan,  other wise i will create the jobs with tsql script on both server ,will enable on server where database is principal 
    Please help it very urgent.
    Vanchan

    Hi Vanchan,
    As described in this
    article, when preparing the mirror server to take over the role of principal in the event of a failover, we need to copy maintenance plans from the principal server to the mirror server.
    About how to copy maintenance plans from one Server to other, please follow the steps in the blog below.
    http://mssqltrek.com/2011/08/27/how-to-transfercopy-maintenance-plans-from-one-server-to-other/
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • 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.

Maybe you are looking for