<?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: Unicode problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667728#M295452</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;U can give a try with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a field symbol of type VIM_TOTAL_KEY as given in the docu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at total assigning &amp;lt;fiel symbol&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this we can do one to one dat transfer to s_record or if the structur eof both s_rcord and field symbol is same then we can directly use the MOVE-corresponding statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Nov 2006 14:55:50 GMT</pubDate>
    <dc:creator>Sandeep_Panghal</dc:creator>
    <dc:date>2006-11-27T14:55:50Z</dc:date>
    <item>
      <title>Unicode problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667721#M295445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to figure out SM30 table events. I have lots of coding samples from the forum, but most of them doesn't work, because of a unicode short-dump.&lt;/P&gt;&lt;P&gt;I am trying to implement a Before save event (01) in this form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM update_user_date_time.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  DATA: f_index LIKE sy-tabix. &lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF l_total.&lt;/P&gt;&lt;P&gt;          INCLUDE STRUCTURE zztable.&lt;/P&gt;&lt;P&gt;  INCLUDE  STRUCTURE vimtbflags.&lt;/P&gt;&lt;P&gt;  DATA  END OF l_total.&lt;/P&gt;&lt;P&gt;  DATA: s_record TYPE zztable.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  LOOP AT total INTO l_total.&lt;/P&gt;&lt;P&gt;    IF l_total-vim_action = aendern OR&lt;/P&gt;&lt;P&gt;       l_total-vim_action = neuer_eintrag.&lt;/P&gt;&lt;P&gt;      MOVE-CORRESPONDING l_total TO s_record.&lt;/P&gt;&lt;P&gt;      s_record-zz_user = sy-uname.&lt;/P&gt;&lt;P&gt;      s_record-zz_date = sy-datum.&lt;/P&gt;&lt;P&gt;      s_record-zz_time = sy-uzeit.&lt;/P&gt;&lt;P&gt;      READ TABLE extract WITH KEY l_total.&lt;/P&gt;&lt;P&gt;      IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;        f_index = sy-tabix.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        CLEAR f_index.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      MOVE-CORRESPONDING s_record TO l_total.&lt;/P&gt;&lt;P&gt;      MODIFY total FROM l_total.&lt;/P&gt;&lt;P&gt;      CHECK f_index GT 0.&lt;/P&gt;&lt;P&gt;      MODIFY extract INDEX f_index FROM l_total.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM.                    " UPDATE_USER_DATE_TIME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The short dump is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Error          UC_OBJECTS_NOT_CONVERTIBLE&lt;/P&gt;&lt;P&gt;Date and Time          27.11.2006 14:28:10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ShrtText&lt;/P&gt;&lt;P&gt;     Data objects in a Unicode program are not convertible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on this line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;   LOOP AT total INTO l_total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 13:47:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667721#M295445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T13:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667722#M295446</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;As per my knowledge the problem would be in the declaration of "toal" and "l_total".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please send me the declaration of data object "total"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that I can understand the problem more clearly and will try to find a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,anjireddi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 14:07:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667722#M295446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T14:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667723#M295447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think local internal table definition should be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF l_total OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE zztable.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE vimtbflags.&lt;/P&gt;&lt;P&gt;DATA END OF l_total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OCCURS 0 will create an implicit work area with the name same as internal table name. Award points if it helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 14:09:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667723#M295447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T14:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667724#M295448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for reply!&lt;/P&gt;&lt;P&gt;I tried your solution, but same result, I don't know what is the problem....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 14:16:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667724#M295448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T14:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667725#M295449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Total is a Global data object in that event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More details here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 14:19:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667725#M295449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T14:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667726#M295450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if you have looked at this document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 14:20:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667726#M295450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T14:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667727#M295451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I saw that document, thank you.&lt;/P&gt;&lt;P&gt;But no example there for event 01 ( Before save ) , or with total data object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 14:24:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667727#M295451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T14:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667728#M295452</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;U can give a try with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a field symbol of type VIM_TOTAL_KEY as given in the docu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at total assigning &amp;lt;fiel symbol&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this we can do one to one dat transfer to s_record or if the structur eof both s_rcord and field symbol is same then we can directly use the MOVE-corresponding statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 14:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667728#M295452</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2006-11-27T14:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667729#M295453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VIM_TOTAL_KEY is not a type, is a &amp;lt;fs&amp;gt; type ANY .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can use a &amp;lt;fs&amp;gt; type ANY , bun I cannot access the individual components of table line total...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 08:28:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-problem/m-p/1667729#M295453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T08:28:15Z</dc:date>
    </item>
  </channel>
</rss>

