Department Units can be sent to cloud and there assigned to employees. The Employee’s Department object shows an employee assignment to a department. In FSM it is seen here:
Departments themselves are only maintained in ECC using: SPRO/Personnel Management/Personnel Administration/Organizational Data/Organizational Assignment/Organizational Plan/Define Organizational Units
Because in FSM departments’ definition has no validity date therefore from SAP only those which are within the validity date should be sent and then assignment to employee takes place in PA30.
Process
Run report /PACG/ECM_TRIG_DEPART to trigger sending wanted department unit definition.
After report run IDOC type /PACG/ECM_DEPART is sent to the cloud.
Department then can be seen in cloud master data, and be assigned to person in FSM
Department assignment triggers IDOC type /PACG/ECM_PERSONIN that has department name and code in /PACG/ECM_IS_USER2 segment.