Interface Status Management 

Use

An object type supporting this interface has methods with which a user can set the user status, and attributes with which a user can query a status.

The interface Status management must be used if you want to define object status attributes.

This interface is not available in a Basis-only system.

Attributes StatusObjNumber, StatusObjTyp and StatusProfile

You must implement the attributes StatusObjNumber and StatusObjTyp in order to define status attributes.

Adopt the inherited implementation of the attribute StatusProfile without changing it.

Method UserstatusSet (set user status)

The method UserstatusSet sets or deletes a user status without dialog. The mandatory parameter is a status in external format, meaning in the format in which the status management displays the user statuses in dialog. (The internal IDs of the user statuses cannot be seen on the user interface).

Since the external ID of the status is language-dependent, the method has an optional parameter (otherwise logon language).

Method UserstatusSetPopup (set user status with dialog box)

The method UserstatusSetPopup offers a dialog box with those user statuses of the status object, which have been set and which can be set. You can set or delete a status here.

Adopt the inherited implementation of the methods UserstatusSet and UserstatusSetPopup without making any changes.

Activities

Position the cursor on the entry on a blue background with the component name Interfaces and select . Enter IFSTATUS in the input field.

Make the following changes to the proposed source text for the two attributes:

Assign the status object number, usually derived from the status object type and the object key, to the variable OBJECT-STATUSOBJNUMBER .

Assign the status object type (3-character abbreviation) to the variable OBJECT-STATUSOBJTYPE .