<?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>Question Re: Passing parameters to Workflow. in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018624#M397013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramki!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah it really worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U r 2 good.Thanks a lot.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sudipto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2005 05:16:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-21T05:16:54Z</dc:date>
    <item>
      <title>Passing parameters to Workflow.</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaq-p/1018611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m passing values from my ABAP prog to my event container and from there to my workflow and ultimately to my workitem text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem is -  my ABAP prog. is passing junk characters along with the actual value to my event container parameters while setting event parameters thru &lt;/P&gt;&lt;P&gt;swc_set_ELEMENT ev_container 'EVENT_PARAMETER' VALUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to prevent these junk chars from being passed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2005 10:32:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaq-p/1018611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-09T10:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Workflow.</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018612#M397001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sudipto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are on a release higher than 4.6, find the SAP_WAPI_xxxx function module to create the event. You don't have to use the container macros with the WAPI FM. Otherwise post the relevant pieces of your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ramki Maley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2005 17:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018612#M397001</guid>
      <dc:creator>ramki_maley</dc:creator>
      <dc:date>2005-09-09T17:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Workflow.</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018613#M397002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am using SAP_WAPI_CRATE_EVENT. Anyways find herewith the relevant code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I am catching the saved doc no. and then based onwhich retrieving relevant data and passing it to the event contaner parameter. But along with the actual value certain other values r also passed. My actual value is in EVENT_CONTAINER-ELEMENT -VALUE (Can be checked thru debugging)&lt;/P&gt;&lt;P&gt;******************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ES55' USING MESTAB MESSAGES INTO IT_MESS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_MESS. "WHERE MSGID = 'E9' AND MSGNR = '004'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE IT_MESS-MSGV2 TO LTPLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*WRITE LTPLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE PLTXT INTO LPLTXT FROM IFLOTX WHERE TPLNR = LTPLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   event_creator-otype = 'US'. "US stands for SAP User&lt;/P&gt;&lt;P&gt;      event_creator-objid = sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SWC_CREATE_CONTAINER ev_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;swc_set_ELEMENT ev_container 'TPLNR' LTPLNR.&lt;/P&gt;&lt;P&gt;swc_set_ELEMENT ev_container 'PLTXT' LPLTXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    OBJECT_TYPE             = 'ZCONNOBJ'&lt;/P&gt;&lt;P&gt;    OBJECT_KEY              = 'FunctLocation'&lt;/P&gt;&lt;P&gt;    EVENT                   = 'ZCREATED'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  COMMIT_WORK             = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EVENT_LANGUAGE          = SY-LANGU&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LANGUAGE                = SY-LANGU&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER                    = SY-UNAME&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IFS_XML_CONTAINER       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RETURN_CODE             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EVENT_ID                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;    INPUT_CONTAINER         = EV_CONTAINER.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MESSAGE_LINES           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MESSAGE_STRUCT          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL TRANSACTION 'ES55' USING MESTAB MESSAGES INTO IT_MESS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_MESS. "WHERE MSGID = 'E9' AND MSGNR = '004'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE IT_MESS-MSGV2 TO LTPLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*WRITE LTPLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE PLTXT INTO LPLTXT FROM IFLOTX WHERE TPLNR = LTPLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   event_creator-otype = 'US'. "US stands for SAP User&lt;/P&gt;&lt;P&gt;      event_creator-objid = sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SWC_CREATE_CONTAINER ev_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;swc_set_ELEMENT ev_container 'TPLNR' LTPLNR.&lt;/P&gt;&lt;P&gt;swc_set_ELEMENT ev_container 'PLTXT' LPLTXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    OBJECT_TYPE             = 'ZCONNOBJ'&lt;/P&gt;&lt;P&gt;    OBJECT_KEY              = 'FunctLocation'&lt;/P&gt;&lt;P&gt;    EVENT                   = 'ZCREATED'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  COMMIT_WORK             = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EVENT_LANGUAGE          = SY-LANGU&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LANGUAGE                = SY-LANGU&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER                    = SY-UNAME&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IFS_XML_CONTAINER       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RETURN_CODE             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EVENT_ID                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;    INPUT_CONTAINER         = EV_CONTAINER.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MESSAGE_LINES           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MESSAGE_STRUCT          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;******************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cud u kindly suggest a solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sudipto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2005 05:27:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018613#M397002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-12T05:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Workflow.</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018614#M397003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudipto Barman,&lt;/P&gt;&lt;P&gt;  I'm not sure but it looks like there is a problem with the Macros, though nothing apparently.&lt;/P&gt;&lt;P&gt;Try this: The data type of containers is an internal table of type SWCONT just populate this manually and pass it to INPUT_CONTAINER in the function call.&lt;/P&gt;&lt;P&gt;And remeber to trim the charecter fields using condense no-gaps wherever necessary.&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Arun N&lt;/P&gt;&lt;P&gt;91 9443167531&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2005 15:54:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018614#M397003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-12T15:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Workflow.</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018615#M397004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sudipto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the WAPI FM the container is a simple internal table. You simply fill the internal table with the Element name and its value using the APPEND statement. Please see the structure of the input_container parameter of the FM. You should not use any of the macros. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not want get into a discussion of your design but It is strange that you are supplying the object key as a literal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ramki Maley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2005 16:08:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018615#M397004</guid>
      <dc:creator>ramki_maley</dc:creator>
      <dc:date>2005-09-12T16:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Workflow.</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018616#M397005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nice speaking to u yesterday. But still I cudn't solve the prob. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried ur sugg. .ie. appending the event container with my element name and value, but still it didn't solve the prob. Anyway thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone faced any similar scenario n how did u tackle it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sudipto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 04:58:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018616#M397005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T04:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Workflow.</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018617#M397006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you declare and fill the Container as below (see my earlier reply above)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt; ev_container like swr_cont occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   ev_container-element = 'TPLNR'.&lt;/P&gt;&lt;P&gt;   ev_container-value   = LTPLNR.&lt;/P&gt;&lt;P&gt;   append ev_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   ev_container-element = 'PLTXT'.&lt;/P&gt;&lt;P&gt;   ev_container-value   = LPLTXT.&lt;/P&gt;&lt;P&gt;   append ev_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ramki Maley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 11:32:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018617#M397006</guid>
      <dc:creator>ramki_maley</dc:creator>
      <dc:date>2005-09-14T11:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Workflow.</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018618#M397007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramki!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot. But still my prob persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually what's happ'ng is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ev_container is of type SWCONT. Now fields of SWCONT r ELEMENT, TAB_INDEX, ELEMLENGTH, TYPE and VALUE. So the data being passed to WF workitem is with these values i.e.&lt;/P&gt;&lt;P&gt;if actual value to be passed is 'RAMKI'.&lt;/P&gt;&lt;P&gt;it is passing 000000010CRAMKI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cud anyone guide me on solving this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks n Regards,&lt;/P&gt;&lt;P&gt;Sudipto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2005 08:27:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018618#M397007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-19T08:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Workflow.</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018619#M397008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sudipto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have done the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Defined the Event parameters for the object in SWO1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Defined the WF container elements with same properties with the Import &amp;amp; Export boxes checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Defined Event Parameter to WF Container Element binding on the WF template. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Triggered the Event with the correct parameter names using the WAPI as described in my previous reply above. Once again if you are using the WAPI you must fill the container parameter as specified. The WAPI converts the simple Internal table to SWCONT format and passes it to WF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are then trying to access the container element in an Object method or a check/receiver FM, you then  use the container macro SWC_GET_ELEMENT to read the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ramki Maley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2005 12:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018619#M397008</guid>
      <dc:creator>ramki_maley</dc:creator>
      <dc:date>2005-09-19T12:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Workflow.</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018620#M397009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramki!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually my Workflow is just receiving the values from the event parameters and populating the same in a send mail task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event parameters r getting values from the screen in my ABAP prog. which is actually triggering my event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I m getting those xtra values of SWCONT table passed to my event parameters in my workitem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Ramki this is why, in another WORKFLOW, I m unable to use the EXPRESSION for agent assignment as my workflow cont. element has userid + SWCONT xtra values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont know how to get rid of those xtra values? Cud u plz. help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sudipto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2005 06:27:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018620#M397009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-20T06:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Workflow.</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018621#M397010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please repost your event triggering code if you made the changes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramki Maley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2005 12:33:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018621#M397010</guid>
      <dc:creator>ramki_maley</dc:creator>
      <dc:date>2005-09-20T12:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Workflow.</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018622#M397011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramki!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I m facing the same prob. for 2 of my WFs.i.e. extra values (values of SWCONT fields) being passed by my ABAP prog. For the 2nd, m attaching the code herewith.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZISU_WF_NSC_COM1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include &amp;lt;cntn01&amp;gt;. "This include is needed for container definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: DATE(10) TYPE C, CUST_NAME(20) TYPE C, ADD1(20) TYPE C, ADD2(20)&lt;/P&gt;&lt;P&gt;TYPE C, ADD3(20) TYPE C, CITY(20) TYPE C, PIN(20) TYPE C, COMMENTS(20)&lt;/P&gt;&lt;P&gt;TYPE&lt;/P&gt;&lt;P&gt;C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: MAX_TAB TYPE ZCUSTOMER1-SRNO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*DATA: CUST(120) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:OK_CODE TYPE SY-UCOMM,&lt;/P&gt;&lt;P&gt;     SAVE_OK TYPE OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: WA LIKE ZCUSTOMER1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EVENT  RELATED DECLARATIONS----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: event_Creator like swhactor, "HOlds event creator's login id&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     jeventid like SWEDUMEVID-EVTID, "Return parameter given Event ID&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     inforec type swc_object,        " Business Object(BO) reference&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     reqkey like SWEINSTCOU-OBJKEY,    "Key Field of BO&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      ev_container type SWCONT occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EVENT  RELATED DECLARATIONS----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call screen 101.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0101 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  OK_CODE = SY-UCOMM.&lt;/P&gt;&lt;P&gt;  SAVE_OK = OK_CODE.&lt;/P&gt;&lt;P&gt;  CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;    WHEN 'SUB'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT MAX( SRNO ) INTO MAX_TAB FROM ZCUSTOMER1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WA-SRNO = MAX_TAB + 1.&lt;/P&gt;&lt;P&gt;    WA-CUST_DATE = DATE.&lt;/P&gt;&lt;P&gt;    WA-NAME = CUST_NAME.&lt;/P&gt;&lt;P&gt;    WA-ADD1 = ADD1.&lt;/P&gt;&lt;P&gt;    WA-ADD2 = ADD2.&lt;/P&gt;&lt;P&gt;    WA-ADD3 = ADD3.&lt;/P&gt;&lt;P&gt;    WA-CITY = CITY.&lt;/P&gt;&lt;P&gt;    WA-PIN = PIN.&lt;/P&gt;&lt;P&gt;    WA-COMMENTS = COMMENTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    INSERT ZCUSTOMER1 FROM WA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    event_creator-otype = 'US'. "US stands for SAP User&lt;/P&gt;&lt;P&gt;      event_creator-objid = sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SWC_CREATE_CONTAINER ev_container.&lt;/P&gt;&lt;P&gt;      swc_set_ELEMENT ev_container 'CUST_DATE' DATE.     "Set event&lt;/P&gt;&lt;P&gt;"Container&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ev_container-element = 'CUST_NAME'.&lt;/P&gt;&lt;P&gt;ev_container-value = CUST_NAME.&lt;/P&gt;&lt;P&gt;append ev_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ev_container-element = 'ADD1'.&lt;/P&gt;&lt;P&gt;ev_container-value = ADD1.&lt;/P&gt;&lt;P&gt;append ev_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ev_container-element = 'ADD2'.&lt;/P&gt;&lt;P&gt;ev_container-value = CUST_NAME.&lt;/P&gt;&lt;P&gt;append ev_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ev_container-element = 'ADD3'.&lt;/P&gt;&lt;P&gt;ev_container-value = ADD3.&lt;/P&gt;&lt;P&gt;append ev_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ev_container-element = 'COMMENTS'.&lt;/P&gt;&lt;P&gt;ev_container-value = COMMENTS.&lt;/P&gt;&lt;P&gt;append ev_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ev_container-element = 'CITY'.&lt;/P&gt;&lt;P&gt;ev_container-value = CITY.&lt;/P&gt;&lt;P&gt;append ev_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ev_container-element = 'PIN'.&lt;/P&gt;&lt;P&gt;ev_container-value = PIN.&lt;/P&gt;&lt;P&gt;append ev_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     swc_set_ELEMENT ev_container 'CUST_NAME' CUST_NAME.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     swc_set_ELEMENT ev_container 'ADD1' ADD1.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     swc_set_ELEMENT ev_container 'ADD2' ADD2.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     swc_set_ELEMENT ev_container 'ADD3' ADD3.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     swc_set_ELEMENT ev_container 'COMMENTS' COMMENTS.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     swc_set_ELEMENT ev_container 'CITY' CITY.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     swc_set_ELEMENT ev_container 'PIN' PIN.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     swc_GET_ELEMENT ev_container 'FORM' FORM.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          OBJECT_TYPE             = 'ZKNA1'&lt;/P&gt;&lt;P&gt;          OBJECT_KEY              = 'CustomerNo'&lt;/P&gt;&lt;P&gt;          EVENT                   = 'PROCESSSTARTED'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       COMMIT_WORK             = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       EVENT_LANGUAGE          = SY-LANGU&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       LANGUAGE                = SY-LANGU&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          USER                    = SY-UNAME&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       IFS_XML_CONTAINER       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                     IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       RETURN_CODE             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       EVENT_ID                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;         INPUT_CONTAINER         = ev_container.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       MESSAGE_LINES          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       MESSAGE_STRUCT          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;WRITE:'DONE'.&lt;/P&gt;&lt;P&gt;WHEN 'EXIT'.&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cud u help me on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2005 13:11:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018622#M397011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-20T13:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Workflow.</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018623#M397012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the lines I commented in italics, my additions in bold.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EVENT RELATED DECLARATIONS----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: event_Creator like swhactor, "HOlds event creator's login id&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;jeventid like SWEDUMEVID-EVTID, "Return parameter given Event ID&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;inforec type swc_object, " Business Object(BO) reference&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;reqkey like SWEINSTCOU-OBJKEY, "Key Field of BO&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;lt;i&amp;gt;*** ev_container type SWCONT occurs 0 with header line.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ev_container like swr_cont occurs 0 with header line.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EVENT RELATED DECLARATIONS----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;event_creator-otype = 'US'. "US stands for SAP User&lt;/P&gt;&lt;P&gt;event_creator-objid = sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;* DO NOT USE MACRO. Container parameter is an internal table.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;*** SWC_CREATE_CONTAINER ev_container.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;* Use append statement &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;*** swc_set_ELEMENT ev_container 'CUST_DATE' DATE. "Set event&lt;/P&gt;&lt;P&gt;"Container&lt;/P&gt;&lt;P&gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ev_container-element = 'CUST_NAME'.&lt;/P&gt;&lt;P&gt;ev_container-value = CUST_NAME.&lt;/P&gt;&lt;P&gt;append ev_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should solve both of your problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ramki Maley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2005 16:02:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018623#M397012</guid>
      <dc:creator>ramki_maley</dc:creator>
      <dc:date>2005-09-20T16:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters to Workflow.</title>
      <link>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018624#M397013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramki!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah it really worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U r 2 good.Thanks a lot.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sudipto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2005 05:16:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/passing-parameters-to-workflow/qaa-p/1018624#M397013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-21T05:16:54Z</dc:date>
    </item>
  </channel>
</rss>

