Activity type field in Maintenance Order

Hi all
My client requirement is that activity type (LARNT)should me mandatory in maintenance orders to capcture the cost with out fail.
Could any body suggest me that when we need to do that?
Regards
Srinivas

Hi
Since the work center is mandatory you can make the activity type mandatory for workcenter master data record in OPFA IMG
or check in OIOPL where you can make the activity type as mandatory ,but i think it will only work once you nagivate the operation tab
or check whether user exit order at save will be useful
regards
thyagarajan

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

  • Data Source to get activity type(ActTyp) for service orders.

    Hello friends..
    Could you please provide, with the data source, that can be used to derive activity types (ActTyp),for service orders.
    (Not maintenance activity type (PMACTTYP, in BI))  
    I have checked ZLIS_18_ORDER, where i could find (Maintenance activity type, ILART) but not Activity type.
    Or if we need to create a Genric DS for same, could you ppl please provide me with the table name, to get the Activity type.
    Thank you.
    Raghu

    Thank you Rajesh,
    Could you please lemme know, how can i pick this value, as there is no AUFNR (Order Num) in this table, so that i can pick up using order number.
    Thanks '
    Raghu

  • Maintenance activity type  and order type  for plant maintenance order

    How can i get the maintenance activity type  and order type  for a given plant maintenance order. Please let me know the table where i can get these two fields
    In AFIH i can only get the MAT for an order number

    Maintenance activity type -
    AFIH - ILART
    Order Category Indicator Plant Maintenance -
    AFIH - AKKNZ
    reward if heplful

  • Origin Object Type for Plant Maintenance Orders in Profit Center Accounting

    Hi,
    I want to make a selection for plant maintenance orders in transaction KE5Z, report for line items in Profit Center Accounting. When checking possible input options for the selection field <b></b>Origing Object Type<b></b> the system shows value 15 for Maintenance Orders. However I discovered in our system the maintenance orders are reported as Origing Object Type 03, which is Overhead Orders according to the selection list. So I cannot distinguish between overhead orders and maintenance orders in this report.
    What is the cause our maintenance orders are assigned to Origin Object Type 03 in stead of 15 and what is the customizing transaction to correct this ?

    Looks like, this is no longer supported. Refer to note 168004 and  102434.
    Cause and prerequisites
    These functions were not programmed to meet the above requirements.
    As of Release 4.0, the object type is transferred directly.
    Solution
    Once you have implemented the advance correction. the origin object type 'Overhead cost order' (03) is assigned irrespective of what is the SCOPE for orders.
    As a result of implementing this note or as of Release 4.6B, the order category distinguishes between overhead cost orders and production orders in the origin object type. In this case, the following origin object types result (as described above in 1.):
    Order category 04 to 10, 40 => 04 (production order)
    All other order categories => 03 (overhead cost order)
    The logic that the origin object type was set depending on the object class (as described above in 2.) is no longer supported. The object class can be evaluated separately in Reporting. -
    The corrections of this note refer in Release 4.0B to the corrections from Note 102434.

  • PR type generated by maintenance orders

    Hi Gurus,
    Where do you defined the type of purchase requisition generated by maintenance order ? Is it possible to have different types of PR depending on the material type of the component in the maintenance order ?
    Cheers
    Olivier

    Hi,
    You can define the PR type at following IMG point:
    - Plant Maintenance and Customer Service
      - Maintenance and Service Processing
       - Maintenance and Service Orders
         - General Data
           - Define Account Assignment Cat. and Document Type for Purchase Requisitions
    The value is usually set to NB but this can be different. Only one value can be defined for PM orders.
    To get varying document types consider exits COZF0001/COZF0002 and adjust the field BSART.
    -Paul

  • Making Activity Type Mandatory in Maintenance Plan

    Hi PM Gurus,
    Can someone please let me know how to make the field "Activity Type" and "Planner Group"  mandatory (Required Entry) in Maintenance Plan at screen level.
    Cheers
    Deepal

    Hi ,
          If you do not want to go for user exit then you can also get it using transcation variants via tcode SHD0 ... for IP41 /IP02/IP42/IP43 Tcodes ..
    Search this forum for steps as it was discussed many times ..
    regrds
    pushpa

  • Problem in Goods receipt of serializedspare (Movement type: 262) on Maintenance Order

    Dear Experts,
            When i create a maintenance order for equipment and assign serialized spare parts With negative sign and valuation type damaged then i go to T-code MIGO to receive the spare parts (Movement type 262), the below error message has been showed up. This is because, I want to receive the spare part into the warehouse with valuation type (Damaged) differ from the valuation type of issuing it at the first time (Under test)
    So is there a way to receive a spare part with the same serial number on a different valuation type than that one it has been issued upon it firstly.

    grating jagdeep
              this screen shoots for what you have asked for

  • Data associated with Activity Type field in Costing transaction KP26.......

    Hi,
    In what table can I find relation between the<b> Plan Activity</b> and <b>Distribution Key</b> data assciated with a <b>Activity Type</b> field in Costing transaction KP26.
    Please help.
    Regards,
    Rajesh.

    HI,
    Please check these notes.
    86613
    688883    Confirmation with price 0: Message BK057
    645811    Confirmation with plan price 0: No costs in CO
    Plese assign points if it useful.
    Regards
    Ravinagh Boni

  • Planner group field in Maintenance order

    Hi,
    When we create a General Maintenance Order, the planner group from Equipment/Functional Location, value, will automatically appear in the Order.
    But in Refurbishment Order, which is for material, the planner group field do not come automatically.
    Is there any option to maintain the planner group field in the Material master, so that, this can appear automatically in the Refurbishment order.
    Kindly suggest.
    Raja.

    Hi Kutti Raja,
    The Material Master route you are looking for does not look feasible,as there is no relation between Planner Group and Material .
    If your Refurbishment Order is triggered through a Notification (M4), then Planner Group automatically flows to Order.
    The other alternative can be
    1. Create a Z-Table having Material vs Planner Group.
    2, Use the User-Exit  IWO10018  to have default planner group INGPR value.
    This works as I have already tested while replying to a discussion. Please go through this.work order completed by
    and go through my reply having 6 steps. You need to work in the similar lines.
    Take help of an ABAPer.
    Jogeswara Rao K

  • Confirmation of PM activity types in Plant Maintenance or Controlling

    Hi,
    Can anyone tell me if there is a possibility to Confirm activity types of PM workers on PM orders? Which transaction is used for this?
    I would like to settle indirect costs of PM Cost center to PM orders. The tracing factor in this case would be the PM activity types confirmed by the PM workers.
    However, I don't know the PM module and I don't know whether it's possible to confirm activity types using some PM T-code?
    Should I use for this purpose KB21N (enter direct activity allocation) in Controlling, or is confirmation done somewhere in PM module?
    Best wishes,
    Karol

    Hi,
    You are right...
    Confirmation of the activites are always done thorugh PM module transaction only... if i am not worng T.code IW41.. any how check the t.code otherwise consult to your PM consultant
    Only very rarely KB21N is used to rectify or to add some xtra cost
    In day to day lifr the confirmation is done by PM department not by costing department.
    As suraj written for planning activity you use KP26.
    Yah..for allocating the indirect cost to PM order where the basis of allocatio is on confirmed activity cost...this is a simple case of using costing sheet in PM order... where in Base put the activity allocation cost element which you have used in activity type master data and in over head key put % and in credit put cost center which incurrs the indirect expenditure and
    the costing sheet assign in the valuation variant of the order type of the PM order..
    Hope i am clear to you...
    IF helpful assign the points..
    Cheers
    PK

  • Define Purch. Req. transaction type for Plant Maintenance Order

    Hello,
    Does anybody know how i can specify the (default) Purch. Req. transaction type for a Plant Maintenance Order (IW31)? By default it picks up 'NB' but i would want to change this.
    Kind regards,
    Tim

    Hi,
    Go to this menupath spro>IMG->Plant Maintenance and Customer Service>Maintenance and Service Processing>Maintenance and Service Orders>General Data>Define Account Assignment Cat. and Document Type for Purchase Requisitions.Here you can change the doc.type for the PR.
    Regards,
    Venkatesh

  • Control date fields in Maintenance Order

    Hi experts,
    I need to implement a control between the dates of operation of the maintenance order (NTANF and NTEND) and the dates of the header of the order (GSTRP and GLTRP) with an error when saving.
    Can you suggest me a BADI or an exit?
    Thanks a lot!
    L.

    Hi,
        If u want to have checks while saving the Maintenance Order then User exit : IWO10009 PM Order: Customer Check for 'Save' Event Triggeres at the saving the Maintenance Order
    Regards
    pushpa

  • Fields in Maintenance order subscreen Location are uneditable

    In ECC 6.0, In the maintenance work order screen, the fields related to Location tab are not editable. I have maintained the fields in OIAZ as input field . Then also, the fields in the location tab are uneditable.It is displaying the data from equipment master data. How can we make this editable?
    Thanks,
    swami

    Hi ebenalfa,
    Check whether there is a transaction variant created for the transaction IW31/ IW32 and activated as a standard variant in SHD0. If there is, deactivate that transaction variant, that would resolve the problem.
    Regards,
    Muhammad Usman Kahoot

  • Remove Planned Purchase Order from Type field on Purchase Order form.

    Have requirement to remove Planned Purchase Order from LOV on purchase order form in 11.5.10.2. Tried to disable the Planned Purchase Order document type but Disable field isn't updatable. How can I remove Planned Purchase Order from LOV?

    You can modify list of values in a form with CUSTOM.pll.

Maybe you are looking for

  • Error trying to install existing application

    Hello, I have exported one of my Production applications and I am getting an error when I try to install it on my Test server. I am running Application Express 3.1.2.00.02 on both boxes. The application uploads fine, but gives errors when I try to ov

  • PDF content not searchable from Sharepoint 2010 Sever tried every thing

    I have checked many blogs and tried many option i am unable to search the pdf content using Adobe filter (1)i have installed the adobe filter from http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025 (2)set the envoirment variable in the cont

  • CQ60-417DX display

     I have a Presario CQ 60-417DX with display issues. The display would only work in the vertical posistion,ie when tipped back or forward the screen would not have a picture. I replaced the display and this did not cure the problem.  The next steps I

  • SetBackground color not working

    Hello, While viewing my applet from within a HTML file, my background color is still grey, except the buttons. The color is fine while viewing with appletviewer so I'm a bit confussed. Any ideas as to why would be appreciated. Thanks in advance. impo

  • Cabling for 3rd Party RAID Card

    OK, the drives on the Mac Pro plug into the motherboard. And the Mac Pro Raid card seems to access the drives through the motherboard: "A new cableless connection and intuitive Apple software make it a snap to install this optional card." So my quest