Menu

SAP Function Module AAPM_PM_SYNCHRONIZE

PM->AA: Synchronisationslogik Equipment->Anlage

The Function Module AAPM_PM_SYNCHRONIZE (PM->AA: Synchronisationslogik Equipment->Anlage) is a standard Function Module in SAP ERP and is part of the function group AAPM within the package AA.

Technical Information

Function Module AAPM_PM_SYNCHRONIZE
Short Text PM->AA: Synchronisationslogik Equipment->Anlage
Function Group AAPM
Package AA
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_ACTIVITY_TYPE LIKE T370-AKTYP Aktivitätstyp für Equipment-Transaktion (H/V/A)
I_CALLTIME TYPE AAPMT_CALLTIME Aufrufzeitpunkt (Bearbeitung/Sichern/Workflow)
I_DIALOG TYPE ITOB_TYPES-BOOL Sitzt, wenn direktes Sichern mit Dialog erfolgen soll
I_READ_EQUNR TYPE ITOB-EQUNR AfterImage nachlesen, kein BeforeImage

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_ACTIVITY_TYPE LIKE T370-AKTYP Aktivitätstyp für Anlage-Transaktion (H/V/A)
E_ASSET_SAVED TYPE ITOB_TYPES-BOOL Anlage wurde gesichert (angelegt/geändert)
E_CHANGE_REC TYPE AAPMT_WA_CHANGE_PM Aktionsdaten, falls Aktivitätstyp - Ändern
E_CREATE_REC TYPE AAPMT_WA_CREATE_PM Aktionsdaten, falls Aktivitätstyp - Anlegen
E_TO_BE_DONE TYPE ITOB_TYPES-BOOL Synchronisationsbedarf

Changing Parameters

These are the CHANGING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
C_EQKT_OLD LIKE EQKT BeforeImage Equipmentkurztext (alternativ zu C_ITOB_OLD)
C_EQKT_REC LIKE EQKT AfterImage Equipmentkurztext (alternativ zu C_ITOB_REC)
C_EQUI_OLD LIKE EQUI BeforeImage Equipmentstamm (alternativ zu C_ITOB_OLD)
C_EQUI_REC LIKE EQUI AfterImage Equipmentstamm (alternativ zu C_ITOB_REC)
C_EQUZ_OLD LIKE EQUZ BeforeImage Zeitsegment (alternativ zu C_ITOB_OLD)
C_EQUZ_REC LIKE EQUZ AfterImage Zeitsegment (alternativ zu C_ITOB_REC)
C_ILOA_OLD LIKE ILOA BeforeImage Standort/Kontierung (alternativ zu C_ITOB_OLD)
C_ILOA_REC LIKE ILOA AfterImage Standort/Kontierung (alternativ zu C_ITOB_REC)
C_ITOB_OLD LIKE ITOB BeforeImage aller Equipmentdaten (alternativ zu C_EQUI_OLD etc)
C_ITOB_REC LIKE ITOB AfterImage aller Equipmentdaten (alternativ zu C_EQUI_REC etc)

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ERR_DETERMINE_ACTION Fehler bei der Ermittlung der Synchronisationsaktion
ERR_DETERMINE_SYNCDATA Fehler bei der Ermittlung des Synchronisationsbedarfs
ERR_PROCESS_ASSET Fehler beim Prüfen bzw. Bearbeiten des Anlagenstamms
ERR_READ_EQUI Fehler beim Nachlesen des Equipments
INPUT_MISSING Equipmentdaten nicht angegeben (C_REC_EQUI oder C_REC_ITOB)