Fonction SAP BAPI_COMPANY_GETLIST - List of companies

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

Paramètre Reférence Long. Facultatif Description
COMPANY_LIST BAPI0014_1 36 List of companies

Functionality
This method provides the user with a list of companies. The systemreturns both the IDs and the names of the companies, in so far as theyexist in the system. Problems arising are returned as a return codemessage.

Notes
The same authorization checks are carried out with this method as takeplace when you display information within an R/3 transaction.
Messages are returned within the RETURN parameter. The return codes andtheir meaning are contained in this pararmeter documentation.

Description
The system returns the return code of this method in one structure withfive fields. You can find definitions of these fields in theirrespective data 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

Description
The system returns the list of companies in one table with two fields.You can find the definition of company in the respective parameterdocumentation.
Table Layout

  • COMPANY Company

  • NAME Company name
  • Value range
    COMPANY Dictionary data type: CHAR (field length 6)
    NAME Dictionary data type: CHAR (field length 30)