Questions tagged [sap-bsp]

SAP Business Server Pages is an ABAP-stack server technology that provides both an MVC approach and a low level http request/response approach.

Documentation for BSP : here.

This tag was created because the current BSP tag stands for 'Board Support Package' and used to stand for 'Binary Space Partitioning trees', which means that all 'sap' 'bsp' questions are in effect wrongly tagged.

23 questions
5
votes
3 answers

How to write text to a local file

I'm trying to write text to a local file (i.e. on my laptop) using the following code: data: fname(60), text type string value 'la la la'. fname = 'myfile.txt'. OPEN DATASET fname FOR OUTPUT IN TEXT MODE encoding default. TRANSFER text TO…
B. Bowles
  • 764
  • 4
  • 9
  • 21
4
votes
3 answers

Cut off text exceeding a certain length

I have a list with texts with lengths ranging from 1 character to several thousands. I want to cut off all texts exceeding 255 characters. How can I do that? Do I have to check the length of each String and then cut it with (255) or is there a more…
Stefan Ernst
  • 2,781
  • 4
  • 25
  • 34
2
votes
1 answer

How to deploy a React web app to the Fiori Launchpad?

I have a React web application which I created with the ui5-webcomponents-react library from SAP https://github.com/SAP/ui5-webcomponents-react.I wish to make this application available via the SAP Fiori Launchpad (as a tile). How can I make this…
nopassport1
  • 1,821
  • 1
  • 25
  • 53
2
votes
1 answer

Phonegap - SAP BSP Application - fails to load with Login pop-up

In a Phonegap application, i open an external web app using window.location.href in body's onload event. It is working good with other urls like google.com and facebook.com. But i have to open my SAP Bsp application like this. When i open my SAP BSP…
user10
  • 5,186
  • 8
  • 43
  • 64
2
votes
3 answers

Convert HTML page into image using Javascript

Hi, EDIT: I want to achieve it by with out using any third party software..My application is a SAP product and I cannot go to every customer and install that software in his system. I have the following scenario..     There is a button in my…
Rama Rao M
  • 2,961
  • 11
  • 44
  • 64
1
vote
0 answers

BSP deployment API

I'm trying to find some documentation about publish\updating a BSP project (Reactjs build in my case, which works like a charm) via Web API. That way I could automate build\deploy via Atlassian Bamboo, avoiding long and exhausting manual procedures…
Black.Jack
  • 1,878
  • 2
  • 22
  • 39
1
vote
0 answers

SAPUI5: SAP-Server sends no-cache, Appcache doesn't work

I'm developing a SAPUI5 application that needs to work offline. I'm using the Eclipse plugin provided by SAP to develop and upload the app to the SAP server (SAP ECC 6.0, Enhancement Package 7) as a BSP application. In Chrome my appcache works fine…
Ben
  • 109
  • 1
  • 11
1
vote
3 answers

How do I prevent BSP from adding a space to an integer variable?

Background I'm making some changes to an existing custom BSP page in order to improve usability on Windows RT tablets. I've been asked to change an input field (currently type="text") so that the number pad comes up when someone starts typing a…
Esti
  • 3,677
  • 8
  • 35
  • 57
1
vote
1 answer

How to instantiate a BSP controller manually

I tried initially DATA: cl_rest_bo_list TYPE REF TO zcl_rm_rest_bulk_orders. CREATE OBJECT cl_rest_bo_list. cl_rest_bo_list->request->if_http_request~set_method( 'GET' ). cl_rest_bo_list->do_request( ). This resulted into an abend, accessing…
tomdemuyt
  • 4,572
  • 2
  • 31
  • 60
1
vote
1 answer

How to use Ajax in BSP?

So far I've succeeded to get my BSP MVC model working. Here is my code. View Counter :
kk-dev11
  • 2,654
  • 5
  • 37
  • 48
0
votes
3 answers

Is there a way to make tag CSS3 work without DOCTYPE in SAP BSP?

Is there a way to make tag CSS3 working without DOCTYPE? You may think, why the hell I do need this! In BSP page, default tags (html,title) are provided by SAP, and we cannot change them. They do not include DOCTYPE and we cannot add DOCTYPE tag…
Rama Rao M
  • 2,961
  • 11
  • 44
  • 64
0
votes
1 answer

CSS3 is not working in SAP BSP

I am trying to use css3 styles(like border-radius,box-shadow) in my bsp application.But these new styles are not applied in BSP. I have tried by replacing the BSP tag to too.But the existed elments(like table,listbox etc.) do nto work properly.The…
Rama Rao M
  • 2,961
  • 11
  • 44
  • 64
0
votes
1 answer

How to activate the buttons in a Tableview of BSP application (SAP)

In a Bsp application i need to activate and make these buttons of a tableview work,currently the buttons are present and part of the layout, but they dont work,anyone has any idea how i could make them work?The buttons that i need to activate are…
Shami555
  • 9
  • 1
  • 5
0
votes
0 answers

SAP Javascript ENTER button does not work

I have an application developed in javascript and adopted in SAP (BSP). After system copy ENTER button is not working in system - when I change the data it is endless looping the loading. code fragment for enter function: function Enter(keycode)…
0
votes
1 answer

Row in Table View can't be selected

I have a Table View with some data. I use it in PopUp for selecting row, but everytime when I click on some row it focused on first row and not change. How can I fix this problem? I mean, when I click on some row the focus should be on my selected…
user11823122
  • 99
  • 4
  • 16
1
2