Table JEST to see active and inactive status on objects.
Table TJ02 (and text table TJ02T) for internal status.
Table TJ30 (and text table TJ30T) for external status.
Example to change status with BAPI
Example on Equipment:
" Change internal status
CALL FUNCTION 'I_CHANGE_STATUS'
EXPORTING
objnr = 'IE000000000100000335'
estat_inactive = 'I0099'
estat_active = 'I0076'
EXCEPTIONS
cannot_update = 1
OTHERS = 2.
" Change external status
CALL FUNCTION 'I_CHANGE_STATUS'
EXPORTING
objnr = 'IE000000000100000335'
estat_inactive = 'E0001'
estat_active = 'E0003'
stsma = 'ZEQUIPE' " Status scheme
EXCEPTIONS
cannot_update = 1
OTHERS = 2.
About the author