Ansicht
Dokumentation

/PMG/ABT_READ_MPOL - Read Master Policy data

/PMG/ABT_READ_MPOL - Read Master Policy data

Vendor Master (General Section)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module provides a way to read Master Policy data. Each entity of the Master Policy can be read independently depending on your specifications. The desired entity names are passed into the function modules which retrieves the data and returns it accordingly.

Example

        iv_master_policy = '3498'

        iv_effective_dt = '01.02.2015'

        iv_req_all = 'X'

With the above entries, all of the entities for Master Policy 3498 will be returned.

Example 2

        iv_master_policy = '3498'

        iv_effective_dt = ' '

        iv_req_all = ' '

        iv_req_entities = ' "BNFCRY", "X",

                           "BRO", "X",

                          "CRD", "X" '

The above will return the Master policy entity data for the header, the beneficiary, the broker, and the creditor.

Parameters

The parameters used in this function module are explained below.

Importing

  • IV_MASTER_POLICY - This is the master policy number, it is a required field.
  • IV_EFFECTIVE_DT - This is the effective date of the master policy.
  • IV_REQ_ENTITIES - This table defines the required entities that you wish to read.
  • IV_REQ_ALL - Indicator specifying that all entities are to be returned.

Exporting

  • ET_MP_DETAILS - A table containing the header data from the master policy.
  • ET_TMPL_DETAILS - A table containing the template data from the master policy.
  • ET_PAT_DETAILS - A table containing the sample application data from the master policy
  • ET_BNF_DATA - A table containing the beneficiary data from the master policy.
  • ET_CDR_DATA - A table containing the creditor data from the master policy.
  • ET_CPP_DATA - A table containing the data for commission participant.
  • ES_BRO_DATA - A structure containing the broker data from the master policy.
  • ET_PPP_DATA - A table containing the premium per piece data for the master policy.
  • ET_COINS_DATA - A table containing the coinsurance data from the master policy.
  • ET_PPD_DATA - A table containing the data for premium payer distribution.
  • ET_CLS_DATA - A table containing the clause data from the master policy.
  • ET_SUPDC_DATA - A table containing the data about surcharge and discount from the master policy.
  • ET_DISTPLAN_DATA - A table containing the distribution plan data from the master policy.
  • ET_MESSAGES - A table containing any error messages that the function module found.
  • ET_MULPART_DATA - A table containing the additional master policy business partners.
  • ET_CUST_ENT - This table allows for the use of custom entities. This is a nested structure, the initial structure holds the entity name and a structure containing the entity data. The structure containing the entity data consists of the field name and the attribute value, both of which are stored as a character string.

Notes

  • If both iv_req_entities and iv_req_all are empty, only the initial header data of the Master Policy is returned.
  • If both iv_req_enities has entries and iv_req_all is checked, iv_req_all takes priority and all of the possible entries are returned.
  • If no effective date is given, today's date is chosen.

Errors

Errors will be thrown under the following conditions:

  • No Master Policy number is entered

  • The provided Master Policy does not exist on the system.

  • The provided Master Policy does not exist for given effective date.

  • The BAdI is not implemented.

Further information

The returning parameters are tables containing the specific data from the master policy, these will be empty if no data is returned or required.





Parameters

ES_BRO_DATA
ET_ADMIN_DATA
ET_BNF_DATA
ET_CDR_DATA
ET_CLS_DATA
ET_CNTCT_PRSN_DATA
ET_COINS_DATA
ET_CPP_DATA
ET_CUST_DATA
ET_DEDCTBL_DATA
ET_DISTPLAN_DATA
ET_LIMITS_DATA
ET_MESSAGES
ET_MP_DETAILS
ET_MULPART_DATA
ET_PAT_DETAILS
ET_PPD_DATA
ET_PPP_CATEGORY_DATA
ET_PPP_DATA
ET_SUPDC_DATA
ET_TMPL_DETAILS
IT_REQ_ENT
IV_APPLNUM
IV_EFFECTIVE_DT
IV_MASTER_POLICY
IV_REQ_ALL

Exceptions

COMMUNICATION_FAILURE
MP_NOT_IN_SYS
MP_NOT_VALID
SYSTEM_FAILURE

Function Group

/SAPLGE_PROCESS_API

General Data in Customer Master   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 6577 Date: 20240329 Time: 032152     sap01-206 ( 73 ms )