Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Suggest BAPI or FM for Equipment status change

former_member228514
Participant
0 Kudos

Hi,

I need to change equipment status. I am trying for ALM_ME_EQUI_USTATUS_CHANGE but its not required for me because of STONR.

Any other solution.

Thanks,

Aarti.

2 REPLIES 2

former_member400468
Active Participant

Hi!

You can use the following FM:

 CALL FUNCTION 'STATUS_CHANGE_EXTERN'
    EXPORTING
      objnr       = equi-objnr
      user_status = stat  "status number (I0001, I0002, E0001 and so on)
      set_inact   = inact "flag to set status active or inactive
    EXCEPTIONS
      OTHERS      = 1.

Hope it's helpful

Evgeny

NTeunckens
Active Contributor
0 Kudos

Check your system SP as there are SAP-KBA's concerning new / additional functions on Equipment BAPI's :

  • SAP-KBA 2215722 : link
  • SAP-KBA 2158328 : link


Kind regards

Nic