<?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_PROJECT_MAINTAIN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain/m-p/904393#M55837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All and Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having trouble updating Hierarchy using BAPI_PROJECT_MAINTAIN function module. Any solution or code please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;ABAPer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jun 2011 15:09:06 GMT</pubDate>
    <dc:creator>former_member386290</dc:creator>
    <dc:date>2011-06-08T15:09:06Z</dc:date>
    <item>
      <title>BAPI_PROJECT_MAINTAIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain/m-p/904389#M55833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using BAPI_PROJECT_MAINTAIN to add WBS elements to an EXISTING project for example at level-2.&lt;/P&gt;&lt;P&gt;The project stucture is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;====================&lt;/P&gt;&lt;P&gt;WBS1 Level-1&lt;/P&gt;&lt;P&gt;WBS2 Level-2&lt;/P&gt;&lt;P&gt;WBS3 Level-2&lt;/P&gt;&lt;P&gt;WBS4 Level-3&lt;/P&gt;&lt;P&gt;WBS5 Level-1&lt;/P&gt;&lt;P&gt;WBS6 Level-1&lt;/P&gt;&lt;P&gt;====================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanto to add new WBS at level 2 to this exsisting project with the up structure, so that I can obtain the structure below&lt;/P&gt;&lt;P&gt;====================&lt;/P&gt;&lt;P&gt;WBS1 Level-1&lt;/P&gt;&lt;P&gt;WBS2 Level-2&lt;/P&gt;&lt;P&gt;WBS3 Level-2&lt;/P&gt;&lt;P&gt;WBS3a Level-2&lt;/P&gt;&lt;P&gt;WBS4 Level-3&lt;/P&gt;&lt;P&gt;WBS5 Level-1&lt;/P&gt;&lt;P&gt;WBS6 Level-1&lt;/P&gt;&lt;P&gt;====================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do? Using BAPI_PROJECT_MAINTAIN I have an error.  &lt;/P&gt;&lt;P&gt;I have problems with hierarchy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2005 16:16:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain/m-p/904389#M55833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-27T16:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PROJECT_MAINTAIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain/m-p/904390#M55834</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;Try to activate error log for BAPI_PROJECT_MAINTAIN using:&lt;/P&gt;&lt;P&gt;METHOD_PROJECT-OBJECTTYPE = 'Trace'.&lt;/P&gt;&lt;P&gt;METHOD_PROJECT-METHOD = 'Create'.&lt;/P&gt;&lt;P&gt;METHOD_PROJECT-OBJECTKEY = FILENAME.&lt;/P&gt;&lt;P&gt;APPEND METHOD_PROJECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that the best approach is first to read hierarchy using:&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_PROJECT_GETINFO'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;  PROJECT_DEFINITION = PROJECT_DEFINITION-PROJECT_DEFINITION&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_WBS_HIERARCHIE_TABLE    = WBS_HIERARCHIE_TABLE.&lt;/P&gt;&lt;P&gt;and then modify it accordingly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krzys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2005 22:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain/m-p/904390#M55834</guid>
      <dc:creator>krzysztof_konitz4</dc:creator>
      <dc:date>2005-05-27T22:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PROJECT_MAINTAIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain/m-p/904391#M55835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Antonio!&lt;/P&gt;&lt;P&gt;I don't know if you already solved the problem, I had to do the same thing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you need to create the element (you can use the BAPI with method CREATE), and then you need to rebuild the hierarchy (with the same bapi with other paramethers), for the second step I used BAPI_PROJECT_GETINFO which Krzys suggested, with that you can get the actual hierarchy and then modify it as you need,&lt;/P&gt;&lt;P&gt;The documentation in BAPI transaction is very helpful with the paramethers you need to use,&lt;/P&gt;&lt;P&gt;I hope it helps,&lt;/P&gt;&lt;P&gt;Frinee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2005 14:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain/m-p/904391#M55835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-07T14:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PROJECT_MAINTAIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain/m-p/904392#M55836</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;Based on the above notes and lots of test, we are not able to update the Project hieararchy. I created the Project and WBS using the BAPI successfully, but all the WBS are level 1. I am unable to restructure the WBS to other lower levels. Any input will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;-satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2005 13:49:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain/m-p/904392#M55836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-05T13:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PROJECT_MAINTAIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain/m-p/904393#M55837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All and Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having trouble updating Hierarchy using BAPI_PROJECT_MAINTAIN function module. Any solution or code please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;ABAPer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 15:09:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-project-maintain/m-p/904393#M55837</guid>
      <dc:creator>former_member386290</dc:creator>
      <dc:date>2011-06-08T15:09:06Z</dc:date>
    </item>
  </channel>
</rss>

