‎2008 Nov 14 5:46 AM
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.??
‎2008 Nov 14 5:56 AM
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
‎2008 Nov 14 5:56 AM
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
‎2008 Nov 14 6:06 AM
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.
‎2008 Nov 14 9:20 AM