Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

HTTP request failed500,Internal server error - in oDataModel in SAPUI5

$
0
0

Hi experts,

 

I want to update the database from SAPUI5. The database table name is J_1IEXCDTL. In SAP, I am passing data through BDC call transaction method. The transaction code is 'J1IEX'.


In my SAPUI5 application, I am displaying the record using SAP.M.TABLE based on input scenario. My output is like below -


Capture.JPG

After changing the value in text field the selected records will get updated based on check box selection. Here first two records selected.

I am paasing these two records in an array in SAPUI5. The array name is batchChanges.

Then I am using below code to send the data to SAP. The code is -

 

I put external break point in data provider class. There I see only one record get reflected whereas I passed two records. This is one problem.

Next problem is - I am getting short dump in the code call transaction.


The short dumps are-

 

My main concern is related to above short dump. How to resolve this short dump?

 

Is there any other way to send the multiple records to SAP as I am sending? Here I am using below mention code-

 

Kindly suggest - How to update batch records from SAPUI5 to SAP? If my code is correct, then how to resolve the short dump?

 

 

Thanks in Advanced,

 

Regards,

Arindam Samanta.


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>