<?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: Creating WBS Elements using BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-wbs-elements-using-bapi/m-p/2072518#M429420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RS,&lt;/P&gt;&lt;P&gt;      We are using 4.7 version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And please find the below error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following syntax error occurred in the program SAPLCJ2054 :          &lt;/P&gt;&lt;P&gt;""LS_BAPI_TE_PRPS" and "EXTENSIONIN+30(960)" are not mutually convertib" &lt;/P&gt;&lt;P&gt;Error in ABAP application program.                                       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2007 17:24:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-04T17:24:58Z</dc:date>
    <item>
      <title>Creating WBS Elements using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-wbs-elements-using-bapi/m-p/2072513#M429415</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'm trying to create a new WBS Elements which is a copy of an existing one. To do this, I'm using the BAPI "BAPI_PROJECT_GETINFO" to gather the WBS Element which will be copied. Then, I populate the internal tables used for the BAPI "BAPI_PROJECT_MAINTAIN" and the following message is returned from the BAPI:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE_ID	 	CN&lt;/P&gt;&lt;P&gt;MESSAGE_NUMBER 	189&lt;/P&gt;&lt;P&gt;MESSAGE_TYPE	 	E&lt;/P&gt;&lt;P&gt;MESSAGE_TEXT	 	A reference object cannot be entered for the&lt;/P&gt;&lt;P&gt;                                                method 'Update'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I have read the documentation from the BAPI and followed its intrunctions but the problem persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I'm using the method create for the object type WBS-ELEMENT and WBS-HIERARCHY and I have populated the project definition internal table with the project code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I don't understand why this error is happening because I'm using the method create and not update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Any suggestion is welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leonardo Stroebel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 12:55:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-wbs-elements-using-bapi/m-p/2072513#M429415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T12:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating WBS Elements using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-wbs-elements-using-bapi/m-p/2072514#M429416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi People,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I've found the problem for the message returned by BAPI. I had to remove the entries in field refnumber and objectkey from the method for the hierarchy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    But now, I have another message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE_ID	 	CJ&lt;/P&gt;&lt;P&gt;MESSAGE_NUMBER	727&lt;/P&gt;&lt;P&gt;MESSAGE_TYPE		E&lt;/P&gt;&lt;P&gt;MESSAGE_TEXT		Field WBS_ELEMENT/WBS element: Changing the contents of the field is not permitted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I have debugged the function module and there is a checking PRPS table fields process which causes this message. The field that is being checked and cause this message is POSID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    It seems that the function module tries to modify an existing WBS element, but as I wrote before, I'm following the documentation to create a new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any comments or ideas are welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leonardo Stroebel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 14:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-wbs-elements-using-bapi/m-p/2072514#M429416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T14:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating WBS Elements using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-wbs-elements-using-bapi/m-p/2072515#M429417</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;Instead of using "BAPI_PROJECT_MAINTAIN", use following solution. We are using this solution and it is working pretty good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************&lt;/P&gt;&lt;P&gt;************************************************************&lt;/P&gt;&lt;P&gt;If the WBS element is already created and you want to create one more with same data, first get the WBS related information using BAPI_PROJECT_GETINFO as you are doing currently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using different sets of BAPIs to create project, create / change WBS element. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use function module from Function group CJ2001 ( Project related BAPIs ), CJ2054 ( WBS related BAPIs ) and PS_BAPI ( pre/post processing BAPIs ). There are specific order in which you need to execute these BAPIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if you want to create / change the WBS element, the BAPIs sequence is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1. BAPI_PS_INITIALIZATION &lt;/P&gt;&lt;P&gt;2. BAPI_BUS2054_CREATE_MULTI ( to create  WBS )&lt;/P&gt;&lt;P&gt;         or&lt;/P&gt;&lt;P&gt;2. BAPI_BUS2054_CHANGE_MULTI ( to change WBS )&lt;/P&gt;&lt;P&gt;3. BAPI_PS_PRECOMMIT&lt;/P&gt;&lt;P&gt;4. BAPI_TRANSACTION_COMMIT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the documentation of BAPI "BAPI_BUS2054_CREATE_MULTI " to see how these function modules work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need further information.&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>Fri, 30 Mar 2007 03:04:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-wbs-elements-using-bapi/m-p/2072515#M429417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T03:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating WBS Elements using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-wbs-elements-using-bapi/m-p/2072516#M429418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello RS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Thank you for your reply. The problem was solved applying note 775428. Now it's working as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Regarding to your solution, I'm working with the 4.6C R/3 version and there is no function group called CJ2001 and CJ2054 and no function modules specified by you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leonardo Stroebel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 13:30:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-wbs-elements-using-bapi/m-p/2072516#M429418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T13:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Creating WBS Elements using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-wbs-elements-using-bapi/m-p/2072517#M429419</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;Glad that you solved your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am also working in 4.6C and i have all the Function group and FM i mentioned before. This is weird. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, let me know if you have any other issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark the question as "answered" and close the thread if you do not have any more issues.&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>Fri, 30 Mar 2007 13:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-wbs-elements-using-bapi/m-p/2072517#M429419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T13:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating WBS Elements using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-wbs-elements-using-bapi/m-p/2072518#M429420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RS,&lt;/P&gt;&lt;P&gt;      We are using 4.7 version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And please find the below error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following syntax error occurred in the program SAPLCJ2054 :          &lt;/P&gt;&lt;P&gt;""LS_BAPI_TE_PRPS" and "EXTENSIONIN+30(960)" are not mutually convertib" &lt;/P&gt;&lt;P&gt;Error in ABAP application program.                                       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 17:24:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-wbs-elements-using-bapi/m-p/2072518#M429420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T17:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating WBS Elements using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-wbs-elements-using-bapi/m-p/2072519#M429421</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;We not have any issues in 4.6C. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me in which include and on which line this systax occur is coming?&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, 04 Apr 2007 17:35:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-wbs-elements-using-bapi/m-p/2072519#M429421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T17:35:36Z</dc:date>
    </item>
  </channel>
</rss>

