Status tables in SAP

Status tables in SAP

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

fjourneau administrator

Hi, I'm Florian Journeau, SAP ABAP R3 Freelance, based in Toulouse, France. You want to know more about me, have a look on my CV : cv.fjourneau.net.

2 Comments so far

PintoPosted on3:29 pm - Oct 15, 2024

Hi Florian,
Nice blog . Always forgetting this external status text table.

Thanks
Fabienne

Leave a Reply