<?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: problem with data format in the screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215061#M1206161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_date = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( Here in l_date iam getting as 20090224 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_date+4(4) = '0101'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( now here after chaning i getting it as 20090101 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*write l_date to l_str_date.   &amp;lt;----comment it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( in l_str_dat iam getting it as 01/01/2009 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FRMDATE =  l_date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( here in FRMDATE it will be 01012009, without any seperator '/' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;revert back,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Feb 2009 10:58:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-24T10:58:11Z</dc:date>
    <item>
      <title>problem with data format in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215054#M1206154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam facing aproblem with date formats in for the fields on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have FRMDATE field on the screen in which i want default date as ist date of the current year ie : 01/01/2009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i have on more field TODATE in which i need last date of the current year ie : 31/12/2009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bot iam facing the data formats.&lt;/P&gt;&lt;P&gt;ie : iam getting differnr date formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   data : &lt;/P&gt;&lt;P&gt;   l_date type sy-datum,&lt;/P&gt;&lt;P&gt;   l_str_dat(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_date  = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( Here in l_date iam getting as 20090224 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; l_date+4(4) = '0101'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( now here after chaning i getting it as 20090101 )&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;write l_date to l_str_date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( in l_str_dat  iam getting it as 01/01/2009 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FRMDATE =   l_str_date .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( here in FRMDATE iamgetting it as 01/01/20  )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on screen in the field iam getting it as   FRMDATE  = 1//20/01/0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one correct it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 10:14:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215054#M1206154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T10:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: problem with data format in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215055#M1206155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why not&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
WRITE l_str_date TO FRMDATE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pushpraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 10:19:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215055#M1206155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T10:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: problem with data format in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215056#M1206156</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;the problem is with  FRMDATE data type as ithink it is 8 charcters and  eventhough you pass 01/01/2008, it is ignoring last 2 numbers i.e &lt;STRONG&gt;08&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so declare FRMDATE ascharacetr 10 and check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 10:20:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215056#M1206156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T10:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: problem with data format in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215057#M1206157</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;Instead of declaring FRMDATE parameter as sy-datum or D declare as CHAR10.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 10:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215057#M1206157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T10:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: problem with data format in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215058#M1206158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mY FRMDATE is a screen field. which is refering to database table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 10:43:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215058#M1206158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T10:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: problem with data format in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215059#M1206159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Can u provide the refrring database table anf field name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this standrd transaction or Custom one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 10:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215059#M1206159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T10:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: problem with data format in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215060#M1206160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its  same field as VBAK-ERDAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its  a custom table and for that field FRMDATE i have used the same data element as ERDAT from vbak-erdat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one correct it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 10:51:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215060#M1206160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T10:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem with data format in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215061#M1206161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_date = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( Here in l_date iam getting as 20090224 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_date+4(4) = '0101'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( now here after chaning i getting it as 20090101 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*write l_date to l_str_date.   &amp;lt;----comment it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( in l_str_dat iam getting it as 01/01/2009 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FRMDATE =  l_date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( here in FRMDATE it will be 01012009, without any seperator '/' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;revert back,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 10:58:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215061#M1206161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T10:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: problem with data format in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215062#M1206162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But what will if my users date format are differnrt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so iam facing problem der..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 11:16:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215062#M1206162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T11:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: problem with data format in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215063#M1206163</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;Instead of FRMDATE TYPE VBAK-ERDAT declare as FRMDATE TYPE CHAR10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_str_dat =  01/01/2009 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can pass  l_str_dat to  FRMDATE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBAK-ERDAT  is of type DATS and it's length is 8 and display length is 10 with seprators.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Avinash Kodarapu on Feb 24, 2009 4:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 11:20:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215063#M1206163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T11:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem with data format in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215064#M1206164</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 with this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
selection-screen begin of block B1 with frame title text-001.
selection-screen begin of line.
selection-screen position 2.
parameter:lv_frdat like sy-datum default sy-datum.
selection-screen position 25.
parameter:lv_todat(10).
selection-screen end of line.
selection-screen end of block B1.

initialization.
concatenate '31.12.' sy-datum+(4) into lv_todat.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 11:56:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215064#M1206164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T11:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: problem with data format in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215065#M1206165</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;check the below code.&lt;/P&gt;&lt;P&gt;But some more work should be done to get the user selected date in the selection screen parameter.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
parameters:FRMDATE(10) type c.

initialization.

data :
l_date type sy-datum,
l_str_date(10) type c.

l_date = sy-datum.
l_date+4(4) = '0101'.

write l_date to l_str_date.



FRMDATE = l_str_date .

write : frmdate.

at selection-screen on value-request for frmdate.

CALL FUNCTION 'F4_DATE'

          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 11:59:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215065#M1206165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T11:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem with data format in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215066#M1206166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written the follwoing code in PBO and getting the correct output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data :&lt;/P&gt;&lt;P&gt;l_date type sy-datum,&lt;/P&gt;&lt;P&gt;l_str_dat(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_date = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_date+4(4) = '0101'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write l_date to l_str_dat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vbak-erdat = l_str_dat .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with DATS format in the general attribute of screen field. Give DefLg and VisLg as 10. (Defined and Visible Length). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 12:11:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215066#M1206166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T12:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: problem with data format in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215067#M1206167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have use the same code...&lt;/P&gt;&lt;P&gt;but iam not gettingthe correct output...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Priyanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 14:43:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215067#M1206167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T14:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem with data format in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215068#M1206168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just use the move , instead of write. Yiou dont need to worry about the date fromat on the screen as SAp will take care of that automatcially based on user date format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

code :

data : 
l_date type sy-datum,
l_str_dat(10) type c.

l_date = sy-datum.

( Here in l_date iam getting as 20090224 )

l_date+4(4) = '0101'.

fromdate = i_date.

i_date+4(4) = '1231'.

todate = i_date.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 14:54:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-data-format-in-the-screen/m-p/5215068#M1206168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T14:54:41Z</dc:date>
    </item>
  </channel>
</rss>

