Fonction SAP BAPI_BUS2002_GET_STATUS - Read Status for BUS2002 (Network)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
NUMBER BAPI_NETWORK_LIST-NETWORK C 12 Network Number
WITHOUT_ACTIVITIES BAPINWGI-WO_NETWORK C 1 SPACE X Do not return network activities

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

Paramètre Reférence Long. Facultatif Description
E_ACTIVITY_SYSTEM_STATUS BAPI_ACTIVITY_SYSTEM_STATUS 8 X Return Structure for Activity System Status
E_ACTIVITY_USER_STATUS BAPI_ACTIVITY_USER_STATUS 8 X Return Structure of Activity User Status
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
Using the BAPI BAPI_BUS2002_GET_STATUS, both the active system statusesand user statuses for a network header (NUMBER) as well as itsactivities can be read.
Active system statuses are output using the English-language key.
Active user statuses are output in the current logon language using thekey, in case a translation of the status in the source status profileexists in the logon language, or the maintenance language of the statusprofile is the same as the logon language.
If the status in the status profile does not exist in the logonlanguage, the key is output in the maintenance language of the statusprofile.
The import parameter (WITHOUT_ACTIVITIES) determines whether the statusis read only for the network header or also for the network activitiesas well.

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
If an error occurs, the following message is returned, if necessary:
Type ID Number Message
E CNIF_STATUS 004 Error reading/locking object

Description
A number that uniquely identifies a network within a client.

Description
Indicator: Selection with or without activities.

Description
List of the active system statuses per activity.
Table structure:
ACTIVITY: External activity number CHAR, field length 4
SYSTEM_STATUS: Language dependent text for system status, data typeCHAR, field length 4

Description
List of the active user statuses per activity.
Table structure:
ACTIVITY: External activity number CHAR, field length 4
USER_STATUS: Language dependent text for user status, data type CHAR,field length 4

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

Value range
List of the active user statuses on the network header.
Table structure:
USER_STATUS: Language dependent text for user status, data type CHAR,field length 4