<?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>Question Re: Problem in execution of  a BAPI with XML input to a transaction in MII in Product Lifecycle Management Q&amp;A</title>
    <link>https://community.sap.com/t5/product-lifecycle-management-q-a/problem-in-execution-of-a-bapi-with-xml-input-to-a-transaction-in-mii/qaa-p/8373055#M43082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swapnil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this blog&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_blogpost" href="https://community.sap.com/" __jive_macro_name="blogpost" modifiedtitle="true" __default_attr="44184"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess your requirement is same passing multiple items in one BAPI input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the Bapi request XML in repeater and confirm whether it is forming the right structure,.&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;Anshul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Dec 2011 08:28:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-02T08:28:10Z</dc:date>
    <item>
      <title>Problem in execution of  a BAPI with XML input to a transaction in MII</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/problem-in-execution-of-a-bapi-with-xml-input-to-a-transaction-in-mii/qaq-p/8373054</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 am trying to call our custom BAPI with JCo Interface which takes a RESULT_INPUTXML and other single input parameter and returns the required tasks( ie, UD, Results &amp;amp; Remarks). The required RFC is not taking XML INPUT  and is return failure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have put a repeater to the RESULT_INPUTXML and also created an XML structure &amp;amp; Table. After that i have used Assignnment to assigned the values from RESULT_INPUTXML to XML structure and than to XML Table from the structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XML structure: &lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;item&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;INSPCHAR/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;CHAR_DESCR/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;SPECIFICATION/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;UP_TOL_LIMIT/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;LOW_TOL_LIMIT/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;RESULT/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/item&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XML TABLE:&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;T_INSP_CHAR_RESULTS&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/T_INSP_CHAR_RESULTS&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESULT_INPUTXML:&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Rowsets&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Rowset&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;Row&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;INSPCHAR&amp;gt;0010&amp;lt;/INSPCHAR&amp;gt;&amp;lt;RESULT&amp;gt;111&amp;lt;/RESULT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Row&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Row&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;INSPCHAR&amp;gt;0020&amp;lt;/INSPCHAR&amp;gt;&amp;lt;RESULT&amp;gt;11&amp;lt;/RESULT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Row&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Row&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;INSPCHAR&amp;gt;0030&amp;lt;/INSPCHAR&amp;gt;&amp;lt;RESULT&amp;gt;11&amp;lt;/RESULT&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/Row&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Row&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;INSPCHAR&amp;gt;0040&amp;lt;/INSPCHAR&amp;gt;&amp;lt;RESULT&amp;gt;11&amp;lt;/RESULT&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/Row&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Row&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;INSPCHAR&amp;gt;0050&amp;lt;/INSPCHAR&amp;gt;&amp;lt;RESULT&amp;gt;1&amp;lt;/RESULT&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/Row&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Row&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;INSPCHAR&amp;gt;0070&amp;lt;/INSPCHAR&amp;gt;&amp;lt;RESULT&amp;gt;1&amp;lt;/RESULT&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/Row&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Row&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;INSPCHAR&amp;gt;0080&amp;lt;/INSPCHAR&amp;gt;&amp;lt;RESULT&amp;gt;1&amp;lt;/RESULT&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/Row&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Row&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;INSPCHAR&amp;gt;0090&amp;lt;/INSPCHAR&amp;gt;&amp;lt;RESULT&amp;gt;1&amp;lt;/RESULT&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/Row&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Row&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;INSPCHAR&amp;gt;0100&amp;lt;/INSPCHAR&amp;gt;&amp;lt;RESULT&amp;gt;1&amp;lt;/RESULT&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/Row&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Row&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;INSPCHAR&amp;gt;0110&amp;lt;/INSPCHAR&amp;gt;&amp;lt;RESULT&amp;gt;11&amp;lt;/RESULT&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/Row&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Row&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;INSPCHAR&amp;gt;0140&amp;lt;/INSPCHAR&amp;gt;&amp;lt;RESULT&amp;gt;1&amp;lt;/RESULT&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/Row&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Row&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;INSPCHAR&amp;gt;0150&amp;lt;/INSPCHAR&amp;gt;&amp;lt;RESULT&amp;gt;1&amp;lt;/RESULT&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/Row&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Row&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;INSPCHAR&amp;gt;0160&amp;lt;/INSPCHAR&amp;gt;&amp;lt;RESULT&amp;gt;1&amp;lt;/RESULT&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/Row&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/Rowset&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/Rowsets&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Rowsets&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Rowset&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly provide a solution to the problen. Help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced..:)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapnil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 05:48:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/problem-in-execution-of-a-bapi-with-xml-input-to-a-transaction-in-mii/qaq-p/8373054</guid>
      <dc:creator>swapnil_mohite</dc:creator>
      <dc:date>2011-12-02T05:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in execution of  a BAPI with XML input to a transaction in MII</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/problem-in-execution-of-a-bapi-with-xml-input-to-a-transaction-in-mii/qaa-p/8373055#M43082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swapnil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this blog&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_blogpost" href="https://community.sap.com/" __jive_macro_name="blogpost" modifiedtitle="true" __default_attr="44184"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess your requirement is same passing multiple items in one BAPI input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the Bapi request XML in repeater and confirm whether it is forming the right structure,.&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;Anshul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 08:28:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/problem-in-execution-of-a-bapi-with-xml-input-to-a-transaction-in-mii/qaa-p/8373055#M43082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-02T08:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in execution of  a BAPI with XML input to a transaction in MII</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/problem-in-execution-of-a-bapi-with-xml-input-to-a-transaction-in-mii/qaa-p/8373056#M43083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anshul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have built my transaction referring to same blog. &lt;/P&gt;&lt;P&gt;By the way i am only passing mandatory values to the structure and rest are blank. Also I have found the solution for the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was when i was looping the record with repeater and then assigning it, I was not appending it. so only last record would be there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps others who faced similar issues. Queries are welcomed.&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;Swapnil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 07:22:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/problem-in-execution-of-a-bapi-with-xml-input-to-a-transaction-in-mii/qaa-p/8373056#M43083</guid>
      <dc:creator>swapnil_mohite</dc:creator>
      <dc:date>2011-12-05T07:22:10Z</dc:date>
    </item>
  </channel>
</rss>

