on 05-19-2010 6:59 AM
Hi Everyone,
I am currently working with CHARM in solman. I use the transaction 'CRMD_DNO_MONITOR' . Here there are two status system status and user status. The user status is set by the user like in development , to be tested , successfully tested etc., My problem now is i need to find out whether the user status is changed or not ... searching in sdn i got the idea of using the badi 'ORDER_SAVE'. I checked this badi, while debugging this i found out the status is changed (using CRM_ORDER_READ FM). This gives me the current status . But i need to find out whether my status is changed r not .Can anyone suggest me a way to find out whether the status of a particular change document is changed r not .
Thanks & Regards,
Kevin.
Hey kevin
i ve already faced this problem and found a solution to it. The difference is that it was on the subject field change and not on user status. But the algorithm is the same
Each time a change is done on a ticket (before saving) a badi is called. According to the field different badi are called (like ...order*adm_h, ...activity_h, ...) - I don t know which one is called when status changes BUT there is definitely a badi that is called (u can use debugging on CL_exithandler to find out which one)
in this badi you have as a parameter the first value that you ll export thanks to an EXPORT MEMORY ID. Once you ll be in Badi ORDER_SAVE you import parameter and then compare old a new values.
You ll then know if a change occured or not !
PS: don t have a solman system available or i could have seached for the badi concerning user status change
Good luck !
Khalil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kevin
use Badi CRM_ORDER_STATUS
called twice: before and after status change !!
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Everyone,
I am still unable to find the correct way to get the status change....So if any one knows the exact way to find out the status change please let me know......
Thanks & Regards,
Kevin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can create an own automatic action which is executed every time a ticket is saved (BADI EXEC_METHODCALL_PPF).
It has to be executed after the action which changes the status, so i would recommend to give your automatic action a very high sort number like 999.
In the action, you can get the new status with function module CRM_ORDER_READ_OW and the old status with CRM_STATUS_READ.
Hope this helps,
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christoph,
I knew that the status change has not been executed at this time in badi 'ORDER_SAVE' . Only new(current status) is only found there. Actually what i am expecting is whether can we find out that the status has been changed r not in that badi....if so how...or else is there any other way to find out that there was a status change in the ticket(change request).
Thanks & Regards,
Kevin.
Hi Kevin,
We can see the status change in the CRM document.
1 Go to CRM_DNO_MONITOR
2 Choose an correction e.g. 800000123 and open it
3 Go to menu Extras -> Change Documents
Here, you will be able to see if the status was changed, who changed it, time, etc.
I hope this helps.
best regards,
Fernando Rocha
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.