on 04-21-2015 9:31 PM
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
Hello Shashank,
It is not likely that the issue in the BAPIs themselves, as these will mostly be using the same program logic which is used when carrying out statting actions in the frontend.
I would recommend that you check available notes concerning performance when working with resources/staffing (regardless of whether they mention BAPIs). Check composite performance note 1377081 for any notes concerning Project Management which are relevant to your support package level. In case you are working with distributed roles also note 2093018 could be relevant.
Best regards
Francesco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
6 | |
3 | |
2 | |
1 | |
1 | |
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.