Skip to Content
avatar image
Former Member

cproject: program that can create new project: respo. role and release proj

Hi guys ....

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

I have two 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 use one of theese role as "responsible role" for a selected phase of my project (without implement this setting in the template). the right bapi to use ( i think) should be the 'BAPI_BUS2173_CHANGE' but i do notknow where to find the roles GUID to put into the input parameter 'IS_PHASE-RESPONSIBLE_ROLE_GUID' .


The other problem is how to change the status to a phase or a task or to the whole project. The right bapi should be 'BAPI_BUS2172_SET_STATUS' but i cannot find the right value to insert in the input parameter 'IV_STATUS_PROFILE' (for example to set the status of the whole project to "released" ).

Can anyone help me ?

thanks a lot again,

Fabrizio Gemma

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Feb 26, 2009 at 03:06 PM

    Hello Fabrizio,

    Some suggestions:

    'BAPI_BUS2173_CHANGE' is the right FM to make changes in a Phase.

    You may find the role GUIDs in table DPR_PART

    I think you can pass the template GUID to 'BAPI_BUS2173_CHANGE' and get role details of the same.

    Regarding status change, the parameter 'IV_STATUS_PROFILE' is used for populating the status profile. Have you configured any status profile for including custom status management?

    You can get the status values in the table TJ02T.

    Let me know if this helps.


    Vivek Pandey

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Dear Fabrizio,

      You can read the relevant function module documentation for the text of the status or can search in table TJ30T.