Skip to Content
0
Jun 18, 2019 at 08:42 AM

Calling Copy action in custom action -Service Request

286 Views Last edit Jun 24, 2019 at 06:09 PM 2 rev

Dear Experts,

We have created a custom action copy(not mass enabled) and added it to SR TI screen as shown below.

On click of this button, we want to call standard copy action of service request using below code.

ServiceRequest.Copy(this);// this code is written in custom copy action.

But we get below dump

Source type \INTERFACE=IF_SERVICE_REQUEST\TYPE=TY_ROOT is not compatible, for the purposes of assignment, with target type \CLASS-POOL=BO_SERVICE_REQUEST\CLASS=ROOT\TYPE=TY_STRUCTURE

Any pointers ?

Regards

Rituraj

Attachments