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

Workflows - XD02

Former Member
0 Likes
693

hi,

i have a requirement in workflows. In transaction xd02, when i change the blocking data, a workflow will trigger. Now i want to display both old and new values while sending out a notification mail that the particular customer has been blocked. Can you please help me out, how to do this.??

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
576

hi malvika,

As far i have understood your requirement, there is an FM available for this purpose, i.e.,

SWE_CD_TEMPLATE_CONTAINER_FB_2

This is called immediately before the event creation. since events are determined and triggered on the basis of the change document, specific event paramaters are not provided with values. you can set these using this function module.

Just go to transaction SWEC, check your change document object, go to field restrictions and use this function module in the event container box. then you can code accordingly.

Hope this will help you.

regards,

preet

3 REPLIES 3
Read only

Former Member
0 Likes
577

hi malvika,

As far i have understood your requirement, there is an FM available for this purpose, i.e.,

SWE_CD_TEMPLATE_CONTAINER_FB_2

This is called immediately before the event creation. since events are determined and triggered on the basis of the change document, specific event paramaters are not provided with values. you can set these using this function module.

Just go to transaction SWEC, check your change document object, go to field restrictions and use this function module in the event container box. then you can code accordingly.

Hope this will help you.

regards,

preet

Read only

Former Member
0 Likes
576

Hi,

If you are concerning about Old/New values get it from Table CDHDR and do some changes in Business object Method to send in mail.

Thanks,

Krishna.

Read only

Former Member
0 Likes
576

Hi Preet,

solved my problem.

thanx.