<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Has anyone implemented Program exits in Workflow? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/has-anyone-implemented-program-exits-in-workflow/m-p/1656618#M291417</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i know we can capture workflow container values in the program exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i need to manipulate/change the container values and pass the new container values back to the task from the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how should i implement the binding and the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Subba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Oct 2006 06:56:27 GMT</pubDate>
    <dc:creator>vsubbakrishna</dc:creator>
    <dc:date>2006-10-26T06:56:27Z</dc:date>
    <item>
      <title>Has anyone implemented Program exits in Workflow?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/has-anyone-implemented-program-exits-in-workflow/m-p/1656618#M291417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i know we can capture workflow container values in the program exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i need to manipulate/change the container values and pass the new container values back to the task from the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how should i implement the binding and the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Subba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 06:56:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/has-anyone-implemented-program-exits-in-workflow/m-p/1656618#M291417</guid>
      <dc:creator>vsubbakrishna</dc:creator>
      <dc:date>2006-10-26T06:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone implemented Program exits in Workflow?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/has-anyone-implemented-program-exits-in-workflow/m-p/1656619#M291418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for this you will have to create a dummy method of a class and use the macros from &amp;lt;cntn01&amp;gt; to modify the contents. Probably you know this.&lt;/P&gt;&lt;P&gt;Note that only the variables created in workflow , that are not default can be set as export parameters. &lt;/P&gt;&lt;P&gt;get the required parameters as import parameters and export parameters of the method you create. Create a task out of that and insert it in the workflow definition. &lt;/P&gt;&lt;P&gt;Write logic inside the method such that... only if required, modify the contents else pass the same to export.. so that net effect is nil.&lt;/P&gt;&lt;P&gt;This is one method of creating program exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another method is what you are asking&lt;/P&gt;&lt;P&gt;add the class, shd have the interface IF_SWF_IFS_WORKITEM_EXIT  in its definition.&lt;/P&gt;&lt;P&gt;Define its methods. &lt;/P&gt;&lt;P&gt;By default the task container will be available for the class to operate on. they will be public. so you can reference them in your method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sandeep Josyula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Mark helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 07:05:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/has-anyone-implemented-program-exits-in-workflow/m-p/1656619#M291418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T07:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone implemented Program exits in Workflow?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/has-anyone-implemented-program-exits-in-workflow/m-p/1656620#M291419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;very helpful....&lt;/P&gt;&lt;P&gt;i have implemented the class using interface IF_SWF_IFS_WORKITEM_EXIT and able to read WF container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default the task container is available for the class to operate on...that is okay....but how to reflect changes back to WF..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Subba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 07:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/has-anyone-implemented-program-exits-in-workflow/m-p/1656620#M291419</guid>
      <dc:creator>vsubbakrishna</dc:creator>
      <dc:date>2006-10-26T07:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone implemented Program exits in Workflow?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/has-anyone-implemented-program-exits-in-workflow/m-p/1656621#M291420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;also sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Request you to explain the First method using macros as i have not done this before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say &amp;lt;b&amp;gt;import&amp;lt;/b&amp;gt; :&lt;/P&gt;&lt;P&gt;field1&lt;/P&gt;&lt;P&gt;field2&lt;/P&gt;&lt;P&gt;field3&lt;/P&gt;&lt;P&gt;into the class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate all the three into &amp;lt;b&amp;gt;field4 and export&amp;lt;/b&amp;gt; it back to task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how should my class look like..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;subba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 07:27:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/has-anyone-implemented-program-exits-in-workflow/m-p/1656621#M291420</guid>
      <dc:creator>vsubbakrishna</dc:creator>
      <dc:date>2006-10-26T07:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone implemented Program exits in Workflow?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/has-anyone-implemented-program-exits-in-workflow/m-p/1656622#M291421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Task container is available for the class by default.&lt;/P&gt;&lt;P&gt;Use the macros to modify the contents. (I hope this will not be possible...if it is.. its fine then )&lt;/P&gt;&lt;P&gt;Instead create extra variable in task container of the object type, and assign the modified local object of the exit class to it. and do binding from task to workflow with the new declared variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your example, declare field4 as export of the method in class and declare the method as public. that should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sandeep Josyula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Mark helpful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 08:22:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/has-anyone-implemented-program-exits-in-workflow/m-p/1656622#M291421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T08:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone implemented Program exits in Workflow?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/has-anyone-implemented-program-exits-in-workflow/m-p/1656623#M291422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answered!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 02:39:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/has-anyone-implemented-program-exits-in-workflow/m-p/1656623#M291422</guid>
      <dc:creator>vsubbakrishna</dc:creator>
      <dc:date>2007-06-19T02:39:03Z</dc:date>
    </item>
  </channel>
</rss>

