Ansicht
Dokumentation

/MVA/AMT_SVC_BM_AMD - Change Bonus-Malus Data

/MVA/AMT_SVC_BM_AMD - Change Bonus-Malus Data

Fill RESBD Structure from EBP Component Structure   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this function module to execute the Change Bonus-Malus Data business transaction. You can make adjustments to the bonus-malus on the chosen effective date.

You can select one of the following checkboxes:

  • If you select the Simulation checkbox, the system simulates the change on the contract version that is valid on the effective date.
  • If you select the Release checkbox, the system executes the change and releases the change.
  • If you select the Save checkbox, the system saves the current processing version of the application.

You can execute the synchronization of the bonus-malus by filling only the Bonus-Malus ID in the input structure for Change Bonus-Malus, with the exception of the key fields.

To attach an existing bonus-malus to a contract or coverage, you must have already loaded all the bonus-malus data and entered this in the structure. The attachment of a bonus-malus that does not contain complete data may lead to unwanted side effects, such as changing the existing bonus-malus.

The system returns the following data:

  • Current premium data (parameter ET_RESULT)
  • Error and status messages (parameter ET_MESSAGES). The system executes the same checks as for the execution of the business transaction in dialog mode.
  • Error status (parameter EN_ERROR_CD). This lets you detect the section in the program where the error occurred.

Example

Notes

  • The function module saves the data in the database (COMMIT), as long as it is not called in simulation mode.
  • The function module can only be called synchronously. It does not return any exceptions.

  • If a runtime error occurs, you can use the remote-enabled function module /MVA/AMT_SVC_POL_READ to analyze whether the system has updated the changes. You can call the application log with transaction SLG1.

In certain constellations, the system overwrites the input data of the function module with specification data (for example with product specification or derivations). The system may overwrite the specification data from the product definition with the input data of the function module.

Therefore, the caller must consider the product definition (for example function module /PM0/ABT_SVC_SALESPROD_FIND).

It is recommended that you check the changed data after every execution of a business transaction with the function module.

Further information

For more information about the Change Bonus-Malus Data business transaction, see SAP Help Portal at http://help.sap.com.

Choose Policy Management for Insurance -> Product Assistance -> In-Force Business Management -> Bonus-Malus and read the section Editing Bonus-Malus Data.

Enhancements

To process further data from the calling system, use the Business Add-In (BAdI) BAdI: Change Bonus-Malus (Extension In/Out) (/MVA/AMT_SVC_BM_BADI).

You can use this BAdI to execute your own mapping and to fill the EXTENSIONOUT parameter.

In Customizing for Policy Management, choose Integration -> Services -> Remote-Enabled Function Modules -> Change -> Business Transactions -> BAdI: Change Bonus-Malus (Extension In/Out).





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_ADD_BM
IT_ADD_BM_FM
IT_CLAIM
IT_DEL_BM
IT_EXTENSIONIN
IT_MOD_BM
IT_MOD_BMOWNER
IT_MOD_BMOWNER_FM
IT_MOD_BM_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

/SAPLAMT_SVC_CHANGE

BAL Application Log Documentation   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 4987 Date: 20240420 Time: 063258     sap01-206 ( 80 ms )