Fonction SAP BAPI_BUSINESSAREA_EXISTENCECHK - Check if business area exists

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BUSINESSAREAID BAPI0003_2-BUS_AREA C 4 Business area
CHECK_AUTHORITY BAPI0003_4-CHECK_AUTHORITY C 1 'X' X Execute Authorization Check? (X = Yes)

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

Functionality
You can use this method to determine whether the business areaspecified exists in the system. The result of the check is returned viaa return code.

Notes
All authorization checks that are also executed within an R/3transaction are run.
The input parameter BUSINESSAREAID is not converted, so that leadingblank spaces are not cleared in this parameter.
Messages are returned in the parameter RETURN. The parameterdocumentation gives you the return values and their meaning. If theparameter RETURN is returned with no message, this confirms theexistence of the business area.

Description
The return code of the method is returned in a structure with fivefields. For information about the meaning of the individual fields, seethe corresponding data element documentation.
Layout of the structure
TYPE Message type
CODE Message code
MESSAGE Message text
LOG_NO Application log: Log number
LOG_MSG_NO Application log: Sequential number of message

Description
For information about the importance of the business area, see thecorresponding data element documentation: Business Area

Description
This parameter controls whether the authorization check for processingbusiness areas is carried out (authorization object S_TABU_DIS).

Value range
'X' = Authorization check is carried out
' ' = Authorization check is not carried out.

Default
'X'