Ansicht
Dokumentation

/PM0/ABT_SVC_INPI_CHANGE_CALC - Change and Calculate New Business Application

/PM0/ABT_SVC_INPI_CHANGE_CALC - Change and Calculate New Business Application

CL_GUI_FRONTEND_SERVICES - Frontend Services   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 functions Change and Calculate Application, Determine Cash-Before-Cover Category, and to simulate the Request Cash-Before-Cover Amount on an existing New Business application.

If you select the IF_SIMULATION checkbox, the system simulates the change and calculation of the application in the New Business application. The changes are not saved to the database.

The calculation is only performed if the application was successfully changed.

The Cash-Before-Cover category is only determined if the application was successfully changed and calculated.

If you select the IF_SIMULATE_CBC_REQUEST checkbox, the system simulates the request of the CBC amount, after the application was successfully changed and calculated.

After successful execution of the functions, the system returns information about the application according to the transmission request codes (IS_REQUESTED_ELEMENTS). For more information, see the parameter documentation on the Import tab.

The system also returns the following data:

  • Error and status messages (parameter ET_MESSAGES).
  • Error status (parameter EN_ERROR_CD).
  • Assignments of external and internal entity keys (ET_KEY_MAPPING).
  • Information about the simulated request of the CBC amount (ET_CBC_CF_SIMULATED).

On execution of the function module, data is only saved if IF_SAVE is set and if all actions were successfully executed. If an error occurs in one action, the changes will be discarded. No data of the current application will be returned.

For more information, see the parameter documentation. In the function module, choose the Export tab page.

Example

Note

You must enter the complete data for all entities of the required application, as this could otherwise lead to unexpected circumstances. The function module overwrites the application with the input data supplied by the call. This means that application data that is to remain unchanged after execution of the change must be supplied again on the call of this function module.

Further information In-Force Business Management →

  • General Process Flow for Business Processes → Policy Business Object → Application.
  • Business Processes → New Business Business Process.

Enhancements

To process further data from the calling system, use the Business Add-Ins (BAdI):

  • BAdI: Change and Calculate New Business Application (Extension Out) (/PM0/ABT_SVC_INPI_CHG_CAL_BADI)
    You can use this BAdI to execute your own mapping and to fill the EXTENSIONOUT parameter.
  • BAdI: Change Application (Extension In/Out)(/PM0/ABT_SVC_INPI_CHANGE_BADI)
    You can use this BAdI to execute your own mapping and to set partner input data in the data container.

To do so, in Customizing for Policy Management choose Integration -> Services -> Remote-Enabled Function Modules -> New Business -> BAdI: Change and Calculate Application (Extension Out) and BAdI: Change Application (Extension In/Out).





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_CF_SIMULATED
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_KEY_MAPPING
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
EXTENSIONIN
IF_CHECK_ADVANCED
IF_READ_CBC
IF_READ_JOURNAL
IF_SAVE
IF_SIMULATE_CBC_REQUEST
IF_SIMULATION
IS_REQUESTED_ELEMENTS
IT_SUBJCT_SYNCHRO
IT_SVC_ADDPRPY
IT_SVC_AGENT
IT_SVC_ASFUND
IT_SVC_BM
IT_SVC_BMOWNER
IT_SVC_BNF
IT_SVC_BNFCRY
IT_SVC_CBCPAYR
IT_SVC_CLAIMINFO
IT_SVC_CLAUSE
IT_SVC_CLAUSETEXT
IT_SVC_COINCO
IT_SVC_COINHS
IT_SVC_COINSS
IT_SVC_COMMIS
IT_SVC_COMROLE
IT_SVC_COV
IT_SVC_COVCPCO
IT_SVC_COVPAC
IT_SVC_CRDITOR
IT_SVC_DEDCTBL
IT_SVC_DIACODE
IT_SVC_EXEQMT
IT_SVC_EXREF
IT_SVC_EXTPCL
IT_SVC_EXTPOL
IT_SVC_EXTPOLTEXT
IT_SVC_INFRD
IT_SVC_LIMIT
IT_SVC_NAMDRV
IT_SVC_PCMP
IT_SVC_POLHLDR
IT_SVC_POLICY
IT_SVC_POLPR
IT_SVC_PPDPAC
IT_SVC_PREM
IT_SVC_PRMPAYR
IT_SVC_REPVAL
IT_SVC_RESDEPC
IT_SVC_SBADR
IT_SVC_SUBJCT
IT_SVC_SUPDC
IT_SVC_TR
IT_SVC_VALID
IV_APPLNR_CD
IV_LOCKKEY_ID

Exceptions

Function Group

/SAPLABT_C_SVC_INS_POL_ISS

RFUMSV00 - Advance Return for Tax on Sales/Purchases   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 7368 Date: 20240328 Time: 101305     sap01-206 ( 125 ms )