Programming GetList() BAPIs 

Use

With the BAPI GetList() you can select a range of object key values, for example, company codes and material numbers. The key values returned by this BAPI can be passed on to another BAPI for further processing, for example, the BAPI GetDetail().

The BAPIs GetList() is a class method (instance-independent).

Features

Provide all the relevant fields in the interface of the GetList() BAPI. How complex and extensive you structure the interface, depends on the requirements the BAPI is to fulfill.

Import Parameters

You should keep the following points in mind when defining the import parameters:

Since the GetList() BAPI is a class method, you cannot create a parameter in the function module that has the same name as a key field of the corresponding business object type.

Export Parameters

You should keep the following points in mind when defining the export parameters:

See also:

Example of a GetList() BAPI