<?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: Not mutually convertible structure and itab in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589860#M1082406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Definition of structure :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF SEKPO.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE EKPO.&lt;/P&gt;&lt;P&gt;DATA:   FIRST_VARPOS,&lt;/P&gt;&lt;P&gt;      END OF SEKPO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definition of ITAB:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF XEKPO OCCURS 10.&lt;/P&gt;&lt;P&gt;            INCLUDE STRUCTURE EKPO.&lt;/P&gt;&lt;P&gt;DATA:     BSMNG LIKE EKES-MENGE,&lt;/P&gt;&lt;P&gt;      END OF XEKPO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error at statement:  move xekpo to sekpo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2008 11:13:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-07T11:13:30Z</dc:date>
    <item>
      <title>Not mutually convertible structure and itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589850#M1082396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have defined a structure struct with table ekpo and itab with include structure ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Itab : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ITAB OCCURS 10.&lt;/P&gt;&lt;P&gt;            INCLUDE STRUCTURE EKPO.&lt;/P&gt;&lt;P&gt;END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and Struct &lt;/P&gt;&lt;P&gt;DATA: BEGIN OF STRUCT.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE EKPO.&lt;/P&gt;&lt;P&gt;      END OF STRUCT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before "Move itab to struct" used to work fine. But now I have enabled the unicodes check, and it gives me error of mutually not convertible structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone guide me of a work around ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 10:14:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589850#M1082396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T10:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Not mutually convertible structure and itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589851#M1082397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to declare your itab with like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:   itab           like table of struct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables with headerlines are obsolete anyways.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 10:16:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589851#M1082397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T10:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Not mutually convertible structure and itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589852#M1082398</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;Move itab to struct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This st will move the content of the automatically created work area - itab, to the work area struct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One simple way is to Explicitly create an work area for your itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 10:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589852#M1082398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T10:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Not mutually convertible structure and itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589853#M1082399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are few elements of itab and structure that are different, cant define itab as table of structure..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 10:18:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589853#M1082399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T10:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Not mutually convertible structure and itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589854#M1082400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;define your structure using TYPES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES: BEGIN OF STRUCT,
             INCLUDE STRUCTURE EKPO.
TYPES: END OF STRUCT.

DATA: BEGIN OF ITAB OCCURS 10,
           INCLUDE STRUCTURE EKPO.
DATA:  END OF ITAB.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its better you use work area than using interanal tables with header lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Winnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 10:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589854#M1082400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T10:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Not mutually convertible structure and itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589855#M1082401</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'm using release ecc 6.00 with unicode system and this statament works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF ITAB OCCURS 10.
        INCLUDE STRUCTURE EKPO.
data: END OF ITAB.

DATA: BEGIN OF STRUCT.
        INCLUDE STRUCTURE EKPO.
data: END OF STRUCT.

start-of-selection.

  move itab to struct.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u can't do it u can try to change the definition of your structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: ITAB TYPE TABLE OF EKPO WITH HEADER LINE
DATA: STRUCT TYPE EKPO.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and/or use the field-symbol to transfer the value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;field-symbols: &amp;lt;wa_in&amp;gt;  type any,
                 &amp;lt;wa_out&amp;gt; type any.

  do.
    assign component sy-index of structure itab to &amp;lt;wa_in&amp;gt;.
    if sy-subrc &amp;lt;&amp;gt; 0. exit. endif.
    assign component sy-index of structure struct to &amp;lt;wa_out&amp;gt;.
    &amp;lt;wa_out&amp;gt; = &amp;lt;wa_in&amp;gt;.
  enddo.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: max bianchi on Oct 7, 2008 12:27 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 10:26:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589855#M1082401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T10:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Not mutually convertible structure and itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589856#M1082402</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;Just define Field-Symbols .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;ITAB&amp;gt; TYPE EKPO,&lt;/P&gt;&lt;P&gt;                            &amp;lt;STRUCT&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN ITAB TO &amp;lt;ITAB&amp;gt; .&lt;/P&gt;&lt;P&gt;ASSIGN STRUCT TO &amp;lt;STRUCT&amp;gt; .&lt;/P&gt;&lt;P&gt;MOVE : &amp;lt;ITAB&amp;gt; TO &amp;lt;STRUCT&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 10:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589856#M1082402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T10:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Not mutually convertible structure and itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589857#M1082403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your help, But I did not mention one point and hence I think we are not on same page of same book.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My itab also contains one element apart from table EKPO, this element is called data1 which is different in structure..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 11:06:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589857#M1082403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T11:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Not mutually convertible structure and itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589858#M1082404</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;Can u post the definition of ITAB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 11:08:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589858#M1082404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T11:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Not mutually convertible structure and itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589859#M1082405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's your problem!  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do a move-corresponding then.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 11:08:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589859#M1082405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T11:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Not mutually convertible structure and itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589860#M1082406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Definition of structure :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF SEKPO.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE EKPO.&lt;/P&gt;&lt;P&gt;DATA:   FIRST_VARPOS,&lt;/P&gt;&lt;P&gt;      END OF SEKPO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definition of ITAB:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF XEKPO OCCURS 10.&lt;/P&gt;&lt;P&gt;            INCLUDE STRUCTURE EKPO.&lt;/P&gt;&lt;P&gt;DATA:     BSMNG LIKE EKES-MENGE,&lt;/P&gt;&lt;P&gt;      END OF XEKPO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error at statement:  move xekpo to sekpo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 11:13:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589860#M1082406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T11:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Not mutually convertible structure and itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589861#M1082407</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;uncheck that UNICODE option in attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;shankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 11:16:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589861#M1082407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T11:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Not mutually convertible structure and itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589862#M1082408</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;Just as somebody says MOVE-CORRESPONDING should wrok fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF SEKPO.
        INCLUDE STRUCTURE EKPO.
DATA:   FIRST_VARPOS,
      END OF SEKPO.

*Definition of ITAB:

DATA: BEGIN OF XEKPO OCCURS 10.
        INCLUDE STRUCTURE EKPO.
DATA:   BSMNG LIKE EKES-MENGE,
      END OF XEKPO.

start-of-selection.

  move-corresponding xekpo to sekpo.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 11:17:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589862#M1082408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T11:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Not mutually convertible structure and itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589863#M1082409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats the whole point, the program has to be made unicode compliant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 11:17:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589863#M1082409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T11:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Not mutually convertible structure and itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589864#M1082410</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;Are u doing like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab into struct.&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r some other way like using READ statemnt....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just post ur logic here.&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;shankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 11:26:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-mutually-convertible-structure-and-itab/m-p/4589864#M1082410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T11:26:28Z</dc:date>
    </item>
  </channel>
</rss>

