<?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: Table Control data missing from workflow container in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997228#M1163850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thx for the info, so I don't become mad &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2009 22:09:46 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2009-01-07T22:09:46Z</dc:date>
    <item>
      <title>Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997210#M1163832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have added a table control to a screen, which in turn populates a workflow container with that data using the swc_set_table command. Using the debugger I am able to simulate the user's process and verify that the new data is in the workflow container, along with the container contents that this process originally generates, all the way till the user exits his/her screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then log in as the first approver in the workflow. When I retrieve the container using function SWW_WI_CONTAINER_READ I see the container contents that would be originally generated by this process, but the new data from the table control, which I had previously seen in the container, as descibed above, is missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on what might be causing this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 16:04:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997210#M1163832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T16:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997211#M1163833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you create the same table type in the "WorkFlow" container... ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Adi ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 16:18:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997211#M1163833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T16:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997212#M1163834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adi,&lt;/P&gt;&lt;P&gt;Thank you for your response.  Sorry for the slow reply, but while I received the e-mail notification that you had responded to my post, your reply did not actually appear in the forum before I left my office yesterday afternoon, seven hours after I had received the notification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, in response to your question, this is what I already have in place:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The container is defined using the swc_container commannd, which uses include structure swcont.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table control data is populated in the container using the following command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;swc_set_table   g_wi_container wc_wfce_corp       p_disp_corp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where:&lt;/P&gt;&lt;P&gt;- g_wi_container is the container defined by the above swc_container command.&lt;/P&gt;&lt;P&gt;- wc_wfce_corp is the character constant 'ZCORP_FUNCT'.&lt;/P&gt;&lt;P&gt;- p_disp_corp is an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As stated in my original post, when in the debugger, I am seeing the data in the container (along with the data that are generated from the previous version of the program, as expected) while stepping through the user process, but when I retrieve the container during the approval process, using function SWW_WI_CONTAINER_READ, the data that are generated from the previous version of the program are there as expected, but the additional table control data I'm trying to add, is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something else I need to do to "create the same table type in the WorkFlow container"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 14:37:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997212#M1163834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T14:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997213#M1163835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes .. for the data that u put in the container ... there should be a place holder in the Workflow too ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a table in the Workflow container of the same type and u should be fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be more specific, you need to create Workflow Builder element with Multiline of same type that your are using in the container ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you still have issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Adi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Aditya Vistarakula on Jan 6, 2009 1:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 18:27:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997213#M1163835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T18:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997214#M1163836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adi,&lt;/P&gt;&lt;P&gt;I'm obviously missing something, so I'll need some specific commands or examples of commands.  As stated in my previous posts I am using the swc_set_table command, and am seeing the table data in the workflow container while the debugger is stepping through the user's input process.  It is only when I log in as an approver and retrieve the container that I'm not seeing the table data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not understanding what I need to do differently between creating the table data in the workflow container, which I'm already doing with the swc_set_table command, versus how and when to create a table in the workflow container, per your suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 18:42:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997214#M1163836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T18:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997215#M1163837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you tell me, What elements you have in your Workflow Container of Workflow builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the attributes of the one that you are populating data through sw&lt;STRONG&gt;set&lt;/STRONG&gt;table command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Adi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 19:31:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997215#M1163837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T19:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997216#M1163838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;* indicates Workflow elements that appear in both "user" and "approver" containers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;- # indicates table control element that was created using the swc_set_table command and that appear in the "user" container, but not the "approver" container&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTAINER CONTENTS AT END OF USER PROCESS:			&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUDGETENTITY*				&lt;/P&gt;&lt;P&gt;COLLEGE*				&lt;/P&gt;&lt;P&gt;COMMENTS				&lt;/P&gt;&lt;P&gt;FUNDSCENTER*				&lt;/P&gt;&lt;P&gt;FUNDSCENTERAPP*			&lt;/P&gt;&lt;P&gt;FUNDSCENTERFYI*				&lt;/P&gt;&lt;P&gt;FYICONTAINERVALID*						&lt;/P&gt;&lt;P&gt;IT_DISP_CORP (2 Rows)#							&lt;/P&gt;&lt;P&gt;RESPCCTEXT*								&lt;/P&gt;&lt;P&gt;ROUTECODE*								&lt;/P&gt;&lt;P&gt;VC*									&lt;/P&gt;&lt;P&gt;WFOPR					&lt;/P&gt;&lt;P&gt;ZHR_EFORM_ATTRIBUTES (6 Rows)*		&lt;/P&gt;&lt;P&gt;ZPPENDING_EMPLOYEE (45 Rows)*		&lt;/P&gt;&lt;P&gt;ZWF_EFORM_ROUTE (13 Rows)*		&lt;/P&gt;&lt;P&gt;					&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTAINER CONTENTS AT BEGINNING OF APPROVAL PROCESS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AGENTOFRECORD&lt;/P&gt;&lt;P&gt;AGENTREJECTING&lt;/P&gt;&lt;P&gt;APPROVALTYPE&lt;/P&gt;&lt;P&gt;BUDGETENTITY*&lt;/P&gt;&lt;P&gt;CHECKRESULT&lt;/P&gt;&lt;P&gt;COLLEGE*&lt;/P&gt;&lt;P&gt;EMPLOYEE&lt;/P&gt;&lt;P&gt;FINALSTATUS&lt;/P&gt;&lt;P&gt;FLAG&lt;/P&gt;&lt;P&gt;FUNDSCENTER*&lt;/P&gt;&lt;P&gt;FUNDSCENTERAPP*&lt;/P&gt;&lt;P&gt;FUNDSCENTERFYI*&lt;/P&gt;&lt;P&gt;FUNDSCENTERIN&lt;/P&gt;&lt;P&gt;FUNDSCENTEROUT&lt;/P&gt;&lt;P&gt;FYICONTAINERVALID*&lt;/P&gt;&lt;P&gt;LOOPCOUNT&lt;/P&gt;&lt;P&gt;PENDINGEMPLOYEE&lt;/P&gt;&lt;P&gt;PERSONNELSUBAREASOUT&lt;/P&gt;&lt;P&gt;RECORDNOTFOUND&lt;/P&gt;&lt;P&gt;RECORDSINTABLE&lt;/P&gt;&lt;P&gt;REJECTCOUNT&lt;/P&gt;&lt;P&gt;REQUIREDLEVEL&lt;/P&gt;&lt;P&gt;RESPCCTEXT*&lt;/P&gt;&lt;P&gt;ROLEID&lt;/P&gt;&lt;P&gt;ROLETYPE (2 Rows)&lt;/P&gt;&lt;P&gt;ROUTECODE*&lt;/P&gt;&lt;P&gt;SEQUENCE&lt;/P&gt;&lt;P&gt;VC*&lt;/P&gt;&lt;P&gt;WORKITEM&lt;/P&gt;&lt;P&gt;ZHR_EFORM_ATTRIBUTES (6 Rows)*&lt;/P&gt;&lt;P&gt;ZPPENDING_EMPLOYEE (45 Rows)*&lt;/P&gt;&lt;P&gt;ZWF_EFORM_ROUTE (13 Rows)*&lt;/P&gt;&lt;P&gt;&lt;U&gt;WF&lt;/U&gt;INITIATOR&lt;/P&gt;&lt;P&gt;&lt;U&gt;WF&lt;/U&gt;PARFOREACH_INDEX&lt;/P&gt;&lt;P&gt;&lt;U&gt;WF&lt;/U&gt;PRIORITY&lt;/P&gt;&lt;P&gt;&lt;U&gt;WF&lt;/U&gt;VERSION&lt;/P&gt;&lt;P&gt;_WORKITEM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 20:24:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997216#M1163838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T20:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997217#M1163839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks... and i think we are getting close ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now .. tell me how you got IT_DISP_CORP (2 Rows)# , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i belive you see this in the debugging from the pgm and its a internal table defined in the program (table control data) right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now .. in the "WORKFLOW BUILDER" Container - Did you create a Container Element to hold the IT_DISP_CORP data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok.. Tell me what the data type of IT_DISP_CORP .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a element created with this type in your "WORKFLOW BUILDER: ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Adi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 20:37:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997217#M1163839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T20:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997218#M1163840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adi,&lt;/P&gt;&lt;P&gt;First off, I need to correct some of my terminology before I cause any further confusion.  I originally had the table control element named IT_DISP_CORP.  (I had an old document in front of my when I made my earlier post.)  I have since renamed that element to ZCORP_FUNCT.  That correction will make sense farther down in this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the two rows of element ZCORP_FUNCT to originally appear in the "user" version of the container by the following commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created an instance of the container using:&lt;/P&gt;&lt;P&gt;swc_container g_wi_container&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Populated the container using, the swc_set_element and swc_set_table commands.  Specifically for the ZCORP_FUNCT element, I used:&lt;/P&gt;&lt;P&gt;swc_set_table g_wi_container wc_wfce_corp p_disp_corp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where:&lt;/P&gt;&lt;P&gt;- g_wi_container is the container defined by the above swc_container command. &lt;/P&gt;&lt;P&gt;- wc_wfce_corp is the character constant 'ZCORP_FUNCT'. &lt;/P&gt;&lt;P&gt;- p_disp_corp is an internal table containing two rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The internal table, p_disp_corp uses data type ZCORP_FUNCT, that I defined using SE11. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the first I've heard of WORKFLOW BUILDER.  I'm enhancing an existing program, and this is my first attempt at messing around with workflow, so I'm not the one who originally set up the workflow.  I need to do a little more research and ask a few more questions locally before I can answer your question regarding WORLFLOW BUILDER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be honest, I'm a little confused with your statement "Do you have a element created with this type in your "WORKFLOW BUILDER: ??"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The swc_container command that I refered to above uses uses include structure swcont.  I'm not seeing anywhere in my code where the individual elements of the container are being defined other than the swc_set_element and swc_set_table commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I stated previously, I need to do a little more research and ask a few more questions locally, unless of course there is something obvious you can respond to from what I've just given you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 21:18:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997218#M1163840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T21:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997219#M1163841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem Dick ... do your re search ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But a quick info ... when ever you put data into wf container from any pgm .. also there should be a data holder in wf bulider . i.e wf container element ...This is like a interface and data holder where data is transferd from the container to the WF ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions ... you can also call me 614-735-9825 .. if there are any major questions ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Adi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 21:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997219#M1163841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T21:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997220#M1163842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found that thread that might solve : &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="825233"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, I need more information to help you :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand when the screen (with table control) takes place during the workflow. Is it used to trigger the workflow when you save data, or is it called from a dialog step (workflow already started) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover I don't understand why (and how!) you check &lt;U&gt;by debug&lt;/U&gt; that the data is in the workflow container (are you sure it's stored?). Could you just look at it via SWI1 or other workflow transactions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 22:20:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997220#M1163842</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-01-06T22:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997221#M1163843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sandra,&lt;/P&gt;&lt;P&gt;Thanks for your reply and for the link to the other post.  I gave the SAP_WAPI_READ_CONTAINER function a try instead of SWW_WI_CONTAINER_READ, but with the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are answers to your questions.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screen with the table control is used to trigger the workflow when the user clicks on the "Submit for Approval" button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I check the contents of the workflow container as I'm stepping through the debugger as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Let me state up front that I may have caused some confusion when I stated that I am viewing the contents of the container in the debugger.  Technically, I suppose I'm viewing a respresentation of the contents of the workflow container as decribed by the objects defined by the swcont structure, which are referenced by the functions described below.  Not sure if that clarifies things for you or not.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, the container is defined using the swc_container command, which is defined using include structure swcont. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DURING THE USER PROCESS TO SUBMIT AN ITEM FOR APPROVAL:&lt;/P&gt;&lt;P&gt;- the container is populated with a series of swc_set_element and swc_set_table commands&lt;/P&gt;&lt;P&gt;- as it pertains to the table control data, specifically, I use the following command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;swc_set_table g_wi_container wc_wfce_corp p_disp_corp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- g_wi_container is the container defined by the above swc_container command. &lt;/P&gt;&lt;P&gt;- wc_wfce_corp is the character constant 'ZCORP_FUNCT'. &lt;/P&gt;&lt;P&gt;- p_disp_corp is an internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the above swc_set commands are completed, function SWE_EVENT_CREATE is called to to start the workflow.  g_wi_container is the TABLES parameter for this function.  The sy-subrc after this function has been called is 0.  I drill in to g_wi_container both before and after this function call is completed and note the various elements that are present, including the entries for element 'ZCORP_FUNCT'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the above function call the user gets a pop-up message stating that the request has been submitted for approval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DURING THE APPROVAL PROCESS:&lt;/P&gt;&lt;P&gt;- the container is retrieved with function SWW_WI_CONTAINER_READ, after which the various elements are retrieved using a series of swc_get_element and swc_get_table commands&lt;/P&gt;&lt;P&gt;- as it pertains to the table control data, specificially, I use the following command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;swc_get_table g_wi_container wc_wfce_corp p_disp_corp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- g_wi_container is the container defined by the above swc_container command. &lt;/P&gt;&lt;P&gt;- wc_wfce_corp is the character constant 'ZCORP_FUNCT'. &lt;/P&gt;&lt;P&gt;- p_disp_corp is an internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I drill in to g_wi_container before the call to SWW_WI_CONTAINER_READ and it is empty, as expected.  I drill in to g_wi_container after the call to SWW_WI_CONTAINER_READ is completed and note the various elements that are present.  In this case, however, the entries for element 'ZCORP_FUNCT' are NOT there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Presently, I'm zeroing in on the SWE_EVENT_CREATE function to see if I can spot some type of problem with the new element I'm sticking in the container, even though this container has several other "Z" elements that were added in previous version of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 17:07:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997221#M1163843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T17:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997222#M1163844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sandra,&lt;/P&gt;&lt;P&gt;You got me pointed in the right direction.  Somebody here finally straightened me out.  The g_wi_container that I was referring to was not actually the Workflow container contents, but an internal table with data that got fed in to the Workflow container. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was working under the incorrect assumption that anything I inserted using the swc_set_element or swc_set_table commands would automatically be attached to the Workflow container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of our systems guys will be adding a new "expression" to the workflow container to sync up with the new element I'm adding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 21:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997222#M1163844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T21:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997223#M1163845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adi,&lt;/P&gt;&lt;P&gt;You nailed it. Somebody here finally straightened me out.  The g_wi_container that I was referring to was not actually the Workflow container contents, but an internal table with data that got fed in to the Workflow container. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was working under the incorrect assumption that anything I inserted using the swc_set_element or swc_set_table commands would automatically be attached to the Workflow container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of our systems guys will be adding a new "expression" to the workflow container to sync up with the new element I'm adding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 21:32:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997223#M1163845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T21:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997224#M1163846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 21:33:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997224#M1163846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T21:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997225#M1163847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, thx for your explanation, and second, I apologize for my questions that seem out of date as there were already the answers, but I had problems yesterday with my PC (or was it SDN?) and I only saw the 3 or 4 first posts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway I think that Adi pointed out the problem as it seems that you didn't define the attribute in the container of the workflow builder (as he explained).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that I don't understand how your workflow is done (and why you need to call this function module), as the approval screen (for the approver) should normally be defined as a dialog step/task of that workflow, and thus all the attributes of the workflow runtime could be passed to this step/task. I mean : if you add attribute ZCORP_FUNCT in workflow builder container, then pass it as a parameter to the step/task (it's called binding), and then you won't need to call SWW_WI_CONTAINER_READ to get the attributes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 21:46:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997225#M1163847</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-01-07T21:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997226#M1163848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;argh, I'm still late, I was answering at the same time you were posting. Congratulations!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 21:48:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997226#M1163848</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-01-07T21:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997227#M1163849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think SDN was the reason you weren't seeing all of the posts.  When I got the e-mail notification that Adi had replied the first time I didn't actually see his response in the forum by the time I left the office for the day, seven hours later.  The first time I logged in to the forum this morning I saw only the first three or four posts.  I logged out and logged back in and saw all of them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 21:54:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997227#M1163849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T21:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control data missing from workflow container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997228#M1163850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thx for the info, so I don't become mad &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 22:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-missing-from-workflow-container/m-p/4997228#M1163850</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-01-07T22:09:46Z</dc:date>
    </item>
  </channel>
</rss>

