<?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 Re: Multiple Input values in Workflow Container Events through Executable Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-input-values-in-workflow-container-events-through-executable/m-p/12297743#M1989940</link>
    <description>&lt;P&gt;Hello &lt;SPAN class="mention-scrubbed"&gt;amol.khochare&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You haven't specified what event and of what business object you are calling i.e. the values of LC_OBJTYP and LC_EVENT constants.&lt;/P&gt;&lt;P&gt;The container definition that you see in the binding comes from event parameters (event container) definition. That is maintained along with the business object in SWO1 transaction. &lt;/P&gt;&lt;P&gt;It really doesn't matter here what you actually put into the event container when calling SAP_WAPI_CREATE_EVENT function to raise the event. The binding definition will show the event container as defined in SWO1. Of course the content of the event that you pass to SAP_WAPI_CREATE_EVENT should correspond to the definition of the event parameters (container).&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Dominik Tylczynski&lt;/P&gt;</description>
    <pubDate>Thu, 01 Oct 2020 15:39:17 GMT</pubDate>
    <dc:creator>Dominik_Tylczynski</dc:creator>
    <dc:date>2020-10-01T15:39:17Z</dc:date>
    <item>
      <title>Multiple Input values in Workflow Container Events through Executable Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-input-values-in-workflow-container-events-through-executable/m-p/12297741#M1989938</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I have searched all the related documents and threads related to multiple input values to event container. But, it could not solve my purpose.&lt;/P&gt;
  &lt;P&gt;I have used CALL FUNCTION 'SAP_WAPI_CREATE_EVENT' which is sending PERNR as object key as my container element. As well as I want to pass more 4 fields to input container and accordingly I have added in INPUT_CONTAINER table.&lt;/P&gt;
  &lt;P&gt;I have added INPUT_CONTAINER table parameter name as 'ContainerItem' in Business Object Event (SWO1) and done the binding with event -&amp;gt;workflow. But, 'ContainerItem' parameter is not showing in Event object list while binding. Only PERNR is showing in the event object.&lt;/P&gt;
  &lt;P&gt;Here how I am calling event.&lt;/P&gt;
  &lt;P&gt;LOOP AT GIT_JOINLTRDT ASSIGNING &amp;lt;GWA_JOINLTRDT&amp;gt;&lt;BR /&gt; WHERE CHKBOX = GC_X.&lt;/P&gt;
  &lt;P&gt;*** Calling Workflow Event&lt;BR /&gt; LV_OBJKEY = &amp;lt;GWA_JOINLTRDT&amp;gt;-PERNR.&lt;BR /&gt;&lt;BR /&gt; LWA_CONTAINER-ELEMENT = 'JDATE'.&lt;BR /&gt; LWA_CONTAINER-VALUE = &amp;lt;GWA_JOINLTRDT&amp;gt;-JDATE.&lt;BR /&gt; APPEND LWA_CONTAINER TO LIT_CONTAINER.&lt;BR /&gt; CLEAR LWA_CONTAINER.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt; LWA_CONTAINER-ELEMENT = 'LTRSENT'.&lt;BR /&gt; LWA_CONTAINER-VALUE = &amp;lt;GWA_JOINLTRDT&amp;gt;-LTRSENT.&lt;BR /&gt; APPEND LWA_CONTAINER TO LIT_CONTAINER.&lt;BR /&gt; CLEAR LWA_CONTAINER.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt; LWA_CONTAINER-ELEMENT = 'LTRAPR'.&lt;BR /&gt; LWA_CONTAINER-VALUE = &amp;lt;GWA_JOINLTRDT&amp;gt;-LTRAPR.&lt;BR /&gt; APPEND LWA_CONTAINER TO LIT_CONTAINER.&lt;BR /&gt; CLEAR LWA_CONTAINER.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt; LWA_CONTAINER-ELEMENT = 'HCRECD'.&lt;BR /&gt; LWA_CONTAINER-VALUE = &amp;lt;GWA_JOINLTRDT&amp;gt;-HCRECD.&lt;BR /&gt; APPEND LWA_CONTAINER TO LIT_CONTAINER.&lt;BR /&gt; CLEAR LWA_CONTAINER.&lt;BR /&gt;&lt;BR /&gt; CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'&lt;BR /&gt; EXPORTING&lt;BR /&gt; OBJECT_TYPE = LC_OBJTYP&lt;BR /&gt; OBJECT_KEY = LV_OBJKEY&lt;BR /&gt; EVENT = LC_EVENT&lt;BR /&gt; TABLES&lt;BR /&gt; INPUT_CONTAINER = LIT_CONTAINER&lt;BR /&gt; MESSAGE_LINES = LIT_MESSAGE&lt;BR /&gt; MESSAGE_STRUCT = LIT_MESSAGE_STR.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 14:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-input-values-in-workflow-container-events-through-executable/m-p/12297741#M1989938</guid>
      <dc:creator>former_member207480</dc:creator>
      <dc:date>2020-10-01T14:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Input values in Workflow Container Events through Executable Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-input-values-in-workflow-container-events-through-executable/m-p/12297742#M1989939</link>
      <description>&lt;P&gt;Can you send me a screenshot of Parameters view in SWO1 for your event. Also the binding from event to workflow container.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1847825-4.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 14:39:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-input-values-in-workflow-container-events-through-executable/m-p/12297742#M1989939</guid>
      <dc:creator>bharatpemmireddy</dc:creator>
      <dc:date>2020-10-01T14:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Input values in Workflow Container Events through Executable Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-input-values-in-workflow-container-events-through-executable/m-p/12297743#M1989940</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="mention-scrubbed"&gt;amol.khochare&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You haven't specified what event and of what business object you are calling i.e. the values of LC_OBJTYP and LC_EVENT constants.&lt;/P&gt;&lt;P&gt;The container definition that you see in the binding comes from event parameters (event container) definition. That is maintained along with the business object in SWO1 transaction. &lt;/P&gt;&lt;P&gt;It really doesn't matter here what you actually put into the event container when calling SAP_WAPI_CREATE_EVENT function to raise the event. The binding definition will show the event container as defined in SWO1. Of course the content of the event that you pass to SAP_WAPI_CREATE_EVENT should correspond to the definition of the event parameters (container).&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Dominik Tylczynski&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 15:39:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-input-values-in-workflow-container-events-through-executable/m-p/12297743#M1989940</guid>
      <dc:creator>Dominik_Tylczynski</dc:creator>
      <dc:date>2020-10-01T15:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Input values in Workflow Container Events through Executable Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-input-values-in-workflow-container-events-through-executable/m-p/12297744#M1989941</link>
      <description>&lt;P&gt;Please use the CODE button to format your code so that it's shown in a more user-friendly format (colorized).&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 16:54:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-input-values-in-workflow-container-events-through-executable/m-p/12297744#M1989941</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-10-01T16:54:38Z</dc:date>
    </item>
  </channel>
</rss>

