Ansicht
Dokumentation

/PM0/ABT_SVC_POL_FIND - Find Policy

/PM0/ABT_SVC_POL_FIND - Find Policy

BAL_S_LOG - Application Log: Log header data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this function module to find policies or applications using policy information, business partner information, or insurable object information. The search function is similar to that provided by the Find Policy enterprise service and API delivered with SAP Policy Management 5.2. You can use different kinds of search criteria separately or in combination. You can also refine the search results by specifying whether to include reversed policies in the search.

The function module supports paging. You can display the returned records on several pages by specifying the number of records displayed on one page. The default number is 100.

To display all returned data records, the paging can be overwritten. Note that the maximum number of records to be displayed matches your settings for the maximum number of hits.

The system returns the following data:

  • List of search results (parameter ET_RESULT):
The search result contains key policy information, such as policy number and sales product name.
  • List of error and status messages (parameter ET_MESSAGE):
The system executes the same checks as for the query in dialog mode.
  • Information about the following query results based on the current ones (parameter ES_POL_RES_COND):
This information includes the number of returned records, whether more records meet the search criteria, as well as the last object ID. This information is used for the paging function.

Example

Notes

The function accesses other systems in order to get business partner information.

If a runtime error occurs, you can call the application log with transaction SLG1.

Enhancements

You can use the Business Add-In (BAdI) BAdI: Find Policy (Extension In/Out) (/PM0/ABT_SVC_POL_FIND_BADI) to fill parameter EXTENSIONOUT.

Policy -> BAdI: Find Policy (Extension In/Out).





Parameters

ES_POL_RES_COND
ET_EXTENSIONOUT
ET_MESSAGES
ET_RESULT
IS_POL_INPUT
IS_POL_QRY_COND
IT_EXTENSIONIN

Exceptions

Function Group

/SAPLABT_SVC_POLICY

Vendor Master (General Section)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2654 Date: 20240420 Time: 182409     sap01-206 ( 46 ms )