on 04-12-2011 4:41 PM
Hello, We are processing inbound EDI orders in a 4.6C system.
IDOCs with status 51 currently send out a work item. In user-exit code, for certain types of errors, we set the status of IDOC to 68 (these IDOCs will not have a status 51). IDOCs in status 68 are also currently triggering the workflows. We want to turn off workflows off for IDOCs in status 68 and only use workflows for IDOCs in status 51. How can we do this?
Thanks,
Zack
Hi,
You can achive this in two way.
1. Please find the workflow which is triggering after the idoc goes to status 68.
Deactivate the event linkage which is present in the workflow. For this purpose u can also use Tcode SWE2.
2.Go to Transaction WE42 and select your process code
Open the process code by double clicking
Here you can find the funtion module ( Identification field ) to process the inbound IDOC.
select the button attached with Identification
You can find there are several box..
Select the 'Idoc' Box
Here you can find the
Object Type
Start Event
End event
Success Event
You can find some events are maintained to start the workflow if any idoc failed.
e.g.
Object Type IDOCHRMD
Start Event INPUTERROROCCURRED
End event INPUTFINISHED
Now delete the event ... hence workflow will not trigger/start any more.
Hoping that this will help you.
Thanks and regards,
SNJY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I don't know if there is a better way of doing it for IDOCs but since this is about triggering workflow, you could always add a start condition. You can see start conditions in SWB_COND, though best to add them through the Workflow Builder (not sure if that is possible in 46C).
regards
Rick Bakker
hanabi technology
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.