The purpose of this section is to familiarize with the technical process in the Time Sheet.
1. All recorded time sheet data is stored in the database table for the Time Sheet, CATSDB.
2. The system automatically writes time sheet data that has the status 30 or 60 to the relevant interface
tables.
- Human Resources (PTEX2000 and PTX2010)
- Controlling (CATSCO)
- Plan Maintenance/Customer Service (CATSPM)
- Project System (CATSPS)
- Materials Management (CATSMM)
The system determines which data belongs in which interface tables based on the working time
attributes entered for the record.
3. When the data transfer report is executed, the data is transferred from the interface tables to the
corresponding target components.
Data is transferred to the from the interface tables to the following tables fro the target components:
Human Resources: PA2001 (Absence Infotype); PA2002 (Attendance infotypes); PA2010 (EE
Remuneration Infotype).
Controlling: COBK (CO object: Document Header)
Plan maintenance/Customer Service: AFRU (Order Completion Confirmations)
Materials Management (Lines of Service Package)
Each of these tables contains a Key, which correspond to the BELNR (document number) field in
CATSDB. The system uses this key to form a link with the record in CATDB. The keys have the following
names in tables:
PA2001, PA2002, PA2010 --> AWREF
COBK --> REFBN
AFRU --> CATSBELNR
ESLL --> BELNR
Overview
Exploring different sections of DEP screen and understanding their significance.
When a user makes a timesheet entry for any day, the entry has to be released. This can be defaulted with
DEP. When an employee makes a timesheet entry either the entry can be sent to manager for approval or
the entry can be auto approved. (status is 30 in table CATSDB). This can be controlled by DEP. As already
highlighted that DEP controls whether records of multiple employees can be updated at one shot or not.
Default values section determines the values to be defaulted while making entry in timesheet. An entry can
be made in Timesheet via Tcode CAT2.
Few Error conditions returned by BAPI too can be controlled by DEP. For e.g. there can be a situation an
employee can work simultaneously on multiple activities (labor and machine operations). In that condition
BAPI should not throw any error.
For more information about how to fix columns in the data entry of CAT2:
Overview
When using CAT2 transaction, depending on how many columns are displayed for the user an horizontal
scroll bar appears in the data entry. This can lead users to scroll left and right several times to input their
working times in CAT2. In this page we describe how to fix some columns of the data entry and how this
configuration works.
e) Create a new display variant by entering a name into the regarding text-field;
f) Click on "Create" button;
*This function is linked to the authorization object 'S_ADMI_FCD'. So you need enough authorizations in
order to have this button available.
Did it work?
It is possible that after reproducing the mentioned steps you have not reached the expected behavior. So
here we will explain how this works so that you can configure accordingly.
When you set a number, e.g. 10 in the "No. of fixed columns" field, you are configuring the system to fix the
first 10 available columns. No matter if they are visible or not. So, back to the first provided screenshot, if
we set 10 for the fixed columns the "visible" result is only 2 fixed columns: CATSFIELDS-ASTERISK (this is
always visible) and CATSD-SEBELN (the only visible one among the 10 first).
Furthermore, please bear in mind that the area of fixed columns is set to scrollable if the fields of your
variant activated via CAC2 use more than 2/3 of table control. If you would like, you could increase the
factor to up to 9/10. The area which cannot be scrolled is 90% then. If you do not have any fixed columns
or want only a small number of fixed columns, you can reduce the factor as appropriate. Please have a look
at the SAP Note 138267, which describes the corrections to be fulfilled. Although the note is for old releases,
this is still valid for the ongoing one.
Related Content
Related Notes
SAP Note 138267 - CATS: Length of fixed area in table control
SAP Note 1550258 - CAT2 horizontal scroll bar is missing
For more information regarding the CATSDB table:
If a record with the processing status 30 (approved) is changed, the system also
process), 20 (released), or 30 (approved), depending on profile settings. The new record is assingned a
reference counter to link it to the original record, which now has the status 50 or 60. The reference counter
corresponds to the counter of the original record.
Document Number.
As soon as a record has the corresponding status 30 (approved), the system assigns it a document
number. The document number is assigned sequentially and is 10 digits long. The document number
represents the key fro identifying the record, even after it has been transferred to the target components.
In addition, the system also provides information on the person who created the record, when the record
was created and, if necessary, on person who changed the record and when it was changed. You can also
see whether a short or long text exist for the record.
For more information on the Cancellation process on Time sheet data:
If you cancel a record before it is transferred to the target components, the system transfers neither the
original nor the cancelation record. In Human Resources, both records remain in the interface tables for the
Human Resources. In the other target components, the system deletes the original record and the
cancelation record forms the interface tables.
If you cancel a record that
has already been transferred to the target components, the system also transfer
the cancelation record that is the record assigned the cancelation indicator.
For Material management: If a record is canceled after it has been transferred. the cancelation record
cannot be transferred to Material management. In this case, the record must be canceled in Materials
Management.
Posting Canceled records in the target components.
If a record is canceled before it is transferred to the target components, the system transfers neither the
original or the cancelation record to the target components. If the record is canceled after it has been
transfered, the cancelation records are posted in the target componnets as follows:
1.
Controling: the system post the cancelation record as a negative record. If the original records,
contains, for example, 8 hours, the system post the cancelation record with -8 hours.
2.
Human Resources: The cancelation indicator enables the system o recognize that both original
records cancel each other out. The system deletes the original record form the relevant infotypes (PA2001,
PA2002 and PA2010) based on this information.
3.
Plan Maintenace (PM) and projects system (PS): The system creates a reversal document in the
relevant target component. Transfering canceled data to PM can adversely affect system performance. There
are more information about into the reprots RCATSTPM or RCATSTPS.
4.
Material Management: A cancelation record cannot be transfered to Materisl Management. For this
reason, you should only make chnages to records that have already been transafered in the Material
Management component.
For more information on the Interface tables PTEX2000, PTEX2010 and PTEXDIR:
-> Cancelation Indicator -> A record is assigned a cancelation indicator when it has the
AWART
-> Attendance/ Absence tye -> Field in table PTEX2000. Specifies the attendance or
LAGART -> Wage Type -> Field in table TEX2010. Contains the wage type for the record.
DATUM1 -> Date -> Specifies the date on which the record was written to the interface table.
DATUM2 -> Date -> Specifies the date of the record's initial transfer to Human Resources.
DATUM3 -> Date -> Specifies the date on which the record was last accessed.
DATUM4 -> Date -> Specifies the date of the record's first successful transfered to Human
Resources.
STATU2/STATU3 -> Status -> The system assings a record in PTEX2000/2010 as a log status for
the first and last transfer. This status can be used to know whne the transfer was correct or if any errors
occurred. The system assig the following statuses:
Value 0 or blank. The record is new and it has not yet been transfered.
Value 1. The record has been successfully transfered.
Value 2. Errors occured during transfer; The recors could not be posted.
Value 3. Record is locked.
Value 4. A record has been canceled. The original and chnaged (canceled) record
cancel each other out. they are not transfered but remain in the interface table.
The same above information is true for the fields UNAME1-4 (User) and PGMID1-4 (program).
Table PTEXDIR is a directory table. The system uses it to check whether the combination of Logical system
of source (LOGSYS), reference procedure (AWTYP), and key (AWKEY) is unique. if the combination is not
unique, the system excludes the relevant records from the transfer. The system does not transfer data from
PTEXDIR to other components.
For more information on the other traget components like CO, MM and PL:
Overview:
The interface tables for the TIme Sheet are used to provide time sheet data for transfer information to the
corresponding traget components, like Controling, Material Management, Plant Maintenance/Customer
Service and Project System.
1. Controlilling Tables
Two other tables are important for Controlling: CATSCOSUM ( Data Transfer: Time Sheet -> Co
Summarization Table) and CCATSCOSUM (Settings: Summarization Time Sheet Data -> CO). You use these
(TRANS_NO) in CATSCONSUM.
In the CATSCONSUM tabble, counters 100, 101, 102, 110 ,114 and 120 are stored with the
document number (TRANS_NO) 10 and counters103 to 109 and 113, 122 with_ document number_
(TRANS_NO) 11. In table COBK then, there are two entries in the Reference document number field
(REFBN): 10 and 11.
If you specified in your Customizing settings that time sheet data is not summarized for transfer to
controlling, CATSCUSUM is not filled with these records. In this case, there ia a 1:1 relationship between
the document number (BELNR) in CATSDB and Reference document number field (REFBN) in COBK.
If there are inconsistencies in the data Controlling, we recommend you call the Display CO Cost Segmentes
transaction (RKASHOW). You can use this transaction to display information on data statutes and tot6als
records in Controlling tables. For information on how to proceed if confirmations lead to CO documents with
erros, see the note 0155282 (CO Docs fro Confirmations: Corrections Programs).
Other tables in Controlling that you should be familiar with in this context are:
COEP (CO Object: Line Items, by period)
COSS (CO Object: Cost Totals for Internal Postings)
2. Materials Management
When time sheet data is trabsfered to Materials Management, table ESLL (lines of Service Package) and
table ESSR (Service Entry Sheet Header Data) are supplied with data. The Package number (PACKNO) field
forms the link between the two tables.
The time sheet record is referenced in table ESLL by the Document number (BELNR) field. However,
in Material Management, you can only identify the record uniquely in connection with table ESSR.
follwoing tables:
Confirmations with errors: AFRH, AFRV
Actual cost with errors: AFRC
Goods movements with errors: AFFW
Once you processed the errors, the system post the data in the target components.
For more information about how the system reacts with the CAC1 customizing:
Overview:
With the customizing into the checks "Release on Savin" and "Approval Required" of the CAC1 transaction,
we can find 4 different scenarios or system reactions, about how the information is saved into the data base
table CATSDB.
Scenario 1:
If into the CAC1, for the CATS Profile, the check are:
"Release on Saving" is Set
"Approval Required" is not Set
Record
Hours
Status
Counter
Refcounter
CATSHOURS
Doc.No.
BELNR
Enter Data
New
30
1000
100
Change
Original
60
1000
100
Changed
1001
1000
101
Refcounter
Doc.No
30
Scenario 2:
If into the CAC1, for the CATS Profile , the check are:
"Release on Saving" is not Set
"Approval Required" is not Set
Record
Hours
Status
Counter
CATSHOURS
BELNR
10
2000
Release
Original
30
2000
200
Change
Original
50
2000
200
Changed
10
2001
Original
60
2000
Changed
30
2001
Released
Scenario 3
If into the CAC1, for the CATS Profile , the check are:
"Release on Saving" is Set
"Approval Required" is Set
2000
2000
200
201
Record
Hours
Status
Counter
Refcounter
CATSHOURS
Doc.No
BELNR
20
3000
Approve
Original
30
3000
300
Change
Original
50
3000
300
Changed
20
3001
Original
60
3000
Approve
3000
300
3000
Changed
30
30001
301
New
20
3010
Reject
Original
40
3010
Change rej.
Original
20
3010
records
Scenario 4
If into the CAC1, for the CATS Profile , the check are:
"Release on Saving" is not Set
"Approval Required" is Set
Action
Record
Hours
Status
Counter
Refcounter
CATSHOURS
Doc.No
BELNR
10
4000
Release
Original
20
4000
Approve
Original
30
4000
400
Change
Original
50
4000
400
Changed
10
4001
4000
Original
50
4000
Changed
20
4001
Original
60
4000
Changed
30
4001
Release
Approve
400
4000
400
4000
401
New
10
4010
Release
Original
20
4010
Reject
Original
40
4010
Change rej.
Original
10
4010
records