<?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: Predefined ABAP TYPES in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/predefined-abap-types/m-p/13601551#M2026486</link>
    <description>&lt;P&gt;You have to declare the variable first. I assume the exercise was to figure out which data declaration is the correct one.&lt;/P&gt;&lt;P&gt;Since the variable gets its value later on, variable = '19891109'.&lt;/P&gt;&lt;P&gt;You have to see which one from the following can be&lt;/P&gt;&lt;P&gt;DATA variable TYPE string.&lt;/P&gt;&lt;P&gt;DATA variable TYPE i.&lt;/P&gt;&lt;P&gt;DATA variable TYPE d.&lt;/P&gt;&lt;P&gt;DATA variable TYPE c LENGTH 10.&lt;/P&gt;&lt;P&gt;DATA variable TYPE n LENGTH 10.&lt;/P&gt;&lt;P&gt;DATA variable TYPE p LENGTH 8 DECIMALS 2.&lt;/P&gt;&lt;P&gt;You need only one of the declarations, i wont tell which one. Try it out and see which one works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Feb 2024 08:12:47 GMT</pubDate>
    <dc:creator>HunorCzaka</dc:creator>
    <dc:date>2024-02-11T08:12:47Z</dc:date>
    <item>
      <title>Predefined ABAP TYPES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/predefined-abap-types/m-p/13601506#M2026485</link>
      <description>&lt;P&gt;&amp;nbsp;Hi team. I have the following task to complete:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Like in the first exercise of this course, create a new global class that implements interface&lt;SPAN&gt;&amp;nbsp;&lt;I&gt;IF_OO_ADT_CLASSRUN.&lt;/I&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Copy the following code snippet to the implementation part of method&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;I&gt;if_oo_adt_classrun~main( &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Code snippet&lt;P&gt;&lt;I&gt;* Data Objects with Built-in Types ********************************************************************** " comment/uncomment the following declarations and check the output DATA variable TYPE string. * DATA variable TYPE i. * DATA variable TYPE d. * DATA variable TYPE c LENGTH 10. * DATA variable TYPE n LENGTH 10. * DATA variable TYPE p LENGTH 8 DECIMALS 2. * Output ********************************************************************** out-&amp;gt;write( 'Result with Initial Value)' ). out-&amp;gt;write( variable ). out-&amp;gt;write( '---------' ). variable = '19891109'. out-&amp;gt;write( 'Result with Value 19891109' ). out-&amp;gt;write( variable ). out-&amp;gt;write( '---------' ).&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following error:&lt;/P&gt;&lt;P&gt;Field "VARIABLE" is unknown.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please assist. I am a beginner.&lt;/P&gt;&lt;P&gt;Brice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Brice1_0-1707603627548.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/63681iCB9DF93E70C8D3E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Brice1_0-1707603627548.png" alt="Brice1_0-1707603627548.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Sat, 10 Feb 2024 22:25:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/predefined-abap-types/m-p/13601506#M2026485</guid>
      <dc:creator>Brice1</dc:creator>
      <dc:date>2024-02-10T22:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined ABAP TYPES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/predefined-abap-types/m-p/13601551#M2026486</link>
      <description>&lt;P&gt;You have to declare the variable first. I assume the exercise was to figure out which data declaration is the correct one.&lt;/P&gt;&lt;P&gt;Since the variable gets its value later on, variable = '19891109'.&lt;/P&gt;&lt;P&gt;You have to see which one from the following can be&lt;/P&gt;&lt;P&gt;DATA variable TYPE string.&lt;/P&gt;&lt;P&gt;DATA variable TYPE i.&lt;/P&gt;&lt;P&gt;DATA variable TYPE d.&lt;/P&gt;&lt;P&gt;DATA variable TYPE c LENGTH 10.&lt;/P&gt;&lt;P&gt;DATA variable TYPE n LENGTH 10.&lt;/P&gt;&lt;P&gt;DATA variable TYPE p LENGTH 8 DECIMALS 2.&lt;/P&gt;&lt;P&gt;You need only one of the declarations, i wont tell which one. Try it out and see which one works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 08:12:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/predefined-abap-types/m-p/13601551#M2026486</guid>
      <dc:creator>HunorCzaka</dc:creator>
      <dc:date>2024-02-11T08:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Predefined ABAP TYPES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/predefined-abap-types/m-p/13602133#M2026494</link>
      <description>&lt;P&gt;Click on the three dots in the editor.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then click on the &amp;lt;/&amp;gt; button.&lt;/P&gt;&lt;P&gt;Then post your code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;* Data Objects with Built-in Types ********************************************************************** " comment/uncomment the following declarations and check the output DATA variable TYPE string. * DATA variable TYPE i. * DATA variable TYPE d. * DATA variable TYPE c LENGTH 10. * DATA variable TYPE n LENGTH 10. * DATA variable TYPE p LENGTH 8 DECIMALS 2. * Output ********************************************************************** 
out-&amp;gt;write( 'Result with Initial Value)' ). 
out-&amp;gt;write( variable ). 
out-&amp;gt;write( '---------' ). 
variable = '19891109'. 
out-&amp;gt;write( 'Result with Value 19891109' ). 
out-&amp;gt;write( variable ). 
out-&amp;gt;write( '---------' )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so much nicer, don't you think?&lt;/P&gt;&lt;P&gt;In answer to your original question it would really help if you would follow the instructions:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;I&gt;&amp;nbsp;comment/uncomment the following declarations and check the output&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 09:09:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/predefined-abap-types/m-p/13602133#M2026494</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2024-02-12T09:09:47Z</dc:date>
    </item>
  </channel>
</rss>

