<?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 Function module (Reports) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reports/m-p/1415631#M199980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am facing a prob. I made a report program defining a internal table with object id, objectname , language ,date LIKE thead-tdldate,&lt;/P&gt;&lt;P&gt;         Time LIKE thead-tdltime,&lt;/P&gt;&lt;P&gt;         User LIKE thead-tdfuser,&lt;/P&gt;&lt;P&gt;         Version LIKE thead-tdversion,like thead table and&lt;/P&gt;&lt;P&gt;a header LIKE thead.&lt;/P&gt;&lt;P&gt;and t_line like tline with heder line occurs 0.&lt;/P&gt;&lt;P&gt;i made a object, object id, and structure using se75 transaction.&lt;/P&gt;&lt;P&gt;and call READ_TEXT_INLINE function module and pass all value than i call EDIT_TEXT_INLINE function module ,I pass inline_count = 1 and inlines = t_line1 which is like tline table .&lt;/P&gt;&lt;P&gt; I want that ,when  save my change on sap script ,that previous should be  commented with change time and date .Which function module I have to use it?&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;Ankur Garg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jul 2006 06:37:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-06T06:37:52Z</dc:date>
    <item>
      <title>Function module (Reports)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reports/m-p/1415631#M199980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am facing a prob. I made a report program defining a internal table with object id, objectname , language ,date LIKE thead-tdldate,&lt;/P&gt;&lt;P&gt;         Time LIKE thead-tdltime,&lt;/P&gt;&lt;P&gt;         User LIKE thead-tdfuser,&lt;/P&gt;&lt;P&gt;         Version LIKE thead-tdversion,like thead table and&lt;/P&gt;&lt;P&gt;a header LIKE thead.&lt;/P&gt;&lt;P&gt;and t_line like tline with heder line occurs 0.&lt;/P&gt;&lt;P&gt;i made a object, object id, and structure using se75 transaction.&lt;/P&gt;&lt;P&gt;and call READ_TEXT_INLINE function module and pass all value than i call EDIT_TEXT_INLINE function module ,I pass inline_count = 1 and inlines = t_line1 which is like tline table .&lt;/P&gt;&lt;P&gt; I want that ,when  save my change on sap script ,that previous should be  commented with change time and date .Which function module I have to use it?&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;Ankur Garg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 06:37:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reports/m-p/1415631#M199980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-06T06:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Function module (Reports)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reports/m-p/1415632#M199981</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 try one of these two options to see if it gives you what you need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;Option 1:&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;When you call EDIT_TEXT_INLINE, first move the sy-datum and sy-uzeit values to thead-tdldate and thead-tdltime respectively.  Then pass the text header to the EDIT_TEXT_INLINE importing parameter HEADER.  Then when the SAVE_TEXT function is called by EDIT_TEXT_INLINE, the date and time will be passed to SAVE_TEXT via its HEADER parameter.  Note that the date and time will not be the most current at the time of saving if you use this option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;Option 2:&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;When you call EDIT_TEXT_INLINE, pass SPACE to the parameter SAVE (notice that the default value is 'X', so simply leaving off the SAVE parameter will &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; work for this option). This will tell EDIT_TEXT_INLINE to skip its own call of SAVE_TEXT, leaving the task to your program instead.  If there are no errors after your call of EDIT_TEXT_INLINE, then you simply move the current date and time as described in Option 1 above and call SAVE_TEXT in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: You may also want to consider populating the THEAD-TDFUSER with the user-id (sy-uname) so that the last changed by user will also be saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know how (and if) either Option works and which one you decide to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck,&lt;/P&gt;&lt;P&gt;James Gaddis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 21:07:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reports/m-p/1415632#M199981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-11T21:07:46Z</dc:date>
    </item>
  </channel>
</rss>

