Ansicht
Dokumentation

CRM_IPM_UC_ITD2PP_CONVERT - Rechne ITD Daten in PP um

CRM_IPM_UC_ITD2PP_CONVERT - Rechne ITD Daten in PP um

CPI1466 during Backup   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Data updates in IPM are performed "PP" (per period) or "ITD" (inception to date). However, you can only use data of a standard type during pricing. ITD data in this module is therefore converted to PP data here.

In some cases you do not need to perform the conversion. This is the case if a follow-up document is already available: The ITD data in the preceding document is outdated in this case and is no longer required. The system checks whether a follow-up document exists before this module is accessed.

Conversion is performed by calculating the difference from the values in the royalties item. Open (unbilled) preceding BRIs are also included in this calculation. If an IP with CUMULATED_I data already exists, but has not been billed, the system adjusts the value of this BRI to the open BRIs that immediately follow it. It updates the corrected values and pricing for these follow-up BRIs.

If this module is used during the contract update, data in a correction confirmation item may be processed. In this situation, the GUID for the BRI is initially unknown and the system determines the GUID of the BRI for which the update would normally take place (no correction item). During the contract update, the system checks whether the BRI already contains ITD correction records. If this is the case, these records are processed first, since it is otherwise (during subsequent post-editing of the document) not possible to identify whether correction records may already be outdated.

This module is also used during contract post-editing. In this case, the GUID for the confirmation item contains an initial value.

Notes

The contract is locked when the current data for the royalties item and the BRIs is read. The CRM_ORDER_READ function is accessed, which only reads data from the database. The object buffer is empty during the process described. If this is no longer the case, accessing CRM_ORDER_READ is not sufficient to collect all the data.





Parameters

ET_CUMULATED_I_PP
ET_CUMULATED_I_SUCC
EV_SUCCESSOR
IT_CUMULATED_I_ITD
IV_BRI_GUID
IV_MODE
IV_UC_GUID

Exceptions

CONTRACT_LOCKED
ERROR_OCCURRED

Function Group

CRM_IPM_USAGE_TOOLS

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

Length: 2436 Date: 20240523 Time: 115235     sap01-206 ( 63 ms )