Symptom
Field CompanyCode is always blank in CDS view I_TimeSheetRecord.
Environment
SAP S/4HANA Cloud
Cause
CDS View I_TimeSheetRecord doesn't have the employee company code in Cloud system.
This is the standard behavior.
Currently this field is not filled (and not relevant) for any of the cloud supported accounting objects.
In the S/4HANA on premise, for some use cases (for few accounting objects) this CompanyCode field is filled based on the Cost Assignments in the controlling.
Hence, CDS view I_TimeSheetRecord-CompanyCode doesn't have any relevance in cloud.
It's relevance is only for the S/4HANA on premise use case.
Resolution
If company code for the employment / personal work agreement ID is really needed, you can look for another CDS view in cloud that have this information like the I_PersonWorkAgrmtOrglDetails.
Keywords
I_TimeSheetRecord, CompanyCode, company code, blank, cloud, op , KBA , CA-TS-S4 , Cross Application Timesheet in S/4HANA , Bug Filed