Selection Parameters 

Use

The parameters in BAPIs used to search for specific instances of a business object type, for example, BAPI GetList(), have to enable the caller of the BAPIs to specify appropriate selection criteria.

In your BAPI create the required selection parameters as structures or tables with the following parameters:

Fields for Value Ranges

Field Name

Description

Data Element

SIGN

Selection operator that determines whether the range specified is to be included or excluded.

BAPISIGN

OPTION

Relational operator, for example.
Relational operator, e.g. CP (contains pattern) or NP (no pattern)

BAPIOPTION

HIGH

Upper limit of value range

application-specific, for example, MATNR.

LOW

Lower limit of value range

application-specific, for example, MATNR.

 

You can use the function module BALW_RANGES_CHECK to check the values entered in SIGN and OPTION.

Note that when you select a list of objects you have to limit the number of objects selected. You can use the parameter MaxRows to do this. For more information see Programming GetList() BAPIs.

 

Application servers might not support ASCII, but use a different character set instead. If this is the case a problem may arise when you select quantities or ranges or when these are sorted. Because of this a BAPI should always select a range between A-Z, a-z and 0-9.