<?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 creating a project in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-project/m-p/2847374#M667058</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai &lt;/P&gt;&lt;P&gt;i am trying to  to create a project and wbs elements using bapi_project_maintain in my report, so i called he bapi for project definition and then for wbs elements&lt;/P&gt;&lt;P&gt;but the problme is that if i give both inputs the project definition and wbs elements it is giving error that the project is currently being edited,&lt;/P&gt;&lt;P&gt;i used the bapi_transaction_commit and also commit work and wait after each call even then it is giving same error, if i pass project first and then if i create wbs it is working fine , but at a time it is giving problem can any one tell me the suitable solution&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;afzal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2007 08:08:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-19T08:08:20Z</dc:date>
    <item>
      <title>creating a project</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-project/m-p/2847374#M667058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai &lt;/P&gt;&lt;P&gt;i am trying to  to create a project and wbs elements using bapi_project_maintain in my report, so i called he bapi for project definition and then for wbs elements&lt;/P&gt;&lt;P&gt;but the problme is that if i give both inputs the project definition and wbs elements it is giving error that the project is currently being edited,&lt;/P&gt;&lt;P&gt;i used the bapi_transaction_commit and also commit work and wait after each call even then it is giving same error, if i pass project first and then if i create wbs it is working fine , but at a time it is giving problem can any one tell me the suitable solution&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;afzal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 08:08:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-project/m-p/2847374#M667058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T08:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: creating a project</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-project/m-p/2847375#M667059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Insert &amp;lt;b&amp;gt;SET UPDATE TASK LOCAL&amp;lt;/b&amp;gt; statement before BAPI call, in that case all the locks will be definetely released after COMMIT WORK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 08:14:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-project/m-p/2847375#M667059</guid>
      <dc:creator>sergey_korolev</dc:creator>
      <dc:date>2007-09-19T08:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: creating a project</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-project/m-p/2847376#M667060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai i tried but i am gettign same error &lt;/P&gt;&lt;P&gt;i mean i used the set update local before calling the bapi&lt;/P&gt;&lt;P&gt;is is right or not&lt;/P&gt;&lt;P&gt;please reply me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET UPDATE TASK LOCAL .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        I_PROJECT_DEFINITION     = IT_PROJECT_DEFINITION&lt;/P&gt;&lt;P&gt;        I_PROJECT_DEFINITION_UPD = IT_PROJECT_DEFINITION_UPD&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        I_METHOD_PROJECT         = IT_METHOD_TABLE&lt;/P&gt;&lt;P&gt;        I_WBS_ELEMENT_TABLE      = IT_WBS_ELEMENT_TABLE&lt;/P&gt;&lt;P&gt;        E_MESSAGE_TABLE          = IT_MESSAGE_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        WAIT = 'X'.&lt;/P&gt;&lt;P&gt;    COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;SET UPDATE TASK LOCAL .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        I_PROJECT_DEFINITION     = IT_PROJECT_DEFINITION&lt;/P&gt;&lt;P&gt;        I_PROJECT_DEFINITION_UPD = IT_PROJECT_DEFINITION_UPD&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        I_METHOD_PROJECT         = IT_METHOD_TABLE&lt;/P&gt;&lt;P&gt;        I_WBS_ELEMENT_TABLE      = IT_WBS_ELEMENT_TABLE&lt;/P&gt;&lt;P&gt;        E_MESSAGE_TABLE          = IT_MESSAGE_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        WAIT = 'X'.&lt;/P&gt;&lt;P&gt;    COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;i used like this code for two times one for project definition and then for wbs elements&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 08:51:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-project/m-p/2847376#M667060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T08:51:32Z</dc:date>
    </item>
  </channel>
</rss>

