<?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: Structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780901#M336571</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;&lt;/P&gt;&lt;P&gt;you can create a structure using se11..Data types..select structure radio button...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to create structure having fields from different tables...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of struct_name,&lt;/P&gt;&lt;P&gt;fieldname type ...,&lt;/P&gt;&lt;P&gt;end of struct_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : Mara ..means a structure of type mara is created automatically....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Ajith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Nov 2006 07:44:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-30T07:44:41Z</dc:date>
    <item>
      <title>Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780898#M336568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to Create a Structure  in  Abap  program ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables: mara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What the meaning of above Statement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;kri...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2006 07:40:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780898#M336568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-30T07:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780899#M336569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Krish,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;       Data : v_struct like mara.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanrtosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2006 07:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780899#M336569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-30T07:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780900#M336570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krish,&lt;/P&gt;&lt;P&gt;   to create structure &lt;/P&gt;&lt;P&gt;date begin of structure1,&lt;/P&gt;&lt;P&gt;        .. fields here&lt;/P&gt;&lt;P&gt;   end of structure1.&lt;/P&gt;&lt;P&gt;check F1 documentation for begin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : mara..&lt;/P&gt;&lt;P&gt;here mara will act as a internal table of type mara&lt;/P&gt;&lt;P&gt;Creates an structure - the table work area - in a program, for the database table , view , or structure dbtab with the same name. The structure of the table work area corresponds exactly to the line structure of the database table dbtab. dbtab must be declared in the ABAP Dictionary. ABAP Dictionary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2006 07:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780900#M336570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-30T07:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780901#M336571</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;&lt;/P&gt;&lt;P&gt;you can create a structure using se11..Data types..select structure radio button...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to create structure having fields from different tables...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of struct_name,&lt;/P&gt;&lt;P&gt;fieldname type ...,&lt;/P&gt;&lt;P&gt;end of struct_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : Mara ..means a structure of type mara is created automatically....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Ajith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2006 07:44:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780901#M336571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-30T07:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780902#M336572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krish, You can create structures in ABAP Program for this first u need to create a type declaration ie. type: begin of ty_mara, all the fields ....end of ty_mara&lt;/P&gt;&lt;P&gt;after that u have to create a data structure with this type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table: Mara will create a work area of type mara structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Swaroop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2006 07:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780902#M336572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-30T07:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780903#M336573</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;Check this link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/tables.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/tables.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create structure in database , use tcode SE11.&lt;/P&gt;&lt;P&gt;To create structure in program,&lt;/P&gt;&lt;P&gt;types : begin of ty,&lt;/P&gt;&lt;P&gt;           matnr type mara-matnr,&lt;/P&gt;&lt;P&gt;           end of ty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Difference:First one for global access,second one for program's usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2006 07:46:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780903#M336573</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-11-30T07:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780904#M336574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;lt;b&amp;gt; Tables: mara&lt;/P&gt;&lt;P&gt;What the meaning of above Statement ?&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What it does is it will create a table at runtime of the type MARA.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note that the TABLES statement is obsolete and is not supposed to be used.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&amp;lt;b&amp;gt;How to Create a Structure in Abap program? &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best approach is through TYPES,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_order,&lt;/P&gt;&lt;P&gt;        aufnr  LIKE aufk-aufnr,&lt;/P&gt;&lt;P&gt;        auart  LIKE aufk-auart,&lt;/P&gt;&lt;P&gt;        ktext  LIKE aufk-ktext,&lt;/P&gt;&lt;P&gt;        kostv  LIKE aufk-kostv,&lt;/P&gt;&lt;P&gt;        objnr  LIKE aufk-objnr,&lt;/P&gt;&lt;P&gt;        adrnra LIKE aufk-adrnra,&lt;/P&gt;&lt;P&gt;        pronr  LIKE afko-pronr,&lt;/P&gt;&lt;P&gt;        iphas  LIKE afih-iphas,&lt;/P&gt;&lt;P&gt;        ilart  LIKE afih-ilart.&lt;/P&gt;&lt;P&gt;TYPES: END OF t_order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: i_order           TYPE STANDARD TABLE OF t_order, "Internal Table&lt;/P&gt;&lt;P&gt;           w_order           TYPE t_order.                                    "Work Area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to create a something similar to a data base table / structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: i_table   TYPE STANDARD TABLE OF &amp;lt;Table/Structure Name&amp;gt;, "Internal Table&lt;/P&gt;&lt;P&gt;           w_area  TYPE &amp;lt;Table/Structure Name&amp;gt;.                                    "Work Area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kathirvel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2006 07:54:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780904#M336574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-30T07:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780905#M336575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Krish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables:mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the runtime it will behave as work area with all the MARA fields. but it is obsolete.you can access mara structure. but it will occupy lot of memory.&lt;/P&gt;&lt;P&gt;so don't use tables statement in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in program you can create in many ways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can create using types, &lt;/P&gt;&lt;P&gt;types: begin of t_mara,&lt;/P&gt;&lt;P&gt;         matnr type mara-matnr,&lt;/P&gt;&lt;P&gt;         end of t_mara. &lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: x_mara type mara.&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;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2006 08:19:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure/m-p/1780905#M336575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-30T08:19:05Z</dc:date>
    </item>
  </channel>
</rss>

