<?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 capture First Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484831#M1255464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PARAMETERS: P_NAME TYPE FNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONDENSE P_NAME.&lt;/P&gt;&lt;P&gt;TRANSLATE P_NAME TO UPPER CASE.&lt;/P&gt;&lt;P&gt;IF P_NAME+0(6) EQ 'SEARCH'.&lt;/P&gt;&lt;P&gt;WRITE 'Success.'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;write 'Fail.'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this code ignores prepadded spaces and tabs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2009 10:10:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-28T10:10:22Z</dc:date>
    <item>
      <title>How to capture First Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484825#M1255458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to search some key words like Search and condense used in programs, all programs i am reading in internal table one by one (itab).&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;itab-text CS 'SEARCH '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am looking for the text which starts with Search means&lt;/P&gt;&lt;P&gt;Search a in b.&lt;/P&gt;&lt;P&gt;..........    search a in b.&lt;/P&gt;&lt;P&gt;.....................                        search a in b.&lt;/P&gt;&lt;P&gt;cosider dots as a spaces (blanks, take it like it is written after some offset)&lt;/P&gt;&lt;P&gt;any format in particular line where it should starts with search.&lt;/P&gt;&lt;P&gt;and i want to avoid  text like&lt;/P&gt;&lt;P&gt;   loop at itab    " for search a in b.&lt;/P&gt;&lt;P&gt;or  any thing which is not satrts with search key word as well when its present after some letters also i want to avoid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i mean to say that  in particular line of program which should starts with Search first character should be search may be it is after some spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls suggest how to achieve this&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 09:10:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484825#M1255458</guid>
      <dc:creator>umashankar_sahu</dc:creator>
      <dc:date>2009-04-28T09:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture First Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484826#M1255459</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;&lt;/P&gt;&lt;P&gt;you mean that , u want to search Keyword in all your customized program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please give more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sanket.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 09:16:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484826#M1255459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T09:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture First Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484827#M1255460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yah it is for all program which are presnt in particular server whether its customized or standard it depends on what given in selection citeria like Z* or Y* or SAP*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 09:20:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484827#M1255460</guid>
      <dc:creator>umashankar_sahu</dc:creator>
      <dc:date>2009-04-28T09:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture First Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484828#M1255461</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;Use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SCAN ABAP SOURCE OBJECT KEYWORDS INTO T_KEYWORDS..&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the above statement you can have all the keywords in a program into the internal table t_keywords. Try with F1 for more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using SCAN you can even check for INCLUDES and also any Z Function modules using the SEARCH key word in your custom program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 09:22:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484828#M1255461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T09:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture First Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484829#M1255462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the SEARCH statement:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab.
condense itab-data.
SEARCH ITAB-data for 'search' staring at 0 ending at 5.
if sy-subrc = 0.
write:/ 'Search String found'.
endif.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi Kanth Talagana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 09:24:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484829#M1255462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T09:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture First Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484830#M1255463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ravi&lt;/P&gt;&lt;P&gt;      i tried with your solution but its covering &lt;/P&gt;&lt;P&gt;                            len_Search type i,&lt;/P&gt;&lt;P&gt;                            SELECTION-SCREEN COMMENT 1(25) text170 FOR FIELD c_search.&lt;/P&gt;&lt;P&gt;but my requirement is in particular line if the first word is Search whether it should start with first position or after certain offset position but in that particular line the first word should be Search&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 09:46:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484830#M1255463</guid>
      <dc:creator>umashankar_sahu</dc:creator>
      <dc:date>2009-04-28T09:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture First Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484831#M1255464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PARAMETERS: P_NAME TYPE FNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONDENSE P_NAME.&lt;/P&gt;&lt;P&gt;TRANSLATE P_NAME TO UPPER CASE.&lt;/P&gt;&lt;P&gt;IF P_NAME+0(6) EQ 'SEARCH'.&lt;/P&gt;&lt;P&gt;WRITE 'Success.'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;write 'Fail.'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this code ignores prepadded spaces and tabs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 10:10:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484831#M1255464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-28T10:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture First Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484832#M1255465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;why don't you try the standard abap program RPR_ABAP_SOURCE_SCAN?&lt;/P&gt;&lt;P&gt;This abap is designed to search for ABAP program code/screen flow logic for specific texts.&lt;/P&gt;&lt;P&gt;You can use multi-search string (patterns are allowed) in a program or a program set.&lt;/P&gt;&lt;P&gt;It's very powerful.&lt;/P&gt;&lt;P&gt;Enjoy it.&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 22:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-capture-first-statement/m-p/5484832#M1255465</guid>
      <dc:creator>andrea_olivieri</dc:creator>
      <dc:date>2009-04-28T22:47:59Z</dc:date>
    </item>
  </channel>
</rss>

