<?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: How to write read statement inside loop table based on index using 7.4+ syntax in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-read-statement-inside-loop-table-based-on-index-using-7-4/m-p/13964355#M2038133</link>
    <description>&lt;LI-CODE lang="abap"&gt;LOOP AT lt_selected_rows INTO DATA(ls_selected_line).
  DATA(lv_index) = ls_selected_line-index.
  DATA(ls_mara) = gt_mara[ lv_index ].
  "PERFORM  BAPI.
  call_bapi( ).
ENDLOOP.&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 16 Dec 2024 08:58:34 GMT</pubDate>
    <dc:creator>Tomas_Buryanek</dc:creator>
    <dc:date>2024-12-16T08:58:34Z</dc:date>
    <item>
      <title>How to write read statement inside loop table based on index using 7.4+ syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-read-statement-inside-loop-table-based-on-index-using-7-4/m-p/13964352#M2038132</link>
      <description>&lt;P&gt;Hello friends, One of my program I created one custom button using toolbar function. So based on the selection records I want to process BAPI FM. For that I'm trying to learn code using 7.4 syntax.&lt;/P&gt;&lt;P&gt;&lt;!--    StartFragment     --&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;LOOP&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;AT lt&lt;/SPAN&gt;_selected_rows&amp;nbsp;&lt;SPAN class=""&gt;INTO&amp;nbsp;&lt;/SPAN&gt;ls_selected_line&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;lv_index&amp;nbsp;&lt;SPAN class=""&gt;=&amp;nbsp;&lt;/SPAN&gt;ls_selected_line&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt;index&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;READ&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;TABLE&amp;nbsp;&lt;/SPAN&gt;gt_mara&amp;nbsp;&lt;SPAN class=""&gt;INDEX lv_&lt;/SPAN&gt;index&amp;nbsp;&lt;SPAN class=""&gt;INTO&amp;nbsp;&lt;/SPAN&gt;ls_mara&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;PERFORM&amp;nbsp; BAPI.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;how to convert this code in ABAP 7.4&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Your answer will be more helpful for my learning journey.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 08:48:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-read-statement-inside-loop-table-based-on-index-using-7-4/m-p/13964352#M2038132</guid>
      <dc:creator>Aravinth02</dc:creator>
      <dc:date>2024-12-16T08:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to write read statement inside loop table based on index using 7.4+ syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-read-statement-inside-loop-table-based-on-index-using-7-4/m-p/13964355#M2038133</link>
      <description>&lt;LI-CODE lang="abap"&gt;LOOP AT lt_selected_rows INTO DATA(ls_selected_line).
  DATA(lv_index) = ls_selected_line-index.
  DATA(ls_mara) = gt_mara[ lv_index ].
  "PERFORM  BAPI.
  call_bapi( ).
ENDLOOP.&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 16 Dec 2024 08:58:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-read-statement-inside-loop-table-based-on-index-using-7-4/m-p/13964355#M2038133</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2024-12-16T08:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to write read statement inside loop table based on index using 7.4+ syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-read-statement-inside-loop-table-based-on-index-using-7-4/m-p/13964534#M2038135</link>
      <description>&lt;P&gt;In fact, the only obsolete part in your code is PERFORM (obsolete since 2010), the rest of your code is perfectly valid. You should use ABAP Objects (method instead of subroutine).&lt;/P&gt;&lt;P&gt;Anyway, rewriting that code is just a waste of time, except just exercising.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 11:36:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-read-statement-inside-loop-table-based-on-index-using-7-4/m-p/13964534#M2038135</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2024-12-16T11:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to write read statement inside loop table based on index using 7.4+ syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-read-statement-inside-loop-table-based-on-index-using-7-4/m-p/13964586#M2038136</link>
      <description>&lt;P&gt;Thank you. This is good&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 12:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-read-statement-inside-loop-table-based-on-index-using-7-4/m-p/13964586#M2038136</guid>
      <dc:creator>Aravinth02</dc:creator>
      <dc:date>2024-12-16T12:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to write read statement inside loop table based on index using 7.4+ syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-read-statement-inside-loop-table-based-on-index-using-7-4/m-p/13964587#M2038137</link>
      <description>&lt;P&gt;Thanks for your suggestions Sandra. I will keep it up.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 12:25:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-read-statement-inside-loop-table-based-on-index-using-7-4/m-p/13964587#M2038137</guid>
      <dc:creator>Aravinth02</dc:creator>
      <dc:date>2024-12-16T12:25:46Z</dc:date>
    </item>
  </channel>
</rss>

