Ansicht
Dokumentation

/MVA/AMT_SVC_NCMDP_AMD - Change Discount Protection

/MVA/AMT_SVC_NCMDP_AMD - Change Discount Protection

BAL Application Log Documentation   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this function module to execute the Change Discount Protection business transaction. You can make adjustments to discount protection on the chosen effective date. You can perform multiple adjustments in parallel in the selected contract element.

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.

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 to the database (COMMIT), as long as it is not called in simulation.
  • 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, FS-PM overwrites the input data of the function module with specification data (for example with product specification or derivations). It is also possible that the input data of the function module overwrites the specification data from the product definition.

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 Discount Protection business transaction, see SAP Help Portal under http://help.sap.com.

Choose Policy Management for Insurance -> Product Assistance -> In-Force Business Management-> Business Transactions -> Product-Specific Business Transactions -> Auto and read the section on the Change Discount Protection business transaction.

Enhancements

To process further data from the calling system, use the Business Add-In (BAdI) BAdI: Change Discount Protection (Extension In/Out) (/MVA/AMT_SVC_NCMDP_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 Functino Modules -> Change -> Business Transactions -> BAdI:Change Discount Protection (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_EXTENSIONIN
IT_MOD_NCMDP
IT_MOD_NCMDP_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_S_LOG - Application Log: Log header data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 4476 Date: 20240328 Time: 173752     sap01-206 ( 76 ms )