<?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 How to define an itab based from a structure inside a class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-an-itab-based-from-a-structure-inside-a-class/m-p/2233697#M480876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I define an internal table based from a structure that &lt;/P&gt;&lt;P&gt;is declared inside a class?I want to define it in the START-OF-SELECTION event.&lt;/P&gt;&lt;P&gt;I'll create a scenario below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*----------------------------------------------------------------------*
*       CLASS lcl_main DEFINITION
*----------------------------------------------------------------------*
*
*----------------------------------------------------------------------*
CLASS lcl_main DEFINITION ABSTRACT.
  PUBLIC SECTION.
    TYPES: BEGIN OF t_vbak,
          vbeln TYPE vbak-vbeln,
          erdat TYPE vbak-erdat,
          ernam TYPE vbak-ernam,
          auart TYPE vbak-auart,
          kunnr TYPE vbak-kunnr,
          vkgrp TYPE vbak-vkgrp,
         END OF t_vbak.
ENDCLASS.                    "lcl_main DEFINITION

START-OF-SELECTION.
*Here i want to define an internal table based from the structure T_VBAK.

Hope you could help me out here guys. Thank you and take care!
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 May 2007 04:35:36 GMT</pubDate>
    <dc:creator>aris_hidalgo</dc:creator>
    <dc:date>2007-05-07T04:35:36Z</dc:date>
    <item>
      <title>How to define an itab based from a structure inside a class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-an-itab-based-from-a-structure-inside-a-class/m-p/2233697#M480876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I define an internal table based from a structure that &lt;/P&gt;&lt;P&gt;is declared inside a class?I want to define it in the START-OF-SELECTION event.&lt;/P&gt;&lt;P&gt;I'll create a scenario below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*----------------------------------------------------------------------*
*       CLASS lcl_main DEFINITION
*----------------------------------------------------------------------*
*
*----------------------------------------------------------------------*
CLASS lcl_main DEFINITION ABSTRACT.
  PUBLIC SECTION.
    TYPES: BEGIN OF t_vbak,
          vbeln TYPE vbak-vbeln,
          erdat TYPE vbak-erdat,
          ernam TYPE vbak-ernam,
          auart TYPE vbak-auart,
          kunnr TYPE vbak-kunnr,
          vkgrp TYPE vbak-vkgrp,
         END OF t_vbak.
ENDCLASS.                    "lcl_main DEFINITION

START-OF-SELECTION.
*Here i want to define an internal table based from the structure T_VBAK.

Hope you could help me out here guys. Thank you and take care!
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 04:35:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-an-itab-based-from-a-structure-inside-a-class/m-p/2233697#M480876</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2007-05-07T04:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to define an itab based from a structure inside a class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-an-itab-based-from-a-structure-inside-a-class/m-p/2233698#M480877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 09:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-define-an-itab-based-from-a-structure-inside-a-class/m-p/2233698#M480877</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2007-05-07T09:06:30Z</dc:date>
    </item>
  </channel>
</rss>

