<?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/10527944#M1854923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw i can not declare LS_STRUCTURE same as LS_EDIDD-sdata.&lt;/P&gt;&lt;P&gt;becuase it is used to fill IDOC, its standard. it accepts any structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDATA has data element EDI_SDATA which is LCHR 1000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2014 09:00:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-08-11T09:00:56Z</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/10527942#M1854921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting error: "LS_EDIDD-SDATA and LS_STRUCTURE are not mutually convertible in Unicode Program"&lt;/P&gt;&lt;P&gt;I have PRKST which is Amount field in LS_STRUCTURE, which causes this problem.&lt;/P&gt;&lt;P&gt;But if I change type of PRKST to CHAR15, then it doesn't give error.&lt;/P&gt;&lt;P&gt;But i want to use this field with type PRKST( CURR 11, decimal places 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help. &lt;SPAN style="text-decoration: line-through;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: line-through;"&gt;Its urgent.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mehul Lad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Moderator message - "Urgency" is not allowed in the forums. Read the RoE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Suhas Saha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 08:07:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/are-not-mutually-convertible-in-a-unicode-program/m-p/10527942#M1854921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-11T08:07:56Z</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/10527943#M1854922</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;Please declare LS_STRUCTURE same as of type LS_EDIDD-SDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming LS_EDIDD-SDATA is a structure, so it should be having a line type, suppose XYZ.&lt;/P&gt;&lt;P&gt;So, declare LS_STRUCTURE of type XYZ.&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;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 08:33:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/are-not-mutually-convertible-in-a-unicode-program/m-p/10527943#M1854922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-11T08:33:13Z</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/10527944#M1854923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw i can not declare LS_STRUCTURE same as LS_EDIDD-sdata.&lt;/P&gt;&lt;P&gt;becuase it is used to fill IDOC, its standard. it accepts any structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDATA has data element EDI_SDATA which is LCHR 1000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 09:00:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/are-not-mutually-convertible-in-a-unicode-program/m-p/10527944#M1854923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-11T09:00:56Z</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/10527945#M1854924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;ls_structure&amp;gt; LIKE ls_structure. " put TYPE SOME_TYPE for better performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN ls_edidd-sdata to &amp;lt;ls_structure&amp;gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp; ls_structure = &amp;lt;ls_structure&amp;gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not test this in the editor so there might be some syntax errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 09:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/are-not-mutually-convertible-in-a-unicode-program/m-p/10527945#M1854924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-11T09:44:00Z</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/10527946#M1854925</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;LCHR field is not a standalone field. It is always preceded by a field of type INT2 which has the length of the data stored in LCHR field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in structure LS_EDIDD there should be a INT2 type field just before the field SDATA which tells the length of the actual value in SDATA. Suppose the field name is LEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,&lt;BR /&gt; assign the value like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LS_STRUCTURE = LS_EDIDD-SDATA(LS_EDIDD-LEN).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 10:48:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/are-not-mutually-convertible-in-a-unicode-program/m-p/10527946#M1854925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-11T10:48:48Z</dc:date>
    </item>
  </channel>
</rss>

