Skip to Content
Technical Articles

How to use Northwind OData service with SAP Web IDE with Trial Account

If you have tried to search the Google regarding  “How can I use Northwind OData service with SAP Web IDE” mostly you have seen the following post as one of the first 5 results:


If you tried to follow the instruction inside of the blog in a paid SAP account mostly you could successfully run you application and see the list of one of the NorthWind’s set. The only problem that maybe you suffered is that, inside of the that post it has been said to use /V3/northwind/northwind.svc as the service URL while as soon as you try to test the NorthWind with that URL you will see an error that says OData version 3 is not supported.



This problem can be easily solved by changing the V3 to V2 inside the URL. Just use the /V2/northwind/northwind.svc as the service URL and you can solve this problem.


But if you are trying to do the same steps in WEB IDE with a trial account you will see that you cannot run the application and you will see cross reference error in console, while the first explained steps regarding establishing a connection in SAP cockpit was for conquering the cross reference problem. Look at the following video for more evidence regarding the error.



It took some days of mine to find a solution for this problem, so I thought mostly many other peoples also could find my solution useful. The reason for this cross reference error is that WEB IDE in its trial version for any reason that I don’t know does not support batch requests, and after failure on batch request it tries to connect to NorthWind directly. Mostly it is a bug in WEB IDE Trial version or maybe somehow some limitations, but I’m not sure about that.

A solution for the described problem is to disable batch request inside the manifest.json file. Open the manifest.json file with code viewer and find models section, and change it like the following:


"models": {
	"i18n": {
		"type": "sap.ui.model.resource.ResourceModel",
		"settings": {
				"bundleName": "mjzsoft.sapui5.tutorial.i18n.i18n"
	"": {
		"dataSource": "mainService",
		"settings": {
				"useBatch": false
		"preload": true


By adding the following block of code to the default model we prevent using batch for that model and you have to be able to run the application without any error like the following figure.


	"settings": {
			"useBatch": false



I explained these steps as I am going to use the result of this post in my next posts, hope you like it and follow my posts.

You must be Logged on to comment or reply to a post.
    • Actually I am not sure. The only thing that I am sure you cannot do any batch request on the trial version of WEB IDE, while you can do on paid version.
      It is xcsrf problem and it is not.
      It seems in the WEB IDE when it cannot access the data via the bridge connector that we make to get rid of xcsrf problem, it tries to access the resource directly while it must not.
      We make a connection in cockpit to get rid of xcsrf but as batch is not possible in trial version of WEB IDE, it tries to access the external address directly and this is the point that we see xcsrf error in the console.

  • Hi MJZ Soft – you are misleading.

    1. There’s no bug in Web IDE Trial, it’s the OData service (in this case Northwind) that does not support the batch operation.
    2. As you can see, the blog you’re referring to is very old (4 years ago), so the best thing to do is to ask the original author of the blog to update it (cc: SIMMACO FERRIERO ). I wouldn’t expect a 4 years-old blog to work seamlessly today. Things are changing.
    3. I see you’re still using the “old” Web IDE from looking at your video, this will be removed at the end of 2018, so if you want to publish an updated blog, I would use “Web IDE Full-Stack”.

    It’s great that you figured out how to overcome the batch issue, and it’s great that you want to share it with the SAP community, however please correct your blog as it creates a false impression.



  • As Michal Keidar has pointed out, the blog post you were referring to is not maintained and still uses the insecure protocol http:// for the destination URL. Since the domain has already moved to HTTPS, please update your destination URL as well to

    The request for the service metadata can be then proxied successfully even with the useBatch enabled. The UI5 documentation topic Create Northwind Destination also guides how to do it.

    You can see a working example here:

  • Thanks MJZ SoftMichal Keidar,Boghyon Hoffmann

    It’s solved my problem.

    BTW, during the the upgrading, there is no property of “TrustAll” in SCP Destination Configuration.

    And we don’t have to add the code below in manifest.json

    "settings": {
       "useBatch": false

    what you need to do is just replace ‘http’ by ‘https’.