on 08-17-2020 2:18 PM
Hi,
We are fetching employee master data using compound employee API. Now the end system want Cost Center Name, Legal Entity Name, Department Name etc.
I am already getting id for Cost Center, Legal Entity, Department etc in compound employee's job_information.
xpath - queryCompoundEmployeeResponse/CompoundEmployee/person/employment_information/job_information
Can we utilized the custom fields in compound employee api to send these information from successfactors?
I am currently using content enricher to do that however i have 14 touch fields where default_Name is required for externalCode hence it will lead to performance issues later and is not the optimized solution.
Fields for which default_Name is required -
cost_center,company,department,business_unit,division,manager_id,pay_group,nationality
Regards,
Akash
Hello Swathi,
I am able to access the link without any issues.
Pasting the same link
https://blogs.sap.com/2019/11/08/handling-large-data-with-content-enricher-and-odata-v2-adapter/
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Akash,
Few pointers you can note.
1) If field level delta required? If Yes go for CE.
2) IF data from multiple portlets are considered? If Yes go for CE.
3) How many employees do you have in total for Full load consideration ( how frequent full load gonna run )- It can give you an idea.In case of huge no of employees then use Looping Process call to improve performance.
4) If nothing above is required then go for OData and you might face same issue in case navigating into multiple levels from base entity.But its good to give a try.
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sriprasadshivaramabhat,
Thank you for the reply.
Even after the hashmap is used, full employee load is taking around 1 min and my end client want to used the response directly in the web application.
Can i use odata API to fetch employee master data, as it has a better performance compared to SFAPI? I couldn't any single odata api for all the employee master data.
Regards,
Akash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sriprasadshivaramabhat,
Thank you for the reply.
Even after the hashmap is used, full employee load is taking around 1 min and my end client want to used the response directly in the web application.
Can i use odata API to fetch employee master data, as it has a better performance compared to SFAPI? I couldn't any single odata api for all the employee master data.
Regards,
Akash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Akash,
You can implement steps mentioned below which drastically improves performance.I am not sure whether its good practice hold these values in Compound Employee( Usually we dont get this luxury 🙂 ).
https://blogs.sap.com/2019/11/08/handling-large-data-with-content-enricher-and-odata-v2-adapter/
Other option would be getting all the FO objects ( as per your requirement ) and store it in hashmap. Then make a check every time for your employee manually instead of using Content Enricher.
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
2 | |
2 | |
2 | |
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.