<?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: Regarding the date format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824611#M1129004</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;Just declare a string variable which stores the batch number. Declare 3 more variable to store all other information. And then concatenate all variables to get a unique batch number.&lt;/P&gt;&lt;P&gt;Implement this logic. Hope this will be helpful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2008 12:16:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-02T12:16:27Z</dc:date>
    <item>
      <title>Regarding the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824609#M1129002</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;My requirement is:&lt;/P&gt;&lt;P&gt;We have to generate a batch number in such a way that&lt;/P&gt;&lt;P&gt;the first character should be the last digit of the current date&lt;/P&gt;&lt;P&gt;the second character should be the month identifier(1-9 from Jan to sept and for the rest Oct-A Nov-B and Dec-C)&lt;/P&gt;&lt;P&gt;the third character should be the day identifier(for dates 1-9,its 1,2..9 and for the rest consecutive dates starting frm a,b,...v)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me how to achive this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 12:03:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824609#M1129002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T12:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824610#M1129003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You can use SPLIT or OFFSET key words to get what you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for further info go through the KEY word documentaion where examples are provided&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ramchander Rao.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 12:13:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824610#M1129003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T12:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824611#M1129004</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;Just declare a string variable which stores the batch number. Declare 3 more variable to store all other information. And then concatenate all variables to get a unique batch number.&lt;/P&gt;&lt;P&gt;Implement this logic. Hope this will be helpful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 12:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824611#M1129004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T12:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824612#M1129005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;   U can do this by using Character String Operations on DATE and based on value use IFELSE control statement.&lt;/P&gt;&lt;P&gt;   like ur DATE is 20081202 then &lt;/P&gt;&lt;P&gt;                      if date+6(2) = 01.&lt;/P&gt;&lt;P&gt;                        c3 = 1.&lt;/P&gt;&lt;P&gt;                      elseif date+6(2) = 02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                      endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this is simple way , u can find some more optamize way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 12:18:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824612#M1129005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T12:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824613#M1129006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is okay...but i want to know the logic how to increment the numbers and continue with the alphabets progressing...Since for the days, we need to go on from A to V, how to implement that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Aish S on Dec 2, 2008 1:21 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 12:19:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824613#M1129006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T12:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824614#M1129007</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;PRE&gt;&lt;CODE&gt;Just use case statement for that.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 12:25:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824614#M1129007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T12:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824615#M1129008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If we use the case statement, for the dates from 10 to 31st, case statemnt would be very lengthy.Is there any other possible way for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 12:45:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824615#M1129008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T12:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824616#M1129009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
pointer type i.
if day LE 9.
  third_character = day.
else.
  pointer = day - 10.
  third_character = SY-ABCDE+pointer(1).
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 12:59:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824616#M1129009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T12:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824617#M1129010</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;I think you will have to go for case only. No other go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 12:59:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824617#M1129010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T12:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824618#M1129011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Maroz....it has worked perfectly....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 04:39:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-date-format/m-p/4824618#M1129011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T04:39:20Z</dc:date>
    </item>
  </channel>
</rss>

