Ansicht
Dokumentation

/PM0/ABT_SVC_PXN_AMD - Process Premium Waiver

/PM0/ABT_SVC_PXN_AMD - Process Premium Waiver

TXBHW - Original Tax Base Amount in Local Currency   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this function module to render a policy, contract, or coverage in the P&C/Non-Life line of business exempt from premiums. The function module performs the same function as the Process Premium Waiver business transaction in SAP Policy Management.

To perform a premium waiver at coverage level, you must specify both contract key and coverage key.

You can only enter a change reason that is predefined in Customizing under In-Force Business Management -> Basis -> Business Processes -> Application -> Define Change Reasons.

You must only select a single indicator at a time from "Release", "Save" or "Simulation".

The system returns the following data:

  • List of error and status messages (parameter ET_MESSAGE)
  • Extension-Out (parameter ET_EXTENSIONOUT)
  • Error code (parameter EN_ERROR_CD)
  • Result of premium waiver processing (parameter ET_RESULT)

Example 1

The following example shows how to render a policy exempt from premiums from the effective date of February 1, 2015 to December 31, 2015. The input parameter if_save is set to X so that the system saves the application without releasing it.

DATA:

      lt_mod_pxn       TYPE /PM0/ABT_SVC_PXNAMD_UPD_T,

      lt_mod_pxn_fm    TYPE /PM0/ABT_SVC_PXNAMD_UPD_FM_T.

      lt_result        TYPE /PM0/ABT_SVC_PREM_UPD_OUT_T,

      lt_messages      TYPE /PM0/ABT_SVC_MSG_T.

lt_mod_pxn    = VALUE #(

                             (

                                   ppdpac_id = '0'

                                   policyproduct_id= '0'

                                   covpac_id= '0'  

                                   coverage_id= '0'

                                   prmxmptend_dt='20151231'

                                   prmxmpt_fg='X'    

                              ) ).

lt_mod_pxn_fm = VALUE #(

                              (

                                   ppdpac_id = '0'

                                   policyproduct_id= '0'

                                   covpac_id= '0'  

                                   coverage_id= '0'

                                   prmxmptend_dt='X'

                                   prmxmpt_fg='X'

                               ) ).  

CALL FUNCTION '/PM0/ABT_SVC_PXN_AMD'

EXPORTING

    iv_policynr_tt = '10000082456'

    if_save = 'X'

    it_mod_pxn = lt_mod_pxn          

    it_mod_pxn_fm = lt_mod_pxn_fm

    iv_effective_date = '20150201'

    iv_appl_dt = '20150201'

    iv_applin_dt = '20150201'

IMPORTING

    et_result = lt_result

    et_messages = lt_messages

Example 2

The following example shows how to render the first contract and the first coverage of the second contract exempt from premiums from the effective date of February 1, 2015 with a different premium exempt end date. The input parameter if_save is set to X so that the system saves the application without releasing it.

DATA:

      lt_mod_pxn       TYPE /PM0/ABT_SVC_PXNAMD_UPD_T,

      lt_mod_pxn_fm    TYPE /PM0/ABT_SVC_PXNAMD_UPD_FM_T.

      lt_result        TYPE /PM0/ABT_SVC_PREM_UPD_OUT_T,

      lt_messages      TYPE /PM0/ABT_SVC_MSG_T.

lt_mod_pxn    = VALUE #(

                                (

                                   ppdpac_id = '0'

                                   policyproduct_id= '1'

                                   covpac_id= '0'  

                                   coverage_id= '0'

                                   prmxmptend_dt='20151231'

                                   prmxmpt_fg='X'    

                                 )

                                 (

                                   ppdpac_id = '0'

                                   policyproduct_id= '2'

                                   covpac_id= '0'  

                                   coverage_id= '1'

                                   prmxmptend_dt='20151031'

                                   prmxmpt_fg='X'    

                                 ) ).

lt_mod_pxn_fm = VALUE #(

                              (

                                   ppdpac_id = '0'

                                   policyproduct_id= '1'

                                   covpac_id= '0'  

                                   coverage_id= '0'

                                   prmxmptend_dt='X'

                                   prmxmpt_fg='X'

                               )

                               (

                                   ppdpac_id = '0'

                                   policyproduct_id= '2'

                                   covpac_id= '0'  

                                   coverage_id= '1'

                                   prmxmptend_dt='X'

                                   prmxmpt_fg='X'

                               )).  

CALL FUNCTION '/PM0/ABT_SVC_PXN_AMD'

EXPORTING

    iv_policynr_tt = '10600000000020794'

    if_save = 'X'

    it_mod_pxn = lt_mod_pxn          

    it_mod_pxn_fm = lt_mod_pxn_fm

iv_effective_date ='20150201'

    iv_appl_dt = '20150201'

    iv_applin_dt = '20150201'

IMPORTING

    et_result = lt_result

    et_messages = lt_messages

Notes

Further information In-Force Business Management -> Premium Waiver -> Process/Perform Premium Waiver.

Enhancements

To process further data from the calling system, use the Business Add-In (BAdI) BAdI: Process Premium Waiver (Extension In/Out)(/PM0/ABT_SVC_PXNAMD_BADI). You can use this BAdI to execute your own mapping and to fill the EXTENSIONOUT parameter.

Premium Waiver.





Parameters

EN_ERROR_CD
ET_EXTENSIONOUT
ET_MESSAGES
ET_RESULT
EV_APPLNR_CD
EV_SESSION_TOKEN
IF_OPEN_SESSION
IF_RELEASE
IF_SAVE
IF_SIMULATION
IT_EXTENSIONIN
IT_MOD_PXN
IT_MOD_PXN_FM
IV_APPLIN_DT
IV_APPLNR_CD
IV_APPL_DT
IV_CHGREASON_ID
IV_EFFECTIVE_DATE
IV_LOCKKEY_ID
IV_OTHCHGREASON_TT
IV_POLICYNR_TT
IV_SESSION_TOKEN

Exceptions

Function Group

/SAPLABT_SVC_CHANGE

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Material Data  
This documentation is copyright by SAP AG.

Length: 17878 Date: 20240523 Time: 051226     sap01-206 ( 94 ms )