SAP Message 3G387 - Determination of posting period took place locally

Diagnosis
You are working in an integrated system. This means that HumanResources and Accounting run in the same system. For this reason, thefunction module 'BAPI_COMPANYCODE_GET_PERIOD' has been started locally.