Category Archives for Javascript

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

This is the second part of a series that will teach you how to consume/use/call a Web Service from within your SAP system and use the data received to perform and action within your ABAP code.  1Test

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 first need to make sure it works outside of SAP and more importantly you know what your

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

jQuery delegated assignment

This is just a basic snippet of jQuery information from an SAP point of view to hep point myself and other SAP developer in the right direction when integrating Javascrip and jQuery into your BSP applications. I

Continue reading