2005 Oct 11 6:01 AM
Hi,
can workflows or events be triggered from incompletion procedures? for eg. when a sales order is incomplete and saved, a workflow should start, which handles the process...
Regards,
Vijay
2005 Oct 11 10:08 AM
Hi~ vijay.
I'm not sure that there is a workflow for it.
but, I think it's possible.
why don't you try like this.
1) make your own workflow templete.
2) find some place you want to code... I mean some kind of
user exit things.
in case of sale order.
Edit user exit 'userexit_save_document'.
check some field for incompletion procedure.
for example>
if vbap-taxm1 eq ' ' or
vbap-werks eq ' ' or
.... in case of some condition field for
incompletion procedure is imcompleted
call function 'SWE_EVENT_CREATE'
.... call workflow ....
endif.But, There is a lot of impletion log for sales order, so when an order is created
and saved with impletion log, it calls an workflow.
and somebody get an workitem.... I think it's a little bit cumbersome.
In T-code <b>'V.02'</b>, you can check all the incompletion documents.
why don't you use v.02
I wish I could help you.
Kyung Woo
Hi~ vijay.
I'm not sure that there is a workflow for it.
but, I think it's possible.
why don't you try like this.
1) make your own workflow templete.
2) find some place you want to code... I mean some kind of
user exit things.
in case of sale order.
Edit user exit 'userexit_save_document'.
check some field for incompletion procedure.
for example>
if vbap-taxm1 eq ' ' or
vbap-werks eq ' ' or
.... in case of some condition field for
incompletion procedure is imcompleted
call function 'SWE_EVENT_CREATE'
.... call workflow ....
endif.But, There is a lot of impletion log for sales order, so when an order is created
and saved with impletion log, it calls an workflow.
and somebody get an workitem.... I think it's a little bit cumbersome.
In T-code <b>'V.02'</b>, you can check all the incompletion documents.
why don't you use v.02
I wish I could help you.
Kyung Woo
2005 Oct 11 8:14 AM
2005 Oct 11 10:08 AM
Hi~ vijay.
I'm not sure that there is a workflow for it.
but, I think it's possible.
why don't you try like this.
1) make your own workflow templete.
2) find some place you want to code... I mean some kind of
user exit things.
in case of sale order.
Edit user exit 'userexit_save_document'.
check some field for incompletion procedure.
for example>
if vbap-taxm1 eq ' ' or
vbap-werks eq ' ' or
.... in case of some condition field for
incompletion procedure is imcompleted
call function 'SWE_EVENT_CREATE'
.... call workflow ....
endif.But, There is a lot of impletion log for sales order, so when an order is created
and saved with impletion log, it calls an workflow.
and somebody get an workitem.... I think it's a little bit cumbersome.
In T-code <b>'V.02'</b>, you can check all the incompletion documents.
why don't you use v.02
I wish I could help you.
Kyung Woo
2005 Oct 11 10:20 AM
Hi Kyung Woo,
Hey the user exits is a good idea...I was thinking of linking it with change document objects VERKBELEG for sales documents...and one more thing, SAP recommends use of SAP_WAPI_CREATE_EVENT instead of SWE_EVENT_CREATE....
This is just for your information.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |