Fonction SAP BAPI_BUS2002_ACTELEM_GETDATA - Detail Data for Activity Elements

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_LANGUAGE BAPI_BUS2002_ACTELEM_DETAIL-LANGU_ISO C 2 X Language Key
I_MAX_ROWS BAPIF4A-MAX_ROWS I 4 X Maximum Number of Lines of Hits
I_NETWORK_NUMBER BAPI_BUS2002_ACTELEM_DETAIL-NETWORK C 12 Network Number

Paramètre Reférence Long. Facultatif Description
ET_ACTIVITY_ELEMENTS BAPI_BUS2002_ACTELEM_DETAIL 857 X Data Structure: Activity Element GetData
ET_RETURN BAPIRET2 548 X Return Parameter
EXTENSIONIN BAPIPAREX 990 X Ref. Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
EXTENSIONOUT BAPIPAREX 990 X Ref. Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
IT_ACTELEMENT_LIST BAPI_ACTELEMENT_LIST 4 X Activity Element List for the BAPI Processing
IT_ACTIVITY_LIST BAPI_ACTIVITY_LIST 4 X Activity List for the BAPI Processing

Functionality
You can use the BAPI BAPI_BUS2002_ACTELEM_GETDATA to get detailedinformation about activity elements.
To get all activities in a network, you must transfer thenetwork number in the parameter I_NETWORK_NUMBER. If you just want toget particular activity elements, you can specify the required activityelements in the table IT_ACTELEMENT_LIST. Alternatively, you can alsodetermine the activities for which all activity elements are to bereturned in the table IT_ACTIVITY_LIST. Note that the tablesIT_ACTELEMENT_LIST and IT_ACTIVITY_LIST cannot be filled at the sametime.
If you want to restrict the output (for example, because you do notknow how big the network is and, for performance reasons, you want toprevent the system from returning more than 1000 activity elements),you can use the parameter I_MAX_ROWS to restrict the maximum number ofactivity elements returned. If you do not fill this parameter, allpossible activity elements are returned.
If required, you can also specify in which language thelanguage-dependent fields, such as time units, system status, and soon, are to be returned. If you do not specify a language, the systemlanguage is used.

Notes
Fields that are directly assigned to the activity elements are returnedin the table ET_ACTIVITY_ELEMENTS.
The field LANGU specifies which language the long text is in, if oneexists.
The field SYSTEM_STATUS specifies one of the following statuses:created, released, technically completed, closed. If the deletion flagor indicator is set, however, this information is returned instead ofthe status.

Further information
For more information, see the SAP Library under Project System ->Structures -> Interfaces to the Project System -> PS-EPS Interface toExternal Project Software.