Skip to Content
0
Former Member
Mar 25, 2010 at 04:49 AM

How to rollback changes if FM CRMXIF_PRODUCT_IP_REL_SAVE fails

38 Views

Hi,

We have a class which gets old parent product, new parent product and set of children

Our task is to first delete the relationship between old parent product and set of children and then create a relationship

between new parent product and set of children.

We are using the FM CRMXIF_PRODUCT_IP_REL_SAVE with task = 'D' for delete and 'C' for create.

Now, if the deletion fails we want to rollback the changes and avoid creation.

But, we are unable to do so.

Can anyone please help me do this.

Regards,

Santosh