<?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>topic Re: BAPI_BUS2001_SET_STATUS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967531#M397258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to be that it is not possible to change the status created CRTD to another...&lt;/P&gt;&lt;P&gt;Anybody knows another bapi that changes the system status?&lt;/P&gt;&lt;P&gt;For creating the project i use the bapi BAPI_PROJECTDEF_CREATE but it doesn't have an option to set the status,&lt;/P&gt;&lt;P&gt;thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Feb 2007 17:41:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-15T17:41:20Z</dc:date>
    <item>
      <title>BAPI_BUS2001_SET_STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967525#M397252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I ' ve been trying to change the project status,  the only bapi i found out  is BAPI_BUS2001_SET_STATUS... but when i test it from se37 trx and complete the parameters after the execution  it says "Imposible treatment because of incorrect initialization. The function wasn't executed"&lt;/P&gt;&lt;P&gt;Do you have any solution?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 13:33:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967525#M397252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T13:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2001_SET_STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967526#M397253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Please read the documentation of the BAPI - BAPI_BUS2001_SET_STATUS before implementing it in the system. This is a must.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the docuementtation of this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;BAPI_BUS2001_SET_STATUS
____________________________________________________
Short Text
Set/Reset Status for BUS2001 (Project Definition)

Functionality
With the BAPI BAPI_BUS2001_SET_STATUS, one system status (UNDO_SYSTEM_STATUS) and one user status (UNDO_USER_STATUS) can be revoked each time, and one system status (SET_SYSTEM_STATUS) and one user status (UNDO_USER_STATUS) can be set each time for a project definition (PROJECT_DEFINITION).

The following system statuses are supported:

'REL' Released (I0002) set
'TECO' Technically completed (I0045) set/revoke
'CLSD' Closed (I0046) set/revoke
'MDLK' Master data locked (I0065) set/revoke
'DLFL' Deletion flag (I0076) set/revoke
User statuses can be set or revoked corresponding to the status profile assigned to the project. These must be transferred into the current logon language via the key.

The processing sequence is as follows:

1. Revoke system status
2. Revoke user status
3. Set system status
4. Set user status
Even if the system/user status cannot be set/revoked, all other actions are carried out.

The inheritance of the status does not take place integrated between project and network. A change in status only has an effect on the WBS elements and not on a network that may be assigned.

The BAPI can be called repeatedly until an LUW (Logical Unit of Work) is closed with BAPI_PS_PRECOMMIT and BAPI COMMIT WORK.

Only one project or WBS element can be processed from a project.


Notes
An error message appears in the RETURN return parameter if an error occurs during processing. The messages that were generated during the process appear in the E_MESSAGE_TABLE table after being called.

Further information
For  more information, see the SAP Library under Project System -&amp;gt; Structures -&amp;gt; Project System Interfaces -&amp;gt; PS-EPS Interface for External Project Management Systems.

Parameters
PROJECT_DEFINITION
UNDO_SYSTEM_STATUS
UNDO_USER_STATUS
SET_SYSTEM_STATUS
SET_USER_STATUS
RETURN
E_RESULT

Exceptions
Function Group
CNIF_STATUS_2001&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward suitable points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 13:41:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967526#M397253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T13:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2001_SET_STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967527#M397254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I 've readen the help before, but it didn't help...&lt;/P&gt;&lt;P&gt;The thing is my proyect is in system status open (ABIE. i'm log on in spanish) and i want to change it to released ( LIB.), maybe i'm completing those status in wrong way..in wich table can i found the possible states?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 14:03:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967527#M397254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T14:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2001_SET_STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967528#M397255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are calling this BAPI ? could please post the code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statuses possible from the documentation are - 'REL','TECO','CLSD','MDLK','DLFL'...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 14:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967528#M397255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T14:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2001_SET_STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967529#M397256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;You can find the system status in the standard table - TJ02T ( It contains System status texts in all the possible langauages)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

ISTAT   SPRAS TXT04 TXT30      
                               
I0001   S     ABIE  Abiertos   
I0002   S     LIB.  Liberados &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward suitable points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 14:31:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967529#M397256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T14:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2001_SET_STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967530#M397257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess these are user status, not the system status... right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 14:32:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967530#M397257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T14:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2001_SET_STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967531#M397258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to be that it is not possible to change the status created CRTD to another...&lt;/P&gt;&lt;P&gt;Anybody knows another bapi that changes the system status?&lt;/P&gt;&lt;P&gt;For creating the project i use the bapi BAPI_PROJECTDEF_CREATE but it doesn't have an option to set the status,&lt;/P&gt;&lt;P&gt;thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 17:41:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967531#M397258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T17:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2001_SET_STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967532#M397259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;By the way, the status they are talking about arent user status.. they are  the transtation to spanish (TJ02T , language dependant status table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REL release = LIBE Liberado in spanish.&lt;/P&gt;&lt;P&gt;CRT created = ABIE Abierto in spanis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 19:52:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967532#M397259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T19:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2001_SET_STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967533#M397260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you use BAPI_BUS2001_SET_STATUS  to release the Project, You have to use in this order only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1&amp;lt;/b&amp;gt;. BAPI_PS_INITIALIZATION ( "Initilize )&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;2.&amp;lt;/b&amp;gt; BAPI_BUS2001_SET_STATUS   ( to set Project status)&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;3&amp;lt;/b&amp;gt;. BAPI_PS_PRECOMMIT  ( "Precommit )&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;4&amp;lt;/b&amp;gt;. BAPI_TRANSACTION_COMMIT ( "Commit )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you call these BAPIs in this order, then only you can set the status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information, see the documentation of BAPI_BUS2001_SET_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 20:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967533#M397260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T20:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BUS2001_SET_STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967534#M397261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mariela.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For system status you have to set it in English ( 'REL' or 'REL '), even though SAP shows it in logon language ('LIBD' in spanish). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_BUS2001_SET_STATUS'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   project_definition       = codproyecto&lt;/P&gt;&lt;P&gt;   UNDO_SYSTEM_STATUS       = &lt;/P&gt;&lt;P&gt;   UNDO_USER_STATUS         =&lt;/P&gt;&lt;P&gt;    SET_SYSTEM_STATUS        = 'REL'&lt;/P&gt;&lt;P&gt;    SET_USER_STATUS          = &lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;  RETURN                   = return&lt;/P&gt;&lt;P&gt; TABLES&lt;/P&gt;&lt;P&gt;   E_RESULT                 = bapiresult&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2007 16:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-bus2001-set-status/m-p/1967534#M397261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-08T16:10:10Z</dc:date>
    </item>
  </channel>
</rss>

