on 03-15-2016 6:46 PM
Hello MDG experts,
How can we read CR Type from CR Data in BADI USMD_RULE_SERVICE. The requirement is that certain checks should only be executed for specifc CR Types. How can I see that ongoing CR if of what CR Type ?
Also, I need to know if some how I can read the CR Step number from CR Data in BADI USMD_RULE_SERVICE because some of my checks should run only for certain steps.
Best Regards,
Dheeraj
Best way in my opinion is to implement cl_usmd_app_context in the code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I you have CR Number, you should be able to read CR type, Step and other details from table USMD120C.
Regards,
Sagar Dixit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dheeraj,
In BADI in the CHECK_ENTITY method, try using cl_usmd_crequest_util=>GET_CR_TYPE_BY_CR for getting the CR type from CR and
cl_usmd_crequest_util=>GET_CR_STATUS_BY_CR for getting the CR status. From CR status you get know what is the current CR step number.
Please check the utility class cl_usmd_crequest_util once. There are some other useful methods also which could help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.