cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CATS BAPI_CATIMESHEETMGR_INSERT without Data entry profile

0 Kudos
483

Hi ,

We are populating the Time sheet without data entry profile to the BAPI "BAPI_CATIMESHEETMGR_INSERT " and it successfully saves the Time sheet. But when time entry via SAP TCode TCode Data entry profile is mandatory. What data entry profile does the BAPI "BAPI_CATIMESHEETMGR_INSERT" use by default to submit the records?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

There is a set of default settings used when no data entry profile is specified. The coding can be found in include LCATSF2D

FORM get_default_profile.
*to get the default minimum profile for BAPIs if no profile is specified
  tcats-timeclerk    = 'X'    .
  tcats-pertype      = '2'    .
  tcats-catsperiod   =  1     .
  tcats-future       = 'X'    .
  tcats-freeatsave   = 'X'    .
  tcats-kontireact   = 'N'    .
  tcats-kollireact   = 'N'    .
  tcats-kolhrreact   = 'N'    .
  tcats-maxhrreact   = 'N'    .
  tcats-underreact   = 'N'    .
  tcats-overreact    = 'N'    .
ENDFORM.

Thank you.

Answers (0)