cancel
Showing results for 
Search instead for 
Did you mean: 

BSP Doubts

Former Member
0 Kudos

Hi Experts,

Can anybody can explain to following doubts

1) Does the BSP htmlb library is ligther than the WebDynpro ABAP, I mean which page loads faster

2) Is Custom javscipts are supported in WebDynpro ABAP.

3) Is RTL Rendering can be controlled in WebDypro ABAP ?

4) Is there any client-side regular expressions can be used in the BSP ,otherwise cl_abap_regex is the only options to validate which will becomes a server side validation (ABAP Stack )

5) Is there any control of the BSP input elements if we declare data type as numeric, system should allow the numericals only

6) Can BSP HTMLB is supported by the Opera, Chrome and Safari browsers

7) How to handle the Back Page problem, everytime it is getting session out whenver tried using BACK page in IE.

Accepted Solutions (1)

Accepted Solutions (1)

GrahamRobbo
Active Contributor
0 Kudos

Hi Naga,

the sort of questions you are asking require a good understanding of the underlying technologies to not only get the answers but to understand the implications of these answers as well.

I encourage you to "have a go". Roll up your sleeves and try everything you have asked about yourself. You will learn much more than the simple answers to these seven questions.

To start you on the way you should understand that the BSP runtime framework provides server-side scripting for the ABAP web application server. In this regard BSP applications can be seen as no different to .JSP, .ASP, PHP or any other similar model. The BSP runtime environment sits on top of the Internet Communication Manager (ICM). The provided tag libraries such as HTMLB execute on the BSP runtime. These tag libraries are typically used to produce HTML and Javascript code that is returned as part of the HTTP response to the web browser for rendering and execution by the browser. You do not have to use these tag libraries, or any others you build yourself, if you do not want to.

The WebDynpro ABAP runtime also sits on top of the ICM - but in most other respects is very different from the BSP runtime. At runtime a WDA application produces as a response a data stream (lets assume it is XML) that is passed to a purpose build renderer to produce the specific user interface elements for the client application. Most people are used to the WDA client being a web browser. As web browsers have varying and somewhat limited rendering capabilities the WDA renderer for a web browser runs on the server as part of the WDA runtime and translates the XML response from the WDA application into the appropriate HTML and Javascript before it is transmitted to the web browser. If the client application includes its' own WDA renderer the server simply transmits the XML datastream to the client application which then renders the UI itself. This is how the desktop version of NetWeaver Business Client works. It uses MFC libraries to render the UI natively on windows clients.

If you have absorbed the two paragraphs above you should realise a few things. Firstly you can send anything you like in the response to a HTTP request using the BSP runtime. Secondly you have essentially no control over the response you send to a WDA HTTP request.

So to quickly address your specific questions....

1) Does the BSP htmlb library is ligther than the WebDynpro ABAP, I mean which page loads faster

That would probably be true when your client is a web browser - it almost certainly would not be true if you were using the desktop version of the NetWeaver Business Client or the WDA Flex client.

2) Is Custom javscipts are supported in WebDynpro ABAP.

No

3) Is RTL Rendering can be controlled in WebDypro ABAP ?

Yes - I think. Have a go and find out.

4) Is there any client-side regular expressions can be used in the BSP ,otherwise cl_abap_regex is the only options to validate which will becomes a server side validation (ABAP Stack )

Sure - you can put any client-side code you like in a BSP response.

5) Is there any control of the BSP input elements if we declare data type as numeric, system should allow the numericals only

Sure - use client-side scripting to do this. Alternatively create your own BSP tag library to do this.

6) Can BSP HTMLB is supported by the Opera, Chrome and Safari browsers

The HTMLB tag library only supports specific browser versions. Check SAP documentation for these specifics. But you do not have to use these tag libraries and you can create your own if you like as well.

7) How to handle the Back Page problem, everytime it is getting session out whenever tried using BACK page in IE.

I assume you are talking about a stateful BSP application. This is a web browser issue. If you build a stateless BSP application you can prevent this and there are other techniques to prevent it with stateful pages as well. Personally I recommend avoiding stateful BSP applications.

Cheers

Graham Robbo

Former Member
0 Kudos

Hi Graham,

Thank you very much for the explanations which you replied.

I have a requirement to develop a custom pages to publish on the internet through the SAP WebAs, I think BSP suites more than the WDA , because there is RTL alignment and Arabic Fonts and styles involved and data load will more .

Please correct me if go wrong .

Regards

Vikranth

GrahamRobbo
Active Contributor
0 Kudos

Hi Naga,

I have no experience with non-english character sets or RTL rendering in BSP or WDA.

You will just have to try it.

Cheers

Graham Robbo

Former Member
0 Kudos

Hi Graham,

Thanks for your suggestion and inputs , Actually i have worked on the WDA, WDJ and BSP, CRM WEBUI . out which Core BSP is flexible , because we have to code everything in our own way thats what i feel, correct me if I am wrong.

Regards

Vikranth

GrahamRobbo
Active Contributor
0 Kudos

Hi Vikranth,

I'm not sure exactly what you are asking here.

But if you are saying that the extra UI coding you need to do with BSP makes it much more flexible - I agree.

If you are saying the extra UI coding you need to do with BSP makes it more work than WDA - I also agree.

Cheers

Graham Robbo

Answers (0)