Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

workflow

Former Member
0 Likes
474

hello,

i have a requiremnet where there is only change document object and no bussiness object for the transaction vbn1 , some how i am able to trigger the event but my requirement is whenever vbn2 tranasation is used i want the changed values of a particular field as well as the value of the same field before changing,

cheers

3 REPLIES 3
Read only

Former Member
0 Likes
443

You need to create a new Custom Business Object. In the business object, create an event and add these three parameters. The Parameter names must be named exactly as I have listed.

Parameter Reference Field

CD_OBJECTCLAS - CDHDR-OBJECTCLAS

CD_OBJECTID - CDHDR-OBJECTID

CD_CHANGENR - CDHDR-CHANGENR

Now you should be able to import these values into your workflow using binding in your triggering event.

Remember to setup the change document to trigger your custom workflow event using transaction "SWEC". In this transaction you can specify whether the event should be triggered for CREATE, CHANGE, OR DELETE. If you want all three then you will need to create three entries(one for each).

Hope this helps.

Read only

Former Member
0 Likes
443

Very useful info.

I was also trying something similar.

But i didnt know it should have same name.

Read only

Former Member
0 Likes
443