<?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: Problem with function module 'VIEW_GET_DATA' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-view-get-data/m-p/10401257#M1842613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used a view v_t356 as an example and it worked me perfectly with the conditions. Please see the below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_DBA_SELLIST-VIEWFIELD = &lt;SPAN class="L0S33"&gt;'ARTPR'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;wa_DBA_SELLIST-OPERATOR = &lt;SPAN class="L0S33"&gt;'EQ'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;wa_DBA_SELLIST-VALUE = 'CM'.&lt;/P&gt;&lt;P&gt;wa_DBA_SELLIST-TABIX = '2'.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;append &lt;/SPAN&gt;wa_DBA_SELLIST &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;it_DBA_SELLIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When ever we give the conditions the function module view_get_data tries to check the field numbering before checking . Here in view v_t356 the field number ARTPR is 2. So as per your check the field number in the view and pass the number in the TABIX area. So that you can achieve what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the issue resolves please provide the points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2014 15:29:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-07-17T15:29:43Z</dc:date>
    <item>
      <title>Problem with function module 'VIEW_GET_DATA'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-view-get-data/m-p/10401255#M1842611</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;When I want to read from maintenance view with function module 'VIEW_GET_DATA', I get get an empty DATA internal table. I specify which records I want to read from my maintenance view using DBA_SELLIST, and I suspect I am not doing it correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how I do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_DBA_SELLIST-VIEWFIELD = &lt;SPAN class="L0S33"&gt;'PERSK'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;wa_DBA_SELLIST-OPERATOR = &lt;SPAN class="L0S33"&gt;'EQ'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;wa_DBA_SELLIST-VALUE = 'SP'.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;append &lt;/SPAN&gt;wa_DBA_SELLIST &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;it_DBA_SELLIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I want to read only those records where PERSK field equals to 'SP'. Is there anything I am doing wrong in setting up it_dba_sellist?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, how do I make it so that I select only specific parameters rather than entire rows from maintenance view?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jake Alexander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 12:57:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-view-get-data/m-p/10401255#M1842611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-17T12:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with function module 'VIEW_GET_DATA'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-view-get-data/m-p/10401256#M1842612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check with SM30, is there a pop-up ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB: A field (e.g. MOLGA) may have been defined for subset and so became mandatory for accessing to the view. You could also use WITHOUT_SUBSET flag in the call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 13:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-view-get-data/m-p/10401256#M1842612</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-07-17T13:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with function module 'VIEW_GET_DATA'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-view-get-data/m-p/10401257#M1842613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used a view v_t356 as an example and it worked me perfectly with the conditions. Please see the below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_DBA_SELLIST-VIEWFIELD = &lt;SPAN class="L0S33"&gt;'ARTPR'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;wa_DBA_SELLIST-OPERATOR = &lt;SPAN class="L0S33"&gt;'EQ'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;wa_DBA_SELLIST-VALUE = 'CM'.&lt;/P&gt;&lt;P&gt;wa_DBA_SELLIST-TABIX = '2'.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;append &lt;/SPAN&gt;wa_DBA_SELLIST &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;it_DBA_SELLIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When ever we give the conditions the function module view_get_data tries to check the field numbering before checking . Here in view v_t356 the field number ARTPR is 2. So as per your check the field number in the view and pass the number in the TABIX area. So that you can achieve what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the issue resolves please provide the points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 15:29:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-view-get-data/m-p/10401257#M1842613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-17T15:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with function module 'VIEW_GET_DATA'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-view-get-data/m-p/10401258#M1842614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It did work, thank you. Is there a resource online that gives a detailed explanation and possibly usage examples of all the function modules and data structures used in SAP?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 04:25:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-function-module-view-get-data/m-p/10401258#M1842614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-18T04:25:08Z</dc:date>
    </item>
  </channel>
</rss>

