3 weeks ago
S/4Hana, synchronization between employees and business partners, when employee has 2 different personnel numbers one inactive and one active, a new business partner was not created. When running program /SHCM/RH_SYNC_BUPA_EMPL_SINGLE with the new pernr the message is: pernr was successfully synchronized , however no new business partner has been created, and no change has occurred to the previous business partner.
Request clarification before answering.
Hello,
When an employee has two or more personnel numbers, the first BP is always created with role BUP003 (employee) for the first personnel number.
For creating an additional BP for the second personnel number, the second personnel number must have a bank account maintained in infotype 9 and maintain a reference BP (with vendor) for the company code of the second personnel in view PTRV_VENDOR_SYNC.
There are some fields which are mandatory at vendor side, such as as the reconciliation account, that do not exist in HR, so the value of this fields is copied from the reference BP from view PTRV_VENDOR_SYNC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, welcome!
The additional Business Partners (BPs) are mainly created for supplier purposes, such as paying travel expenses or payroll posting, and these processes require the employee's bank details. One option could be to implement the BADI_FITV_VENDOR_SYNC method MODIFY_BANKING_DATA and add the bank details there. It is still necessary to have the employee's bank details. However, if obtaining the employee's bank details is not possible, you could use some default bank data.
Another option would be to use the MODIFY_COMPLETE_DATA method of the same BADI. This method receives a table as a parameter, which contains all the data that will be sent to the Business Partner API and later saved in the database. You can add a new row corresponding to the additional BP that you wish to create. In this case, you will need to create the necessary custom code to fill all the main/mandatory BP fields as the BP will be created with zero.
User | Count |
---|---|
15 | |
10 | |
8 | |
5 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.