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
249

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
raymond_giuseppi
Active Contributor

Did you alread look at the (others) BAPI/API of function groups ITOB_BAPI_EQ Equipment and ITOB_BAPI_FL Func location?

  • There are BAPI for some system statuses: e.g. BAPI_EQUI_INSTALL, IBAPI_FUNCLOC_SET_INACTIVE
  • There are some BAPI for all user statuses e.g. IBAPI_EQUI_USERSTATUS_CHANGE, IBAPI_FUNCLOC_USERSTATUS_CHANG

Else which statuses did you try to set or reset?

jrgkraus
Active Contributor
0 Kudos
ibapi_equi_userstatus_change and ibapi_functloc_userstatus_chang did the job. Thanks, you saved my day!
jrgkraus
Active Contributor
0 Kudos
Important: read my next answer!