Skip to Content
0
Former Member
Apr 22, 2014 at 09:09 AM

How to call Badi - CRM_ORDERADM_H_MERGE only on saving of service request.

253 Views

Hello CRM Experts,

I am trying to change value of a field - "object_id" of table "CRMD_ORDERADM_H" while creation of a service request. I am doing this by implemeting BADI - CRM_ORDERADM_H_BADI, method - CRM_ORDERADM_H_MERGE. In this method I am creating a new number and updating it in Object_id field of orderadmh table. This badi is getting called on every button click like - NEW, SAVE, even on pressing enter in service request creation page.

But I want to execute the code written in this method only on clicking SAVE button in web ui. But I am not able to find a way to do so.

Please suggest something.

Thanks,

Pooja