<?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: ... are not mutually convertible in a Unicode program. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/are-not-mutually-convertible-in-a-unicode-program/m-p/5983923#M1341339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In unicode programs you cannot longer move data from structure that are not mutually convertible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to declare a work area LIKE ZSCR_MATNR-COLS and then move manually the field you need from the work area to S_TABCONTROL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;IVan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2009 15:35:59 GMT</pubDate>
    <dc:creator>_IvanFemia_</dc:creator>
    <dc:date>2009-08-19T15:35:59Z</dc:date>
    <item>
      <title>... are not mutually convertible in a Unicode program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/are-not-mutually-convertible-in-a-unicode-program/m-p/5983921#M1341337</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 am getting the error like &lt;U&gt;A line of "ZSCR&lt;/U&gt;MATNR-COLS" and "S_TABCONTROL" are not mutually convertible. In a Unicode program, "ZSCR_MATNR-COLS" must have the same structure layout as "S_TABCONTROL", irrespective of the length of a Unicode character. Unicode characte._&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;.Data Declarations 

DATA:  BEGIN OF S_TABCONTROL,
       SCREEN         LIKE SCREEN,
       INDEX          TYPE I,
       SELECTED       TYPE C,
       VISLENGTH      TYPE I,
       END OF S_TABCONTROL.

CONTROLS: ZSCR_MATNR TYPE TABLEVIEW USING SCREEN 9003.

At the below point it showing the error

    *LOOP AT ZSCR_MATNR-COLS INTO S_TABCONTROL.*

          IF NOT S_TABCONTROL-SELECTED IS INITIAL.
             CLEAR S_TABCONTROL-SELECTED.
             *MODIFY ZSCR_MATNR-COLS FROM S_TABCONTROL.*
             MOVE S_TABCONTROL-SCREEN-NAME+14(10) TO L_SORT.
             SORT ITAB_MATERIAL BY (L_SORT).
          ENDIF.

       ENDLOOP. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me some inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 15:30:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/are-not-mutually-convertible-in-a-unicode-program/m-p/5983921#M1341337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-19T15:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: ... are not mutually convertible in a Unicode program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/are-not-mutually-convertible-in-a-unicode-program/m-p/5983922#M1341338</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;Declare &lt;STRONG&gt;S_TABCONTROL&lt;/STRONG&gt; Following Way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data: S_TABCONTROL like line of ZSCR_MATNR-COLS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope will solve out..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Reply if any Issue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 15:35:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/are-not-mutually-convertible-in-a-unicode-program/m-p/5983922#M1341338</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-08-19T15:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: ... are not mutually convertible in a Unicode program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/are-not-mutually-convertible-in-a-unicode-program/m-p/5983923#M1341339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In unicode programs you cannot longer move data from structure that are not mutually convertible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to declare a work area LIKE ZSCR_MATNR-COLS and then move manually the field you need from the work area to S_TABCONTROL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;IVan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 15:35:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/are-not-mutually-convertible-in-a-unicode-program/m-p/5983923#M1341339</guid>
      <dc:creator>_IvanFemia_</dc:creator>
      <dc:date>2009-08-19T15:35:59Z</dc:date>
    </item>
  </channel>
</rss>

