<?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 Problem with internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279265#M784204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;someone could help me with this (ty_planetypes), so, I known that some table don´t have in a SAP netweaver v 7 TRIAL, how I could to find out another structure like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´ll be glad to any help  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 Jan 2008 19:56:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-06T19:56:14Z</dc:date>
    <item>
      <title>Problem with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279265#M784204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;someone could help me with this (ty_planetypes), so, I known that some table don´t have in a SAP netweaver v 7 TRIAL, how I could to find out another structure like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´ll be glad to any help  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jan 2008 19:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279265#M784204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-06T19:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279266#M784205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that may be some sort of local internal type used in a specific program or component.  Basically it could be just an internal type for plane type which really you could use PLANETYPE field in table SFLIGHT as your type, either in a structure or table type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jan 2008 23:02:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279266#M784205</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-01-06T23:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279267#M784206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Elizeu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ty_planetypes is user defined table types.&lt;/P&gt;&lt;P&gt;If programmer  is using Only standard table structure &lt;/P&gt;&lt;P&gt;in table types you can use same structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX :&lt;/P&gt;&lt;P&gt;TYPES : Begin of ty_planetypes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                INCLUDE STRUCTURE   mara.           &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TYPES.    END OF ty_planetypes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add some fields to same type like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : Begin of ty_planetypes,&lt;/P&gt;&lt;P&gt;TYPES :   INCLUDE STRUCTURE   mara,&lt;/P&gt;&lt;P&gt;                v_num TYPE I. &lt;/P&gt;&lt;P&gt;TYPES.    END OF ty_planetypes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 03:57:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279267#M784206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T03:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279268#M784207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, &lt;/P&gt;&lt;P&gt;muralikrishna kaipha,&lt;/P&gt;&lt;P&gt;and a good day to all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that your answer almost attend mine need, so, internal table "mara" don´t have on sap netweaver 7 trial dictionary, it´s possible to use other internal table?, below the sintax in the programm:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=====================================&lt;/P&gt;&lt;P&gt;class lcl_airplane definition.&lt;/P&gt;&lt;P&gt;  public section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    constants: pos_1 type i value 30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    methods:   constructor importing&lt;/P&gt;&lt;P&gt;               im_name      type string&lt;/P&gt;&lt;P&gt;               im_planetype type saplane-planetype,&lt;/P&gt;&lt;P&gt;             display_attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    class-methods: class_constructor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    class-methods: display_n_o_airplanes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  private section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    data:     name  type string,&lt;/P&gt;&lt;P&gt;          planetype type saplane-planetype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    class-data: n_o_airplanes type i.&lt;/P&gt;&lt;P&gt;    class-data: list_of_planetypes type ty_planetypes. * here give the message error - THE TYPE type_planetypes is unknown*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; endclass.                    "lcl_airplane DEFINITION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2008 14:50:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279268#M784207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-07T14:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279269#M784208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please, see the post number 8, I think this post still unanswered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 16:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279269#M784208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T16:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279270#M784209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some late, but it works...&lt;/P&gt;&lt;P&gt;try with this code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    TYPES:BEGIN OF ty_planetypes,&lt;/P&gt;&lt;P&gt;      MANDT TYPE saplane-MANDT,&lt;/P&gt;&lt;P&gt;      PLANETYPE TYPE saplane-PLANETYPE,&lt;/P&gt;&lt;P&gt;      SEATSMAX TYPE saplane-SEATSMAX,&lt;/P&gt;&lt;P&gt;      CONSUM TYPE saplane-CONSUM,&lt;/P&gt;&lt;P&gt;      CON_UNIT TYPE saplane-CON_UNIT,&lt;/P&gt;&lt;P&gt;      TANKCAP TYPE saplane-TANKCAP,&lt;/P&gt;&lt;P&gt;      CAP_UNIT TYPE saplane-CAP_UNIT,&lt;/P&gt;&lt;P&gt;      WEIGHT TYPE saplane-WEIGHT,&lt;/P&gt;&lt;P&gt;      WEI_UNIT TYPE saplane-WEI_UNIT,&lt;/P&gt;&lt;P&gt;      SPAN TYPE saplane-SPAN,&lt;/P&gt;&lt;P&gt;      SPAN_UNIT TYPE saplane-SPAN_UNIT,&lt;/P&gt;&lt;P&gt;      LENG TYPE saplane-LENG,&lt;/P&gt;&lt;P&gt;      LENG_UNIT TYPE saplane-LENG_UNIT,&lt;/P&gt;&lt;P&gt;      OP_SPEED TYPE saplane-OP_SPEED,&lt;/P&gt;&lt;P&gt;      SPEED_UNIT TYPE saplane-SPEED_UNIT,&lt;/P&gt;&lt;P&gt;      PRODUCER TYPE saplane-PRODUCER,&lt;/P&gt;&lt;P&gt;      SEATSMAX_B TYPE saplane-SEATSMAX_B,&lt;/P&gt;&lt;P&gt;      SEATSMAX_F TYPE saplane-SEATSMAX_F,&lt;/P&gt;&lt;P&gt;    END OF ty_planetypes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA: name TYPE string,&lt;/P&gt;&lt;P&gt;          planetype TYPE saplane-planetype.&lt;/P&gt;&lt;P&gt;    CLASS-DATA: n_o_airplanes TYPE i.&lt;/P&gt;&lt;P&gt;    CLASS-DATA: list_of_planetypes TYPE STANDARD TABLE OF ty_planetypes. "itab type in Dic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 16:35:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279270#M784209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-05T16:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279271#M784210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, By declaring Local Structure of type  "SAPLANE"  will solve the problem .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Oct 2010 12:54:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279271#M784210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-31T12:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279272#M784211</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;kindly need your help.&lt;/P&gt;&lt;P&gt;why do I still get this message error:&lt;/P&gt;&lt;P&gt;"The declaration for the key field MANDT is incomplete. However, MANDT is contained in the key of table lcl_airplane=&amp;gt;list_of_planetypes and must be filled."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code:&lt;/P&gt;&lt;P&gt;  METHOD get_technical_attributes.&lt;/P&gt;&lt;P&gt;    DATA wa TYPE saplane.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;READ TABLE list_of_planetypes INTO wa WITH TABLE KEY planetype = im_planetype&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;               &lt;STRONG&gt;TRANSPORTING weight tankcap.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      ex_weight   = wa-weight.&lt;/P&gt;&lt;P&gt;      ex_tankcap  = wa-tankcap.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      RAISE wrong_planetype.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDMETHOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCLASS.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2011 14:53:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279272#M784211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-25T14:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279273#M784212</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;Remove that line from your TYPES structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MANDT TYPE saplane-MANDT,
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also, change your read statement:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
READ TABLE list_of_planetypes INTO wa WITH KEY planetype = im_planetype
TRANSPORTING weight tankcap.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And check/update your query used to fill the table list_of_planetypes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2011 15:58:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279273#M784212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-25T15:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279274#M784213</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;If you use  WITH TABLE KEY then its mandatory to specify all key fields as condition in READ TABLE statement.&lt;/P&gt;&lt;P&gt;Otherwise replace WITH TABLE KEY as WITH KEY and specify only the conditions you prefer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE list_of_planetypes INTO wa WITH TABLE KEY planetype = im_planetype&lt;/P&gt;&lt;P&gt;TRANSPORTING weight tankcap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg&lt;/P&gt;&lt;P&gt;Ikshula&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 13:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279274#M784213</guid>
      <dc:creator>former_member712377</dc:creator>
      <dc:date>2011-09-29T13:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279275#M784214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manu and Ikshula,&lt;/P&gt;&lt;P&gt;Tks for your help, it's working now &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2011 13:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-internal-table/m-p/3279275#M784214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-08T13:18:26Z</dc:date>
    </item>
  </channel>
</rss>

