Skip to Content
avatar image
Former Member

BAPI_CPROJECTS_COMMIT_WORK Performance Issue

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


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 22, 2015 at 09:05 AM

    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

    Add comment
    10|10000 characters needed characters exceeded