<?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: Abap code for splitting date needed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860812#M1136587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kannan,&lt;/P&gt;&lt;P&gt;In SAP, the date is internally stored in the format YYYYMMDD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, to split the date into year, month and date, you could try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: year(4) TYPE c,&lt;/P&gt;&lt;P&gt;month(2) TYPE c,&lt;/P&gt;&lt;P&gt;day(2) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;year = sy-datum(4).&lt;/P&gt;&lt;P&gt;month = sy-datum+4(2).&lt;/P&gt;&lt;P&gt;day = sy-datum+6(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dawood.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Dec 2008 04:37:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-06T04:37:40Z</dc:date>
    <item>
      <title>Abap code for splitting date needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860807#M1136582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need ABAP code or a function module to split date into date, month and year. As I have very little knowledge in ABAP, I do not know how to do it. Kindly help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;With Kind Regards,&lt;/P&gt;&lt;P&gt;Kannan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 23:06:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860807#M1136582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-05T23:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Abap code for splitting date needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860808#M1136583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kannan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a work area to cast the date variable an access every component of the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF ty_date,
        year  TYPE n LENGTH 4,
        month TYPE n LENGTH 2,
        day   TYPE n LENGTH 2,
      END OF ty_date.

DATA wa_date TYPE ty_date.

wa_date = sy-datum.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Access the year with &lt;EM&gt;wa_date-year&lt;/EM&gt;,  month with &lt;EM&gt;wa_date-month&lt;/EM&gt; and day with &lt;EM&gt;wa_date-day&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 23:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860808#M1136583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-05T23:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Abap code for splitting date needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860809#M1136584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppose ur date in v_date in dd/mm/yyyy format then do it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;day = date+0(2).&lt;/P&gt;&lt;P&gt;mon = date+3(2).&lt;/P&gt;&lt;P&gt;year = date+6(4).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 01:33:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860809#M1136584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T01:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Abap code for splitting date needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860810#M1136585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we can learn by surfing and Searching.:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapabapsdmm.com/ABAP-Reporting-P14.htm" target="test_blank"&gt;http://www.sapabapsdmm.com/ABAP-Reporting-P14.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 02:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860810#M1136585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T02:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Abap code for splitting date needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860811#M1136586</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;You can using ABAP code to split date into date, month and year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: date(2) TYPE C, 
        month(2) TYPE C, 
        year(4) TYPE C.

year = sy-datum.
month = sy-datum+4(2).
date = sy-satum+6(2). &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best  Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WIND LIN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 03:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860811#M1136586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T03:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Abap code for splitting date needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860812#M1136587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kannan,&lt;/P&gt;&lt;P&gt;In SAP, the date is internally stored in the format YYYYMMDD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, to split the date into year, month and date, you could try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: year(4) TYPE c,&lt;/P&gt;&lt;P&gt;month(2) TYPE c,&lt;/P&gt;&lt;P&gt;day(2) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;year = sy-datum(4).&lt;/P&gt;&lt;P&gt;month = sy-datum+4(2).&lt;/P&gt;&lt;P&gt;day = sy-datum+6(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dawood.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 04:37:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860812#M1136587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T04:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Abap code for splitting date needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860813#M1136588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kannan,&lt;/P&gt;&lt;P&gt;There are various FM for getting the date in required format.&lt;/P&gt;&lt;P&gt;In Sap dates are internally stored as yyyymmdd format and to get it in require ddmmyyyy format use this fm.&lt;/P&gt;&lt;P&gt;CONVERT_DATE_FORMAT&lt;/P&gt;&lt;P&gt;Eg: input = 20080201 and output = 01.02.2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are also various other FM which u can use depending upon the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_PDATE_OUTPUT&lt;/P&gt;&lt;P&gt;Eg: input = 24012008 and output = 24.01.2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_SDATE_OUTPUT &lt;/P&gt;&lt;P&gt;Eg: input = 20070201 and output = 01.FEB.2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_IDATE_INPUT &lt;/P&gt;&lt;P&gt;Eg: input = 01.02.2008 and Output = 20080201&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_LDATE_OUTPUT &lt;/P&gt;&lt;P&gt;Eg: input = 20070301 and output = 01. March 2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_PDATE_OUTPUT &lt;/P&gt;&lt;P&gt;Eg: input = 20070301 and output = 03.01.2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 05:24:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860813#M1136588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T05:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Abap code for splitting date needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860814#M1136589</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;if u r writing code in customer exit try with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if varible name is zcedate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'zcedate'.&lt;/P&gt;&lt;P&gt;clear l_s_range.&lt;/P&gt;&lt;P&gt;l_s_range-sign = 'i'.&lt;/P&gt;&lt;P&gt;l_s_range-opt = 'eq'.&lt;/P&gt;&lt;P&gt;l_s_range-low = sy-datum.&lt;/P&gt;&lt;P&gt;append l_s_range to e_t_range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is date sy-datum.&lt;/P&gt;&lt;P&gt;if month   sy-datum+4(2).&lt;/P&gt;&lt;P&gt;if year sy-datum+0(4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u try like this if other cases what our experts said is ok.&lt;/P&gt;&lt;P&gt;thanks for giving this oppourtinity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;k.sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 07:27:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860814#M1136589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T07:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Abap code for splitting date needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860815#M1136590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kanan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First use function module CONVERT_DATE_TO_INTERNAL to convert any formatted date &lt;/P&gt;&lt;P&gt;to SAP internal format DDMMYYYY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then access this data as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;day in DD = DDMMYYYY+0(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;month MM =  DDMMYYYY+3(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;year yyyy =  DDMMYYYY+5(4).&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;santosh sarda.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 10:19:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860815#M1136590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T10:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Abap code for splitting date needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860816#M1136591</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;Try this:&lt;/P&gt;&lt;P&gt;Data:C_date(8).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C_Date = Sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C_year = C_date+0(4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C_month = c_date+4(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c_day = c_date+6(2).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 18:15:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860816#M1136591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T18:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Abap code for splitting date needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860817#M1136592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kannan Jagadeesan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To break the date into year, month and date, use this code.&lt;/P&gt;&lt;P&gt;Its working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS : date TYPE sy-datum.

WRITE : / 'Date: ', date.

WRITE : / 'Year: ', date+0(4),
        / 'Month: ', date+4(2),
        / 'Date: ', date+6(2).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;Tarun Gambhir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2008 06:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860817#M1136592</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2008-12-08T06:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Abap code for splitting date needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860818#M1136593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello kannan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried writing this program , it worked for me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;PARAMETERS &lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background: white; color: #3399ff; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;10&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;TYPE c default &lt;/SPAN&gt;&lt;SPAN style="background: white; color: #4da619; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;'24.12.2014'&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;&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; dd&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background: white; color: #3399ff; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;type c&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;&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; mm&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background: white; color: #3399ff; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;type c&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt;&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; yyyy&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background: white; color: #3399ff; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;4&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;type c&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;split date at &lt;/SPAN&gt;&lt;SPAN style="background: white; color: #4da619; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;'.' &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;into &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;dd mm yyyy&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;/ &lt;/SPAN&gt;&lt;SPAN style="background: white; color: #4da619; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;'Day: '&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;dd&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;/ &lt;/SPAN&gt;&lt;SPAN style="background: white; color: #4da619; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;'Month: '&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;mm&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;/ &lt;/SPAN&gt;&lt;SPAN style="background: white; color: #4da619; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;'Year: '&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;yyyy&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; line-height: 115%; font-family: 'Courier New'; font-size: 10pt; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you feel this program suits&amp;nbsp; you try this as well.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 12:44:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-for-splitting-date-needed/m-p/4860818#M1136593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-22T12:44:13Z</dc:date>
    </item>
  </channel>
</rss>

