<?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: class builder in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487171#M838411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Madhvi..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I explored the same, though new to this, I found a layman's solution...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto &lt;STRONG&gt;SE11&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;Select &lt;STRONG&gt;Data type&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;Enter a name (example: &lt;STRONG&gt;ZTTD&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&amp;gt;Click on create&lt;/P&gt;&lt;P&gt;&amp;gt;in the popup window that appears, select &lt;STRONG&gt;Table type&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;give the VBAP in the line type (as an example)&lt;/P&gt;&lt;P&gt;&amp;gt;Enter description&lt;/P&gt;&lt;P&gt;&amp;gt;activate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto &lt;STRONG&gt;SE24&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;Goto the &lt;STRONG&gt;method&lt;/STRONG&gt; u r trying to create&lt;/P&gt;&lt;P&gt;&amp;gt;click on &lt;STRONG&gt;parameters&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;against &lt;STRONG&gt;i_vbap&lt;/STRONG&gt; in the associated type enter &lt;STRONG&gt;ZTTD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;activate&lt;/P&gt;&lt;P&gt;&amp;gt;write a select query for the method&lt;/P&gt;&lt;P&gt;&amp;gt;execute&lt;/P&gt;&lt;P&gt;&amp;gt;done.&lt;/P&gt;&lt;P&gt;&amp;gt;done.&lt;/P&gt;&lt;P&gt;&amp;gt;done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;feel free to contact me for any problem... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2008 10:14:47 GMT</pubDate>
    <dc:creator>aabhas_wilmar</dc:creator>
    <dc:date>2008-03-12T10:14:47Z</dc:date>
    <item>
      <title>class builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487164#M838404</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; in se24 im definig a class then im attaching this class to a super class. there in attributes i'm defineing 2 internal table of type vbap and vbak. then i'm defining methods to get value in these internal table. but when im activating this class im getting an error as I_vbak is not an internal table.&lt;/P&gt;&lt;P&gt;can anyone of you help me in defining an internal table.&lt;/P&gt;&lt;P&gt;help needed. reward point for all useful ans.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 06:05:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487164#M838404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-11T06:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: class builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487165#M838405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhvi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check how you have defined the internal tables? Can you paste the definition here so I can check?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Saravanan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please award if useful&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 10:40:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487165#M838405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-11T10:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: class builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487166#M838406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check whether u declared internal table properly or not,like l_vabak type table of vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In select query also check it properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;sowjanya.b&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 04:20:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487166#M838406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T04:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: class builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487167#M838407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the attrributes tab i have declared it as i_vbak type vbak and in the method im using this i_vbak table it throws error as "I_VBAK" is not an internal table - the "OCCURS n" specification is missing.&lt;/P&gt;&lt;P&gt;so please kindly suggest how to do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 05:06:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487167#M838407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T05:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: class builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487168#M838408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhvi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have declared it as a structure. Try using "type table of" instead of "type".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Saravanan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please award if useful&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 05:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487168#M838408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T05:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: class builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487169#M838409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sravanan there is only three option as type like type ref to. other then any thing else throws an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 05:45:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487169#M838409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T05:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: class builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487170#M838410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhvi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the associated type should point to a table type. If you do not have a table type already then you can define one in "Types" and use it as associated type in attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, I feel the associated type you have used is a structure. I may be wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Saravanan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please award if useful&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 06:01:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487170#M838410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T06:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: class builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487171#M838411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Madhvi..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I explored the same, though new to this, I found a layman's solution...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto &lt;STRONG&gt;SE11&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;Select &lt;STRONG&gt;Data type&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;Enter a name (example: &lt;STRONG&gt;ZTTD&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&amp;gt;Click on create&lt;/P&gt;&lt;P&gt;&amp;gt;in the popup window that appears, select &lt;STRONG&gt;Table type&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;give the VBAP in the line type (as an example)&lt;/P&gt;&lt;P&gt;&amp;gt;Enter description&lt;/P&gt;&lt;P&gt;&amp;gt;activate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto &lt;STRONG&gt;SE24&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;Goto the &lt;STRONG&gt;method&lt;/STRONG&gt; u r trying to create&lt;/P&gt;&lt;P&gt;&amp;gt;click on &lt;STRONG&gt;parameters&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;against &lt;STRONG&gt;i_vbap&lt;/STRONG&gt; in the associated type enter &lt;STRONG&gt;ZTTD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;activate&lt;/P&gt;&lt;P&gt;&amp;gt;write a select query for the method&lt;/P&gt;&lt;P&gt;&amp;gt;execute&lt;/P&gt;&lt;P&gt;&amp;gt;done.&lt;/P&gt;&lt;P&gt;&amp;gt;done.&lt;/P&gt;&lt;P&gt;&amp;gt;done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;feel free to contact me for any problem... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 10:14:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487171#M838411</guid>
      <dc:creator>aabhas_wilmar</dc:creator>
      <dc:date>2008-03-12T10:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: class builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487172#M838412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use tables with header lines in ABAP Objects.  You must define a work area to read to/from, or use the ASSIGNING &amp;lt;fs&amp;gt; procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  In the "TYPES" tab in class builder you can define your own types.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the name and scope of the type, then press the yellow arrow button.  This puts you in the abap editor, where you can define the type like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vbak_table_type TYPE STANDARD TABLE OF vbak WITH NON-UNIQUE KEY TABLE_LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use vbak_table_type as the type in the rest of the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, as suggested above, you can define the table type in the data dictionary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 10:22:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-builder/m-p/3487172#M838412</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-03-12T10:22:38Z</dc:date>
    </item>
  </channel>
</rss>

