Example of BAPI Conceptual Design 
The BAPI to be developed is to read data from the SAP business object type CompanyCode. To read the company code, the calling program has to specify the ID of the company code. The returned information should include detailed data and address data.
To map these requirements to the BAPI interface, the following parameters must be created in the function module which the BAPI is based on: