on 05-29-2009 8:56 AM
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
Solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexander,
You can use the FM:CRM_STATUS_CHANGE_EXTERN instead of 'CRM_ORDER_CHANGE_STATUS' to change the user status of your primary document.
Regards,
PePe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.