<?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 Table Maintenance Generator - Need selected rows in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-need-selected-rows/m-p/11493855#M1932346</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 am trying to customize a Table maintenance generator for a Z table. I want to do some operation on &lt;STRONG&gt;selected rows&lt;/STRONG&gt; when user presses a custom button (Added using PF Status ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing issue in identifying the selected rows in my custom include module (User command). I get tables like extract &amp;amp; total , but none of them identifies selected entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/885025" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Feb 2016 13:48:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-02-10T13:48:47Z</dc:date>
    <item>
      <title>Table Maintenance Generator - Need selected rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-need-selected-rows/m-p/11493855#M1932346</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 am trying to customize a Table maintenance generator for a Z table. I want to do some operation on &lt;STRONG&gt;selected rows&lt;/STRONG&gt; when user presses a custom button (Added using PF Status ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing issue in identifying the selected rows in my custom include module (User command). I get tables like extract &amp;amp; total , but none of them identifies selected entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/885025" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:48:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-need-selected-rows/m-p/11493855#M1932346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-10T13:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Generator - Need selected rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-need-selected-rows/m-p/11493856#M1932347</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;You should loop in your extract table and check field VIM_MARKED. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your table control (generated by view maintenance) has this field to keep trace of row selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this image, last field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/885105" /&gt;&lt;/P&gt;&lt;P&gt;Hope to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 14:08:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-need-selected-rows/m-p/11493856#M1932347</guid>
      <dc:creator>roberto_vacca2</dc:creator>
      <dc:date>2016-02-10T14:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Generator - Need selected rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-need-selected-rows/m-p/11493857#M1932348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There might be &lt;STRONG&gt;marked&lt;/STRONG&gt; field available in some table if its value is 'X' ,it identifies the row is selected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 15:05:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-need-selected-rows/m-p/11493857#M1932348</guid>
      <dc:creator>sabirshah1</dc:creator>
      <dc:date>2016-02-10T15:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Generator - Need selected rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-need-selected-rows/m-p/11493858#M1932349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Records of both internal tables contains the table or view fields, text table fields if required&amp;nbsp; and fields of structure VIMTBFLAGS, so field VIM_MARK aka &amp;lt;marked&amp;gt; in the event forms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hint: Google online help to find documents like &lt;A href="https://help.sap.com/saphelp_nw70/helpdata/en/91/ca9fb9a9d111d1a5690000e82deaaa/content.htm"&gt;Internal Table TOTAL&lt;/A&gt; or &lt;A href="https://help.sap.com/saphelp_nw70/helpdata/en/91/ca9f89a9d111d1a5690000e82deaaa/content.htm"&gt;Internal Table EXTRACT &lt;/A&gt; &lt;/EM&gt; &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>Wed, 10 Feb 2016 15:15:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-need-selected-rows/m-p/11493858#M1932349</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-02-10T15:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Generator - Need selected rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-need-selected-rows/m-p/11493859#M1932350</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;The internal table &lt;STRONG&gt;extract&lt;/STRONG&gt; has only one field LINE which has the entire data ( custom table + VIMTBFLAGS ) . So I cannot loop over extract where vim_marked = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark (CHAR 1) being the last field of VIMTBFLAGS and therefore last character in extract.&lt;/P&gt;&lt;P&gt;Then may be by extracting the last character extract+&amp;lt;Length-1&amp;gt;(1) ... I can get the marked field value i.e. M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for some better way of doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 08:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-need-selected-rows/m-p/11493859#M1932350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-11T08:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Table Maintenance Generator - Need selected rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-need-selected-rows/m-p/11493860#M1932351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read the documentation links I provided, create a type with the correct structure, define a field-symbols with this type and use an ASSIGN statement with CASTING option.&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, 11 Feb 2016 09:50:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-need-selected-rows/m-p/11493860#M1932351</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-02-11T09:50:41Z</dc:date>
    </item>
  </channel>
</rss>

