Fonction SAP BAPI_BUSINESSAREA_GETLIST - List of business areas

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
LANGUAGE BAPI0003_3-LANGU C 1 X Language
LANGUAGE_ISO BAPI0003_3-LANGU_ISO C 2 X Language according to ISO 639

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Return code

Paramètre Reférence Long. Facultatif Description
BUSINESSAREA_LIST BAPI0003_1 34 List of business areas

Functionality
This method provides the user with a list of available business areasand their description.

Notes
The same authorization checks are carried out under this method as takeplace when displaying information within an R/3 transaction.
Depending upon the LANGUAGE parameter, any description, in so far as itexists, is returned in the desired language. Where no descriptionexists in the desired language for the business area in question,nothing will be returned. The LANGUAGE parameter is optional and in theabsence of any langauge being entered, the user's logon language isused.
Messages are returned within the RETURN parameter. This parameterdocumentation contains the return codes and their meaning.

Description
The system returns the return code of this method in one structure withfive fields. You can find definitions of these fields in the respectivedata element documentation.
Structure Layout
TYPE Message type
CODE Message code
MESSAGE Message text
LOG_NO Application log: log number
LOG_MSG_NO Application log: sequence number of message
You can find the definition of language in the data elementdocumentation:
Language

Value range
Dictionary data type (field length 1)

Default
The system uses the user's logon language if none is specified.

Description
Alternative parameter to LANGUAGE.

Description
The system returns the list of business areas in one table with twofields. See the data element documentation for the definition of theparameters.
Table Layout
BUS_AREA Business area
BUS_AR_DES Business area name