<?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: Function Module ADDR_GET error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799369#M1779622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am passing SY-DATUM, so the format of the date is correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2013 06:54:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-10-16T06:54:26Z</dc:date>
    <item>
      <title>Function Module ADDR_GET error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799364#M1779617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem regarding the usage of the function module ADDR_GET. After execution of this FM, I get the subrc 0 but an error. In the error_table I get an entry with MSG_ID = AM, MSG_TYPE = E, MSG_NUMBER = 873. The FM 'MESSAGE_PREPARE' gives me the text "Date ' ' is not valid".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already checked the date which i input into the FM, this is correct. The DATE_FROM in the database table ADRC is filled in this entry with 01.01.0001. Could this be the problem, as low_date is usually 01.01.1800?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1866/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 15:54:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799364#M1779617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-15T15:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module ADDR_GET error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799365#M1779618</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;Have you checked the date format?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 16:02:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799365#M1779618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-15T16:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module ADDR_GET error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799366#M1779619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried passing a valid address number with leading zeroes, and date in YYYYMMDD format. (00010101 in your case), and call was successful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 16:03:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799366#M1779619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-15T16:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module ADDR_GET error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799367#M1779620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share the format in which you are passing the date. It should be in "YYYYMMDD" format.&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, 15 Oct 2013 16:04:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799367#M1779620</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2013-10-15T16:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module ADDR_GET error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799368#M1779621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am passing SY-DATUM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 06:53:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799368#M1779621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-16T06:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module ADDR_GET error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799369#M1779622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am passing SY-DATUM, so the format of the date is correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 06:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799369#M1779622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-16T06:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module ADDR_GET error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799370#M1779623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide sample code please? &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1904/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 06:59:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799370#M1779623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-16T06:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module ADDR_GET error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799371#M1779624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could please paste the screen shot of data being passed to FM plus the data in database table which you are expecting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 07:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799371#M1779624</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2013-10-16T07:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module ADDR_GET error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799372#M1779625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the ADDRESS_SELECTION-DATE = '00010101',You will get the data.If you use any other date other than this&amp;nbsp; you will get the same problem. Strange but check the code line 139 of pgm LSZA0F21.&lt;/P&gt;&lt;P&gt;Or else, just dont pass the date while calling the FM, you will get the values in SADR and date details in versions table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 07:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799372#M1779625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-16T07:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module ADDR_GET error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799373#M1779626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The FM documentation says that address date field is not supported. This is the reason why call works for blank date or 00010101 date, and not for sy-datum.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;The parameter DATE is for time dependency. It is not currently supported. The parameter does not show a validity date for which the address is to be read. If the parameter is filled with a value other than '00000000' (initial value for date field)&amp;nbsp; or '00010101' (currently the only possible database key), an error is returned in ERROR_TABLE (return code 'E').&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample code.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-family: courier new,courier;"&gt; DATA v_address_selection&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;addr1_sel&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;v_sadr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;sadr&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; v_address_selection&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;addrnumber &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'0000098765'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*v_address_selection-date = sy-datum.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ADDR_GET'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; address_selection &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;v_address_selection&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sadr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;v_sadr&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 08:02:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799373#M1779626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-16T08:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module ADDR_GET error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799374#M1779627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1904/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 10:15:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799374#M1779627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-16T10:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module ADDR_GET error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799375#M1779628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1904/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 10:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-addr-get-error/m-p/9799375#M1779628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-16T10:16:12Z</dc:date>
    </item>
  </channel>
</rss>

