cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_PROJECT_MAINTAIN & Person Assignment

Former Member
0 Kudos

I have used <b>BAPI_PROJECT_MAINTAIN</b> to create Project, WBS (with 3 level hierarchy), Network and Activity.

Now I need to do <b>Person Assignment</b> under activities, but could not find any relevant point in the API.

The function call in my program is looking like"

   CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
      EXPORTING
        I_PROJECT_DEFINITION               = ITAB_PROJ
        I_PROJECT_DEFINITION_UPD           = ITAB_PROJ_UP
*     IMPORTING
*       RETURN                             =
      TABLES
        I_METHOD_PROJECT                   = ITAB_METHOD
*       I_WBS_ELEMENT_TABLE_UPDATE         =
       I_WBS_ELEMENT_TABLE                = ITAB_WBS
*       I_WBS_MILESTONE_TABLE              =
*       I_WBS_MILESTONE_TABLE_UPDATE       =
       I_WBS_HIERARCHIE_TABLE             = ITAB_HIERARCHY
       I_NETWORK                          = ITAB_NETWORK
*       I_NETWORK_UPDATE                   =
       I_ACTIVITY                         = ITAB_ACTIVITY
*       I_ACTIVITY_UPDATE                  =
*       I_RELATION                         =
*       I_RELATION_UPDATE                  =
       E_MESSAGE_TABLE                    = ITAB_MSG
*       I_ACTIVITY_ELEMENT                 =
*       I_ACTIVITY_ELEMENT_UPDATE          =
*       I_ACTIVITY_MILESTONE               =
*       I_ACTIVITY_MILESTONE_UPDATE        =
        .

Is there any option in this function module itself that I am missing out?

Or is there any alternative route for person assignments to the activities thus created?

Please help.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear sir,

will you please give me the parammeters which you are passing and also values.

suresh_datti
Active Contributor
0 Kudos

Hi Prasenjit,

Did you try the PERS_NO field of the structures I_ACTIVITY_ELEMENT / I_ACTIVITY_ELEMENT_UPDATE ?

Regards,

Suresh Datti

Former Member
0 Kudos

Dear Suresh,

I am also having the same problem . I am not able to find the fields of Person Assignment.

will you please suggest me In the BAPI_PROJECT_DEFINITION which parameters we should pass .