<?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 workflow function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-function-module/m-p/3526328#M848372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a zbusiness  object (ZPRODH)with&lt;/P&gt;&lt;P&gt; one key field product hierarchy, &lt;/P&gt;&lt;P&gt; one attribute level number and&lt;/P&gt;&lt;P&gt;one method  display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested that zobject and it is displaying it.  now I created a workflow to display this and have to call it from one abap program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the abap program I am calling the funcion module, I need to pass the product hierarcy ( how can I pass it)&lt;/P&gt;&lt;P&gt;data: p_workitem LIKE  SWR_STRUCT-WORKITEMID,&lt;/P&gt;&lt;P&gt;      p_subrc like sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            TASK            = 'WS99900007'&lt;/P&gt;&lt;P&gt;            LANGUAGE        = SY-LANGU&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            RETURN_CODE     = p_subrc&lt;/P&gt;&lt;P&gt;            WORKITEM_ID     = p_workitem&lt;/P&gt;&lt;P&gt;but it is not working, can anybody tell me what is the issue. this is my first workflow. so I am not sure I am missing anything for not. Please help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Mar 2008 20:41:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-05T20:41:24Z</dc:date>
    <item>
      <title>workflow function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-function-module/m-p/3526328#M848372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a zbusiness  object (ZPRODH)with&lt;/P&gt;&lt;P&gt; one key field product hierarchy, &lt;/P&gt;&lt;P&gt; one attribute level number and&lt;/P&gt;&lt;P&gt;one method  display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested that zobject and it is displaying it.  now I created a workflow to display this and have to call it from one abap program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the abap program I am calling the funcion module, I need to pass the product hierarcy ( how can I pass it)&lt;/P&gt;&lt;P&gt;data: p_workitem LIKE  SWR_STRUCT-WORKITEMID,&lt;/P&gt;&lt;P&gt;      p_subrc like sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            TASK            = 'WS99900007'&lt;/P&gt;&lt;P&gt;            LANGUAGE        = SY-LANGU&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            RETURN_CODE     = p_subrc&lt;/P&gt;&lt;P&gt;            WORKITEM_ID     = p_workitem&lt;/P&gt;&lt;P&gt;but it is not working, can anybody tell me what is the issue. this is my first workflow. so I am not sure I am missing anything for not. Please help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 20:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-function-module/m-p/3526328#M848372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-05T20:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: workflow function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-function-module/m-p/3526329#M848373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a zbusiness  object (ZPRODH)with&lt;/P&gt;&lt;P&gt; one key field product hierarchy, &lt;/P&gt;&lt;P&gt; one attribute level number and&lt;/P&gt;&lt;P&gt;one method  display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested that zobject  and using this object created workflow to display product hierarchy ,it is displaying it.  now I  have to call it from one abap program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the abap program I am calling the funcion module, I&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SWW_WI_START_SIMPLE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;    TASK = TASK&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;  WI_ID = WI_ID&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;  AGENTS = AGENTS &lt;/P&gt;&lt;P&gt;  WI_CONTAINER = WI_CONTAINER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is calling the workflow and subrc is 0, but not passing the value to the workflow. Because of that the method is not working, &lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 18:39:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-function-module/m-p/3526329#M848373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T18:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: workflow function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-function-module/m-p/3526330#M848374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check these links...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="330722"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="420944"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="498417"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2008 19:01:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-function-module/m-p/3526330#M848374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-19T19:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: workflow function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-function-module/m-p/3526331#M848375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem solved, issue was continer not defined properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 19:05:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-function-module/m-p/3526331#M848375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-03T19:05:44Z</dc:date>
    </item>
  </channel>
</rss>

