Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

ABAPSTATE_ACTIVE_INACTIVE - STATE ACTIVE INACTIVE

ABAPSTATE_ACTIVE_INACTIVE - STATE ACTIVE INACTIVE

BAL Application Log Documentation   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Effect

This addition determines whether the statement uses the active version or an inactive version of the repository object. state can have the values "A" (for active) and "I" (for inactive), which is checked statically if specified as a literal.

  • If the addition state is not specified, the statement accesses either
  • the active version of the repository object or

  • the inactive version of the repository object in the worklist of the current user. If there are no inactive versions in the worklist of the current user, the statement accesses the active version of the repository object.

Before the statement can evaluate the worklist of the current user, it must be prepared accordingly. This can be done using, for example, the function module RS_WORKING_AREA_PREPARE. If the worklist is not prepared, the statement accesses the active version of the repository object.
  • If the addition state is specified, the statement accesses
  • the active version of the repository object if "A" is specified,

  • the inactive version of the repository object if "I" is specified. The user to which the inactive version is assigned is not important here or whether the version is part of a worklist. If there are no inactive versions, the object is not accessed and sy-subrc is set to 4.






Addresses (Business Address Services)   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 1759 Date: 20230207 Time: 100644     sap01-206 ( 38 ms )