<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
<DIV>Hi All,</DIV>
<DIV>I am working on the leave request template, WS12300111. I have made the necessary setting and its working fine as expected.</DIV>
<DIV>&nbsp;</DIV>
<DIV>However, I have a legacy system, where there is a present "Leave processing application" is available.&nbsp; Since, certain employees will be creating the leave request in the legacy system. The data will be transferred into R/3 in a batch process.</DIV>
<DIV>&nbsp;</DIV>
<DIV>When the data is transferred into R/3, I need to create the leave request and send it for approval to the respective managers.</DIV>
<DIV>&nbsp;</DIV>
<DIV>It would be of great help, if I can get help on triggerring this workflow, WS12300111, using the CLASS - CL_PT_REQ_WF_ATTRIBS, manually, trigger the workflow. </DIV>
<DIV>&nbsp;</DIV>
<DIV>I&nbsp;am aware of these function modules SAP_WAPI_START_WORKFLOW&nbsp; &amp; SWC_CREATE_OBJECT, but this will help us to create an instance of business object. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Please write to me, how to create an instance of this CLASS file and start the workflow.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for your help in advance.</DIV>
<DIV>Regards</DIV>
<DIV>Bala</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BLOCKQUOTE></td></tr></table><br>