Ansicht
Dokumentation

/PM0/ABT_SVC_ISS_EXECUTE - Execute Policy Issuance of Insurance

/PM0/ABT_SVC_ISS_EXECUTE - Execute Policy Issuance of Insurance

General Material Data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this function module to execute policy issuance.

The "Application Number" field is mandatory. The function module checks the status and executes policy issuance. Policy issuance is successful only when the processing status is "Calculated" and the policy status is "In Process". It returns the following data:

  • Application number (parameter EV_APPLICATION_NUMBER)
  • Policy number (parameter EV_POLICYNR)
  • Return parameter (parameter ET_MESSAGE)

If the policy issuance was acceptable, the system sets the status as follows:

  • Processing status = "Calculated"

This function module uses the same logic as the back-end system.

Example

The following sample coding shows you how to execute policy issuance with lv_applnr.

DATA: lv_applnr    TYPE /pm0/abd_applnr_cd,

      lv_policynr  TYPE /pm0/abd_policynr_tt,

      lt_error     TYPE bapiret2_t.

lv_applnr = '1731587'.

CALL FUNCTION '/PM0/ABT_SVC_ISS_EXECUTE'

  EXPORTING

    iv_application_number = lv_applnr

  IMPORTING

    ev_application_number = lv_applnr

    ev_policynr           = lv_policynr

    et_messages           = lt_error.

Notes

The function module changes the status of the policy issuance (COMMIT).

If a runtime error occurs, it returns error messages.

Further information In-Force Business Management → Business Processes → New Business Business Process.





Parameters

ET_MESSAGES
EV_APPLICATION_NUMBER
EV_POLICYNR
IV_APPLICATION_NUMBER
IV_LOCKKEY_ID

Exceptions

Function Group

/SAPLABT_SVC_INS_POL_ISS

BAL_S_LOG - Application Log: Log header data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2612 Date: 20240425 Time: 124856     sap01-206 ( 31 ms )