cancel
Showing results for 
Search instead for 
Did you mean: 

Change of user status from 'X' to 'Y' in service orders

Former Member
0 Kudos

Hi All,

We have a requirement to check whether a user has maintained a credit card or not. If the credit card is not maintained then the system should raise a error message.

We have achieved this by creating the partner rating profile and assigning it to the payer.

Now if the user maintains a credit card number then the user status should change from 'X' to 'Y'.

I want to know where can i do the enhancement order save badi or crm_order_status badi.

Regards

Sohit Gulati

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

CRM_ORDER_STATUS only get triggered when a user is being set explicitly. It won't get triggered by entering other data in the transaction.

ORDER_SAVE Badi is a better place as by that time you have the complete final data of the order.

Former Member
0 Kudos

Hi Peng,

should i use Function module 'CRM_STATUS_CHANGE_EXTERN' to set a new status.

Regards

Sohit Gulati

Answers (1)

Answers (1)

Former Member
0 Kudos

That's what I usually use.

Otherwise, you can just simple use crm_order_maintaiin.