Ansicht
Dokumentation

/PM0/AOIL_SVC_LOAN_CALC - Policy Loan Calculation

/PM0/AOIL_SVC_LOAN_CALC - Policy Loan Calculation

BAL Application Log Documentation   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this function module to calculate the remaining available loan amount and the maximum loan amount of a contract for the specified date.

The system returns the following data:

  • Available loan amount (parameter EV_AVAILABLE_LOAN_AMOUNT)
  • Maximum loan amount (parameter EV_MAXIMUM_LOANABLE_AMOUNT)
  • List of error and status messages (parameter ET_MESSAGE)
The system executes the same checks as for the execution of the business transaction in dialog mode.

Notes

The function module can only be called synchronously.

If a runtime error occurs, you can use the Retrieve service to check whether the system has updated the changes. You can call the application log with transaction SLG1.

Further information

For more information about calculating the amount, see SAP Help Portal under http://help.sap.com.

SAP Policy Management -> Application Help -> Policy Management -> In-Force Business Management -> Policy Loan -> Calculate Policy Loan.

Enhancements

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

Further Settings -> BAdI: Calculate Policy Loan (Extension In/Out).





Parameters

ET_EXTENSIONOUT
ET_MESSAGES
ET_RESULT
IT_EXTENSIONIN
IT_LOANCAL_INPUT_T

Exceptions

Function Group

/SAPLAOIL_SVC_LOAN_CALC

BAL Application Log Documentation   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2039 Date: 20240426 Time: 212905     sap01-206 ( 38 ms )