<?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: populating deep structures in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-deep-structures/m-p/7110035#M1509576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anup,&lt;/P&gt;&lt;P&gt;              I use the structure as a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is LT_ZCHAR can not be converted to the type of WA_ZCHAR when I use the following statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_ZCHAR-CHARACTERISTICS [ ] = LT_ZCHAR[ ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise just the just the header value of LT_ZCHAR is stored in the LT_ZLCHAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jul 2010 03:45:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-30T03:45:10Z</dc:date>
    <item>
      <title>populating deep structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-deep-structures/m-p/7110033#M1509574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys.. G'Day..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               I define a deep structure in DDIC.&lt;/P&gt;&lt;P&gt;The structure is ZLCHAR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KEY&lt;/P&gt;&lt;P&gt;TEXT&lt;/P&gt;&lt;P&gt;CHARACTERISTICS  TYPE  ZCHAR&lt;/P&gt;&lt;P&gt;                        |_ ZKEY&lt;/P&gt;&lt;P&gt;                        |_ ZTEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I UNABLE TO POPULATE CHARACTERISTICS STRUCTURE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HERE IS MY CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: LT_ZCHAR  TYPE ZCHAR OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;         LT_ZLCHAR  TYPE  ZLCHAR,&lt;/P&gt;&lt;P&gt;         WA_ZCHAR  TYPE ZCHAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LT_ZCHAR-ZKEY = '12346'.&lt;/P&gt;&lt;P&gt;  LT_ZCHAR-ZTEXT = 'NO'.&lt;/P&gt;&lt;P&gt;  APPEND LLT_ZCHAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LT_ZCHAR-ZKEY = '735737'.&lt;/P&gt;&lt;P&gt;  LT_ZCHAR-ZTEXT = 'UNIDENTIFIED'.&lt;/P&gt;&lt;P&gt;  APPEND LT_ZCHAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LT_ZCHAR-ZKEY = '3563463'.&lt;/P&gt;&lt;P&gt;   LT_ZCHAR-ZTEXT = 'YES'.&lt;/P&gt;&lt;P&gt;  APPEND LT_ZCHAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WA_ZCHAR-KEY = '12345'.&lt;/P&gt;&lt;P&gt;  WA_ZCHAR-TEXT = 'IF FLAVOURED OR ADDED INGREDIENT'.&lt;/P&gt;&lt;P&gt;  WA_ZCHAR-CHARACTERISTICS = LT_ZCHAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND WA_ZCHAR TO LT_ZLCHAR.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if I try WA_ZCHAR-CHARACTERISTICS [ ] = LT_ZCHAR[ ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Getting incompatible syntax error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 02:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-deep-structures/m-p/7110033#M1509574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-30T02:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: populating deep structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-deep-structures/m-p/7110034#M1509575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello , &lt;/P&gt;&lt;P&gt;Have you included the structure or you are have structure as a field ? &lt;/P&gt;&lt;P&gt;Coz if you have included it using .include you will have to access its field directly  and if &lt;/P&gt;&lt;P&gt;you have Used it as predefined type you will have to Access it in a different way,&lt;/P&gt;&lt;P&gt;Plz do tell what error you are getting ?&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 03:17:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-deep-structures/m-p/7110034#M1509575</guid>
      <dc:creator>anup_deshmukh4</dc:creator>
      <dc:date>2010-07-30T03:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: populating deep structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-deep-structures/m-p/7110035#M1509576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anup,&lt;/P&gt;&lt;P&gt;              I use the structure as a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is LT_ZCHAR can not be converted to the type of WA_ZCHAR when I use the following statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_ZCHAR-CHARACTERISTICS [ ] = LT_ZCHAR[ ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise just the just the header value of LT_ZCHAR is stored in the LT_ZLCHAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 03:45:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-deep-structures/m-p/7110035#M1509576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-30T03:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: populating deep structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-deep-structures/m-p/7110036#M1509577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My be then you have mismatched ..the data type you have used..!&lt;/P&gt;&lt;P&gt;Please check in the types..!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 04:07:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-deep-structures/m-p/7110036#M1509577</guid>
      <dc:creator>anup_deshmukh4</dc:creator>
      <dc:date>2010-07-30T04:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: populating deep structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-deep-structures/m-p/7110037#M1509578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;


types: begin of ZCHAR,
          KEY type I,
          TEXT type STRING,
      end of ZCHAR.

data: WA_ZCHAR type ZCHAR.

types: begin of ZLCHAR,
        L_ZKEY type I,
        L_ZTEXT type STRING,
        L_ZCHAR type ZCHAR,
      end of ZLCHAR.

data: IT_ZLCHAR type standard table of ZLCHAR,
      WA_ZLCHAR type ZLCHAR.


WA_ZCHAR-KEY = '1'.
WA_ZCHAR-TEXT = 'no1'.

WA_ZLCHAR-L_ZKEY = '11'.
WA_ZLCHAR-L_ZTEXT = 'no11'.
WA_ZLCHAR-L_ZCHAR = WA_ZCHAR.

append WA_ZLCHAR to IT_ZLCHAR.

loop at IT_ZLCHAR into WA_ZLCHAR.
  write : WA_ZLCHAR-L_ZKEY, WA_ZLCHAR-L_ZTEXT, WA_ZLCHAR-L_ZCHAR-KEY, WA_ZLCHAR-L_ZCHAR-TEXT.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: madhuri sonawane on Jul 30, 2010 10:17 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 04:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-deep-structures/m-p/7110037#M1509578</guid>
      <dc:creator>Madhurivs23</dc:creator>
      <dc:date>2010-07-30T04:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: populating deep structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-deep-structures/m-p/7110038#M1509579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Guys.. its actually an issue in defining the structure in DDIC. The deep structure should be a table type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 07:31:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-deep-structures/m-p/7110038#M1509579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-02T07:31:47Z</dc:date>
    </item>
  </channel>
</rss>

