<?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: ABAP Report : show commented code in output in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-show-commented-code-in-output/m-p/2838867#M664848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Suyog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please develop a program using the following ABAP stmt..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ REPORT &amp;lt;the rep name entered by user&amp;gt; INTO &amp;lt;Int table&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at internal table and check first character ' * ' or search for ' " ' , if found disply the line...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Sep 2007 11:22:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-20T11:22:49Z</dc:date>
    <item>
      <title>ABAP Report : show commented code in output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-show-commented-code-in-output/m-p/2838865#M664846</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 have to display only commented code as the output.&lt;/P&gt;&lt;P&gt;User will give the program (abap report) name and it should display only commented lines in that program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any option or command or tcodes that can extract only selected text?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls advise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 11:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-show-commented-code-in-output/m-p/2838865#M664846</guid>
      <dc:creator>former_member624066</dc:creator>
      <dc:date>2007-09-20T11:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Report : show commented code in output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-show-commented-code-in-output/m-p/2838866#M664847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;try the fun modules&lt;/P&gt;&lt;P&gt;ABAP_SCAN_DATA_DESCRIPTION&lt;/P&gt;&lt;P&gt;S_ABAP_OBJECTS_SCAN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and try to get the commented lines data and display them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 11:16:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-show-commented-code-in-output/m-p/2838866#M664847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T11:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Report : show commented code in output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-show-commented-code-in-output/m-p/2838867#M664848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Suyog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please develop a program using the following ABAP stmt..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ REPORT &amp;lt;the rep name entered by user&amp;gt; INTO &amp;lt;Int table&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at internal table and check first character ' * ' or search for ' " ' , if found disply the line...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 11:22:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-show-commented-code-in-output/m-p/2838867#M664848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T11:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Report : show commented code in output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-show-commented-code-in-output/m-p/2838868#M664849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Run the program below, i hope it suits ur requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE lv_frttl.&lt;/P&gt;&lt;P&gt;  PARAMETERS: program LIKE sy-repid.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: gt_code(255)  TYPE c OCCURS 0,&lt;/P&gt;&lt;P&gt;      gv_code      LIKE LINE OF gt_code,&lt;/P&gt;&lt;P&gt;      gt_code2(255) TYPE c OCCURS 0,&lt;/P&gt;&lt;P&gt;      temp like gv_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;sets the value for the title of the parameters block&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  lv_frttl = 'Parameter'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ REPORT program INTO gt_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT gt_code INTO gv_code.&lt;/P&gt;&lt;P&gt;    if gv_code+0(1) eq '*'.&lt;/P&gt;&lt;P&gt;      write:/ gv_code.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful, get back in case of query...&lt;/P&gt;&lt;P&gt;Cheers!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 12:00:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-report-show-commented-code-in-output/m-p/2838868#M664849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T12:00:33Z</dc:date>
    </item>
  </channel>
</rss>

