<?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: Time? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/time/m-p/4009144#M957791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sali Andreji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got small problems with FM BAPI_ISUPROFILE_GET while reading Daily Profile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found that the profile must be older than 3 month otherwise got error of time frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is anyone has idea how to fix or Customizing this issue please reply &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. Landsmann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jun 2010 18:31:09 GMT</pubDate>
    <dc:creator>former_member431357</dc:creator>
    <dc:date>2010-06-30T18:31:09Z</dc:date>
    <item>
      <title>Time?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time/m-p/4009138#M957785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I need to extract 1 hour from:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;timefrom            =  &lt;STRONG&gt;ls_prof_head-day_offset&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 11:18:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time/m-p/4009138#M957785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T11:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Time?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time/m-p/4009139#M957786</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;what is timefrom??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to extract one hour from time then you can take time in one variable of type c.&lt;/P&gt;&lt;P&gt;use offset to get an hour from that variable &amp;amp; store in one variable of type i..&lt;/P&gt;&lt;P&gt;then subtract 1 from that variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_time type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hour type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hour = t_time+2(6).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hour = hour - 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_time+2(6) = hour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful.&lt;/P&gt;&lt;P&gt;thx.&lt;/P&gt;&lt;P&gt;twinkal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 11:28:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time/m-p/4009139#M957786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T11:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Time?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time/m-p/4009140#M957787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: mytime    like sy-UZEIT.

mytime = sy-UZEIT.
mytime = mytime + 3600.  "&amp;lt;== # of seconds in an hour
write: mytime, sy-UZEIT.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Paul Chapman on Jun 9, 2008 7:31 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 11:31:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time/m-p/4009140#M957787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T11:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Time?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time/m-p/4009141#M957788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrei Algaier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the FM CATT_ADD_TO_TIME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass 1.00- in the parameter STDAZ its for hours need to be substracted...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note Don't forget to keep minus sign in STDAZ parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also try out...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START_TIME_DETERMINE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBTRACT_TIME_FROM_DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will solve your problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if useful..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 11:35:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time/m-p/4009141#M957788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T11:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Time?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time/m-p/4009142#M957789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! But i have such structure:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CALL FUNCTION 'BAPI_ISUPROFILE_GET'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;EXPORTING&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;profile             = ls_config_data-profile&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;datefrom            = imp_prof_val-value_date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;timefrom            = ls_prof_head-day_offset&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;dateto              = lv_dateto&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;timeto              = ls_prof_head-day_offset&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;timezone            = ls_prof_head-time_zone&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;    STATUSUPDATE        = 'X'*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;    &lt;STRONG&gt;TABLES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;profilevalues       =   lt_get_values&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;      profilevalues       = lt_val_data*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;       &lt;STRONG&gt;return              =  lt_get_return .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In this BAPI there are timefrom and timeto. They have to be 1 hour extracted, and shown in the table &lt;STRONG&gt;lt_get_values&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How can I do it?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 13:00:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time/m-p/4009142#M957789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T13:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Time?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time/m-p/4009143#M957790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the code below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : l_tstamp         TYPE timestamp,
       l_tstamp_out TYPE timestamp.
					
 GET TIME STAMP FIELD l_tstamp.
TRY.
  CALL METHOD cl_abap_tstmp=&amp;gt;add
     EXPORTING
        tstmp = l_tstamp
        secs = 3600 &amp;lt;&amp;lt;&amp;lt;===--- 1 hour = 3600 seconds
     RECEIVING
                r_tstmp = l_tstamp_out.
  CATCH cx_parameter_invalid_range .
                WRITE 'invalid range'.
                EXIT.
  CATCH cx_parameter_invalid_type .
                WRITE 'invalid type'.
                EXIT.
ENDTRY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kannaiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 13:05:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time/m-p/4009143#M957790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T13:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Time?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time/m-p/4009144#M957791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sali Andreji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got small problems with FM BAPI_ISUPROFILE_GET while reading Daily Profile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found that the profile must be older than 3 month otherwise got error of time frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is anyone has idea how to fix or Customizing this issue please reply &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. Landsmann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 18:31:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time/m-p/4009144#M957791</guid>
      <dc:creator>former_member431357</dc:creator>
      <dc:date>2010-06-30T18:31:09Z</dc:date>
    </item>
  </channel>
</rss>

