<?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: Issue with BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722965#M1948361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens, Just a quick question. When I set a break point in bapi ,it is not hitting the BAPI ,why is this happening ? Is it the same reason that you mentioned ? " that's another indication that the RFC failed in the backend. The client is trying to parse an empty string as an xml document and fails. Because the rfc failed in the backend we received an empty string." Best regards, pradeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2016 13:11:11 GMT</pubDate>
    <dc:creator>pakula123</dc:creator>
    <dc:date>2016-05-30T13:11:11Z</dc:date>
    <item>
      <title>Issue with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722956#M1948352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts, This is the second time I am having this issue with BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;script execution: TypeError: Unable to get property 'textContent' of undefined or null reference at GuiRFC.prototype.getResult&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var objTable = session.findById("wnd[0]/usr/cntlGRID1/shellcont/shell");&lt;/P&gt;&lt;P&gt;var firstVisibleRow = objTable.firstVisibleRow ;&lt;/P&gt;&lt;P&gt;var selectedVisibleRow = parseInt( session.findById("wnd[0]/usr/cntlGRID1/shellcont/shell").selectedRows );&lt;/P&gt;&lt;P&gt;var selectedTableRow = firstVisibleRow + selectedVisibleRow ;&lt;/P&gt;&lt;P&gt;//var colName = session.findById("wnd[0]/usr/cntlGRID1/shellcont/shell").getColumnName(1) ;&lt;/P&gt;&lt;P&gt;var order = session.findById("wnd[0]/usr/cntlGRID1/shellcont/shell").getCellValue(selectedTableRow ,"AUFNR") ;&lt;/P&gt;&lt;P&gt;var str1 = order ;&lt;/P&gt;&lt;P&gt;var str2 = "00";&lt;/P&gt;&lt;P&gt;var str3 = "000" ;&lt;/P&gt;&lt;P&gt;var order = str2.concat(str1);&lt;/P&gt;&lt;P&gt;session.findById("wnd[0]/usr/txtPersonas_1464198546735").text = order ;&lt;/P&gt;&lt;P&gt;//session.findById("wnd[0]/usr/txtPersonas_1461014548992").text = order ;&lt;/P&gt;&lt;P&gt;var rfc = session.createRFC("ZBAPI_ISUSMORDER_USERSTATUSSET") ;&lt;/P&gt;&lt;P&gt;rfc.setParameter("NUMBER", order); rfc.setParameter("VALUE", "E0014");&lt;/P&gt;&lt;P&gt;var rfc1 = session.createRFC("BAPI_TRANSACTION_COMMIT") ;&lt;/P&gt;&lt;P&gt;rfc.requestResults(JSON.stringify(["RETURN"]));======================FAILING SOMEWHERE HERE ===============&lt;/P&gt;&lt;P&gt;rfc.send(); "]))&lt;/P&gt;&lt;P&gt;var result = JSON.parse(rfc.getResult("RETURN"));"]));======================FAILING SOMEWHERE HERE ===============&lt;/P&gt;&lt;P&gt;if (result.NUMBER == str3 ) { //session.utils.showOptionDialog("", "Notitifcation Suspended", session.utils.MESSAGE_TYPE_INFORMATION, session.utils.MESSAGE_OPTION_OK, onOptionDialogClose, "1");&lt;/P&gt;&lt;P&gt;session.findById("wnd[0]/tbar[1]/btn[8]").press();&lt;/P&gt;&lt;P&gt;session.findById("wnd[0]/sbar").setMessage( " Order backlogged", "I" ) ;&lt;/P&gt;&lt;P&gt;//function onOptionDialogClose(decision, ID){} }&lt;/P&gt;&lt;P&gt;else { // session.utils.showOptionDialog("", "Notitifcation suspension Failed", session.utils.MESSAGE_TYPE_INFORMATION, session.utils.MESSAGE_OPTION_OK, onOptionDialogClose, "1");&lt;/P&gt;&lt;P&gt;session.findById("wnd[0]/tbar[1]/btn[8]").press();&lt;/P&gt;&lt;P&gt;session.findById("wnd[0]/sbar").setMessage( " order backlog failed ", "I" ) ;&lt;/P&gt;&lt;P&gt;//function onOptionDialogClose(decision, ID){} session.utils.log(result.NUMBER);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Kindly suggest .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;pradeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 21:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722956#M1948352</guid>
      <dc:creator>pakula123</dc:creator>
      <dc:date>2016-05-25T21:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722957#M1948353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to use a changing RFC the change has to be commited with the RFC. Some RFCs have a special parameter to indicate whether or not to commit. If the the function does not have a commit flag, but requires a subsequent call to a commit BAPI, then it will not work.&lt;/P&gt;&lt;P&gt;You can solve this by writting a "wrapper" RFC (in ABAP) from which you call the desired functional RFC and then the commit BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 14:41:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722957#M1948353</guid>
      <dc:creator>clemens_gantert</dc:creator>
      <dc:date>2016-05-26T14:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722958#M1948354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi Clemens , I dont think so we need to use BAPI commit in our case ,I just put it in there just to make sure .But I have a concern on the next step var result = JSON.parse(rfc.getResult("RETURN"));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; which is failing not sure why .We have discussed in this thread earlier &lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="2181" data-containertype="14" data-objectid="3903926" data-objecttype="1" href="https://answers.sap.com/thread/3903926"&gt;http://scn.sap.com/thread/3903926&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;where you have mentioned to wait for SP3 .(in that case it was issue with dates ). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are upgrading to SP3 . if we are using BAPI_ISUSMORDER_USERSTATUSSET to set the user status .will the RFC tool have auto code generation as shown in power play videos . Can SP3 fix the issue that I am having with line&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; var result = JSON.parse(rfc.getResult("RETURN")); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please comment. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;pradeep.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 18:27:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722958#M1948354</guid>
      <dc:creator>pakula123</dc:creator>
      <dc:date>2016-05-26T18:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722959#M1948355</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;if you are able to change the order by just running the FM in SM37, then it proves that you don't need a commit RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only now noticed that you didn't request any result parameters before creating the second rfc. In general it's a good idea to finish one rfc at a time and for now I strongly recommend to request some data back (even if you don't need it) before you create and send the next rfc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is a script that I created with the RFC tool in SP03 and is working fine (well, it does not do anything, but it runs through and does not cause exceptions and the _RETURN1 object contains a sensible, functional error message).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var oRFC = session.createRFC("BAPI_ISUSMORDER_USERSTATUSSET");&lt;/P&gt;&lt;P&gt;oRFC.setParameter("INACTIVE", ""); // optional&lt;/P&gt;&lt;P&gt;oRFC.setParameter("NUMBER", "");&lt;/P&gt;&lt;P&gt;oRFC.setParameter("STATUS", {"INTERN":"","EXTERN":"","LANGU":"","LANGU_ISO":""});&lt;/P&gt;&lt;P&gt;oRFC.requestResults(["RETURN"]);&lt;/P&gt;&lt;P&gt;oRFC.send();&lt;/P&gt;&lt;P&gt;var _RETURN1 = oRFC.getResultObject("RETURN");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var oRFC2 = session.createRFC("BAPI_TRANSACTION_COMMIT");&lt;/P&gt;&lt;P&gt;oRFC2.requestResults(["RETURN"]);&lt;/P&gt;&lt;P&gt;oRFC2.send();&lt;/P&gt;&lt;P&gt;var _RETURN2 = oRFC2.getResultObject("RETURN");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 20:09:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722959#M1948355</guid>
      <dc:creator>clemens_gantert</dc:creator>
      <dc:date>2016-05-26T20:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722960#M1948356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I requested the results and am still getting the same error as you can see I am using request results and JSON stringify in one line.&lt;/P&gt;&lt;P&gt;I tried using just request results only as well with out JSON stringify but still shows same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried concatenating with leading ZERO`s and with out leading ZERO`s and have set external break point in ABAP side but still no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are in SP2 and are planning to move to SP3 some time next week. Do you think that SP2 has some issue here .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var objTable = session.findById("wnd[0]/usr/cntlGRID1/shellcont/shell");&lt;/P&gt;&lt;P&gt;var firstVisibleRow = objTable.firstVisibleRow ;&lt;/P&gt;&lt;P&gt;var selectedVisibleRow = parseInt( session.findById("wnd[0]/usr/cntlGRID1/shellcont/shell").selectedRows );&lt;/P&gt;&lt;P&gt;var selectedTableRow = firstVisibleRow + selectedVisibleRow ;&lt;/P&gt;&lt;P&gt;var order = session.findById("wnd[0]/usr/cntlGRID1/shellcont/shell").getCellValue(selectedTableRow ,"AUFNR") ;&lt;/P&gt;&lt;P&gt;var str1 = order ;&lt;/P&gt;&lt;P&gt;var str2 = "00";&lt;/P&gt;&lt;P&gt;var str3 = "000" ;&lt;/P&gt;&lt;P&gt;var order = str2.concat(str1);&lt;/P&gt;&lt;P&gt;var rfc = session.createRFC("ZBAPI_ISUSMORDER_USERSTATUSSET") ;&lt;/P&gt;&lt;P&gt;rfc.setParameter("NUMBER", order);&lt;/P&gt;&lt;P&gt;rfc.setParameter("VALUE", "E0014");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rfc.requestResults(JSON.stringify(["RETURN"]));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rfc.send();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var result = JSON.parse(rfc.getResult("RETURN"));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (result.NUMBER == str3 ) { session.findById("wnd[0]/tbar[1]/btn[8]").press();&lt;/P&gt;&lt;P&gt;session.findById("wnd[0]/sbar").setMessage( " Order backlogged", "I" ) ; }&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;session.findById("wnd[0]/tbar[1]/btn[8]").press();&lt;/P&gt;&lt;P&gt;session.findById("wnd[0]/sbar").setMessage( " order backlog failed ", "I" ) ;&lt;/P&gt;&lt;P&gt;session.utils.log(result.NUMBER);&lt;/P&gt;&lt;P&gt;session.utils.log(result.MESSAGE);&lt;/P&gt;&lt;P&gt;session.utils.log(result.NUMBER);&lt;/P&gt;&lt;P&gt;session.utils.log(result.LOG_NO);&lt;/P&gt;&lt;P&gt;session.utils.log(result.LOG_MSG_NO);&lt;/P&gt;&lt;P&gt;session.utils.log(result.MESSAGE_V1);&lt;/P&gt;&lt;P&gt;session.utils.log(result.MESSAGE_V2);&lt;/P&gt;&lt;P&gt;session.utils.log(result.MESSAGE_V3);&lt;/P&gt;&lt;P&gt;session.utils.log(result.MESSAGE_V4);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error as below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unable to get property 'textContent' of undefined or null reference at GuiRFC.prototype.getResult&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;pradeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 18:06:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722960#M1948356</guid>
      <dc:creator>pakula123</dc:creator>
      <dc:date>2016-05-27T18:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722961#M1948357</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;Your script looks ok to me. My guess is the problem is with SP02. I know we fixed quite a few defects in how RFCs are processed during runtime with SP03.&lt;/P&gt;&lt;P&gt;Just try again after the upgarde.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 18:12:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722961#M1948357</guid>
      <dc:creator>clemens_gantert</dc:creator>
      <dc:date>2016-05-27T18:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722962#M1948358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens, Also when I try these lines of code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rfc.requestResults(["RETURN"]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rfc.send();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var result = JSON.parse(rfc.getResult("RETURN"));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following error .... Step 2 () returns: 101 [Personas XML element with specified path not found.]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;pradeep .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 18:12:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722962#M1948358</guid>
      <dc:creator>pakula123</dc:creator>
      <dc:date>2016-05-27T18:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722963#M1948359</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;yes, that's another indication that the RFC failed in the backend. The client is trying to parse an empty string as an xml document and fails. Because the rfc failed in the backend we received an empty string.&lt;/P&gt;&lt;P&gt;Please try again with SP03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 18:16:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722963#M1948359</guid>
      <dc:creator>clemens_gantert</dc:creator>
      <dc:date>2016-05-27T18:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722964#M1948360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Clemens. Best regards, pradeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 18:23:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722964#M1948360</guid>
      <dc:creator>pakula123</dc:creator>
      <dc:date>2016-05-27T18:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722965#M1948361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens, Just a quick question. When I set a break point in bapi ,it is not hitting the BAPI ,why is this happening ? Is it the same reason that you mentioned ? " that's another indication that the RFC failed in the backend. The client is trying to parse an empty string as an xml document and fails. Because the rfc failed in the backend we received an empty string." Best regards, pradeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 13:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722965#M1948361</guid>
      <dc:creator>pakula123</dc:creator>
      <dc:date>2016-05-30T13:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722966#M1948362</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;yes, the first step of executing an RFC in the backend is to map the received importing parameter data to a corresponding data structure (which is created dynamically). In SP02 when this mapping fails the processing ends without an error message. In SP03, you should at least get some form of error message that you can inspect with GuiRFC. getExceptionText(), getExceptionType(). Only if the mapping was successful, the RFC is called and the system will hit your external breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 15:05:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722966#M1948362</guid>
      <dc:creator>clemens_gantert</dc:creator>
      <dc:date>2016-05-31T15:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722967#M1948363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Clemens. Best regards, pradeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 13:36:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-bapi/m-p/11722967#M1948363</guid>
      <dc:creator>pakula123</dc:creator>
      <dc:date>2016-06-01T13:36:15Z</dc:date>
    </item>
  </channel>
</rss>

