<?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: Returning table structures using web services in interactive forms in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/returning-table-structures-using-web-services-in-interactive-forms/qaa-p/6701604#M2436044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Otto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The blog you linked is an excellent one. It details and explains using scripting to capture web service table data which would otherwise be deleted upon a data re-merge. I am trying to determine why the standard method of binding repeated web service data isn't populating. Based on my Adobe journey so far, I am guessing there is a good chance of user error on my part such as a wrong or incomplete setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is how I am looking at the two approaches ( &amp;lt;---that's a disclaimer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard method of binding repeated data:&lt;/P&gt;&lt;P&gt;- No scripting&lt;/P&gt;&lt;P&gt;- Useful for retrieving table data (well, "similarly described" data) from a single web service data connection&lt;/P&gt;&lt;P&gt;- Data is wiped out following re-merge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scripting to capture web service data:&lt;/P&gt;&lt;P&gt;- Requires scripting&lt;/P&gt;&lt;P&gt;- Offers the ability to capture retrieved data from one web service data connection and have it available for another web service data connection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;--- Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Mar 2010 20:46:11 GMT</pubDate>
    <dc:creator>scott_stefanich</dc:creator>
    <dc:date>2010-03-25T20:46:11Z</dc:date>
    <item>
      <title>Returning table structures using web services in interactive forms</title>
      <link>https://community.sap.com/t5/technology-q-a/returning-table-structures-using-web-services-in-interactive-forms/qaq-p/6701602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a web service for BAPI_PRODORD_GET_DETAIL and used it as a data connection in an offline interactive form. I am able to successfully execute the data connection, send request parameters, and return response structures, but have not been able to successfully return response tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been using the SAP Press book "SAP Interactive Forms by Adobe" which has a chapter on using WSDL data connections in offline scenarios via web services. One of the authors, Juergen Hauser, also has an excellent blog [Using Web Services with SAP Interactive Forms by Adobe- Overview &amp;amp; Tips|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8735] &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;;. Here are the steps I have taken,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Create a form interface import parameter. The parameter table type has the same line type as the returned table response structure.&lt;/P&gt;&lt;P&gt;- Added the table import parameter to the context of the form.&lt;/P&gt;&lt;P&gt;- Created a WSDL data connection in the data view of the form.&lt;/P&gt;&lt;P&gt;- Created a button for calling the web service by dragging the LiveCycle Designer generated data connection button from the data view to the form layout. I set the button's control type as "Execute" and selected "Re-merge Form Data" on the Execute tab of the Object palette.&lt;/P&gt;&lt;P&gt;- Created a table for the data. I have tried creating the table in a few ways:&lt;/P&gt;&lt;P&gt;1. Dragging the table from the data view data connection response (creates subforms with table/body roles in hierarchy)&lt;/P&gt;&lt;P&gt;2. Dragging the table from the data view data connection response and converted to table via the menu, Table -&amp;gt; Convert to Table&lt;/P&gt;&lt;P&gt;3. Creating the table in the hierarchy by manually creating a table object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In defining the table in the hierarchy, I have proceeded with the following,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Table: No default binding, import/export binding to the data connection response table&lt;/P&gt;&lt;P&gt;- Item: Default binding to the data context DATA[&lt;STRONG&gt;], import/export binding to the data connection response item[&lt;/STRONG&gt;]&lt;/P&gt;&lt;P&gt;- Item fields: Default binding to the data context DATA-&amp;gt;field, import/export binding to the data connection item-&amp;gt;field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I save the form locally as both interactive and dynamic with usage rights (The SAP Press book describes a very useful program for doing so). Executing the data connection returns the return message structure but not the table. Placing a breakpoint in the BAPI shows the table is populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using LiveCycle Designer 8.1.2 and Adobe Reader 9.3.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas or suggestions on where I am going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;--- Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 21:09:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/returning-table-structures-using-web-services-in-interactive-forms/qaq-p/6701602</guid>
      <dc:creator>scott_stefanich</dc:creator>
      <dc:date>2010-03-11T21:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Returning table structures using web services in interactive forms</title>
      <link>https://community.sap.com/t5/technology-q-a/returning-table-structures-using-web-services-in-interactive-forms/qaa-p/6701603#M2436043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I guess this will help you:&lt;/P&gt;&lt;P&gt;Retrieve table data from WebService&lt;/P&gt;&lt;P&gt;/people/rudy.clement2/blog/2010/03/10/how-to-use-the-postexecute-event-in-sap-interactive-forms-to-retrieve-a-table-from-a-webservice &lt;/P&gt;&lt;P&gt;Regards Otto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 08:26:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/returning-table-structures-using-web-services-in-interactive-forms/qaa-p/6701603#M2436043</guid>
      <dc:creator>OttoGold</dc:creator>
      <dc:date>2010-03-23T08:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Returning table structures using web services in interactive forms</title>
      <link>https://community.sap.com/t5/technology-q-a/returning-table-structures-using-web-services-in-interactive-forms/qaa-p/6701604#M2436044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Otto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The blog you linked is an excellent one. It details and explains using scripting to capture web service table data which would otherwise be deleted upon a data re-merge. I am trying to determine why the standard method of binding repeated web service data isn't populating. Based on my Adobe journey so far, I am guessing there is a good chance of user error on my part such as a wrong or incomplete setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is how I am looking at the two approaches ( &amp;lt;---that's a disclaimer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard method of binding repeated data:&lt;/P&gt;&lt;P&gt;- No scripting&lt;/P&gt;&lt;P&gt;- Useful for retrieving table data (well, "similarly described" data) from a single web service data connection&lt;/P&gt;&lt;P&gt;- Data is wiped out following re-merge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scripting to capture web service data:&lt;/P&gt;&lt;P&gt;- Requires scripting&lt;/P&gt;&lt;P&gt;- Offers the ability to capture retrieved data from one web service data connection and have it available for another web service data connection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;--- Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 20:46:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/returning-table-structures-using-web-services-in-interactive-forms/qaa-p/6701604#M2436044</guid>
      <dc:creator>scott_stefanich</dc:creator>
      <dc:date>2010-03-25T20:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Returning table structures using web services in interactive forms</title>
      <link>https://community.sap.com/t5/technology-q-a/returning-table-structures-using-web-services-in-interactive-forms/qaa-p/6701605#M2436045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both mentioned options look reasonable for me. I cannot see a question mark? Good luck, Otto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Mar 2010 12:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/returning-table-structures-using-web-services-in-interactive-forms/qaa-p/6701605#M2436045</guid>
      <dc:creator>OttoGold</dc:creator>
      <dc:date>2010-03-26T12:46:30Z</dc:date>
    </item>
  </channel>
</rss>

