<?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: SmartForms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/4170748#M997158</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We need to make sure that all dates are printed in the format DD-MMM-YYYY where MMM is a description (ie Jan, Feb, Mar, etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the SET DATE MASK In order to get this done.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;/: SET DATE MASK = 'DD- MMM-YYYY' &lt;/P&gt;&lt;P&gt;&amp;amp;DATE&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the abbreviated and full forms of the names of the months are stored in the language dependent TTDTG table under the following keys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u2022 %%SAPSCRIPT_MMM_mm: abbreviated month name &lt;/P&gt;&lt;P&gt;This gives month in MMM format u2013 example u2013 JUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2008 12:42:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-23T12:42:11Z</dc:date>
    <item>
      <title>SmartForms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/4170743#M997153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can we change the format of the date from mm/dd/yyyy to dd-mmm-yyyy in SmartForms?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 07:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/4170743#M997153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T07:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/4170744#M997154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;create a program line where ur passging the date ,and use concatenate statement and display....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 07:16:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/4170744#M997154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T07:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/4170745#M997155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mayank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write the code fo this one in the Flow logic --&amp;gt; program lines, In the Program line, just write this lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say your date field id G_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: L_date type sy-datum.&lt;/P&gt;&lt;P&gt;Data: C_date(10) type C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move G_Date to L_Date.&lt;/P&gt;&lt;P&gt;Write L_date to C_Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, here the C_Date field will have the user format date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nikunj shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 07:18:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/4170745#M997155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T07:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/4170746#M997156</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;&lt;/P&gt;&lt;P&gt;data: v_date(10) TYPE c,     '' declared by global&lt;/P&gt;&lt;P&gt;          l_date(10) TYPE c,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_FINAL-DATE = 07/17/2008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write below code in program logic&lt;/P&gt;&lt;P&gt;move I_FINAL-DATE TO  v_date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate v_date&lt;EM&gt;3(2) '-' v_date&lt;/EM&gt;0(2) '-' v_date+6(4) INTO l_date.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in text elements write &amp;amp;l_date&amp;amp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if help ful reward points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 07:38:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/4170746#M997156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T07:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/4170747#M997157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;for this i ve a code snippet which will help u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_wa_month TYPE ty_month.&lt;/P&gt;&lt;P&gt;v_creation_date = sy-datum+4(2).&lt;/P&gt;&lt;P&gt;IF v_creation_date IS  NOT INITIAL.&lt;/P&gt;&lt;P&gt;*Read internal table it_month for the month in numeric form to the month&lt;/P&gt;&lt;P&gt;*in text form&lt;/P&gt;&lt;P&gt;  READ  TABLE it_month INTO l_wa_month WITH KEY&lt;/P&gt;&lt;P&gt;                                       mnr = v_creation_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    CLEAR v_creation_date.&lt;/P&gt;&lt;P&gt;    CONCATENATE  sy-datum+6(2)&lt;/P&gt;&lt;P&gt;                  l_wa_month-ltx&lt;/P&gt;&lt;P&gt;                 INTO v_creation_date&lt;/P&gt;&lt;P&gt;                 SEPARATED BY v_slash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CONDENSE v_creation_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CONCATENATE  v_creation_date&lt;/P&gt;&lt;P&gt;                 v_slash&lt;/P&gt;&lt;P&gt;                 INTO v_creation_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONCATENATE  v_creation_date&lt;/P&gt;&lt;P&gt;                sy-datum(4)&lt;/P&gt;&lt;P&gt;                INTO v_creation_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CONDENSE v_creation_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;palak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 08:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/4170747#M997157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T08:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/4170748#M997158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We need to make sure that all dates are printed in the format DD-MMM-YYYY where MMM is a description (ie Jan, Feb, Mar, etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the SET DATE MASK In order to get this done.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;/: SET DATE MASK = 'DD- MMM-YYYY' &lt;/P&gt;&lt;P&gt;&amp;amp;DATE&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the abbreviated and full forms of the names of the months are stored in the language dependent TTDTG table under the following keys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u2022 %%SAPSCRIPT_MMM_mm: abbreviated month name &lt;/P&gt;&lt;P&gt;This gives month in MMM format u2013 example u2013 JUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 12:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/4170748#M997158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T12:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/4170749#M997159</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;Please note that SDN has a well structured list of different forums. Always use the forum best matching to your question. Here you are in the ABAP general forum. This forum's topic are questions regarding ABAP that are not subject of one of the other more specialized forums. As your posting is not in the proper forum this thread will be locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jan Stallkamp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 17:34:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/4170749#M997159</guid>
      <dc:creator>JanStallkamp</dc:creator>
      <dc:date>2008-07-23T17:34:30Z</dc:date>
    </item>
  </channel>
</rss>

