cancel
Showing results for 
Search instead for 
Did you mean: 

Calling BSP from WEB Template

Former Member
0 Kudos

Hi,

Can any one help me regarding Bex web designer..

I want to call BSP in my Bex web template with passing parameters to BSP(R/3) over URL and also like to avoid login pop for BSP.

Thanks

Atul

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Arun,

Thanks for your reply, but what i want to know is from WEB template how can we get variable to pass it to BSP page.

Eg: If i have using hierarchical object in my WEB template and i want know which node(level) i have selected, how i can achieve that, if i am able to do that then i can pass it to my BSP page.

Regards

Atul

Message was edited by: Atul Dhariwal

former_member184494
Active Contributor
0 Kudos

Atul,

You can get the same from the URL that is generated when you navigate . You will have to do some javascript and extract what you want from the URL. You will find the value of the hierarchy in the URL and using location.href and substring functions in javsacript you can get what you want from the URL.

Then you will have to append it to the BSP address and pass the value to the BSP Page.

Arun

former_member184494
Active Contributor
0 Kudos

for avoiding logging into the BSP page again :

the IP should be the same

example :

for web template :

http://abcd.com:8000/ll.

for BSP page :

http://abcd.com:.

it should be the same ABCD.com and then you can avoid multiple logins. This also depends on how your network is configured.

Arun

former_member184494
Active Contributor
0 Kudos

Atul,

Welcome to SDN. You can use simple javascript to generate the URL for the BSP page. Then you can add the parameters you want to pass to the BSP page to the URL again through JScript and then use the Http_get to get the data into the BSP Page.

Example:

<html>

<%

data: form_data type string.

form_data = request->get_form_field('project').

data: calweek type scal-week.

.....

and the url would be something like

.htm?project=test

this way you can pass the value to your BSP page.

Arun

Former Member
0 Kudos

Atul,

Not sure how to call a BSP application in a web template.

However, login might be able to give some info. To supress BSP login, there are two options. Either use single sign on with portal or maintain a user ID and password in the BSP application that should be used when being called.

To do the later - go to the application in SICF and maintain the user ID and password to be used in the service data screen.

Cheers

Aneesh