Ansicht
Dokumentation

TREX_BUPA_SEARCH - SAP-GP, API: Geschäftspartner suchen

TREX_BUPA_SEARCH - SAP-GP, API: Geschäftspartner suchen

Fill RESBD Structure from EBP Component Structure   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

This function module is a kind of shell around the function module BUPA_SEARCH. It has the same interface with the exception of the parameter IV_NOT_TREX and IV_APPLICATION. The function module creates first an instance of class cl_trex_bp for the business partner. During the constructor of this class it will be checked that TREX can be used. TREX can be used it the knowledge base is assigned to the given ap-plication, the index exists and not initial or delta compilation is currently running.

The parameter IV_NOT_TREX indicates to not use TREX explicit.

The application is an attribute of SAF. The default of this parameter is 'ALL'. Other applications are e.g ICWEBCLIENT, for which this functionality was build for.

If TREX can be used and should be used the query table has to be build up via the method trex_fill_query_table of class cl_trex_bp. Also a table for the requested and available tables is build up. The search will be done by using method trex_search_documents of class cl_trex_bp.

If any error occurs they will be passed back to the caller in parameter et_return.

As result we return the same information as BUPA_SEARCH. It is possible to return more attributes from TREX. But the business partner can have a lot of combined and grouped attributes. E.g. a business partner can have several ad-dresses, address versions, different names within address versiond, several phones on address level and/or address independent communication data. This can't be handelt today by TREX. But if this will work in the future than we can return more attributes in parameter et_partner.

If TREX can't be used or should not be used, the parameter will be passed through BUPA_SEARCH and it's result is returned to the caller.





Parameters

ET_PARTNER
ET_RETURN
ET_SEARCH_RESULT
EV_TREX_ACTIV
IS_ADDRESS
IV_APPLICATION
IV_CATEGORY
IV_COUNTRY_FOR_TEL
IV_EMAIL
IV_FAX_DATA
IV_MAX_PARTNERS
IV_MC_NAME1
IV_MC_NAME2
IV_NATION_VERS
IV_NOT_TREX
IV_PARTNER
IV_PARTNERROLE
IV_PARTNERROLECATEGORY
IV_SORT1
IV_SORT2
IV_TELEPHONE
IV_URL
IV_XADDRVERSION

Exceptions

Function Group

CRM_BUPA_TREX_SEARCH

CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2422 Date: 20240523 Time: 043606     sap01-206 ( 64 ms )