SAP Function BAPI_BUS2054_GETDATA - Detail Data for WBS Elements

Parameter Reference Type Length Default Optional Text
I_LANGUAGE BAPI_BUS2054_DETAIL-LANGU_ISO C 2 X Language Key
I_MAX_ROWS BAPIF4A-MAX_ROWS I 4 X Maximum Number of Lines of Hits
I_PROJECT_DEFINITION BAPI_BUS2054_DETAIL-PROJECT_DEFINITION C 24 X Project Definition

Parameter Reference Length Optional Text
ET_RETURN BAPIRET2 548 X Return Parameter
ET_WBS_ELEMENT BAPI_BUS2054_DETAIL 770 X Data Structure: WBS Element GetDetail
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
IT_WBS_ELEMENT BAPI_WBS_LIST 24 X WBS Element List for the BAPI Processing

Functionality
You can use the BAPI BAPI_BUS2054_GETDATA to get detailed informationabout WBS elements.
To get all WBS elements in a project, you must transfer the externalID of the project definition in the parameter I_PROJECT_DEFINITION.Alternatively, you can specify the required WBS elements individuallyin the table IT_WBS_ELEMENT. If both are filled, only the WBS elementsthat are specified in table IT_WBS_ELEMENT and that also belong to theproject are returned.
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 WBS elements), you canuse the parameter I_MAX_ROWS to restrict the maximum number ofWBS elements returned. If you do not fill this parameter, allpossible WBS 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 WBS elements are returnedin the table ET_WBS_ELEMENT.
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.

Description
Number that uniquely identifies a project definition within a client.

Description
Data for customer enhancements is imported using the container"ExtensionIn", as described in the BAPI programming guide. Furtherprocessing of the data takes place in the corresponding BAdI.

Description
Customer enhancement data is exported using the container"ExtensionOut", as described in the BAPI programming guide. Furtherprocessing of the data takes place in the corresponding BAdI.