Category Archives for Javascript/AJAX

HTML Javascript Web Service call from SAP BSP

Once you have your Web Service working using Postman or a similar API testing tool it is time to implement it within an SAP solution. At this point you have got a couple of options, one is to implement

Continue reading

Test SAP HTTP connection ready for REST Web Service call

If you want to call a REST Web Service from your SAP system you should first test SAP HTTP Connection to make sure your SAP system has access to the outside world and the particular Web service you want

Continue reading

REST Web Service from SAP use getpostman to test first

So you want to call a REST Web Service from SAP, but you don't know how to go about it. Well in this situation you you first need to make sure it works outside of SAP. There are so many extra layers of

Continue reading

Cookiechoices cookie only set for specific page not whole website

When I first downloaded the cookiechoices.js file from the link suggested by Google and then installed it onto my site it didn’t really work correctly. It would display the message but when the

Continue reading

Remove and Add HTML element using Javascript

When creating your SAP BSP using HTML you may want to add and remove elements dynamically using JavaScript and sometimes simply setting the element to visible or not isn’t the solution you are

Continue reading

Hide and display HTML element using Javascript

Within the JavaScript of your SAP BSP application or standard web page it is very simple to toggle a HTML element between hidden and display mode using the visibility attribute. You would just reference

Continue reading

Javascript to split a field value at a certain character

When implementing JavaScript within your SAP BSP you may want to capture an on screen field value, ID or name  and then split this value at a certain character. I.e. if you have

Continue reading