<?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 statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-statement/m-p/6754396#M1460693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter Bergkvist  &lt;/P&gt;&lt;P&gt;so...&lt;/P&gt;&lt;P&gt;with betrg to wa_file+57 you will insert the data starting form the 57 character, but you must insert also the lenght.&lt;/P&gt;&lt;P&gt;so you must replace wa_file&lt;EM&gt;57 with wa_file&lt;/EM&gt;57(lenght), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example if move wa_table-betrg has lenght 10 chars you must wa_file+57(10).&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Loop at wa_table.
 if wa_table-lgart eq '1003'.
     move wa_table-betrg to wa_file+57(10) .
 endif.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reagards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Apr 2010 07:36:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-12T07:36:47Z</dc:date>
    <item>
      <title>Move statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-statement/m-p/6754393#M1460690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use a FM 'RP_FILL_WAGE_TYPE_TABLE_EXT' and fill the table PPBWLA with values.&lt;/P&gt;&lt;P&gt;Now I want to move some values from this table to a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I loop my PPBWLA table.&lt;/P&gt;&lt;P&gt;Then I have a check if it is the right line. &lt;/P&gt;&lt;P&gt;Then I Move the value to my string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at wa_table.&lt;/P&gt;&lt;P&gt;  if wa_table-lgart eq '1003'.&lt;/P&gt;&lt;P&gt;    move wa_table-betrg to wa_file+57.&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;I have the value in wa_table-betrg, but nothing will be moved to wa_file+57.&lt;/P&gt;&lt;P&gt;Anyone who have a solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grateful for your help  //  Peter B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 07:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-statement/m-p/6754393#M1460690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-12T07:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Move statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-statement/m-p/6754394#M1460691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;What is the size of wa_file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 07:34:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-statement/m-p/6754394#M1460691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-12T07:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Move statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-statement/m-p/6754395#M1460692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; as per code written , the data will be moved to target string wa_file after the 57th position.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Please Double Click on the Variable name and check the data till the full length.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 07:34:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-statement/m-p/6754395#M1460692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-12T07:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Move statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-statement/m-p/6754396#M1460693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter Bergkvist  &lt;/P&gt;&lt;P&gt;so...&lt;/P&gt;&lt;P&gt;with betrg to wa_file+57 you will insert the data starting form the 57 character, but you must insert also the lenght.&lt;/P&gt;&lt;P&gt;so you must replace wa_file&lt;EM&gt;57 with wa_file&lt;/EM&gt;57(lenght), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example if move wa_table-betrg has lenght 10 chars you must wa_file+57(10).&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Loop at wa_table.
 if wa_table-lgart eq '1003'.
     move wa_table-betrg to wa_file+57(10) .
 endif.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reagards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 07:36:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-statement/m-p/6754396#M1460693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-12T07:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Move statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-statement/m-p/6754397#M1460694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think there is any thing wrong in code written by you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please verify data type used for wa_file this should not be string type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because  "At the write position, you can not use offset and length specification with field of type string or Xstring.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 07:44:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-statement/m-p/6754397#M1460694</guid>
      <dc:creator>umashankar_sahu</dc:creator>
      <dc:date>2010-04-12T07:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Move statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-statement/m-p/6754398#M1460695</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;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at wa_table.
if wa_table-lgart eq '1003'.
*move wa_table-betrg to wa_file+57.   "Comment
move wa_table-betrg to wa_file+57(length of variable-which you are updating in 57th position) .  "Added
endif.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 07:47:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-statement/m-p/6754398#M1460695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-12T07:47:53Z</dc:date>
    </item>
  </channel>
</rss>

