Home > ABAP, API > SAP Status Management

SAP Status Management

January 27th, 2010 Leave a comment Go to comments

Status is very important and useful in SAP. It is used to record current status of different business objects, such as sales order, quality notification and purchase order etc. It comprises user status and system status. The system status cannot be set by user. It is determined by system automatically. The user status can be set manually.

Status doesn’t just show the business transaction status, it can also be the trigger point of the workflow. For example, a workflow can be started according the status change.

Configuration

You can find the status management path for each business object in the IMG.  Generally speaking, you need to create a custom status profile and assign the status profile to the business transaction types.

In the status profile, you can define the user status you want to have for this kind of business object.

Technical Information

Function Group:

BSVA – Status management (dialog)

Some important function modules in this function group:

STATUS_CHANGE_EXTERN – Set User Status
STATUS_READ – Read Object Status (JSTO and JEST)

Tables:

JEST – Individual Object Status
JSTO – Status object information
TJ04 – Status control for object type
TJ30 – User Status

The object number (OBJNR) is the key field to determine the status and this field (OBJNR) is also stored in the business transaction tables, such as (VBAK-OBJNR or QMEL-OBJNR).

  1. February 1st, 2010 at 18:15 | #1

    Thank you for the Function Group. I used Tables but unaware of FG.

    thanks for nice post.
    br,
    Mohan vamsi

  2. February 1st, 2010 at 20:39 | #2

    @Mohan Vamsi
    We try to use API not to read table directly:-)

  1. No trackbacks yet.