Hi all,
I have created a custom Program to Upload Roles and Staffing to the Same Roles for CProjects.
We are using the Following BAPIs
BAPI_BUS2177_CREATE
BAPI_BUS2177_ROLE_DIST_SET
BAPI_BUS2177_SKILL_PROFILE_SET
BAPI_BUS2177_STAFFING_ADD
BAPI_BUS2177_STAFF_DIST_SET
After Creating Multiple Roles and Staffing for a Single Project I use FM 'BAPI_CPROJECTS_COMMIT_WORK to Commit the changes.
Then Use BAPI_CPROJECTS_REMOVE_OBJECTS to Unlock all Objects.
However BAPI_CPROJECTS_COMMIT_WORK takes long time to commit the changes 15-30 Seconds per Project with average roles and staffing is 3 or 4.
I have already looked for SAP notes around around these BAPIs but do not seem to get and help.
Could you please suggest some help for optimizing these BAPI's
Thanks,
Shashank