<?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: current time in module pool programming in text field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022432#M1168579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;Pass the current time into tht variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_time  = sy-uziet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Jan 2009 06:24:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-03T06:24:27Z</dc:date>
    <item>
      <title>current time in module pool programming in text field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022431#M1168578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In module pool programming ther is a input output field for time i want the current system time should be displayed in that field and when user press saves tht time should get saved in the database tables.&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;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 06:02:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022431#M1168578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-03T06:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: current time in module pool programming in text field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022432#M1168579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;Pass the current time into tht variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_time  = sy-uziet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 06:24:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022432#M1168579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-03T06:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: current time in module pool programming in text field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022433#M1168580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, sunny,&lt;/P&gt;&lt;P&gt;If I understand your question correctly than I think that the following code will help you, you will have to write this code in the called program means where you are calling your screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: tf_rec_no(10). u201Ctf_rec_nou201D is the field name on your screen

initialization.
write: sy-uzeit to tf_rec_no.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this you can update db using this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replay if any problem or you have some different query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Faisal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 07:01:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022433#M1168580</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-01-03T07:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: current time in module pool programming in text field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022434#M1168581</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;First you you pass the value of systm field SY-UZEIT  to your i/o field and then you create one button and and assign OK_CODE type sy-ucomm to that . SO after entering the data and after pressing button the data will save to  data base.&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;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 08:52:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022434#M1168581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-03T08:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: current time in module pool programming in text field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022435#M1168582</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;Declare a variable in TOPinclude of type sy-uzeit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: Times TYPE sy-useit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Times = sy-uzeit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO simply assign the value of the 'Times'  to the i/o text fiels&lt;/P&gt;&lt;P&gt;textfield-field = Times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI on the press of some button that adds the data in the table Simply assign the value of this text field to the table field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table-field = text-field.&lt;/P&gt;&lt;P&gt;modify Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Text field and the Table field name should be same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 09:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022435#M1168582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T09:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: current time in module pool programming in text field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022436#M1168583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create an input box on the screen, say txttime and then in the PBO of the flow logic assign the value of sy-uzeit in the module under PBO.&lt;/P&gt;&lt;P&gt;Process Before Output.&lt;/P&gt;&lt;P&gt;module display output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in se38 under the module display.&lt;/P&gt;&lt;P&gt;module display output.&lt;/P&gt;&lt;P&gt;txttime = sy-uzeit.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in PAi upon clicking a button you can save the contents on the screen into your database table (directly or via internal table).&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>Mon, 05 Jan 2009 10:54:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022436#M1168583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T10:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: current time in module pool programming in text field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022437#M1168584</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;In screen layout you can create one input field and name it i.e. ztime.  In Attribute-&amp;gt;Dict-&amp;gt;Format select TIMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO write the code like this:&lt;/P&gt;&lt;P&gt;data: ztime type t.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ztime = sy-uzeit.&lt;/P&gt;&lt;P&gt;It display the current system time.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 10:55:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022437#M1168584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T10:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: current time in module pool programming in text field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022438#M1168585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2009 06:39:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/current-time-in-module-pool-programming-in-text-field/m-p/5022438#M1168585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-27T06:39:59Z</dc:date>
    </item>
  </channel>
</rss>

