<?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: Questions about types in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820566#M1314821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx first, Martina&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But may i know the actual coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the above sample code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF sub_struc,&lt;/P&gt;&lt;P&gt;col1 TYPE c LENGTH 10,&lt;/P&gt;&lt;P&gt;col2 TYPE c LENGTH 10,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;col3 TYPE sub_struc,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;END OF sub_struc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will get a error on col3 said type is unknown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2009 03:50:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-02T03:50:46Z</dc:date>
    <item>
      <title>Questions about types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820564#M1314819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be it is a bit silly,&lt;/P&gt;&lt;P&gt;but i want like to ask whether I can create self reference type&lt;/P&gt;&lt;P&gt;other than using objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF sub_struc,&lt;/P&gt;&lt;P&gt;          col1 TYPE c LENGTH 10,&lt;/P&gt;&lt;P&gt;          col2 TYPE c LENGTH 10,&lt;/P&gt;&lt;P&gt;          &lt;STRONG&gt;col3 TYPE sub_struc,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;       END OF sub_struc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: David Tai on Jul 2, 2009 5:36 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 03:36:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820564#M1314819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T03:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820565#M1314820</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;This is allowed in ABAP .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 03:41:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820565#M1314820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T03:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820566#M1314821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx first, Martina&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But may i know the actual coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the above sample code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF sub_struc,&lt;/P&gt;&lt;P&gt;col1 TYPE c LENGTH 10,&lt;/P&gt;&lt;P&gt;col2 TYPE c LENGTH 10,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;col3 TYPE sub_struc,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;END OF sub_struc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will get a error on col3 said type is unknown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 03:50:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820566#M1314821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T03:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820567#M1314822</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;I jus copied the same code . Its not showing any error for me .&lt;/P&gt;&lt;P&gt;Can you send the code and error msg as it is in the report ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 04:01:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820567#M1314822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T04:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820568#M1314823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. It works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Originally my code is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF TY_ORG_UNIT,&lt;/P&gt;&lt;P&gt;  OBJID TYPE HROBJID,&lt;/P&gt;&lt;P&gt;  SUB_ORG TYPE TY_ORG_UNIT,&lt;/P&gt;&lt;P&gt;  END OF TY_ORG_UNIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But once, i change the name TY_ORG_UNIT to ORG_UNIT, it pass the check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i still don't know why is failed when the name is TY_ORG_UNIT&lt;/P&gt;&lt;P&gt;and i also try to change the name to ORGUNIT , it also failed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: David Tai on Jul 2, 2009 6:14 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 04:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820568#M1314823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T04:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820569#M1314824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the code what you have given it will not give any syntax error in ECC6.0 but if you use the same in the ECC5 then the syntax error occurs as you said &lt;STRONG&gt;TYPE SUB_STRUC&lt;/STRONG&gt; unknown , so i think this is implemented in ECC6.0 but not in the older version of SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you are changing the code of the report program structure to &lt;STRONG&gt;org_unit&lt;/STRONG&gt; it is a dictiionary type which is allowed but when you change it to the structure which is not declared completely it is not working in ECC5 just try to check in dictionary whether the type org_unit is existing or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sarves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 04:37:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820569#M1314824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T04:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820570#M1314825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually if u give org_unit in se12 in dataelement u can see its there .But ty_org_unit is not a data element / table or its nothing in sap. So it shows error .&lt;/P&gt;&lt;P&gt;Whereas both org_unit (data elemnt ) and sub_struc (structure)  are componenets of data dictionary .&lt;/P&gt;&lt;P&gt;hope u get my point &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 04:41:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820570#M1314825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T04:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820571#M1314826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really thanks both of you !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got it.  Thanks for your explanations&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 04:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions-about-types/m-p/5820571#M1314826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T04:47:20Z</dc:date>
    </item>
  </channel>
</rss>

