!--a11y-->
Use
For a
person with several personnel assignments certain data, depending on the organizational assignment, should be kept consistent in all assignments (for example, the person’s name). The procedure (the copy mechanism) that enables this is called Data Sharing.
To implement data sharing,
grouping values are defined time-dependently by
grouping rules. Depending on the grouping values, SAP R/3 determines which personnel assignments are grouped together. The data of the grouped assignments is automatically kept consistent for a period. The special value "not grouped" (SPACE) is an exception. The data is not automatically kept consistent for this value.

Ensure that the system automatically checks whether data that should be kept consistent is actually consistent. If this is not the case, the data cannot be processed further. This means in particular that any subsequent changes made to the grouping rules normally requires the data to be adjusted.
Integration
Data sharing is part of the enhanced functions of
Concurrent Employment.
Prerequisites
You can only use data sharing for certain infotypes. These infotypes must be permissible for the new
infotype framework. Infotypes are permissible for the new infotype framework if the "central services" or "permitted in all circumstances" entry is stored for these infotypes in the V_T582ITVCLAS table (Classes for Determining Version IDs and Infotype Containers).If, on the other hand, the "permitted in certain circumstances" entry is stored, only the country versions listed in table V_T582ITD (Infotype – Dialog Module (CE)) can take part in data sharing.
Infotypes for which the "not permitted" entry is stored or which do not have an entry in table V_T582ITVCLAS, cannot take part in data sharing.

Infotypes that cannot take part in data sharing can still use the existing copy mechanism, which is controlled using table V_T582A (Infotype Attributes: Customizing).
To be able to use data sharing, the new
infotype framework must be active. This is the case, if at least one of the T77S0 switches CCURE GLOPY, CCURE GLEMP, or CCURE MAINS is active.
If none of the switches are active, the copy mechanism controlled by table V_T582A is automatically used for all infotypes.
Features
Activities
grouping reason for the infotype in the T582G table (Infotype – Grouping Reason).

On the basis of the grouping reason, a grouping rule is determined using the following tables: T7CCE_GPASGCM (Change Country-Specific Assignmt of Grp Rule to Grp Reason), T7CCE_GPASGC (Change Cross-Country Assignmt of Grp Rule to Grp Reason), T7CCE_GPASGSM (Check Country-Specific Assignmt of Grp Rule to Grp Reason), and T7CCE_GPASGS (Check Cross-Country Assignmt of Grp Rule to Grp Reason). The process flow is such that the customer tables are evaluated first (you can recognize the tables by their technical name, which ends in CM or C), whereby the country-specific table is always read first followed by the cross-country table.
During this process, the rule refers to a ABAP/OO class on the basis of table T7CCE_GPRULE (Check Grouping Rules for Personnel Assignments). This class is then used to determine the grouping values.
Example
A customer wants to exclude a delivered infotype from data sharing and stores the XNON rule.
A customer wants to keep all data in the personnel assignments consistent and stores the XALL rule.
A customer wants to keep all data that belongs to a country grouping in the personnel assignments consistent and stores the XALL rule.
See also:
Grouping Personnel Assignments
