Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bapi function module for cat2

Former Member
0 Likes
574

Can anyone list the bapi function modules for transaction cat2 and which bapi function module to use for the time entry for each day.In which function module would the fields for time entry for each day be?

thanks n regards

1 REPLY 1
Read only

messier31
Active Contributor
0 Likes
348

Hi,

Try <b>BAPI_CATIMESHEETMGR_INSERT .</b>

<b>Functionality</b>You can use this method to insert time data recorded in external systems or applications in the SAP Time Sheet.

The following functions are supported:

1. Inserting records that generate attendances/absences and wage types for Human Resources (HR)

2. Inserting records that trigger activity allocation for Controlling (CO)

3. Inserting records that generate confirmations for Project System (PS)

4. Inserting records that generate confirmations for Plant Maintenance (PM) or Customer Service (CS)

5. Inserting records with information on external services for Materials Management (MM)

<b>Notes</b>

<b>Posting Data Records</b>

When you post records using this method, you should note that only records that do not contain errors are posted. If an error occurs during posting, none of the data - including records that do not contain errors - is posted. You should, therefore, schedule data to be posted as often as possible and include only a small number of records in each posting.

You should also note that, when posting begins, all numeric fields not in use must be set to initial, that is you must fill all characters of the relevant fields with "0".

<b>Confirmations</b>

Messages are returned in the parameter return. The parameter documentation shows the return codes and their meanings.

Enjoy SAP.

Pankaj Singh.