<?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: problem using in write to statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-in-write-to-statement/m-p/2735655#M635406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check value of sy-subrc in debugging..is it 0?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2007 10:37:23 GMT</pubDate>
    <dc:creator>former_member188827</dc:creator>
    <dc:date>2007-08-29T10:37:23Z</dc:date>
    <item>
      <title>problem using in write to statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-in-write-to-statement/m-p/2735653#M635404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;problem as follows below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM f200_check_signature TABLES input STRUCTURE itcsy&lt;/P&gt;&lt;P&gt;                                 ouput STRUCTURE itcsy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:sig(75)    TYPE c,&lt;/P&gt;&lt;P&gt;       totpayment type REGUH-RBETR,&lt;/P&gt;&lt;P&gt;       compcode   TYPE reguh-zbukr.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DATA: wa_zchqlimit TYPE zchqlimit.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF int_zchqlimit,&lt;/P&gt;&lt;P&gt;        zbukr LIKE zchqlimit-zbukr,&lt;/P&gt;&lt;P&gt;        zsiglimit LIKE zchqlimit-zsiglimit,&lt;/P&gt;&lt;P&gt;        zsighigh LIKE zchqlimit-zsighigh,&lt;/P&gt;&lt;P&gt;        zsiglow LIKE zchqlimit-zsiglow,&lt;/P&gt;&lt;P&gt;        END OF int_zchqlimit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE input WITH KEY 'REGUH-RBETR'.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    write input-value TO totpayment . -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at arrow mark actual input-value is 12358 for given input but after moving into totpayment the value is showing as 2020202020.28&lt;/P&gt;&lt;P&gt;please i need advice why it is occuring like that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 10:31:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-in-write-to-statement/m-p/2735653#M635404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T10:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: problem using in write to statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-in-write-to-statement/m-p/2735654#M635405</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;&lt;/P&gt;&lt;P&gt;The data type of totpayment should be Charchter.&lt;/P&gt;&lt;P&gt;Change this you will get correct value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 10:35:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-in-write-to-statement/m-p/2735654#M635405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T10:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem using in write to statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-in-write-to-statement/m-p/2735655#M635406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check value of sy-subrc in debugging..is it 0?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 10:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-in-write-to-statement/m-p/2735655#M635406</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2007-08-29T10:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: problem using in write to statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-in-write-to-statement/m-p/2735656#M635407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the statement&lt;/P&gt;&lt;P&gt;write input-value TO totpayment &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;totpayment should be of type c.&lt;/P&gt;&lt;P&gt;see f1 help for 'write'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE f TO g[+off][(len)]. &lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Assigns the contents of the source field f to the target field g as a new value. &lt;/P&gt;&lt;P&gt;In contrast to MOVE, the format of the target field g is the same as when outputting to a list with WRITE. The field type C is always used, regardless of the actual data type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prasant&lt;/P&gt;&lt;P&gt;*reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2007 10:37:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-in-write-to-statement/m-p/2735656#M635407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-29T10:37:59Z</dc:date>
    </item>
  </channel>
</rss>

