<?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 problem in transfer statement. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121647#M444746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to place the file in the application server using open dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My final output internal table gt_output fields are&lt;/P&gt;&lt;P&gt;               value, kndnr, perio, skunumber,perio.&lt;/P&gt;&lt;P&gt;i used the statement like&lt;/P&gt;&lt;P&gt;data: gv_string(120) type c.&lt;/P&gt;&lt;P&gt;gv_string = p_file.&lt;/P&gt;&lt;P&gt;   open dataset p_file for output in text mode encoding default.&lt;/P&gt;&lt;P&gt;         loop at gt_output into wa_output.&lt;/P&gt;&lt;P&gt;           transfer gv_string to p_file.&lt;/P&gt;&lt;P&gt;            endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;In the final internal table, the amount field is the currency data type.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i executed this one i got the problem is wa_output-amount must be a char type data object(C, N, D or String).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u plz give me the suggestion ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2007 05:20:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-10T05:20:42Z</dc:date>
    <item>
      <title>problem in transfer statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121647#M444746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to place the file in the application server using open dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My final output internal table gt_output fields are&lt;/P&gt;&lt;P&gt;               value, kndnr, perio, skunumber,perio.&lt;/P&gt;&lt;P&gt;i used the statement like&lt;/P&gt;&lt;P&gt;data: gv_string(120) type c.&lt;/P&gt;&lt;P&gt;gv_string = p_file.&lt;/P&gt;&lt;P&gt;   open dataset p_file for output in text mode encoding default.&lt;/P&gt;&lt;P&gt;         loop at gt_output into wa_output.&lt;/P&gt;&lt;P&gt;           transfer gv_string to p_file.&lt;/P&gt;&lt;P&gt;            endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;In the final internal table, the amount field is the currency data type.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i executed this one i got the problem is wa_output-amount must be a char type data object(C, N, D or String).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u plz give me the suggestion ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 05:20:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121647#M444746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T05:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: problem in transfer statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121648#M444747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hemam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Change your amount field as char with requied length in internal table.&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;Don't forget to reward if useful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 05:24:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121648#M444747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T05:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem in transfer statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121649#M444748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare the fields in internal table type char.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 05:24:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121649#M444748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T05:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: problem in transfer statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121650#M444749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi hemam,&lt;/P&gt;&lt;P&gt;     if it is not working properly, u can try to download it to a file in the presentation server using ws_download. After that using CG3Z t/c u can upload the file to application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might not b a solution, but a suggestion to u.&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;Arun.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 05:28:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121650#M444749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T05:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: problem in transfer statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121651#M444750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hemam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Unicode versions above 4.7 u cannot have any other data type than character in transfer statement and also in any of the string operation stmnts like (split, concatenate, replace). what you have to do is convert the amount field into may be 'N' or 'C' type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Navneeth.K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Navneeth Bothra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 05:29:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121651#M444750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T05:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: problem in transfer statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121652#M444751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But the amount field can be created using the Domain of some other fields. Means we have to place the values of VRPRS,vvcfg,vvdcm,vvpr1,vvpr2. These all the fields are currency data type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created the amount field using these fied domainname. Means all the fields(VRPRS,vvcfg,vvdcm,vvpr1,vvpr2) having the same domain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 05:34:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121652#M444751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T05:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: problem in transfer statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121653#M444752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Hemam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you fetch the value assign the amount field to another field of type C, or N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Navneeth.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 05:36:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121653#M444752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T05:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: problem in transfer statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121654#M444753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, heman &lt;/P&gt;&lt;P&gt;  it's easy to resolve this problem&lt;/P&gt;&lt;P&gt;as usual we de fined the variable V1 type as char&lt;/P&gt;&lt;P&gt;and have the same lenght with the work area you metion.&lt;/P&gt;&lt;P&gt;just move the workare to V1.&lt;/P&gt;&lt;P&gt;and transfer V1 that will be ok &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 06:25:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121654#M444753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T06:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: problem in transfer statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121655#M444754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hemam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I faced similar kind of problem long time back. the solution is quiet simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the currency field can be formatted  by.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write wa_output-amount to gv_amount currency 'AUS' ROUND 3 DECIMALS 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 06:42:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-transfer-statement/m-p/2121655#M444754</guid>
      <dc:creator>abhishek_bhattacharjee</dc:creator>
      <dc:date>2007-04-10T06:42:38Z</dc:date>
    </item>
  </channel>
</rss>

