The most important SAP PM BAPI (SAP Plant Maintenance BAPI)

SAP PM Main BAPI for important Objects of SAP PM: Measurements, Notifications, Orders, Confirmation, Functional Location and Equipment.
As I lost a lot of time finding out which BAPI, I want to avoid you that. So, I am sharing the whole list of almost all data for SAP PM Main BAPI Notification, Order, … ).

The list is organized by topic and the most used bapi are in bold.  The topics for SAP PM BAPI covered here are: 

  • SAP PM BAPI for Equipment
  • Functional Location BAPI
  • SAP PM BAPI for Confirmation
  • SAP PM BAPI for Orders
  • BAPI for Notifications in SAP PM
  • SAP PM BAPI for Measurements

SAP PM Main BAPI for Equipment

Find here some of the important SAP BAPI for Equipment for SAP Plant Maintenance.

BAPI Description
BAPI_EQUI_CHANGE Change Equipment
BAPI_EQUI_CREATE Create Equipment
BAPI_EQUI_CREATE_BY_REFERENCE
BAPI_EQUI_DISMANTLE Install Equipment (Functional Location & Superior Equipment)
BAPI_EQUI_GETDETAIL Read Equipment
BAPI_EQUI_GETLIST Selection of Equipment List
BAPI_EQUI_GETSTATUS Read (System-/User-)Status Equi
BAPI_EQUI_INSTALL Install Equipment (Functional Location & Superior Equipment)
BAPI_EQMT_CREATE Create equipment
BAPI_EQMT_DETAIL Read details for equipment
BAPI_EQMT_DISMANTLEFL Dismantle equipment at functional location
BAPI_EQMT_DISMANTLEHR Dismantle equipment from equipment hierarchy
BAPI_EQMT_GETCATALOGPROFIL Determine catalog profile for equipment
BAPI_EQMT_GETLISTFORCUSTOMER Select customer equipment
BAPI_EQMT_INSTALLFL Install equipment at functional location
BAPI_EQMT_INSTALLHR Install equipment in equipment hierarchy
BAPI_EQMT_MODIFY Change equipment
IDOC_INPUT_EQUIPMENT_CHANGE
IDOC_INPUT_EQUIPMENT_CREATE

Note that BAPI_EQUI_* BAPIs are used to manage Equipment in SAP PM.

SAP PM Main BAPI for Functional Location

Functional Location in SAP PM can be handled by the following SAP BAPI :

BAPI Description
BAPI_FUNCLOC_CHANGE Change Functional Location
BAPI_FUNCLOC_CREATE Create Functional Location
BAPI_FUNCLOC_GETDETAIL Read Functional Location
BAPI_FUNCLOC_GETLIST Read List of Functional Locations (with Internal Key)
BAPI_FUNCLOC_GETSTATUS Read (System-/User-) Status of Functional Location
BAPI_FUNCLOC_SET_LABEL_SYSTEM User-Dependent Setting of Current System Indicator
IDOC_INPUT_FUNC_LOC_CHANGE
IDOC_INPUT_FUNC_LOC_CREATE

Check also

SAP PM Main BAPI for Confirmation

SAP PM Confirmation main BAPIs for Plant Maintenance are:

BAPI Description
BAPI_ALM_CONF_CANCEL Cancel confirmation for maintenance/service order
BAPI_ALM_CONF_CREATE Create confirmation for maintenance/service order
BAPI_ALM_CONF_GETDETAIL Detailed data for maintenance/service order confirmation
BAPI_ALM_CONF_GETLIST List of maintenance/service order confirmations
BAPI_ALM_GET_PROP Propose Data for Time Confirmation

SAP PM Main BAPI for Orders

SAP PM Order ( for ALM ) can be maintained and retrieved via the following SAP PM BAPI :

BAPI Description
BAPI_ALM_COMPONENT_GET_DETAIL Read Detail Data for a Component
BAPI_ALM_OPERATION_GET_DETAIL Read Detail Data for an Operation
BAPI_ALM_ORDERHEAD_GET_LIST Determination of a List of Maintenance/Service Orders from Selection
BAPI_ALM_ORDEROPER_GET_LIST Determination of a List of Operations from Selection
BAPI_ALM_ORDER_GET_DETAIL Reading of Detail Data for an Order
BAPI_ALM_ORDER_MAINTAIN Process Maintenance-/Service Order

SAP PM Main BAPI for Notifications

SAP PM Notifications are an important Business Objects when dealing with SAP PM. Here the most used SAP PM BAPI for Notification:

BAPI Description
BAPI_ALM_NOTIF_CHANGEUSRSTAT Change User Status of a PM/CS Notification
BAPI_ALM_NOTIF_CLOSE Complete PM/CS Notification
BAPI_ALM_NOTIF_CREATE Create PM/CS Notification
BAPI_ALM_NOTIF_DATA_ADD PM/CS Notification Add Data
BAPI_ALM_NOTIF_DATA_DELETE PM/CS Notification Delete Data
BAPI_ALM_NOTIF_DATA_MODIFY PM/CS Notification Change Data
BAPI_ALM_NOTIF_GET_DETAIL PM/CS Notification Read Detail Data
BAPI_ALM_NOTIF_LIST_EQUI Select PM/CS Notifications by Equipment
BAPI_ALM_NOTIF_LIST_FUNCLOC Select PM/CS Notifications by Functional Locations
BAPI_ALM_NOTIF_LIST_PARTNER Select PM/CS Notifications by Partners
BAPI_ALM_NOTIF_LIST_PLANGROUP Select PM/CS Notif by Maintenance Planner Group
BAPI_ALM_NOTIF_LIST_SORTFIELD Select PM/CS Notifications by Sort Field
BAPI_ALM_NOTIF_POSTPONE Reset PM/CS Notification
BAPI_ALM_NOTIF_PUTINPROGRESS Release PM/CS Notification
BAPI_ALM_NOTIF_SAVE Save PM/CS Notification
BAPI_ALM_NOTIF_TASK_COMPLETE PM/CS Notification Complete Task
BAPI_ALM_NOTIF_TASK_RELEASE PM/CS Notification Release Task
BAPI_ALM_NOTIF_TASK_SUCCESS PM/CS Notification Set Task to Successful
BAPI_SERVICENOTIFICAT_CREATE Create service notification
BAPI_SERVICENOTIFICAT_GETLIST Select by customer or contact person

SAP PM Main BAPI for Measurements

SAP PM Measurements can be read using the following SAP BAPI

BAPI Description
MEASUREM_DOCUM_RFC_SINGLE_001 RFC MeasDocument Individual Processing Create
MEASUREM_DOCUM_RFC_SINGLE_002 RFC MeasDocument Individual Processing Change/Display or Read

Check more detail about SAP Business Content for Plant Maintenance (PM)