cancel
Showing results for 
Search instead for 
Did you mean: 

cl_bsp_login_application

Former Member
0 Kudos

Hi,

Having problem with a page (i didn't do it).

The problem is the very first line.

CLASS cl_bsp_login_application DEFINITION LOAD.

It gives me an error "Service not active".

What should I do ??

//Martin

****

<script language="JavaScript">

function exitBSPApplication()

{

<%

CLASS cl_bsp_login_application DEFINITION LOAD.

url = cl_http_utility=>escape_url( unescaped = url ).

%>

var url = "<%=CL_BSP_LOGIN_APPLICATION=>GET_SESSIONEXIT_URL( page = page ) %>";

url += "&<%=CL_BSP_LOGIN_APPLICATION=>CO_BSP_APPLICATION %>=<%=CL_BSP_LOGIN_APPLICATION=>SET_LOGOFF_URL_PARAM( url = url ) %>";

self.location.href=url;

}

</script>

Accepted Solutions (0)

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

is the bsp application in question is active in SICF .

Regards

Raja

Former Member
0 Kudos

Hi,

Yes my zpickupapp is active. I can run it in my browser but the code for shutting it down doesn't work....

//Martin

Former Member
0 Kudos

Hi Martin,

In SICF

check whether service SYSTEM is active

the path is default_host/sap/public/bsp/sap/system

Thanks,

Alwyn

Former Member
0 Kudos

Hi,

I did a Active Link on this (default_host/sap/public/bsp/sap/system)

Note that there was no option on Activate Service.

Still I get error "Service is not active".... so there has to be something else...

//Martin

athavanraja
Active Contributor
0 Kudos

do you see this message "Service is not active" in the browser? is "show friendly http error" is turned off in browser?

do you see more messages than just "service is not active"

Regards

Raja

athavanraja
Active Contributor
0 Kudos

how does this javascript is executed?

Raja

Former Member
0 Kudos

Below is the code.

It stopped working after upgrade I belive...

//MA

<%@page language="abap" %>

<html>

<head>

<title> Update Window </title>

</head>

<script language="JavaScript">

function exitBSPApplication()

{

<%

CLASS cl_bsp_login_application DEFINITION LOAD.

url = cl_http_utility=>escape_url( unescaped = url ).

%>

var url = "<%=CL_BSP_LOGIN_APPLICATION=>GET_SESSIONEXIT_URL( page = page ) %>";

url += "&<%=CL_BSP_LOGIN_APPLICATION=>CO_BSP_APPLICATION %>=<%=CL_BSP_LOGIN_APPLICATION=>SET_LOGOFF_URL_PARAM( url = url ) %>";

self.location.href=url;

}

</script>

<body onload="exitBSPApplication()">

<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">

<tr>

<td align="center">

<span style="font-family:Arial;font-size:x-small">

Save Window...

</span>

</td>

</tr>

</table>

</body>

</html>

athavanraja
Active Contributor
0 Kudos

its the same coding as in logoff.htm in the sample applications, (htmlb_samples, etc)

i have tested the same in my system and it works. which version of WAS and SP level you are on?

we are on was6.40 sp11.

Regards

Raja