Fonction SAP BAPI_CUSTOMER_FIND - Customer Matchcode

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
MAX_CNT BAPIKNA112-MAX_CNT I 4 0 X Maximum Number of Records Found
PL_HOLD BAPIKNA112-PL_HOLD C 1 SPACE X Meta Char.Permitted

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN1 u 470 Return Code

Paramètre Reférence Long. Facultatif Description
RESULT_TAB BAPIKNA111 680 Results
SELOPT_TAB BAPIKNA110 196 Search Fields

Functionality
This method searches for all customers, that store a transferredcontent in a transferred table field.
The search terms are transferred in structure SELOPT_TAB.
The probable blocks or deletion flags will be marked for the customersfound.
The number of hits can be restricted by the parameter MAX_CNT. Value"0" means that there is no restriction on the search result.
The standard search is for the exact field content (FieldSELOPT_TAB-FIELDVALUE). If the parameter PL_HOLD is selected, the useof wild cards is allowed. "*" is for any character string and "+" forany character.
The search terms are processed individually and not joined to othersearch terms, that is, only one field from the customer master table isexamined at a time.
The method is case sensitive with the exception of the match codefields that are maintained in the table TFMC.

Example
Customers should be found that have "23" in the field KNB1-PERNR(personnel number) for the company code 0001. All the customers thatare found should be displayed. The search should be carried outexactly, that is, without match codes.
The required entries:
Table SELOPT_TAB
Field Content
-----------------------------------------
COMP_CODE 0001
TABNAME KNB1
FIELDNAME PERNR
FIELDVALUE 23
IMPORT-Parameter
MAX_CNT 0
PL_HOLD SPACE
The transfer of import parameter MAX_CNT and PL_HOLD is optional, asthe values named above correspond to the standard settings.
Customers should be found that have that "SAP" at the beginning offield KNB5-KNRMA (account number of the dunning recipient). The searchshould be cross-company code and the number of hits should berestricted to 100. The use of wild cards is allowed.
The required entries:
Table SELOPT_TAB
Field Content
-----------------------------------------
COMP_CODE SPACE
TABNAME KNB5
FIELDNAME KNRMA
FIELDVALUE SAP*
IMPORT parameter
MAX_CNT 100
PL_HOLD X
The import parameters MAX_CNT and PL_HOLD have to be transferred, asthe values named above do not correspond to the standard settings.

Description
Maximum number of matches.

573396HR customer/vendor determination: New search term
572659Search term for BAPI_VENDOR_FIND and BAPI_CUSTOMER_FIND