|
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>. |