<?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 in Open Dataset. Application server file shows null value . in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-open-dataset-application-server-file-shows-null-value/m-p/7680247#M1575964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;using a MOVE from a numeric field, you are copying the field in internal format and it may cause problems. With the WRITE statement, the numeric field is converted in text field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Feb 2011 11:28:21 GMT</pubDate>
    <dc:creator>former_member194797</dc:creator>
    <dc:date>2011-02-10T11:28:21Z</dc:date>
    <item>
      <title>Error in Open Dataset. Application server file shows null value .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-open-dataset-application-server-file-shows-null-value/m-p/7680243#M1575960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As with my previous problem, I am now getting value from SAP Directory in AL11. But problem is-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. When I try to get Quantity or Currency field, it shows runtime error while uploading in App. Server.  So, I used Char data type variable  to store currency field and concatenate these in a string type variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT it_mseg INTO wa.
          move it_mseg-erfmg to amount.   " amount is a char type variable.
         CONCATENATE it_mseg-mblnr it_mseg-mjahr it_mseg-matnr amount it_mseg-werks it_mseg-lgort INTO ld_string.

  TRANSFER ld_string to filename.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am getting only 0 for all the records. If I directly transfer wa to filename, it shows values. But when i am passing string, all value shows 0. Plz give me solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Tripod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 09:49:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-open-dataset-application-server-file-shows-null-value/m-p/7680243#M1575960</guid>
      <dc:creator>former_member308418</dc:creator>
      <dc:date>2011-02-10T09:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Open Dataset. Application server file shows null value .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-open-dataset-application-server-file-shows-null-value/m-p/7680244#M1575961</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;use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
WRITE it_mseg-erfmg to amount.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or, assuming that the currency is WW_WAERS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
WRITE it_mseg-erfmg CURRENCY WW_WAERS to amount.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 10:36:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-open-dataset-application-server-file-shows-null-value/m-p/7680244#M1575961</guid>
      <dc:creator>former_member194797</dc:creator>
      <dc:date>2011-02-10T10:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Open Dataset. Application server file shows null value .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-open-dataset-application-server-file-shows-null-value/m-p/7680245#M1575962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Henry for reply. I think error is in &lt;STRONG&gt;concatenate&lt;/STRONG&gt; into a &lt;STRONG&gt;string&lt;/STRONG&gt;. Because when I exclude this amount field and try to concatenate in string, then also value shows all 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz give some logic to solve it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Tripod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 10:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-open-dataset-application-server-file-shows-null-value/m-p/7680245#M1575962</guid>
      <dc:creator>former_member308418</dc:creator>
      <dc:date>2011-02-10T10:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Open Dataset. Application server file shows null value .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-open-dataset-application-server-file-shows-null-value/m-p/7680246#M1575963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dump message ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 11:00:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-open-dataset-application-server-file-shows-null-value/m-p/7680246#M1575963</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-02-10T11:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Open Dataset. Application server file shows null value .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-open-dataset-application-server-file-shows-null-value/m-p/7680247#M1575964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;using a MOVE from a numeric field, you are copying the field in internal format and it may cause problems. With the WRITE statement, the numeric field is converted in text field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 11:28:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-open-dataset-application-server-file-shows-null-value/m-p/7680247#M1575964</guid>
      <dc:creator>former_member194797</dc:creator>
      <dc:date>2011-02-10T11:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Open Dataset. Application server file shows null value .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-open-dataset-application-server-file-shows-null-value/m-p/7680248#M1575965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henri,&lt;/P&gt;&lt;P&gt;Thanks for your reply. I tried using write statement also. But problem remains the same. Finally I kept them in another internal table,by making required field as char, now data showing properly . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tripod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Feb 2011 03:55:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-open-dataset-application-server-file-shows-null-value/m-p/7680248#M1575965</guid>
      <dc:creator>former_member308418</dc:creator>
      <dc:date>2011-02-13T03:55:20Z</dc:date>
    </item>
  </channel>
</rss>

