漫谈SRM主数据迁移及同步(5. HR主数据篇)
Info. types:
A set of data grouped according to subject matter. Types of data maintained/stored in R/3 HR. Info. types which are required in order for employees to be completely created in SRM (info. types1000, 1001, 0000, 0001, 0002, 0006, 0105 subtype 0001 are required)
SRM has Info. Types 1000,1001,etc.
Setup Steps:
1. BD64: Distribution Model
1.1 Create model view (Example: test)
1.2 Add message type (Define the sender and receiver, and add message type. Example: HRMD_ABA)
2. Create filter settings
Very useful note:
3. Generate Partner Profile
4. Execute --> Click green arrow back twice --> Click Edit - Model View - Distribute
5. Select RFC for R/3 backend --> Click green check to execute
The system will give you a message that the Distribution Model has been distributed to the R/3 System. You can now logon to the R/3 Client &Create the Partner Profiles in the HR System.
Goto transaction BD64 & Generate the HR Distribution Model in R/3 after distribution. (Click Environment -- Generate Partner Profiles).
Table T77S0:
The following entries control the customizing behavior in SRM for HR replication objects.
Initial Distribution:
Carry out the initial distribution of HR master data (object type O, C, S, P) using program RHALEINI (Transaction PFAL) in R/3.
注意1: 起始数据传输时,不能进行HR数据修改操作
注意2: 这里有两个模式: insert mode(全部传输)/update mode(根据指针部分传输)
注意3: 对于O, 每次传输的数量不能超过50,其他则为200)
SAP Note:
390380 Composite SAP note: HR/ALE distribution in EBP/CRM
363187 HR-CA-ALE: Initial distribution w. HRMD_A/HRMD_ABA hints (This way, faulty IDocs are reduced.)
Change Pointers (以下配置需在HR端)
NOTE: Do not activate the change pointers until after the initial replication is complete.
1. Activate change pointers generally T-code: BD61
2. Activate the change pointer specific to the message type which will be used. T-code: BD50
3. Create the variant for creating IDOC for Change Pointers.
Schedule program RBDMIDOC as a Background Job
SAP Notes Relevant to HR Org. / Change Pointers: 985725, 961323, 967757, & 961235
Tables: PA0000 /PA0105/HRP1000/HRP1001
Relevant Table for HR Change Pointers:
Other Topics: Masking sensitive data
724149 HRALX: Masking sensitive data