cancel
Showing results for 
Search instead for 
Did you mean: 

Setting status of equipment / functional location and trigger ACI sync

jrgkraus
Active Contributor
0 Kudos
632

We use AIN for managing our equipment and functional locations data. Our ERP is connected via the ACI interface. The goal is to change the status of a technical object (from ABAP) and then trigger a sync of data via ACI interface.

I tried to set the status using FM STATUS_CHANGE, which works but does not trigger the data sync because it bypasses the business logic of IE02/IL02. When I do the change in transaction IE02 / IL02, the sync is triggered.

A batch input approach is possible but I try to avoid it because the status screen of IL02/IE02 is not batch input friendly.

The available BAPIs are not able to change the status. 

Is there a function module that maintains the status of a technical object using the business logic of the transactions IE02/IL02 in order to trigger the sync? Or is there a possibility to trigger the ACI sync from ABAP? 

View Entire Topic
jrgkraus
Active Contributor

I accepted the solution too early - the BAPIs @RaymondGiuseppi mentioned do work, but do not trigger the data sync. 

In the end it was @Sandra_Rossi 's answer that helped out. Using ABAP trace, I found two useful function modules for triggering a data sync

  • /MERP/PM_EQUIPMENT_SAVE_EX for the equipment
  • OPEN_FI_PERFORM_PM000070_E for the functional location

To see how to use them, find the usages in the SAP coding.