SAP Function STATUS_MAINTAIN - Maintain/Display Object Statuses

Parameter Reference Type Length Default Optional Text
CLIENT SYST-MANDT C 3 SY-MANDT X Client (Only for Exceptional Cases!)
DISPLAY_ONLY XFELD C 1 SPACE X Display of Object Status Only
FLG_NO_STSMA_CHANGE XFELD C 1 SPACE X 'No Status Profile Change' Flag
FLG_NO_SYSTEMSTATUS XFELD C 1 SPACE X Suppress Display of System Status
FLG_NO_USERSTATUS XFELD C 1 SPACE X Suppress Display of User Status
FLG_OBJECT_LIST XFELD C 1 SPACE X Status is Displayed From a List of Objects
OBJNR JSTO-OBJNR C 22 Object Number
SET_CHGKZ JSTO-CHGKZ C 1 X 'Activate Change Documents' Flag
SUBSCREEN_EXT SYST-DYNNR C 4 0000 X Subscreen: Screen Number
SUBSCREEN_PROG_EXT SYST-REPID C 40 ' ' X Subscreen: Module Pool

Parameter Reference Type Length Text
EXIT_CODE RSEUL_KEYS-CODE C 4 OK Code that Led to the Exit of the Function Module
FLG_FIRST_OBJ XFELD C 1 'Status of First Object on List' Flag
FLG_LAST_OBJ XFELD C 1 'Status of Last Object on List' Flag
FLG_NEXT_OBJ XFELD C 1 'Status of Next Object on List' Flag
FLG_PREVIOUS_OBJ XFELD C 1 'Status of Previous Object on List' Flag
STONR TJ30-STONR N 2 Status Number

Exception Text
OBJECT_NOT_FOUND Object Status Not Found


The function module provides a general entry to the system statusdisplay, allowed business transactions, status object as well as entryto the maintenance of the user status. If the function module is calledfrom a list with status objects, the option 'next', 'first', etc.object in the list can be activated. The allowed processes are givenfor the most part by the application. Status profile changes aregenerally not allowed, if a user status was already active. Anobject-related subscreen entered in the transation BS12 to the objecttype can be displayed from the application.

Description
OK code, that lead to exit of maintenance

Value range

  • EEND ,,-,,Exit with "exit" button

  • BACK ,,-,,Exit with "back" button

  • ABBR ,,-,,Exit with "cancel" button

  • FOBJ ,,-,,Exit with "first object" button

  • LOBJ ,,-,,Exit with "last object" button

  • POBJ ,,-,,Exit with "previous object" button

  • NOBJ ,,-,,Exit with "nex object" button
  • Description
    Status maintenance was exited with the function key "first object".Call the function module then with the first object in your list.

    Value range
    INITIAL or 'X'

    Description
    Status maintenance was exited with the function key "last object". Callthe function module then with the last object in your list.

    Value range
    INITIAL or 'X'

    Default

    Description
    Status maintenance was exited with the function key "next object". Callthe function module then with the next object in your list.

    Value range
    INITIAL or 'X'

    Default

    Description
    Status maintenance was exited with the function key "previous object".Call the function module then with the previous object in your list.

    Value range
    INITIAL or 'X'

    Default

    Description
    Status number after ending the status maintenance

    Value range
    00 - 99

    Description
    Client

    Description
    Display mode, statuses cannot be changed

    Value range
    INITIAL or 'X'

    Default
    INITIAL

    Description
    If this flag is set, no changes can be made to the status profile.
    Otherwise changes are possible, as long as a user status of the oldstatus profile was not active.

    Value range
    INITIAL or 'X'

    Default
    INITIAL

    Description
    A list of status objects is to be processed.
    If this flag is set, the following additional functionsl appear in thepushbutton bar:

    • first object

    • previous object

    • next object

    • last object

    • Whenthese functions are confirmed, you exit status maintenance and areturn code is transfered to the parameter EXIT_CODE and the FLG_*flags. The caller can then recall the function module for theappropriate object.

      Value range
      INITIAL or 'X'

      Default
      INITIAL

      Description
      Object number

      Value range
      Object number must exist in table JSTO.

      Description
      If this flag is set, the creation of change documents for this objectnumber is activated. Once activated the creation of change documentscannot be deactivated.

      Value range
      INITIAL or 'X'

      Default
      INITIAL

      Description
      Screen number for screen displaying object-specific additionalinformation (e.g. order number, company code,...).

      Value range
      0000 - 9999

      Default
      0000

      Description
      Module pool name for subscreen displaying object-specific additionalinformation (e.g. order number, company code,...).