<?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: Cat2-Time sheet in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cat2-time-sheet/m-p/1379022#M185327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi preethi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. for this purpose,&lt;/P&gt;&lt;P&gt;   (ie. validating at the time of saving time sheet)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   use the enhancement CATS0006&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. in that there is FM&lt;/P&gt;&lt;P&gt;   EXIT_SAPLCATS_006&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. There we can issue error messages&lt;/P&gt;&lt;P&gt;   (so that it cannot be saved)&lt;/P&gt;&lt;P&gt;  thru the TABLES parameter of the FM&lt;/P&gt;&lt;P&gt;  I_MESSAGES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. &lt;/P&gt;&lt;P&gt;we again enter into the time sheet screen it should not allow to change the time entered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this, u will have to FETCH THE OLD DATA&lt;/P&gt;&lt;P&gt;using SELECT query from DATABASE TABLE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that u can compare them with the &lt;/P&gt;&lt;P&gt;ONE ALREADY SAVED,&lt;/P&gt;&lt;P&gt;and the NEW ONE, which is being entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Then depending if both are different,&lt;/P&gt;&lt;P&gt;   u can give a error message.&lt;/P&gt;&lt;P&gt;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jun 2006 08:53:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-21T08:53:08Z</dc:date>
    <item>
      <title>Cat2-Time sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cat2-time-sheet/m-p/1379021#M185326</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;           Can any one please help out how to write the user exit program and which user exit in cat2 has to be used for the following scenario:&lt;/P&gt;&lt;P&gt;           Ther requirement is that after enter into the transaction CAT2 and the data is given for the Data Entry profile and personnel number and then enter into the time sheet screen .In the time sheet screen once the time,activity types,network and activity number are entered and saved it.After that if we again enter into the time sheet screen it should not allow to change the time entered.But the standard transaction allow us to change the time.If the user makes any changes and try to save it ,it should show the error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 08:27:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cat2-time-sheet/m-p/1379021#M185326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T08:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cat2-Time sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cat2-time-sheet/m-p/1379022#M185327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi preethi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. for this purpose,&lt;/P&gt;&lt;P&gt;   (ie. validating at the time of saving time sheet)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   use the enhancement CATS0006&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. in that there is FM&lt;/P&gt;&lt;P&gt;   EXIT_SAPLCATS_006&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. There we can issue error messages&lt;/P&gt;&lt;P&gt;   (so that it cannot be saved)&lt;/P&gt;&lt;P&gt;  thru the TABLES parameter of the FM&lt;/P&gt;&lt;P&gt;  I_MESSAGES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. &lt;/P&gt;&lt;P&gt;we again enter into the time sheet screen it should not allow to change the time entered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this, u will have to FETCH THE OLD DATA&lt;/P&gt;&lt;P&gt;using SELECT query from DATABASE TABLE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that u can compare them with the &lt;/P&gt;&lt;P&gt;ONE ALREADY SAVED,&lt;/P&gt;&lt;P&gt;and the NEW ONE, which is being entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Then depending if both are different,&lt;/P&gt;&lt;P&gt;   u can give a error message.&lt;/P&gt;&lt;P&gt;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 08:53:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cat2-time-sheet/m-p/1379022#M185327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T08:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cat2-Time sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cat2-time-sheet/m-p/1379023#M185328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        I will follow the way that u had given .Thank you very much.Its really a very helpful answer.If you can give me more details kindly give me and send me if u have any documents related to user exit program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 09:34:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cat2-time-sheet/m-p/1379023#M185328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T09:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cat2-Time sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cat2-time-sheet/m-p/1379024#M185329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. regarding this exit,&lt;/P&gt;&lt;P&gt;   this is the only way where u can&lt;/P&gt;&lt;P&gt;   do validations and give error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. for documentation, u can just read the &lt;/P&gt;&lt;P&gt;   documentation of this user exit , in SMOD.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 09:44:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cat2-time-sheet/m-p/1379024#M185329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T09:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cat2-Time sheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cat2-time-sheet/m-p/1379025#M185330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       For the same time sheet requirement.The user has given five activity types ,for those five only it should not allow user to change the time.so they asked to create table in which i have to add the three activity types(becoz in future there might be a case to add more activity types).Can you tell me how proceed with the above scenario.And also in the previous mail u have mentioned that in the point no:4. &lt;/P&gt;&lt;P&gt;(we again enter into the time sheet screen it should not allow to change the time entered)&lt;/P&gt;&lt;P&gt;For this, u will have to FETCH THE OLD DATA&lt;/P&gt;&lt;P&gt;using SELECT query from DATABASE TABLE,&lt;/P&gt;&lt;P&gt;so that u can compare them with the &lt;/P&gt;&lt;P&gt;ONE ALREADY SAVED,&lt;/P&gt;&lt;P&gt;and the NEW ONE, which is being entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you pls tell me how to write the code for comparing the fetched data and the current data i.e time changed in the time sheet.If it possible can you pls write sample code ?and send the same to me.It would be really helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Preethi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 07:05:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cat2-time-sheet/m-p/1379025#M185330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T07:05:56Z</dc:date>
    </item>
  </channel>
</rss>

