<?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: Move assignment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-assignment/m-p/6192487#M1374865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;define the source field as string. or some char type field (any left justified data element)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Soumyaprakash Mishra on Oct 1, 2009 8:00 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Oct 2009 14:30:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-01T14:30:15Z</dc:date>
    <item>
      <title>Move assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-assignment/m-p/6192483#M1374861</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;  For expaining the scenario i am copying below the custom code , but the problem is happening in a standard code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  yztest.&lt;/P&gt;&lt;P&gt;DATA: source(10) TYPE p DECIMALS 4 VALUE 100,&lt;/P&gt;&lt;P&gt;      destin(256) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE source TO destin .&lt;/P&gt;&lt;P&gt;WRITE / destin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output of this code is coming as blank when its suppose to display '100.0000' , not sure whats happening. Surprisingly if i change the length of destin to 10 from 256 its displaying correct value. data: destin(10) TYPE c. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did anyone come accross such a scenario before? The problem is its a standard code and i can only change the datatype of source through config but not the destin and also source will contain numebrs with decimals &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Kasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 11:36:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-assignment/m-p/6192483#M1374861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T11:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Move assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-assignment/m-p/6192484#M1374862</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;Instead of MOVE use WRITE statement.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT yztest.
DATA: source(10) TYPE p DECIMALS 4 VALUE 100,
destin(256) TYPE c.

*MOVE source TO destin .      
WRITE source TO destin LEFT-JUSTIFIED.
WRITE / destin.&lt;/CODE&gt;&lt;/PRE&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>Thu, 01 Oct 2009 11:39:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-assignment/m-p/6192484#M1374862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T11:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Move assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-assignment/m-p/6192485#M1374863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: source(10) TYPE p DECIMALS 4 VALUE 100,
destin(256) TYPE c.

*MOVE source TO destin .
destin+0(10) = source.
WRITE / destin.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 11:48:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-assignment/m-p/6192485#M1374863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T11:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Move assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-assignment/m-p/6192486#M1374864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your replies guys, but i dont have the option to modify the code becuase this logic is done in standard. I can only decide the data type of source field through config &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 12:48:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-assignment/m-p/6192486#M1374864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T12:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Move assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-assignment/m-p/6192487#M1374865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;define the source field as string. or some char type field (any left justified data element)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Soumyaprakash Mishra on Oct 1, 2009 8:00 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 14:30:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-assignment/m-p/6192487#M1374865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T14:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Move assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-assignment/m-p/6192488#M1374866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 14:53:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-assignment/m-p/6192488#M1374866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T14:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Move assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-assignment/m-p/6192489#M1374867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kasi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;although alread closed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't worry, source has been moved to destin. If you use a WRITE TO, then it will put it as a numeric value by default right-justified into the output field, so you can see it if you look at destin+240.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your example is just no use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 16:26:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-assignment/m-p/6192489#M1374867</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2009-10-01T16:26:49Z</dc:date>
    </item>
  </channel>
</rss>

