<?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 Accessing response data from a proxy in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-response-data-from-a-proxy/m-p/3099986#M735580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;created a synchronous proxy call and now I want to access the information.&lt;/P&gt;&lt;P&gt;Sounds simple,  but as rookie I got a little problems.  In debug mode I can access&lt;/P&gt;&lt;P&gt;the information through the variable it_book_list. The debugger defines the path to&lt;/P&gt;&lt;P&gt;the last name like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_BOOK_LIST-LIST_OF_BOOKS-BOOK[1]-AUTHOR[1]-LAST_NAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you see, that there are two tables/structures to walk through. How can I access&lt;/P&gt;&lt;P&gt;LAST_NAME. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It tried a &lt;/P&gt;&lt;P&gt;write : / IT_BOOK_LIST-LIST_OF_BOOKS-BOOK[1]-AUTHOR[1]-LAST_NAME.&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; IT_BOOK_LIST-LIST_OF_BOOKS-BOOK-AUTHOR-LAST_NAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In first write command he said that BOOK[1] is not a valid component but BOOK.&lt;/P&gt;&lt;P&gt;So do I have to save BOOK in an internal table to access further data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More detailed:&lt;/P&gt;&lt;P&gt;LIST_OF_BOOKS  (deep structure(16))&lt;/P&gt;&lt;P&gt;- BOOK (Standard Table (1x6))&lt;/P&gt;&lt;P&gt;-- column: Author (Standard Table (1x8))&lt;/P&gt;&lt;P&gt;--- column: LAST_NAME (c(35))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Christian Riekenberg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Dec 2007 13:49:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-05T13:49:50Z</dc:date>
    <item>
      <title>Accessing response data from a proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-response-data-from-a-proxy/m-p/3099986#M735580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;created a synchronous proxy call and now I want to access the information.&lt;/P&gt;&lt;P&gt;Sounds simple,  but as rookie I got a little problems.  In debug mode I can access&lt;/P&gt;&lt;P&gt;the information through the variable it_book_list. The debugger defines the path to&lt;/P&gt;&lt;P&gt;the last name like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_BOOK_LIST-LIST_OF_BOOKS-BOOK[1]-AUTHOR[1]-LAST_NAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you see, that there are two tables/structures to walk through. How can I access&lt;/P&gt;&lt;P&gt;LAST_NAME. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It tried a &lt;/P&gt;&lt;P&gt;write : / IT_BOOK_LIST-LIST_OF_BOOKS-BOOK[1]-AUTHOR[1]-LAST_NAME.&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; IT_BOOK_LIST-LIST_OF_BOOKS-BOOK-AUTHOR-LAST_NAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In first write command he said that BOOK[1] is not a valid component but BOOK.&lt;/P&gt;&lt;P&gt;So do I have to save BOOK in an internal table to access further data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More detailed:&lt;/P&gt;&lt;P&gt;LIST_OF_BOOKS  (deep structure(16))&lt;/P&gt;&lt;P&gt;- BOOK (Standard Table (1x6))&lt;/P&gt;&lt;P&gt;-- column: Author (Standard Table (1x8))&lt;/P&gt;&lt;P&gt;--- column: LAST_NAME (c(35))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Christian Riekenberg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 13:49:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-response-data-from-a-proxy/m-p/3099986#M735580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-05T13:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing response data from a proxy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-response-data-from-a-proxy/m-p/3099987#M735581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you have to use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_BOOK-LIST_OF_BOOKS INTO zls_list_of_book.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT zls_list_of_book-author INTO zls_author.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WRITE: / zls_author-last_name.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&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;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 16:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-response-data-from-a-proxy/m-p/3099987#M735581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-05T16:23:54Z</dc:date>
    </item>
  </channel>
</rss>

