<?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: Dateformat in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dateformat/m-p/896553#M54318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should post your question in the ABAP forum you'll get a very quick response there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 May 2005 18:06:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-05-12T18:06:11Z</dc:date>
    <item>
      <title>Dateformat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dateformat/m-p/896552#M54317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the current date (sy-datum)that needs to be stored in  'mmddyy'not in anyother  format in the variable. I do not want to output the date directly(because I know 'mmddyy' format option is available for WRITE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore i want the date stored in this format because I need to concatenate this with other data and then output it. Can anyone help me in this regard.&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;Moved to the right forum. &lt;/P&gt;&lt;P&gt;Message was edited by: Mark Finnern&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2005 14:33:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dateformat/m-p/896552#M54317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-12T14:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dateformat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dateformat/m-p/896553#M54318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should post your question in the ABAP forum you'll get a very quick response there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2005 18:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dateformat/m-p/896553#M54318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-12T18:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dateformat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dateformat/m-p/896554#M54319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santhosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can actually use the WRITE statement to copy one variable to another whilst applying formatting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the following code snippet:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: w_char_date(6)   type c,
      w_other_char(40) type c.

WRITE: sy-datum to w_char_date mmddyy.

CONCATENATE 'This is the date: ' w_char_date into w_other_car.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given a similiar answer in another thread, check out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="388306"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2005 19:32:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dateformat/m-p/896554#M54319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-13T19:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dateformat</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dateformat/m-p/896555#M54320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or you can simply do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_char_date(6).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate sy-datum+4(2)&lt;/P&gt;&lt;P&gt;            sy-datum+6(2)&lt;/P&gt;&lt;P&gt;            sy-datum+2(2)&lt;/P&gt;&lt;P&gt;       into v_char_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2005 19:43:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dateformat/m-p/896555#M54320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-13T19:43:49Z</dc:date>
    </item>
  </channel>
</rss>

