<?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: Problem with Date field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964223#M68157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ya i have tried using it &lt;/P&gt;&lt;P&gt;but it is accepting as 20.05.0402 if i enter '20050402'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jul 2005 06:06:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-22T06:06:48Z</dc:date>
    <item>
      <title>Problem with Date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964221#M68155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in function module i call the program using "submit" command, the syntax is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit ZSD_RG1_REG exporting list to memory&lt;/P&gt;&lt;P&gt;                    with WERKS = WERKS&lt;/P&gt;&lt;P&gt;                    with BUDAT-LOW = BUDAT_LOW&lt;/P&gt;&lt;P&gt;                    with BUDAT-HIGH = BUDAT_HIGH&lt;/P&gt;&lt;P&gt;                    with MATERIAL-LOW = MATERIAL_LOW&lt;/P&gt;&lt;P&gt;                    with MATERIAL-HIGH = MATERIAL_HIGH&lt;/P&gt;&lt;P&gt;                    and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i enter the values in FM for the fields in following ways werks = 1810  material_low = fet000075 and budat_low = 02.04.2005&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the result i get is  selection-screen of the report where all the fields are filled except for the budat-low field which is showing blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whereas i should'nt get the selection-screen of the report itself. What could be the error pls help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 05:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964221#M68155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-22T05:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964222#M68156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using budat_low = '20050402' ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 05:58:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964222#M68156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-22T05:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964223#M68157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ya i have tried using it &lt;/P&gt;&lt;P&gt;but it is accepting as 20.05.0402 if i enter '20050402'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 06:06:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964223#M68157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-22T06:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964224#M68158</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;what is the dictionary element of your budat? Internal date format is &amp;lt;i&amp;gt;always&amp;lt;/i&amp;gt; YYYYMMDD, only external display depends on user settings. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Inside programs use '20050402' - and why is your conversion into an external format not working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 06:10:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964224#M68158</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2005-07-22T06:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964225#M68159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why do you use with BUDAT-LOW = BUDAT_LOW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and not with "BUDAT in S_BUDAT" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 06:25:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964225#M68159</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-07-22T06:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964226#M68160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the value as extenal date type, and when using the date &lt;/P&gt;&lt;P&gt;convert it into internal date type using CONVERT_DATE_TO_INTERNAL.&lt;/P&gt;&lt;P&gt;For the vice versa try CONVERT_DATE_TO_EXTERNAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Kathir~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 06:26:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964226#M68160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-22T06:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964227#M68161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wouldn't it be much easier to link budat to dictionary and let do the system make the external conversions completly automatically?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 06:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964227#M68161</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2005-07-22T06:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964228#M68162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The field BUDAT_LOW should be of type D. Have yo declared it with a character type ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The date field is always of 8 characters. The separators come into picture only when the data is being displayed / printed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. All program variables which store the date should be declared with type D. And the data should always be given as 'YYYYMMDD' in the program. The date separator is a customizable setting and therefore can can be different for different users, based on their choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 06:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964228#M68162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-22T06:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964229#M68163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is a function module that can get the user setting for the date format for you and then u can use another function module to convert the date to the desired format....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these FMs are...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SLS_MISC_GET_USER_DATE_FORMAT - to get user's date format&lt;/P&gt;&lt;P&gt;SLS_MISC_CONVERT_TO_DATE - to convert date to desired  &lt;/P&gt;&lt;P&gt;                           format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just see if u can help yourself with these....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;PJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 06:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964229#M68163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-22T06:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964230#M68164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kathir~, PJ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nice when you know all these functions to hanlde dates - but this can be done by system without any notice of user / programmer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just follow the way Anand Mandalika described detailed and you never need all these functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry Deepak - here are two different solutions described by four persons - I hope we don't confuse you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 06:55:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964230#M68164</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2005-07-22T06:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964231#M68165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you guys&lt;/P&gt;&lt;P&gt;all of you have been very helpful.&lt;/P&gt;&lt;P&gt;but in reality my problem is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit ZRPT_SD_027 exporting list to memory&lt;/P&gt;&lt;P&gt;                    with WERKS = WERKS&lt;/P&gt;&lt;P&gt;                    with BUDAT-LOW = BUDAT_HIGH&lt;/P&gt;&lt;P&gt;                    WITH BUDAT-HIGH = BUDAT_HIGH&lt;/P&gt;&lt;P&gt;                    WITH MATNR-LOW = MATERIAL-LOW   &lt;/P&gt;&lt;P&gt;                    WITH MATNR-HIGH = MATERIAL_HIGH&lt;/P&gt;&lt;P&gt;                    with KUNNR-LOW = KUNNR_LOW&lt;/P&gt;&lt;P&gt;                    with KUNNR-HIGH = KUNNR_HIGH&lt;/P&gt;&lt;P&gt;                    WITH P_VARI = P_VARIS&lt;/P&gt;&lt;P&gt;                    and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look into above code:&lt;/P&gt;&lt;P&gt;    i have declared all the left hand side part i.e. after "WITH" in my selection-screen and  all the Right hand side part i.e. after "=" (eg BUDAT_LOW) in "IMPORT" parameter of the function module. You see some of the fields in the select-options may be optional (like KUNNR-HIGH OR  MATNR-HIGH) so even in function module i wont enter any values for those fields which are optional. But even then while executin either it takes me to the selection-screen or gives an exception NOT_FOUND which it encounters in list_from_memory (following FM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you pls help me with this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 10:40:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964231#M68165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-22T10:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Date field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964232#M68166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deepak, &lt;/P&gt;&lt;P&gt;Try this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES R_BUDAT FOR SY-DATUM.&lt;/P&gt;&lt;P&gt;DATA: BUDAT_LOW TYPE D,&lt;/P&gt;&lt;P&gt;      BUDAT_HIGH TYPE D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUDAT_LOW = '20050101'.&lt;/P&gt;&lt;P&gt;BUDAT_HIGH = '20050131'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R_BUDAT-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;R_BUDAT-OPTION = 'BT'.&lt;/P&gt;&lt;P&gt;R_BUDAT-LOW = BUDAT_LOW.&lt;/P&gt;&lt;P&gt;R_BUDAT-HIGH = BUDAT_HIGH.&lt;/P&gt;&lt;P&gt;APPEND R_BUDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT ZSD_RG1_REG&lt;/P&gt;&lt;P&gt;  exporting list to memory&lt;/P&gt;&lt;P&gt;  WITH BUDAT IN R_BUDAT&lt;/P&gt;&lt;P&gt;  AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Sivaraj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2005 13:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-field/m-p/964232#M68166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-22T13:41:24Z</dc:date>
    </item>
  </channel>
</rss>

