cancel
Showing results for 
Search instead for 
Did you mean: 

Populating 'Responsible Resource' on Project Definitiion via PROGRAM

Former Member
0 Kudos

Hi All

As part of our Data Migration Regquirement we need to set the responsible resouorce field ( which is concrete role assignment ) on project definition.

The standard BAPI BAPI_BUS2172_CREATE to create the project definition or the one to CHANGE them does not have the field for populating 'Responsible Resource' field which can be found on Basic Data Tab of Project Definition.

Does any one have populated this via program before??

I understand using some DPR_ENTITY or PART_LINK clases this might be doable but was wondering is there a straight forward way of achieving it.

Thanks

Praveen

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You can use FMs function group DPR_BUS2177 in cPRojects to do this.

To specifically add a resource to a responsibility role you can use BAPI_BUS2177_STAFFING_ADD. Pass the project role GUID in PROJECTROLE_GUID and the GUID of the BP in field PARTNER_GUID of structure IS_STAFFINGLINK.

Let me know if it works.

Debaranjan Hazarika.