If a SAPUser is currently not active due to Gltgv and Gltgb, the PersonHasObject entries (e.g. for SAPRole) must also not be present. "The procedure "SAP_ZPersonHasObject" already takes this into account. However, changes to the Gltgv or Gltgb do not trigger an immediate recalculation. A correction is not made until the next execution of the schedule "Daily calculation of SAP user accounts to company resource assignments".
This is a product defect (34338).
This will be fixed in a future release of the product. If you require this immediately corrected, please contact support for a hotfix referencing the defect ID 34338.