on 10-13-2014 1:32 PM
Hi Sanjay,
I have the same problem, If you solved this problem, How did you do it?
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you have under "CR-Type Related Service Name" folder in your BRF+ application?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abdullah
It is working if I used as per reference document How To... USMD_SSW_RULE_CONTEXT_PREPARE to ...
which is for LABOR field from MARA but If I used MARA-MTART it is not working even though I Updated MTART instead of LABOR in method IF_USMD_SSW_RULE_CNTX_PREPARE~PREPARE_RULE_CONTEXT
Any clue?
Hi Abdullah
Still no luck for me.
Updated as per below
But still shows as no agent type is specefied as per below in log
also highlighted task container shows nothing
But it is working fine without specifying any dynamic agent service name in single value desion table and no service name is specified for non agent decesion table for MARA-LABOR for which example implementation is delivered by SAP as per document in earlier post.
check the BADI and Service link and filter attached correctly..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sanjay,
Most probably the process might have been stopped due to a runtime error. Can you please check if there were any dumps in ST22 once .Also , have you created implementation for BADI USMD_SSW_RULE_CONTEXT_PREPARE and passed the material type value in ET_RULE_CONTEXT_VALUE?
Regards,
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raghu
In ST22 it shows error like below
I am using example implementation codes used
As per
For the interface method you can use the default coding from Example Enhancement Implementation MDG_BS_MAT_BRF_CONTEXT_LABOR (Add MARA-LABOR to BRF+ context), Implementing Class CL_MDG_BS_MAT_BRF_CONTEXT_LABO and methods IF_USMD_SSW_RULE_CNTX_PREPARE~PREPARE_RULE_CONTEXT, GET_ELEMENT_ID, READ_MATERIAL and READ_CREQUEST.
and replacing LABOR by MTART in method IF_USMD_SSW_RULE_CNTX_PREPARE~PREPARE_RULE_CONTEXT,
No additional coeing is done.Is it OK? If any will be appreciated?
Hi Sanjay,
I think your approach is correct ,however due to some mismatch , it is resulting in a dump. Check the Active calls/Events section in the st22 dump. If there is a custom class in the call stack , it is something do with the custom code.
Could you please upload the complete st22 trace?
Regards,
Raghu
Hello Sanjay,
It looks like there is some inconsistency with the underlying brf application. Parameter IT_CONTEXT_VALUE in the method PROCESS_DT_FOR_CR_TYPE of class
CL_USMD_WF_SSW_RULE_SERVICE |
has a blank value that is causing the issue.
To debug this , Create a pre exit to method PROCESS_DT_FOR_CR_TYPE and put endless loop in it(for .g. DO.ENDDO.) . Create a CR and submit it. When the control comes to the endless loop in pre exit , it stops there. You can debug the process from transaction SM51. You could get better information from this. Once you are done with the analysis , delete the pre-exit.
Regards,
Raghu
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.