2009 Dec 07 4:00 AM
Hi all,
We are creating production order. While doing this when we save the order a program or function module should be automatically triggered using the user wf-batch.
How to do this?
Regards,
Kumar.
Hi all,
We are creating production order. While doing this when we save the order a program or function module should be automatically triggered using the user wf-batch.
How to do this?
Regards,
Kumar.
2009 Dec 07 4:40 AM
Hi,
when you have properly configured workflow on your system then there is RFC destination for each client (SM59 - Logical Connections) with name WORKFLOW_LOCAL_XXX where XXX is a client number. This destination has predefined user WF-BATCH. So you need to create a FM which will create a production order and call it with destination WORKFLOW_LOCAL_XXX.
Cheers
2009 Dec 07 5:24 AM
Hi Martin,
Thanks for ur answer. Yes the same WORKFLOW_LOCAL_XXX is in SM59 and also having one FM in our production server. But dont know how it is running(its working fine in Production server)?
How to find it?
Could u pls tell me how to call it with destination WORKFLOW_LOCAL_XXX?
Thanks & Regards,
Kumar.
2009 Dec 07 7:09 AM
CALL FUNCTION 'ABC'
DESTINATION 'WORKFLOW_LOCAL_XXX'
...
More info ABAP documentation.
Cheers
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |