<?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 for modifying project status in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645606#M287304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reyes!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that there's no any BAPI to change the Status of the Project or WBS element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can do the next steps for any &amp;lt;b&amp;gt;OBJNR&amp;lt;/b&amp;gt; (Project/WBS):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Set a breakpoint in program LBSVAF12 in the form STATUS_UPDATE. Then go to change the status user/system of the project/WBS using transaction CJ02. Make you updations and save. You should reach your breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The function module &amp;lt;b&amp;gt;'STATUS_UPDATE'&amp;lt;/b&amp;gt; is triggered using internal table "&amp;lt;u&amp;gt;jest_updt&amp;lt;/u&amp;gt;". Copy the records of this table carefully. It is updating the standard table JEST (select the corresponding fields in your program).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Using the function module 'STATUS_OBJECT_READ' with the OBJNR you can obtaing the fields &amp;lt;u&amp;gt;OBTYP&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;STSMA&amp;lt;/u&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Then you're ready to built your ABAP program to automatize the status updation. Append the corresponding records in  the internal table " jest_update" and just function &amp;lt;b&amp;gt;'STATUS_UPDATE' IN UPDATE TASK&amp;lt;/b&amp;gt; with your internal table. Then COMMIT WORK AND WAIT. The status is now changed like manually in step 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. To make it perfect you should maintain the correct change numbers (&amp;lt;u&amp;gt;CHGNR&amp;lt;/u&amp;gt;) in the &amp;lt;b&amp;gt;JEST&amp;lt;/b&amp;gt; table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards and see you in Madrid next time!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Nov 2006 03:15:23 GMT</pubDate>
    <dc:creator>roger_gomez</dc:creator>
    <dc:date>2006-11-20T03:15:23Z</dc:date>
    <item>
      <title>BAPI for modifying project status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645599#M287297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found a function :STATUS_TEXT_EDIT to get the status of a project, but now I want to modify the status of the project. Does anybody know if there is a BAPI to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reyes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 11:16:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645599#M287297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T11:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for modifying project status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645600#M287298</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 dont think u will have BAPI for ur req.&lt;/P&gt;&lt;P&gt;U can create one ZBAPI with merging STATUS_TEXT_EDIT  and BAPI_TRANSACTION_COMMIT to update project status as the same functionality u have in STATUS_TEXT_EDIT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs&lt;/P&gt;&lt;P&gt;Manas Ranjan Panda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 11:26:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645600#M287298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T11:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for modifying project status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645601#M287299</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; Use the FMs in the following order&lt;/P&gt;&lt;P&gt;BAPI_PS_INITIALIZATION&lt;/P&gt;&lt;P&gt;BAPI_BUS2001_SET_STATUS&lt;/P&gt;&lt;P&gt;BAPI_PS_PRECOMMIT&lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT with wait.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 11:33:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645601#M287299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T11:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for modifying project status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645602#M287300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this BAPI&lt;/P&gt;&lt;P&gt;BAPI_PROJECTDEF_UPDATE      Change Project Definition                                                 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 11:35:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645602#M287300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T11:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for modifying project status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645603#M287301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All right. I have just found this BAPI: BAPI_PROJECT_MAINTAIN. Its description says that this BAPI is for updating projects. This could be wright??&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 11:37:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645603#M287301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T11:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for modifying project status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645604#M287302</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 saw that BAPI-BAPI_PROJECT_MAINTAIN and read the documentation&lt;/P&gt;&lt;P&gt;I think u can use that but i m not sure&lt;/P&gt;&lt;P&gt;Try to pass all the parameters as specified in FM documentation and try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Manas Ranjan Panda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 12:51:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645604#M287302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T12:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for modifying project status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645605#M287303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Reyes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the function module &amp;lt;b&amp;gt;STATUS_MAINTAIN&amp;lt;/b&amp;gt;..&lt;/P&gt;&lt;P&gt;and &amp;lt;b&amp;gt;STATUS_CHANGE_FOR_ACTIVITY&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sajan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 13:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645605#M287303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T13:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for modifying project status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645606#M287304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reyes!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that there's no any BAPI to change the Status of the Project or WBS element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can do the next steps for any &amp;lt;b&amp;gt;OBJNR&amp;lt;/b&amp;gt; (Project/WBS):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Set a breakpoint in program LBSVAF12 in the form STATUS_UPDATE. Then go to change the status user/system of the project/WBS using transaction CJ02. Make you updations and save. You should reach your breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The function module &amp;lt;b&amp;gt;'STATUS_UPDATE'&amp;lt;/b&amp;gt; is triggered using internal table "&amp;lt;u&amp;gt;jest_updt&amp;lt;/u&amp;gt;". Copy the records of this table carefully. It is updating the standard table JEST (select the corresponding fields in your program).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Using the function module 'STATUS_OBJECT_READ' with the OBJNR you can obtaing the fields &amp;lt;u&amp;gt;OBTYP&amp;lt;/u&amp;gt; and &amp;lt;u&amp;gt;STSMA&amp;lt;/u&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Then you're ready to built your ABAP program to automatize the status updation. Append the corresponding records in  the internal table " jest_update" and just function &amp;lt;b&amp;gt;'STATUS_UPDATE' IN UPDATE TASK&amp;lt;/b&amp;gt; with your internal table. Then COMMIT WORK AND WAIT. The status is now changed like manually in step 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. To make it perfect you should maintain the correct change numbers (&amp;lt;u&amp;gt;CHGNR&amp;lt;/u&amp;gt;) in the &amp;lt;b&amp;gt;JEST&amp;lt;/b&amp;gt; table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards and see you in Madrid next time!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2006 03:15:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-modifying-project-status/m-p/1645606#M287304</guid>
      <dc:creator>roger_gomez</dc:creator>
      <dc:date>2006-11-20T03:15:23Z</dc:date>
    </item>
  </channel>
</rss>

