<?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 - date and decimals in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987518#M403148</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 u have to set ur default user setting. because i don't think its language dependant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For default user setting go to SYSTEM menu&lt;DEL&gt;&amp;gt;USER PROFILE&lt;/DEL&gt;&amp;gt;OWN DATA--&amp;gt; goto default tab...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here u maintain date and decimal format as u needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Feb 2007 22:19:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-28T22:19:59Z</dc:date>
    <item>
      <title>smartforms - date and decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987517#M403147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have copied a standard smartform and customized according to the requirements. Right now the dates and decimals are getting printed depending on the logon language(system language).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to control this meaning I should be able to print the dates and decimals in whatever format I desire. Could someone help me accomplish this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 22:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987517#M403147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T22:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms - date and decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987518#M403148</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 u have to set ur default user setting. because i don't think its language dependant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For default user setting go to SYSTEM menu&lt;DEL&gt;&amp;gt;USER PROFILE&lt;/DEL&gt;&amp;gt;OWN DATA--&amp;gt; goto default tab...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here u maintain date and decimal format as u needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 22:19:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987518#M403148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T22:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms - date and decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987519#M403149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to control this? No matter what format a user as, how to print date and decimals in our desired format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 22:26:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987519#M403149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T22:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms - date and decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987520#M403150</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 do that by just writing the desird code in the INITIALIZATION tab of the GLOBAL DEFINITON.&lt;/P&gt;&lt;P&gt;Pass the final values to the TEXT NODE where Date &amp;amp; Decimals are displayin.&lt;/P&gt;&lt;P&gt;For Variable Declarations Use GLOBAL DATA tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link for programming in smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf"&amp;gt;Smartforms&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this code in your smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF type_t_date,&lt;/P&gt;&lt;P&gt;mm(2) TYPE c,&lt;/P&gt;&lt;P&gt;filler1(1) TYPE c,&lt;/P&gt;&lt;P&gt;dd(2) TYPE c,&lt;/P&gt;&lt;P&gt;filler2(1) TYPE c,&lt;/P&gt;&lt;P&gt;yyyy(4) TYPE c,&lt;/P&gt;&lt;P&gt;END OF type_t_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: t_ddate TYPE type_t_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: c_fil TYPE c VALUE '.'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_ddate-mm = rs_sdate-mm.&lt;/P&gt;&lt;P&gt;t_ddate-dd = rs_sdate-dd.&lt;/P&gt;&lt;P&gt;t_ddate-yyyy = rs_sdate-yyyy.&lt;/P&gt;&lt;P&gt;t_ddate-filler1 = c_fil.&lt;/P&gt;&lt;P&gt;t_ddate-filler2 = c_fil.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE t_ddate-mm t_ddate-filler1 t_ddate-dd t_ddate-filler2 t_ddate-yyyy INTO rv_ddate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Amit Khare&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 22:26:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987520#M403150</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-02-28T22:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms - date and decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987521#M403151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I mean is... if a user has mm/dd/yyyy as his date setting, how can he print date in dd.mm.yyyy without changing his settings? similarly the decimals....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 22:27:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987521#M403151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T22:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms - date and decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987522#M403152</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 create a program lines before the text is displayed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in that code convert to the format you want..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Example&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;CONCATENATE sy-datum&lt;EM&gt;6(2) '.' sy-datum&lt;/EM&gt;4(2) '.' sy-datum(4) into v_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the v_date variable to print the 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;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 22:30:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987522#M403152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T22:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms - date and decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987523#M403153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it becomes impractical with lots of dates and decimals. there would be one single place to fix this.... I want to know where exactly the form looks for the user settings?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 22:34:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987523#M403153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T22:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms - date and decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987524#M403154</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;Before the printing the date, the value will be in the internal format..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is YYYYMMDD...And this always going to be same for all the users...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Before printing convert it to the format you want as I mentioned in my earlier reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I am clear..&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 22:39:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987524#M403154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T22:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms - date and decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987525#M403155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Narendran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You were crystal clear in your first reply. But I am saying is with lot of dates and decimals on a form it becomes difficult and inefficient to use the conversion code for each and every date and decimal. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead what I am trying to figure out is where exactly a smartform looks for the user settings. If we could find that place may be it would be just a one step process to fix this issue. Let me know if you have any idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Raju Boda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 22:45:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987525#M403155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T22:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms - date and decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987526#M403156</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 get the user settings from the table USR01 and field is DATFM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For decimals USR01-XUDCPFM..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this is not what you want..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 22:51:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987526#M403156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T22:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms - date and decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987527#M403157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why I want to figure this out is... there is one other standard form which is printing the dates and decimals not according to the user settings but according to the recipient(customer in NAST) settings. I dont know where exactly this standard form is looking for this......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 22:56:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987527#M403157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T22:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms - date and decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987528#M403158</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;No that is not what I am looking for. I know the table and fields to look at the user settings. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know where the smartform looks for this user settings.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 22:59:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987528#M403158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T22:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms - date and decimals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987529#M403159</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 believe the smartform is using SET COUNTRY to display the according to the customer's country..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search for SET COUNTRY..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 23:13:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-date-and-decimals/m-p/1987529#M403159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T23:13:45Z</dc:date>
    </item>
  </channel>
</rss>

