Ansicht
Dokumentation

AAIR0003 - IM: Workplace assignmt when creating PM order from app.req.

AAIR0003 - IM: Workplace assignmt when creating PM order from app.req.

General Data in Customer Master   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

This enhancement is primarily intended for specifying the responsible work center to be entered in maintenance orders when you create maintenance orders from appropriation requests.

In the standard system, the system checks if equipment or functional locations are assigned to the appropriation request. If they are, then the system adopts the responsible work center, if one is entered in the equipment or functional location, from that object. Otherwise you can enter the work center in dialog mode.

Using this enhancement, you can establish a different method for determining the responsible work center. You can also use the enhancement to specify that it is not possible to change such a work center later in dialog mode.

Activating your enhancement:

  1. Include SAP enhancement AAIR0003 in an enhancement project (any key).
    To do so, use the Project Management of SAP Enhancements function (transaction CMOD).
  2. Create ABAP program ZXAIRU02 as an include program.
  3. Program the determination of the responsible work center in program ZXAIRU02.
  4. Generate program SAPLXAIR.

The following parameters are available in program ZXAIRU02:

  • I_IMAK
    General data of an appropriation request
  • I_IMAKT
    Language-dependent short text of appropriation request
  • T_IMAKA
    This table contains the affected assets or equipment, if there are any assigned to the appropriation request.
  • T_IMAKPA
    Contains the percentage distributions to requesting cost centers, business areas and profit centers, if there are any.
  • T_IMAKPI
    Contains the percentage distributions to several investment reasons, if there are any.
  • T_IMAKPS
    Contains the percentage distributions to requesting divisions, if there are any.
  • T_IMAKPU
    Contains the percentage distributions to environmental investment reasons, if there are any.
  • T_IMAKPW
    Contains the percentage distributions to requesting material groups, if there are any.
  • X_VAWRK
    This field contains the plant for the responsible work center, which may have already been determined as a default in the standard system. It can be changed by this user exit.
  • X_VAPLZ
    This field contains the responsible work center, which may have been determined as a default in the standard system. It can be changed by this user exit.
  • E_NOCHANGE
    If this flag is set, the responsible work center and its plant can no longer be changed in dialog mode.





BAL_S_LOG - Application Log: Log header data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3141 Date: 20240427 Time: 062604     sap01-206 ( 47 ms )