<?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: load system date into an internal table ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371875#M1733193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose your internal table is lt_dso and work area as wa_dso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to populate system date to your date field of internal table refer the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at lt_dso into wa_dso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_dso-date = sy-datum.&lt;/P&gt;&lt;P&gt;modify lt_dso from wa_dso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Apr 2013 09:48:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-04-09T09:48:38Z</dc:date>
    <item>
      <title>load system date into an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371869#M1733187</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 want to load sytem date to all the entries into to that DSO when ever the data gets loaded to it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest me how to load the sydatum to the internal table ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example the internal table is tablea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;update zdate in intable where zdate =system date. ( i dont know abap) &amp;gt;pleae suggest. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 08:52:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371869#M1733187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-09T08:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: load system date into an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371870#M1733188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use zdate = sy-datum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 08:54:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371870#M1733188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-09T08:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: load system date into an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371871#M1733189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;update statement cannot be used for Internal Table in ABAP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you use the following code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;modify&lt;/STRONG&gt; itab&lt;STRONG&gt; from&lt;/STRONG&gt; wa&lt;STRONG&gt; transporting&lt;/STRONG&gt; zdate &lt;STRONG&gt;where&lt;/STRONG&gt; zdate = sy-datum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 08:57:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371871#M1733189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-09T08:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: load system date into an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371872#M1733190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your routine, u can try the following. u should be able to proceed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : w_date type sy-datum.&lt;/P&gt;&lt;P&gt;w_date = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify tablea from wa_tablea transporting zdate where zdate = w_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" wa_tablea -&amp;gt; work area for the internal table - tablea. &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;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 09:14:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371872#M1733190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-09T09:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: load system date into an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371873#M1733191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check &lt;SPAN class="h1"&gt;&lt;A href="http://help.sap.com/abapdocu_731/en/abapmodify_itab.htm"&gt;MODIFY itab&lt;/A&gt; statement documentation first like in&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;l_s_datapak_line-xxxxx = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h1"&gt;MODIFY datapak FROM&amp;nbsp; &lt;/SPAN&gt;l_s_datapak_line TRANSPORTING xxxxx WHERE xxxxx NE sy-datum.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="h1"&gt;(Basic question - &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;"&gt;Read the&lt;/SPAN&gt; &lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-19331"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #3778c7; background-color: white;"&gt;Rules of Engagement.&lt;/SPAN&gt;&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h1"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h1"&gt;Raymond&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 09:22:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371873#M1733191</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-04-09T09:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: load system date into an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371874#M1733192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say your internal table name is TABLEA.&lt;/P&gt;&lt;P&gt;Also your internal table contains a date field say DATE1 which is of type SY-DATUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use below logic to load the SY-DATUM value to DATE1 field of all records of the internal table TABLEA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case-1: If your internal table TABLEA is with header line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT TABLEA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLEA-DATE1 = SY-DATUM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODIFY TABLEA TRANSPORTING DATE1.&lt;/P&gt;&lt;P&gt;CLEAR TABLEA.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case-2:&amp;nbsp; &lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;if the TABLEA internal table is with out header line, then declare a workarea X_TABLEA of type TABLEA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use the below logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT TABLEA INTO X_TABLEA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X_TABLEA-DATE1 = SY-DATUM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODIFY TABLEA FROM X_TABLEA TRANSPORTING DATE1.&lt;/P&gt;&lt;P&gt;CLEAR X_TABLEA.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Venugopal M N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 09:27:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371874#M1733192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-09T09:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: load system date into an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371875#M1733193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose your internal table is lt_dso and work area as wa_dso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to populate system date to your date field of internal table refer the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at lt_dso into wa_dso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_dso-date = sy-datum.&lt;/P&gt;&lt;P&gt;modify lt_dso from wa_dso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 09:48:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371875#M1733193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-09T09:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: load system date into an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371876#M1733194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the update. Can i write this code in the expert routine of the transformation ? Do you have idea about the SAP BI Transformation ? After every data load, I want to upload all the values of the DSO with the current day's system date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So...if the dso name is DSOA....Can I write this below code in the expert routine of the DSO, if you are not aware, expert routine is executed at the end of the DSO loading. ...or Can I write this in the start routine of the DSO ? I think start routine is fine as anyway we dont change this zdate field anywhere .....did you get my query ? Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_DSOA will be the internal active table of the DSO....is it /bic/adsoa00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at /bic/adsoa00 into wa_dso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_dso-date = sy-datum.&lt;/P&gt;&lt;P&gt;modify /bic/adsoa00 from wa_dso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;DR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 10:09:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371876#M1733194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-09T10:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: load system date into an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371877#M1733195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually i don't have much knowledge on BI but&amp;nbsp; i discussed your issue with one of my BI colleague and got some input for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per our discussion, he told that code should be written in Start Routine since the field ZDATE will be in the internal table SOURCE_PACKAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;SOURCE_PACKAGE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;type &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;_ty_t_SC_1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;WA type &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;_ty_s_SC_1&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;loop at &lt;SPAN style="color: #000000; font-family: 'Courier New'; background-color: #ffffff;"&gt;SOURCE_PACKAGE&lt;/SPAN&gt; into wa.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;wa-zdate = sy-datum.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;modify source_package from wa.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;endloop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 10:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371877#M1733195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-09T10:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: load system date into an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371878#M1733196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much. I appreciate your help. I understand your point, but here my case is different, if we put it in the source_package, only that load will get the date as the system date. But here our case is different, let me explain....we have a field called last loaded date in the report and we are using a zfield in the infocube to get this value which is populated with the system date. ....if we use this we cannot get the correct loaded date for all the previous delta records......so i want to load all the values in the infocube with the current system date for which we can get that value which ever record we pick from the infocube. For that I should take the internal tabl of the infocube and should load all the records of it with that day's system date so that I can get the loaded date which ever record I access. Hope I dint confuse you &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1353/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;DR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 11:00:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371878#M1733196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-09T11:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: load system date into an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371879#M1733197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are u uploading full upload or delta upload?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are doing full upload change the code which i given in the end routine. &lt;/P&gt;&lt;P&gt;Replace source_package with Result_Package as shown below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;loop at Result&lt;SPAN style="font-style: inherit;"&gt;_PACKAGE&lt;/SPAN&gt; into wa.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;wa-zdate = sy-datum.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;modify &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; background-color: #ffffff;"&gt;Result&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit;"&gt;_PACKAGE &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt; font-style: inherit;"&gt;from wa.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;endloop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete the entire data from the Infocube.&lt;/P&gt;&lt;P&gt;Reload the data from DSO to cube so that every record zdate will be replaced with system date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incase of delta uplaod, we can't make changes for the previous data in Infocube.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 11:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371879#M1733197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-09T11:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: load system date into an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371880#M1733198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Venkat. Its a daily delta load, full load would have resolved my issue. Now my options, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) daily delete and reload infocube.&lt;/P&gt;&lt;P&gt;2) do a self loop on the infocube, and change only that date. ...in the transformation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try these and will update you tmrw. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks agian bro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;DR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 11:57:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371880#M1733198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-09T11:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: load system date into an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371881#M1733199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem, I have tried that but all the records are getting doubled, as the Infocube does not have an overwrite option. I am getting all the result with as a 2nd set with the system date (loaded date). In that case, is there any other option other than deleting the records before loading to the same cube. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You got me ? For example if the sales is 50,000 $ for 9/4/2013. After doing the self load, i got today's system date for all the data but the report is showing 50,000 $ for 9/4/2013 and 50,000 for 10/4/2013. I cannot delete the data from the existing cube as in production we will be having huge volume of sales into it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we add a ZKF with date option and replace all the value's in the infocube for that date KF, through a routine in the start routine or end routine. Will that work ? Please suggest. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written the code in the start routine by adding a zdate key figure to the test cube. But I am unable to get the values and its throwing an error. Can u pls review my code. I appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' TESTcube --&amp;gt; is the infocube name, where i have added the keyfigure as date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declaration: this is the factable name of the infocube.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;data &lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;itab1 &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;of &lt;/SPAN&gt;/BIC/FTESTCUBE&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa1 &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;/BIC/FTESTCUBE&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; itab1[] &lt;SPAN class="L0S55"&gt;= /BIC/FTESTCUBE[]&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;loop &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;at &lt;/SPAN&gt;itab1 &lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;wa1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa1&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;/BIC/ZKF_DATE &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;datum&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;modify &lt;/SPAN&gt;/BIC/FTESTCUBE &lt;SPAN class="L0S52"&gt;from &lt;/SPAN&gt;wa1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&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;DR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 03:01:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371881#M1733199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-10T03:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: load system date into an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371882#M1733200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we should not use /bic/ftestcube as a internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write the code in End Routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, i will update the reply with code shortly..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 06:43:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371882#M1733200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-10T06:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: load system date into an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371883#M1733201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide the code to use it in the end routine. And also, I have another doubt, can we use last value property for this zdate so that it will always display the last loaded date in this field. Can we use this property in the bex ? For this to enable, should we load the sy-datum in the kf or char ? Please suggest your views on this option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;DR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 13:13:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-system-date-into-an-internal-table/m-p/9371883#M1733201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-10T13:13:57Z</dc:date>
    </item>
  </channel>
</rss>

