Ansicht
Dokumentation
CRM_CLA_CSD_BEFORE_COPY2CSR_EC - Check, if the item copying to Carried-Over Prepayment is o.k.
ABAP Short Reference General Data in Customer MasterThis documentation is copyright by SAP AG.
Functionality
When a Carried-over Prepayment should be created via Follow-up out of the Claim Submission Document, then it is necessary to do additional checks to make sure that the copying is actual possible.
A Carried-over Prepayment could only create if the unresolved amount of the Claim Submission Document is not null. The unresolved amount of the Claim Submission Document could be determined via CUMULATED_I with rule 89 and type 75.
Example
Notes
The unresolved amount stands on item level, nevertheless it is not possible to copy the header, if the unresolved amount is not greater than null. So this function module is assigned to ORDERADM_H.
Further information
Entries in event handler:
1.
Trans. Category,,,,,,,,,,BUS2000310,,Claim Submission
Execution Time,,,,,,,,,,1,,,,Immediately
Priority,,,,,,,,,,,,2
Object Name ,,,,,,,,,,ORDER,,General order processing
Event,,,,,,,,,,,,BEFORE_CREATE_WITH_REFERENCE
Attribute,,,,,,,,,,,,<*>
Function,,,,,,,,,,,,CRM_CLA_CPP_H_BEFORE_COPY_EC
Perform Function for Doc. Header,,,,,,X
Perform Function for Doc. Item,,,,,,X
Do not Process Function if Event Errors Occurs
Call Callback,,,,Call to Header/Item, with Object, Event, Attr., Old/New Data
2.
Trans. Category,,,,,,,,,,BUS2000310,,Claim Submission
Execution Time,,,,,,,,,,1,,,,Immediately
Priority,,,,,,,,,,,,2
Object Name ,,,,,,,,,,ORDERADM_H,,,,Administration Header
Event,,,,,,,,,,,,BEFORE_CREATE_WITH_REFERENCE
Attribute,,,,,,,,,,,,<*>
Function,,,,,,,,,,,,CRM_CLA_CPP_H_BEFORE_COPY_EC
Perform Function for Doc. Header,,,,,,X
Perform Function for Doc. Item,,,,,,X
Do not Process Function if Event Errors Occurs
Call Callback,,,,Call to Header/Item, with Object, Event, Attr., Old/New Data
3.
Trans. Category,,,,,,,,,,BUS2000312,,Prepayment Request
Execution Time,,,,,,,,,,1,,,,Immediately
Priority,,,,,,,,,,,,2
Object Name ,,,,,,,,,,ORDERADM_H,,,,Administration Header
Event,,,,,,,,,,,,BEFORE_CREATE_WITH_REFERENCE
Attribute,,,,,,,,,,,,<*>
Function,,,,,,,,,,,,CRM_CLA_CPP_H_BEFORE_COPY_EC
Perform Function for Doc. Header,,,,,,X
Perform Function for Doc. Item,,,,,,
Do not Process Function if Event Errors Occurs,,X
Call Callback,,,,Call to Header/Item, with Object, Event, Attr., Old/New Data
Parameters
IV_ATTRIBUTIV_HEADER_GUID
IV_OBJECT_GUID
IV_OBJECT_NAME
IV_STRVAL_NEW
IV_STRVAL_OLD
Exceptions
ABORTFunction Group
CRM_CLA_CSR_ECGeneral Material Data rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 3023 Date: 20240523 Time: 090600 sap01-206 ( 45 ms )