<?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: Error while Appending a  work-area in a table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374074#M1236164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Create  aw orkarea for result_package .&lt;/P&gt;&lt;P&gt;say wa_package.move-corressponding wa_source to wa_package,&lt;/P&gt;&lt;P&gt;then a&lt;/P&gt;&lt;P&gt;append wa_package to lt_package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2009 09:42:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-26T09:42:33Z</dc:date>
    <item>
      <title>Error while Appending a  work-area in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374067#M1236157</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;Requirement :- I want to append a row in the the table but the work-area with which i am appendign the values is of different type than the target so i am getting error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code :- &lt;STRONG&gt;APPEND&lt;/STRONG&gt; WA_SOURCE &lt;STRONG&gt;TO&lt;/STRONG&gt; RESULT_PACKAGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error :-  A line of RESULT_PACKAGE not mutually convertible in a Unicode program..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to append the one-by one values in the RESULT_PACKAGE fields.&lt;/P&gt;&lt;P&gt;As i cn't change the type of my source work-area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't we have something like :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Append Result_package &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;Result_package_field1 = wa-field1&lt;/P&gt;&lt;P&gt;Result_package_field2 = wa_field2.....&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;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE HELP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;rg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: R G on Mar 26, 2009 10:34 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 09:31:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374067#M1236157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T09:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error while Appending a  work-area in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374068#M1236158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MOVE-CORRESPONDING WA_SOURCE to RESULT_PACKAGE.
APPEND RESULT_PACKAGE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shailaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 09:34:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374068#M1236158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T09:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error while Appending a  work-area in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374069#M1236159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shailaja  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the promt-reply .&lt;/P&gt;&lt;P&gt;but does move corresponding will overwrite on the existing data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 09:37:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374069#M1236159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T09:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error while Appending a  work-area in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374070#M1236160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. create an work area wa_RESULT_PACKAGE of type RESULT_PACKAGE&lt;/P&gt;&lt;P&gt;2. Before append use MOVE-CORRESPONDING WA_SOURCE  to wa_RESULT_PACKAGE &lt;/P&gt;&lt;P&gt;3 APPEND wa_RESULT_PACKAGE  to RESULT_PACKAGE &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>Thu, 26 Mar 2009 09:37:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374070#M1236160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T09:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error while Appending a  work-area in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374071#M1236161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data wa like result_package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move-corresponding wa_source to wa.&lt;/P&gt;&lt;P&gt;append wa to result_package.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 09:40:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374071#M1236161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T09:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error while Appending a  work-area in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374072#M1236162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't change the Work-area type....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't we appened a line in any table by providing direct values??????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 09:41:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374072#M1236162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T09:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error while Appending a  work-area in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374073#M1236163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For clarity you can do the following:&lt;/P&gt;&lt;P&gt;Clear the target work area and then append.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;clear wa_result_package.
move-corresponding wa_source to wa_result_package.
append wa_result_package to result_package.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can manually move the fields to the target.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wa_result_package-field1 = wa_source-field1.
wa_result_package-field2 = wa_source-field2.
and so on....
append wa_result_package to result_package.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shailaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 09:41:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374073#M1236163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T09:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error while Appending a  work-area in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374074#M1236164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Create  aw orkarea for result_package .&lt;/P&gt;&lt;P&gt;say wa_package.move-corressponding wa_source to wa_package,&lt;/P&gt;&lt;P&gt;then a&lt;/P&gt;&lt;P&gt;append wa_package to lt_package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 09:42:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374074#M1236164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T09:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error while Appending a  work-area in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374075#M1236165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I can't change the Work-area type....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't we appened a line in any table by providing direct values??????&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You DONOT have to change the TYPE of your Work Area. You create a new work area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:
WA_RESULT_PACKAGE LIKE LINE OF RESULT_PACKAGE.

MOVE CORRESPONDING WA_SOURCE TO WA_RESULT_PACKAGE.

APPEND WA_RESULT_PACKAGE TO RESULT_PACKAGE.
CLEAR WA_RESULT_PACKAGE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or Else,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:
WA_RESULT_PACKAGE LIKE LINE OF RESULT_PACKAGE.

MOVE WA_SOURCE-F1 TO WA_RESULT_PACKAGE-F1.
MOVE WA_SOURCE-F2 TO WA_RESULT_PACKAGE-F2.
MOVE WA_SOURCE-F3 TO WA_RESULT_PACKAGE-F3.
.................

APPEND WA_RESULT_PACKAGE TO RESULT_PACKAGE.
CLEAR WA_RESULT_PACKAGE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Mar 26, 2009 10:44 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 09:43:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-appending-a-work-area-in-a-table/m-p/5374075#M1236165</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-03-26T09:43:53Z</dc:date>
    </item>
  </channel>
</rss>

