Ansicht
Dokumentation

/PM0/ABT_SVC_INPI_CALCULATE - Calculate New Business Application

/PM0/ABT_SVC_INPI_CALCULATE - Calculate New Business Application

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this function module to execute the Calculate Application function on an existing New Business application. The function is based on the Calculate action in the FS-PM dialog.

The function can be used, for example, when the calculation of an application saved in FS-PM is triggered separately from an external system or user interface.

You specify the application number. The function module resumes processing of the application and executes the calculation on the basis of the following details:

If you select the IF_SIMULATION checkbox, the system simulates the calculation of the application on the New Business application. Changes are not persisted.

You can determine which result values you would like to receive. You can use parameter IS_REQUESTED_ELEMENTS to decide for each entity which values are to be returned. For instance, you can specify that you are only interested in the calculated premium at contract level, although the premiums are calculated at both contract and coverage level.

The system returns the following data:

  • Information about the calculated application according to the transmission request codes (IS_REQUESTED_ELEMENTS). If the application was not successfully calculated, no application information is returned.

    For more information, see the documentation of function module /PM0/ABT_SVC_INPI_RETRIEVE.
  • Error and status messages (parameter ET_MESSAGES). The system executes the same checks as those performed on execution of the action in dialog mode for the New Business business process.
  • Error status (parameter EN_ERROR_CD) This lets you detect the section in the program where the error occurred.

Notes

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

Enhancements

You can use the Business Add-In (BAdI) BAdI: Calculate Application (/PM0/ABT_SVC_INPI_CALC_BADI) to fill parameter ET_EXTENSIONOUT.

In Customizing for Policy Management, choose Integration -> Services -> Remote-Enabled Function Modules -> New Business -> BAdI: Calculate Application.





Parameters

EN_ERROR_CD
ES_APPLICATION
ES_POLICY
ET_ADDPRPY
ET_AGENT
ET_ASFUND
ET_ASPROD
ET_BM
ET_BMOWNER
ET_BNF
ET_BNFCRY
ET_CBCPAYR
ET_CBC_CF_RESULT
ET_CBC_OVERVIEW
ET_CHAPAY
ET_CHARGE
ET_CHGVEC
ET_CLAUSE
ET_CLAUSETEXT
ET_COINCO
ET_COINHS
ET_COINSS
ET_COMMIS
ET_COMROLE
ET_COV
ET_COVCP
ET_COVCPCO
ET_COVPAC
ET_CRDITOR
ET_DEDCTBL
ET_DIACODE
ET_EXEQMT
ET_EXREF
ET_EXTENSIONOUT
ET_EXTPCL
ET_EXTPOL
ET_EXTPOLTEXT
ET_INFRD
ET_INSRDOBJ
ET_INSRD_PERS
ET_IOCMUNIT
ET_JOURNALENTRIES
ET_LIMIT
ET_MESSAGES
ET_NAMDRV
ET_PCMP
ET_POLHLDR
ET_POLPR
ET_PPDPAC
ET_PREM
ET_PRMPAYR
ET_REPVAL
ET_RESDEPC
ET_SBADR
ET_SETTLE
ET_SUPDC
ET_TR
ET_TRANSFER
ET_VALID
IF_READ_CBC
IF_READ_JOURNAL
IF_SAVE
IF_SIMULATION
IS_REQUESTED_ELEMENTS
IV_APPLNR_CD
IV_LOCKKEY_ID

Exceptions

Function Group

/SAPLABT_SVC_INS_POL_ISS

CPI1466 during Backup   General Material Data  
This documentation is copyright by SAP AG.

Length: 4486 Date: 20240328 Time: 225814     sap01-206 ( 86 ms )