Skip to Content
0
Former Member
Feb 24, 2009 at 09:40 AM

cproject: program that can create new project from template: role handling

122 Views

Hi guys ....

i'm trying to create a project using 'BAPI' function.

i'm able to create a project by copy from a choosen template (CALL FUNCTION 'BAPI_BUS2172_COPY'

).

i'm able to change the project attributes and the attributes of each phase or task of the project (CALL FUNCTION 'BAPI_BUS2172_CHANGE' ....).

Here it is the new question:

In the template that i use to create the new project, i defined three types of roles (let's say ROLE_A,ROLE_B, ROLE_C). I wold like to handle these roles in my program.... for example, when i create a new project, i would like to assign a certain business partener BP_1 to the role ROLE_A , two business partnes BP_2 and BP_2 to the role ROLE_B ad so on ...

Can anyone help me ?

thanks a lot