Fonction SAP BAPI_BUS2001_GET_STATUS - Read Status for BUS2001 (Project Definition)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
PROJECT_DEFINITION BAPIPR-PROJECT_DEFINITION C 24 Project Definition

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN1 u 470 Return Parameter

Paramètre Reférence Long. Facultatif Description
E_SYSTEM_STATUS BAPI_SYSTEM_STATUS 4 X Return Structure for System Status
E_USER_STATUS BAPI_USER_STATUS 4 X Return Structure for User Status

Functionality.
With the BAPI BAPI_BUS2001_GET_STATUS both the active system statusesand the user statuses for a project definition (PROJECT_DEFINITION) canbe read.
Active system statuses are also displayed using the English-languagekey.
If a translation of the status into the logon language exists in thesource status profile, or the maintenance language of the statusprofile is the same as the logon language, then active user statusesare displayed in the current logon language by means of the key.
If the status in the status profile does not exist in the logonlanguage, the key is displayed in the maintenance language of thestatus profile.

Notes
An error message appears in the RETURN return parameter if an erroroccurred during processing.

Further information
For more information see the SAP Library under Project System ->Structures -> Project System Interfaces -> PS-EPS Interface forExternal Project Management Systems.

Description
Return code with error messages

Value range
The following message is returned when an error occurs, if necessary:
Type ID Number Message
E CJ 011 Project does not exist

Description
A number that uniquely identifies a project definition within a client.

Description
List of active system statuses.
Table structure:
SYSTEM_STATUS: Language dependent text for system status data typeCHAR, field length 4

Description
List of active user statuses.
Table structure:
USER_STATUS: Language dependent text for user status data type CHAR,field length 4