<?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: Types in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/1682664#M300808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ratna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you want delcare your own date types ,You choose the option using types.&lt;/P&gt;&lt;P&gt;Types doesn't occupy any memory as it template and it is modify the structure of many objects declared using this easily .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2006 19:42:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-15T19:42:53Z</dc:date>
    <item>
      <title>Types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/1682660#M300804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;  can any one explain me reg the declaration of types, based on that declaring the internal tables and work areas. with an example.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ratna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 13:03:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/1682660#M300804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T13:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/1682661#M300805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Types for Quants&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TYPES: BEGIN OF TY_LQUA,&lt;/P&gt;&lt;P&gt;         LENUM TYPE LQUA-LENUM,&lt;/P&gt;&lt;P&gt;         MATNR TYPE LQUA-MATNR,&lt;/P&gt;&lt;P&gt;         WERKS TYPE LQUA-WERKS,&lt;/P&gt;&lt;P&gt;         LGORT TYPE LQUA-LGORT,&lt;/P&gt;&lt;P&gt;         GESME TYPE LQUA-GESME,&lt;/P&gt;&lt;P&gt;         GEWEI TYPE LQUA-GEWEI,&lt;/P&gt;&lt;P&gt;         SONUM TYPE LQUA-SONUM,&lt;/P&gt;&lt;P&gt;         LGTYP TYPE LQUA-LGTYP,&lt;/P&gt;&lt;P&gt;         LGPLA TYPE LQUA-LGPLA,&lt;/P&gt;&lt;P&gt;       END OF TY_LQUA,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Types for the Final Internal table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       BEGIN OF TY_FINAL,&lt;/P&gt;&lt;P&gt;         FLAG(1),&lt;/P&gt;&lt;P&gt;         LENUM TYPE LQUA-LENUM,&lt;/P&gt;&lt;P&gt;         MATNR TYPE LQUA-MATNR,&lt;/P&gt;&lt;P&gt;         GESME TYPE LQUA-GESME,&lt;/P&gt;&lt;P&gt;         GEWEI TYPE LQUA-GEWEI,&lt;/P&gt;&lt;P&gt;         LGTYP TYPE LQUA-LGTYP,&lt;/P&gt;&lt;P&gt;         LGPLA TYPE LQUA-LGPLA,&lt;/P&gt;&lt;P&gt;         MBLNR TYPE MSEG-MBLNR,&lt;/P&gt;&lt;P&gt;         GJAHR TYPE MSEG-GJAHR,&lt;/P&gt;&lt;P&gt;         TANUM TYPE LTAK-TANUM,&lt;/P&gt;&lt;P&gt;         STATUS(100),&lt;/P&gt;&lt;P&gt;       END OF TY_FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                     INTERNAL TABLES                                 *&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                                                     *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;DATA: IT_LQUA TYPE TABLE OF TY_LQUA,                  "Quants table&lt;/P&gt;&lt;P&gt;      IT_FINAL TYPE TABLE OF TY_FINAL.             "Final Internal Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                        WORK AREAS                                   *&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                                                     *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: X_LQUA       TYPE TY_LQUA,                      "Quants&lt;/P&gt;&lt;P&gt;      X_FINAL      TYPE TY_FINAL.                     "Final&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 13:07:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/1682661#M300805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T13:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/1682662#M300806</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;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZTYPES                                                      *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
REPORT  ZTYPES                                                  .

* Table declaration (old method)
DATA: BEGIN OF tab_ekpo OCCURS 0,             "itab with header line
  ebeln TYPE ekpo-ebeln,
  ebelp TYPE ekpo-ebelp,
 END OF tab_ekpo.

*Table declaration (new method)     "USE THIS WAY!!!
TYPES: BEGIN OF t_ekpo,
  ebeln TYPE ekpo-ebeln,
  ebelp TYPE ekpo-ebelp,
 END OF t_ekpo.
DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,      "itab
      wa_ekpo TYPE t_ekpo.                    "work area (header line)

* Build internal table and work area from existing internal table
DATA: it_datatab LIKE tab_ekpo OCCURS 0,      "old method
      wa_datatab LIKE LINE OF tab_ekpo.

* Build internal table and work area from existing internal table,
* adding additional fields
TYPES: BEGIN OF t_repdata.
        INCLUDE STRUCTURE tab_ekpo.  "could include EKKO table itself!!
TYPES: bukrs  TYPE ekpo-werks,
       bstyp  TYPE ekpo-bukrs.
TYPES: END OF t_repdata.
DATA: it_repdata TYPE STANDARD TABLE OF t_repdata INITIAL SIZE 0,   "itab
      wa_repdata TYPE t_repdata.                 "work area (header line)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgs&lt;/P&gt;&lt;P&gt;Annver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if hlped pls mark points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 13:09:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/1682662#M300806</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-14T13:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/1682663#M300807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ratna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you some more inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb2ff3358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb2ff3358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kathirvel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 16:09:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/1682663#M300807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-15T16:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/1682664#M300808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ratna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you want delcare your own date types ,You choose the option using types.&lt;/P&gt;&lt;P&gt;Types doesn't occupy any memory as it template and it is modify the structure of many objects declared using this easily .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 19:42:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types/m-p/1682664#M300808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-15T19:42:53Z</dc:date>
    </item>
  </channel>
</rss>

