<?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: Check internal table for some value in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-internal-table-for-some-value/m-p/5151354#M1193675</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;check this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA date TYPE sy-datum.
DATA date1 type char8.
DATA time TYPE sy-uzeit.
DATA time1 type char6 .
date = sy-datum.
time = sy-uzeit.
date1 = date.
time1 = time.

Write:/ date1.
Write:/ time1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jan 2009 07:29:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-29T07:29:47Z</dc:date>
    <item>
      <title>Check internal table for some value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-internal-table-for-some-value/m-p/5151348#M1193669</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 internal table with 3 deep structure inside  and i want to scan the table if i have field type &lt;/P&gt;&lt;P&gt; tims search if the have ':' if so omit it, and the same for dats '-'.&lt;/P&gt;&lt;P&gt;What is the best way to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;type                                    data type
SWW_CD 	        DATS
SWW_CT	        TIMS&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. &lt;/P&gt;&lt;P&gt;IF I have time like &lt;/P&gt;&lt;P&gt;18:20:33&lt;/P&gt;&lt;P&gt;i want to turn it to &lt;STRONG&gt;182033&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and the same for date&lt;/P&gt;&lt;P&gt;2009-01-28&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;20090128&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 21:03:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-internal-table-for-some-value/m-p/5151348#M1193669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T21:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Check internal table for some value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-internal-table-for-some-value/m-p/5151349#M1193670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the following code&lt;/P&gt;&lt;P&gt;Loop through the internal tables  and you can translate using the following&lt;/P&gt;&lt;P&gt;Translate SWW_CD using '-  ' .&lt;/P&gt;&lt;P&gt;condense SWW_CD no-gaps.&lt;/P&gt;&lt;P&gt;Translate  SWW_CT Using '. '.&lt;/P&gt;&lt;P&gt;condense SWW_CT no-gaps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krishnakumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 21:20:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-internal-table-for-some-value/m-p/5151349#M1193670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T21:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Check internal table for some value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-internal-table-for-some-value/m-p/5151350#M1193671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Krishna kumar    ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the only way ? to loop and replace the fields ?&lt;/P&gt;&lt;P&gt;I ask it because the table i have, had deep inside deep inside deep ....structure inside.&lt;/P&gt;&lt;P&gt;There is FM OR Method that can help with that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 21:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-internal-table-for-some-value/m-p/5151350#M1193671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T21:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Check internal table for some value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-internal-table-for-some-value/m-p/5151351#M1193672</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;Try using the syntax REPLACE IN TABLE itab...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 22:02:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-internal-table-for-some-value/m-p/5151351#M1193672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T22:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Check internal table for some value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-internal-table-for-some-value/m-p/5151352#M1193673</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 can to do this on the &lt;STRONG&gt;data type&lt;/STRONG&gt; because i have loots of diff fields of time and dates ,&lt;/P&gt;&lt;P&gt;So instead of asking about every fields , check if the fields data type is is tims or dats and replace it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 06:26:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-internal-table-for-some-value/m-p/5151352#M1193673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T06:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Check internal table for some value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-internal-table-for-some-value/m-p/5151353#M1193674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea about that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 07:16:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-internal-table-for-some-value/m-p/5151353#M1193674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T07:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Check internal table for some value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-internal-table-for-some-value/m-p/5151354#M1193675</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;check this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA date TYPE sy-datum.
DATA date1 type char8.
DATA time TYPE sy-uzeit.
DATA time1 type char6 .
date = sy-datum.
time = sy-uzeit.
date1 = date.
time1 = time.

Write:/ date1.
Write:/ time1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 07:29:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-internal-table-for-some-value/m-p/5151354#M1193675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T07:29:47Z</dc:date>
    </item>
  </channel>
</rss>

