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.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.