I have couple of different Item categories(BUS2000160 CRM Customer complaint Item,BUS2000140 CRM Service Product Item, BUS2000146 CRM Service Material Item ) for the Complaint/Repair Order.
These Item categories can be created/copy from source item category (ex: BUS2000140 CRM Service Product Item ) to target category(ex: BUS2000146 CRM Service Material Item ) by user using buttons copy from template, Repair Diagnosis, REPAIR STEP etc
In this item copy process I have to default some fields (ex: Account Indicator field) based on source Item categorie's Account Indicator field value
I have found that there is a standard CRMV EVENT function module(CRM_WTY_MGNT_UPDATE_EC) is getting called in this copy process using buttons copy from template, Repair Diagnosis, REPAIR STEP etc. This FM fetches the Account Indicator field value from the Warranty and fills the Account Indicator field in the copied line items of the the Complaint.
STANDARD CRMV EVENT function module- CRM_WTY_MGNT_UPDATE_EC details:-
CRM Bus Transactions
End of Document Processing
According to my requirement, in the copied line items of the the Complaint, I am trying to fill the Account Indicator field with the source line Items Account Indicator field value exist at that time. To satisfy this I have created new CRMV EVENT function module which triggers during the line items copy process.
CUSTOM CRMV EVENT function module details:-
Finally I observed that this custom changes is getting overwritten by the standard CRMV EVENT function module(CRM_WTY_MGNT_UPDATE_EC).
I have created new CRMV EVENT function module (with parameters as similar as standard CRMV EVENT FM ) which can be called after the standard CRMV EVENT function module with help of priority parameter(value 11 ) in CRMV EVENT. this time it is going to dump during the copy process.
Dump error is : Type conflict with ASSIGN in program SAPLZCRMCUSTOMFUNTIONMODULE
I tried with implicit enhancement spot on the Standard FM, same dump got generated.
Please help me to fix this.