<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: cproject: program that can create new project: respo. role and release proj in Product Lifecycle Management Q&amp;A</title>
    <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179243#M23682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Fabrizio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this. It worked for me - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA stat TYPE bapi_ts_business_transaction.&lt;/P&gt;&lt;P&gt;                 CLEAR stat.&lt;/P&gt;&lt;P&gt;                 stat-business_transaction = 'RELEASE'.&lt;/P&gt;&lt;P&gt;                 CALL FUNCTION 'BAPI_BUS2172_SET_STATUS' &lt;/P&gt;&lt;P&gt;                   EXPORTING&lt;/P&gt;&lt;P&gt;                     project_definition_guid       = project_guid&lt;/P&gt;&lt;P&gt;                     is_business_transaction    = stat&lt;/P&gt;&lt;P&gt;                  TABLES&lt;/P&gt;&lt;P&gt;                    return                        = it_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call COMMIT_WORK after this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Mar 2009 11:55:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-03T11:55:04Z</dc:date>
    <item>
      <title>cproject: program that can create new project: respo. role and release proj</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaq-p/5179231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys ....&lt;/P&gt;&lt;P&gt;i'm trying to create a project using 'BAPI' function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two new question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1)&lt;/P&gt;&lt;P&gt;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' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2)&lt;/P&gt;&lt;P&gt;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" ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot again,&lt;/P&gt;&lt;P&gt;Fabrizio Gemma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 14:34:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaq-p/5179231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T14:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: cproject: program that can create new project: respo. role and release proj</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179232#M23671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Fabrizio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some suggestions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'BAPI_BUS2173_CHANGE'  is the right FM to make changes in a Phase.&lt;/P&gt;&lt;P&gt;You may find the role GUIDs in table DPR_PART &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can pass the template GUID to 'BAPI_BUS2173_CHANGE'  and get role details of the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get the status values in the table TJ02T.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek Pandey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 15:06:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179232#M23671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T15:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: cproject: program that can create new project: respo. role and release proj</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179233#M23672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vivek...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1)&lt;/P&gt;&lt;P&gt;In the table DPR_PART there are the resposible_role_guid associated to all the projects, tasks, phases ever created. This means that when you assign the role ROLE_A to be the responsible-role to a selected phase, some a transaction generate a guid and create a new entry in the table DPR_PART: this guid can be found using Function BAPI_BUS2173_GET_DETAIL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my problem is different: i have a phase of my project without a responsible_role_guid. This means tha there is no responsible_role_guid in the table DPR_PART associated to such a phase, and that if i pass the phase guid to the function BAPI_BUS2173_GET_DETAIL it returns the corresponding field RESPONSIBLE_ROLE_GUID as a void field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the question is : how can i associate a responsible role to my phase using the bapi  BAPI_BUS2173_GET_CHANGE ? How can i know the right responsible_role_guid to use as input parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2)&lt;/P&gt;&lt;P&gt;I've only default status (TJ02T has got 241 entries). &lt;/P&gt;&lt;P&gt;The problem is: &lt;/P&gt;&lt;P&gt;The field IV_STATUS_PROFILE required by the function BAPI_BUS2173_SET_STATUS is a char of lenght 8, that does not match any field of the table TJ02T.&lt;/P&gt;&lt;P&gt;When i try to use this function it returns me back the following error message: Status profile 'REL.' cannot be used for the current object. (message number 051 of message class DPR_BAPI ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;fabri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 15:47:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179233#M23672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T15:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: cproject: program that can create new project: respo. role and release proj</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179234#M23673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabrizio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to understand some points here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How are you providing inputs to your program that is creating the project?&lt;/P&gt;&lt;P&gt;2. If there is an external file/input that provides this data, then you may provide the Role ID ( of the role within the template) there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call function DPR_GET_GUID_BY_ID_FROM_DB and input the Role ID there. You will get the Role GUID as the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can assign this GUID as responsible to the phase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. From your reply, it seems that no status profiles have been configured. Dont specify the status value in IV_STATUS_PROFILE. You can keep it blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input values in IS_BUSINESS_TRANSACTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 16:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179234#M23673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T16:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: cproject: program that can create new project: respo. role and release proj</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179235#M23674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(1)&lt;/P&gt;&lt;P&gt;i've got the role id ....... but i've not got the function DPR_GET_GUID_BY_ID_FROM_DB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2)&lt;/P&gt;&lt;P&gt;If i want to change the status of a phase from "Created" to "Released".... What should i put inside IS_BUSINESS_TRANSACTION-BUSINESS_TRANSACTION and IS_BUSINESS_TRANSACTION-USER_STATUS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;FG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: fabrizio gemma on Feb 26, 2009 5:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 16:12:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179235#M23674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T16:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: cproject: program that can create new project: respo. role and release proj</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179236#M23675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabrizio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure why you cannot find this function module. Alternatively, you can get the GUID by Role ID via DPR_PART itself. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use  IS_BUSINESS_TRANSACTION-BUSINESS_TRANSACTION  for inputting the status.&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 16:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179236#M23675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T16:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: cproject: program that can create new project: respo. role and release proj</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179237#M23676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry vivek .... but i haven't still benn able to change the status of neither a project or a task , a phase .... using the function BAPI_BUS21xx_SET_STATUS ......&lt;/P&gt;&lt;P&gt;i set IV_STATUS_PROFILE blank , and i tryed a numerous set of values for IS_BUSINESS_TRANSACTION .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if someone has been able to change a project/phase/task status (any transition between different sates) .... please describe step-by-step the whole procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks to all,&lt;/P&gt;&lt;P&gt;Fabrizio Gemma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 16:55:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179237#M23676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T16:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: cproject: program that can create new project: respo. role and release proj</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179238#M23677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if you are calling BAPI_CPROJECTS_COMMIT_WORK after setting the status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, which value are you using to set the status - I1701 or 'REL'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek Pandey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 17:06:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179238#M23677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T17:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: cproject: program that can create new project: respo. role and release proj</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179239#M23678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i call commit and i've already tryied both ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 17:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179239#M23678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T17:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: cproject: program that can create new project: respo. role and release proj</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179240#M23679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Fabizio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use FM BAPI_BUS2172_GET_SUBOBJECT. Pass the project GUID and in the ET_SUBOBJECT structure that is returned, OBJ type MTG are the roles defined in the project along with their GUIDs. After that you can use BAPI_BUS2173_CHANGE to add the role to the phase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To set the status of a project, phase or task use the following BAPIs&lt;/P&gt;&lt;P&gt;BAPI_BUS2172_SET_STATUS -  To set the status of the project&lt;/P&gt;&lt;P&gt;BAPI_BUS2173_SET_STATUS - To set the status of the phase&lt;/P&gt;&lt;P&gt;BAPI_BUS2175_SET_STATUS - To set th status of a task&lt;/P&gt;&lt;P&gt;In each of the BAPIs pass the relevant GUIDs of the project, phase or the task as applicable and in structure  IS_BUSINESS_TRANSACTION in field  BUSINESS_TRANSACTION pass the relevant value - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RELEASE Release &lt;/P&gt;&lt;P&gt;COMPLETE Complete &lt;/P&gt;&lt;P&gt;REVOKE_COMPLETE Reset Complete &lt;/P&gt;&lt;P&gt;CANCEL Cancel &lt;/P&gt;&lt;P&gt;REVOKE_CANCEL Reset Cancel &lt;/P&gt;&lt;P&gt;SET_IN_PROCESS Set in Process &lt;/P&gt;&lt;P&gt;SET_USER_STATUS Set User Status &lt;/P&gt;&lt;P&gt;REVOKE_USER_STATUS Reset User Status Without Status Number&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;You can read the FM documentation for the same. As you are using only standard statuses, this will enable you to set the status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Debaranjan Hazarika on Feb 27, 2009 5:09 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 04:09:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179240#M23679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T04:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: cproject: program that can create new project: respo. role and release proj</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179241#M23680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Debaranjan Hazarika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok for the roles ..... thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'Set Status' process continues to give me some troubles: &lt;/P&gt;&lt;P&gt;When i try to release a project as you suggested me (BAPI_BUS2172_SET_STATUS with ongli GUID and BUSINESS_TRANSACTION input fields filled as required), th FM returns me back these log messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STATUS ||   ID              ||  TEXT &lt;/P&gt;&lt;P&gt;     I        ||  DPR_BAPI  ||  No active status profile - deletion is not necessary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when i call BAPI COMMIT WORK to save the eventually changes:&lt;/P&gt;&lt;P&gt;STATUS ||   ID               ||  TEXT &lt;/P&gt;&lt;P&gt;     S      ||  DPR_CORE  ||  No changes were made. Data is not saved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 08:23:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179241#M23680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T08:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: cproject: program that can create new project: respo. role and release proj</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179242#M23681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update of the still unsolved problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is: how can i change the status of a project/task/phase (example: change the status of a selected phase from "created" to "released" ) using BAPI fuction (via internet is a dummy procedure and so there must be a way to do it even via FM!!) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as suggested the right FM to do it should be : BAPI_BUS21XX_SET_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probelem: it does't work!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that i've not defined a custm status-scheme (from SPRO transaction), because of  i use the standard one : a project can be "cerated", "released", .... (see the chapter 'status management' of the cprojects guide &lt;A href="http://help.sap.com/saphelp_cproject300/helpdata/en/home.htm" target="test_blank"&gt;http://help.sap.com/saphelp_cproject300/helpdata/en/home.htm&lt;/A&gt; for a detailed view about it ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose This is the reason why the function BAPI_BUS2172_SET_STATUS gives me back the log message: "I || DPR_BAPI || No active status profile - deletion is not necessary".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not want to define a new status-scheme ( i don't need) and i still don't know how to change the project satus using BAPI function ....... but i'm preatty sure the there should be a method to do it !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all,&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Fabrizio Gemma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: fabrizio gemma on Feb 27, 2009 11:21 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 10:15:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179242#M23681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-27T10:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: cproject: program that can create new project: respo. role and release proj</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179243#M23682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Fabrizio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this. It worked for me - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA stat TYPE bapi_ts_business_transaction.&lt;/P&gt;&lt;P&gt;                 CLEAR stat.&lt;/P&gt;&lt;P&gt;                 stat-business_transaction = 'RELEASE'.&lt;/P&gt;&lt;P&gt;                 CALL FUNCTION 'BAPI_BUS2172_SET_STATUS' &lt;/P&gt;&lt;P&gt;                   EXPORTING&lt;/P&gt;&lt;P&gt;                     project_definition_guid       = project_guid&lt;/P&gt;&lt;P&gt;                     is_business_transaction    = stat&lt;/P&gt;&lt;P&gt;                  TABLES&lt;/P&gt;&lt;P&gt;                    return                        = it_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call COMMIT_WORK after this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2009 11:55:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179243#M23682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-03T11:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: cproject: program that can create new project: respo. role and release proj</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179244#M23683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;problem solved!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was the right commit function to call : BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only last question: where can i find the possible values for the admitted transaction ?&lt;/P&gt;&lt;P&gt;is there any table where i can find the right business_transaction text like 'RELEASE' , 'CLOSE' .... ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much  to all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrizio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2009 13:07:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179244#M23683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-03T13:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: cproject: program that can create new project: respo. role and release proj</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179245#M23684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Fabrizio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can read the relevant function module documentation for the text of the status or can search in table TJ30T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2009 08:53:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/cproject-program-that-can-create-new-project-respo-role-and-release-proj/qaa-p/5179245#M23684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-05T08:53:59Z</dc:date>
    </item>
  </channel>
</rss>

