on 2024 Dec 19 12:15 PM
Hi Compensation community,
I am looking to see if there is some available documentation or if someone tried updating the XML code for publishing to add more if conditions.
What I am trying to do is to filter the publishing directly in the code. For example: if field x=0, do not publish this pay component. In our situation, publishing filters from UI do not help.
Thanks in advance!
Request clarification before answering.
Check out the blog : https://blogs.sap.com/2020/06/11/manage-exclusions-when-publishing-back-to-employee-central/ and if you don't think that the workaround in it will still NOT work for you then unfortunately you will have no other choice but to add custom columns with formula on the worksheet to do the filtering you want.
A classic example is when you have one country out of 50 that requires a publish back to several pay components instead of one. In that case you need to create as many custom columns as there are pay components in EC to publish back to with custom formula (if paycomponent=ABC,finSalary,0) so you can send the right amount to its matching paycomponent in the xml for publish back.
All the best
Xavier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 3 | |
| 2 | |
| 2 | |
| 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.