<?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 About BAPI_CATIMESHEETMGR_INSERT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-bapi-catimesheetmgr-insert/m-p/6606233#M1438145</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;&lt;/P&gt;&lt;P&gt;I am working on Timesheet update program in which we have used the BAPI_CATIMESHEETMGR_INSERT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our system, the timesheet hours have been booked in the non-SAP system. We have a program in non-SAP, which will dump the desired data in an ABAP internal table. SO this internal table will have the approved hours. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence the following code has been used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BAPI_CATIMESHEETMGR_INSERT'
       EXPORTING
         PROFILE               = PROFILE
         TESTRUN               = TESTRUN
*   RELEASE_DATA          =
*   AGENT                 =
*   TEXT_FORMAT_IMP       = 'ITF'
        TABLES
          CATSRECORDS_IN        = IT_BAPICATS1
          CATSRECORDS_OUT       = IT_BAPICATS2
          RETURN                = IT_RETURN
*   LONGTEXT              =
                .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field PROFILE has the hard coded value as 'HR-ONLY'.&lt;/P&gt;&lt;P&gt;Can any one tell me the relevence of this parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing.. After running this BAPI, the hours willl be saved in CATSDB table with status as 30, which means Approved  Hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is a requirement of saving the Rejected Hours (at non-SAP) into CATSDB table, how to proceed?&lt;/P&gt;&lt;P&gt;How exactly we have to save the non-approved hours into CATSDB table..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help will be apprciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pavan Sanganal on Feb 5, 2010 3:05 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pavan Sanganal on Feb 9, 2010 5:13 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Feb 2010 09:35:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-05T09:35:21Z</dc:date>
    <item>
      <title>About BAPI_CATIMESHEETMGR_INSERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-bapi-catimesheetmgr-insert/m-p/6606233#M1438145</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;&lt;/P&gt;&lt;P&gt;I am working on Timesheet update program in which we have used the BAPI_CATIMESHEETMGR_INSERT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our system, the timesheet hours have been booked in the non-SAP system. We have a program in non-SAP, which will dump the desired data in an ABAP internal table. SO this internal table will have the approved hours. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence the following code has been used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BAPI_CATIMESHEETMGR_INSERT'
       EXPORTING
         PROFILE               = PROFILE
         TESTRUN               = TESTRUN
*   RELEASE_DATA          =
*   AGENT                 =
*   TEXT_FORMAT_IMP       = 'ITF'
        TABLES
          CATSRECORDS_IN        = IT_BAPICATS1
          CATSRECORDS_OUT       = IT_BAPICATS2
          RETURN                = IT_RETURN
*   LONGTEXT              =
                .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field PROFILE has the hard coded value as 'HR-ONLY'.&lt;/P&gt;&lt;P&gt;Can any one tell me the relevence of this parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing.. After running this BAPI, the hours willl be saved in CATSDB table with status as 30, which means Approved  Hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is a requirement of saving the Rejected Hours (at non-SAP) into CATSDB table, how to proceed?&lt;/P&gt;&lt;P&gt;How exactly we have to save the non-approved hours into CATSDB table..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help will be apprciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pavan Sanganal on Feb 5, 2010 3:05 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pavan Sanganal on Feb 9, 2010 5:13 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 09:35:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-bapi-catimesheetmgr-insert/m-p/6606233#M1438145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-05T09:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: About BAPI_CATIMESHEETMGR_INSERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-bapi-catimesheetmgr-insert/m-p/6606234#M1438146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at transaction CAT2 to understand the purpose of data entry profile, also read [Customizing Settings for Data Entry Profiles|http://help.sap.com/saphelp_46c/helpdata/en/64/4003ba470211d189720000e8322d00/frameset.htm], the profile will have information on the data entry process, in peculiar the approval procedure for the recorded data. (You may also require to fill parameter RELEASE_DATA in the BAPI call)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 14:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-bapi-catimesheetmgr-insert/m-p/6606234#M1438146</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-02-09T14:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: About BAPI_CATIMESHEETMGR_INSERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-bapi-catimesheetmgr-insert/m-p/6606235#M1438147</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;&lt;/P&gt;&lt;P&gt;I am using BAPI_CATIMESHEETMGR_INSERT to update CATSDB table. With this BAPI, i am uploading Approved hours to the SAP database. Even though i dont specify anywhere in the BAPI, that these hours are approved, the table is getting stored with Approved status (60) after the execution of this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our business scenario, the timesheet approval/rejection take place in non-SAP system. &lt;/P&gt;&lt;P&gt;Now the requirement is to upload even Rejected hours into SAP database.&lt;/P&gt;&lt;P&gt;How to upload Rejected hours into CATSDB table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameters that i have used in this BAPI has been mentioned in the above thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 07:43:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-bapi-catimesheetmgr-insert/m-p/6606235#M1438147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-05T07:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: About BAPI_CATIMESHEETMGR_INSERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-bapi-catimesheetmgr-insert/m-p/6606236#M1438148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use an entry profile without "Release on saving" flag set, also dont fill the RELEASE_DATA parameter of course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To reject automatically those record (i never do that) you may try CATS_APPROVAL, fill with the CATSDB records to reject (set SATTUS = 40) - but this is a not-released FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 08:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-bapi-catimesheetmgr-insert/m-p/6606236#M1438148</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-03-05T08:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: About BAPI_CATIMESHEETMGR_INSERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-bapi-catimesheetmgr-insert/m-p/6606237#M1438149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you get the answer how to upload the reject hours into CATSDB table using BAPI_CATIMESHEETMGR_INSERT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Requirement is I want to see the rejection time sheet record in CATSDB table when we try to insert using&amp;nbsp; BAPI_CATIMESHEETMGR_INSERT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 13:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-bapi-catimesheetmgr-insert/m-p/6606237#M1438149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-10T13:14:23Z</dc:date>
    </item>
  </channel>
</rss>

