Skip to Content
Former Member
May 29, 2009 at 07:56 AM

Document user status not changed from follow-up document


Hi gurus!

My task is to set new user status of primary document (service order) from follow-up document (task) after follow-up document is created.

To do this I've created Badi-impl. of ORDER_SAVE Badi and in PREPARE method when saving newly created follow-up task I'm setting new service order user status using 'CRM_ORDER_CHANGE_STATUS' function. sy-subrc = 0 and, moreover, when in SAP GUI I'm pressing "Back" button I see new user status in service order. But after I'm pressing "Change" or re-open the service order - I see the old user status, so nothing happens at all.

Why could it be?

Thanks in advance.

Best regards,

Alexander Kirillov