Skip to Content

SAP BAPI for person assignment to project activity

We required a BAPI to update a person assignment in a PS Network Activity. After contacting SAP Support and searching the internet, it seemed we were out of luck as no BAPI exists for this functionality. We were surprised that this sensible integration did not exist out of the box.

As a result, we studied CN22 and CJ20N functionality and wrote our own BAPI. In our testing, it works perfectly with the following inbound parameters:

Personnel Number
Start Date
End Date
Work Hours
External Split ID

The external split ID can be any string that is a unique link to the external systems person assignment which we store in an appended Z field in table KBED (which contains the person assignments and splits). For example: Our external project management system has a unique ID for every person assignment to an activity and this is now stored as the external split ID in table KBED.

The effort to develop this capability was significant. In our view SAP should have made a standard BAPI for everyone to have this functionality.

We had the same issue when we wanted to release activities in a PS project via a BAPI. The standard BAPI BAPI_BUS2002_SET_STATUS does not work the same way as CJ20N. It does not set parent objects (WBS, Network, Project Definition) system status to PREL (partial release) when releasing a specific activity in the project. We had to produce our own BAPI using function module CJDW_INTEGRATED_STATUS_CHANGE which worked perfectly.

My question: Is there anywhere to make improvement suggestions directly to SAP so that other customers who require this functionality do not have to reinvent the wheel?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Aug 30, 2017 at 07:52 AM

    Hi Joe,

    Check out this space



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 18, 2018 at 09:39 AM

    Hi Joe,

    We have same requirment to mass upload the person assignment in project activities.

    Can you please give code snipet of the BAPI which you created for the same.

    Thanks in advance


    Add comment
    10|10000 characters needed characters exceeded