<?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 Question on BAPI_NETWORK_MAINTAIN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-bapi-network-maintain/m-p/5505605#M1259253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam facing a Problem with this bapi &lt;STRONG&gt;BAPI_NETWORK_MAINTAIN&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have populated the field activity_successor in the internal table it_relation which we export to Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is throwing an error stating *Activity 1492 does not exist in the network " " *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my code : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       wa_method-objecttype   = c_object_type. "Network relation&lt;/P&gt;&lt;P&gt;       wa_method-method       = c_method.        "Create&lt;/P&gt;&lt;P&gt;       wa_method-objectkey    = 'FS00000090445314910000009044531492'.&lt;/P&gt;&lt;P&gt;       wa_method-refnumber    = c_refnumber.    "000001&lt;/P&gt;&lt;P&gt;       APPEND wa_method TO it_method.&lt;/P&gt;&lt;P&gt;      CLEAR wa_method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      wa_method-objecttype   = ''.&lt;/P&gt;&lt;P&gt;      wa_method-method       = c_method1.  " Save&lt;/P&gt;&lt;P&gt;      wa_method-objectkey    = ''.&lt;/P&gt;&lt;P&gt;      wa_method-refnumber    = ''.&lt;/P&gt;&lt;P&gt;      APPEND wa_method TO it_method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;populate network table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      wa_network-network       = wa_nrel-o_network.&lt;/P&gt;&lt;P&gt;      APPEND wa_network TO it_network.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     wa_relation-activity_successor           =  wa_nrel-n_act_succ. "Activity successor = 1492&lt;/P&gt;&lt;P&gt;      wa_relation-relation_type                  =  wa_nrel-relation_type. " FS&lt;/P&gt;&lt;P&gt;      wa_relation-duration_relation_unit      =  wa_nrel-duration_relation_unit. " 2&lt;/P&gt;&lt;P&gt;      wa_relation-duration_relation             =  wa_nrel-duration_relation.  " D&lt;/P&gt;&lt;P&gt;      APPEND wa_relation TO it_relation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_nrel is the work area which holds the data. I have mentioned the data which work area contains in the right corner.&lt;/P&gt;&lt;P&gt;My network number is 904453 and acitvity number are 1491 and 1492&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Apr 2009 08:52:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-22T08:52:13Z</dc:date>
    <item>
      <title>Question on BAPI_NETWORK_MAINTAIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-bapi-network-maintain/m-p/5505605#M1259253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam facing a Problem with this bapi &lt;STRONG&gt;BAPI_NETWORK_MAINTAIN&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have populated the field activity_successor in the internal table it_relation which we export to Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is throwing an error stating *Activity 1492 does not exist in the network " " *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my code : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       wa_method-objecttype   = c_object_type. "Network relation&lt;/P&gt;&lt;P&gt;       wa_method-method       = c_method.        "Create&lt;/P&gt;&lt;P&gt;       wa_method-objectkey    = 'FS00000090445314910000009044531492'.&lt;/P&gt;&lt;P&gt;       wa_method-refnumber    = c_refnumber.    "000001&lt;/P&gt;&lt;P&gt;       APPEND wa_method TO it_method.&lt;/P&gt;&lt;P&gt;      CLEAR wa_method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      wa_method-objecttype   = ''.&lt;/P&gt;&lt;P&gt;      wa_method-method       = c_method1.  " Save&lt;/P&gt;&lt;P&gt;      wa_method-objectkey    = ''.&lt;/P&gt;&lt;P&gt;      wa_method-refnumber    = ''.&lt;/P&gt;&lt;P&gt;      APPEND wa_method TO it_method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;populate network table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      wa_network-network       = wa_nrel-o_network.&lt;/P&gt;&lt;P&gt;      APPEND wa_network TO it_network.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     wa_relation-activity_successor           =  wa_nrel-n_act_succ. "Activity successor = 1492&lt;/P&gt;&lt;P&gt;      wa_relation-relation_type                  =  wa_nrel-relation_type. " FS&lt;/P&gt;&lt;P&gt;      wa_relation-duration_relation_unit      =  wa_nrel-duration_relation_unit. " 2&lt;/P&gt;&lt;P&gt;      wa_relation-duration_relation             =  wa_nrel-duration_relation.  " D&lt;/P&gt;&lt;P&gt;      APPEND wa_relation TO it_relation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_nrel is the work area which holds the data. I have mentioned the data which work area contains in the right corner.&lt;/P&gt;&lt;P&gt;My network number is 904453 and acitvity number are 1491 and 1492&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 08:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-bapi-network-maintain/m-p/5505605#M1259253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T08:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Question on BAPI_NETWORK_MAINTAIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-bapi-network-maintain/m-p/5505606#M1259254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from err msg it looks like network number is not passed.&lt;/P&gt;&lt;P&gt;try passing&lt;/P&gt;&lt;P&gt;NETWORK_ PREDECESSOR = same network number&lt;/P&gt;&lt;P&gt;NETWORK_ SUCCESSOR = same network number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's how shown in SAP help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 09:07:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-bapi-network-maintain/m-p/5505606#M1259254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T09:07:12Z</dc:date>
    </item>
  </channel>
</rss>

