cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Work Manager 6.3 - Adding WBS Element to Time Sheet Screens

ggunturu
Participant
0 Kudos

We are on SAP WM 6.3. We want to add WBS Element to the Time Sheet Screens.

On the Agentry, CATSRecord Object, I see the WbsElement Property, but the CATSRecord.java does not have the WbsElement Property.

I started with creating a ZCATSRecord Object and adding the WbsElemenet Property in there.

TimesheetAddBAPI.java and TimeSheetUpdateBapi.java are using the CATSRecord.

Should I extend TimesheetAddBAPI.java & TimesheetUpdateBAPI.java, Or make a copy of those classes and update the code to use ZCATSRecord Object instead of CATSRecord Object?

Thanks,

Gopi.

Accepted Solutions (0)

Answers (1)

Answers (1)

mark_pe
Active Contributor
0 Kudos

Gopi,

In Standard Best Practice in SAP, it is recommended to extend the Java by just adding your WBSElement to be populated.  This way you do not touch the original source code.  Plus add the necessary fields/properties in your transaction + screen + Object-Properties.

Best Regards,

SAP Mobile Support Team