on 2025 Mar 31 1:45 PM
Hello
I am implementing a dynamic workflow using a System Method BAdI. I have already created a service name and assigned it as a filter value in the BAdI.
(The other code reads data from the change request and I am only permitted to share the condition code below.) Here is the code within the BAdI:
CONSTANTS:
lc_action_approve TYPE usmd_crequest_action VALUE '03',
lc_action_reject TYPE usmd_crequest_action VALUE '04'.
*Check MBRSH
CASE ls_material-mbrsh.
WHEN 'M'.
ev_action = lc_action_reject.
WHEN OTHERS.
ev_action = lc_action_approve
.
ENDCASE.
I have placed a debugger within the code, and I can confirm that the condition is being evaluated. However, after the system processes ev_action (e.g., lc_action_approve), the workflow does not proceed to the next step. Conversely, if ev_action equals lc_action_reject, the M2 step is not triggered.
Thank you!
Best regards,
Rei
Filter Value
Non User agent Table
Service Name
Single Value Table
Request clarification before answering.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.