SAP Function BAPI_COMPANY_EXISTENCECHECK - Check if company exists

Parameter Reference Type Length Default Optional Text
COMPANYID BAPI0014_2-COMPANY C 6 Company

Parameter Reference Type Length Text
RETURN BAPIRETURN u 452 Return code

Functionality
You can use this method to determine whether the company specifiedexists in the system. The result of the check is returned via a returncode.

Notes
All authorization checks that are also executed for a display within anR/3 transaction are run.
The input parameter COMPANYID is not converted, so that leading blankspaces in this parameter are not cleared.
Messages are returned in the parameter RETURN. The parameterdocumentation gives you the return values and their meaning.