cancel
Showing results for 
Search instead for 
Did you mean: 

ITS error with opening ten times search help

laurent_touillaud
Contributor
0 Kudos

Hello everyone,

We are on SRM 4.0 and there is a strange timeout.

We get for example 15 items in our basket from the catalogue, then we assign a cost center for each item once at a time. then when clicking on the 11th item detail (in around 2 minutes) the its page shows the following error :

"No Service Name Specified

Your request did not contain a service name. Please provide a service name as part of the URL.

Example URL:

http://.../scripts/wgate/CreateSO/!

or...

Session Already Terminated

There is currently no session running that might accept this request.

This situation usually occurs if your session has been closed by the Internet Transaction Server and you tried to navigate to a previously requested page by selecting BACK in your browser. To proceed you must first restart the session as described above. "

Is there something to change in the ITS configuration?

Or is this on the browser side?

PS : i tried with entering first item detail and then hitting ten times the search help

for cost assignment; When i then try to hit the second item detail, the error occurs.

Thanks for you reply's

Laurent.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Laurent,

this seems to be an error in the application. Just closing the window is not enough,

the search help must be closed by sending an event to the ABAP processor.

I suggest to open a CSS ticket.

best regards

Tobias

laurent_touillaud
Contributor
0 Kudos

Hi Tobias,

Thank you for your diagnosis but do you know how to send the event that terminates the popup?

I think this is too specific to open an oss ticket.

Regards,

Laurent.

Former Member
0 Kudos

Hi Laurent,

the parameters of the event to close the search help popup depends

on the control ID of the search help control. Is this popup a search

help popup?

Does it work with the original template? What is the event's name and

it's parameters in this case?

regards

Tobias

laurent_touillaud
Contributor
0 Kudos

Hi Tobias,

This popup is a search help.

It works within the original template SAPLBBP_PDH_ACC_1000_1 in service BBPACCOUNT

<!-- start of modification in template-->

<script language=JavaScript src="`mimeURL(~service="zbbpimputf4", ~language="", ~name="script/imput.js")`">

<!-- end of modification in template-->

<!-- start of modification in template-->

< a href="javascript:openPopupHelpImput('`service`','`T_SCREEN_ACCLIST-ACC_CAT[1].value`', '`t_screen_acclist-generic_acc[j].value`', 't_screen_acclist-generic_acc[`j`]')">< IMG src="`mimeURL(service="bbpglobal", ~language="", ~name="images/button/" &

"f4.gif")`" border=0>< /a >

<!-- end of modification in template-->

Then the event is called like this in service zbbpimputf4

`if ( ~flowtemplate != "" )`

var curTerminateUrl = curWgateURL +"?event=logoff&exiturl=";

`else`

var curTerminateUrl = curWgateURL +"?okcode=/NEX&exiturl=";

`end`

function envoiRequete(URL)

{

var requestImg = new Image();

requestImg.src = URL;

}

function requeteLogoff() {

envoiRequete(curTerminateUrl);

}

requeteLogoff();

setTimeout("top.window.close()",3000);

FrameOpenerVar.BBPForm.elements[targetFieldName].focus();

I hope i didn't forgot some codings.

Best regards,

Laurent.

former_member185704
Contributor
0 Kudos

Hi Laurent,

If you think the problem is based on a bug in a template of a SRM application you should open an OSS message and report this.

Best regards

Henning

laurent_touillaud
Contributor
0 Kudos

Problem solved.

I have changed ITS parameter cookies from 1 to 0.

this situation occurs when u use external ITS only.

After this we applied also note 792542.

Former Member
0 Kudos

Hi Laurent,

It seems you experienced the phenomenon which is also described in SAP note 554967 but in a different manner.

Thanks and regards,

Dieter

Former Member
0 Kudos

Hi Laurent,

that is strange - indeed. There is a restriction, that only ten search helps per

session can be opened at the same time. This is not a problem, since there

is no need to have more than ten search helps active - per session!

What are you doing?

best regards

Tobias

former_member185704
Contributor
0 Kudos

Hi,

Please specify the kernel patch and the Basis Support Package your WebAS is using.

(I assume you use the internal ITS.)

Best regards,

Henning

laurent_touillaud
Contributor
0 Kudos

SAP_BASIS 620 0056 SAPKB62056

SAP_ABA 620 0056 SAPKA62056

BBPCRM 400 0003 SAPKU40003

PI_BASIS 2005_1_620 0004 SAPKIPYJ54

ST-PI 2005_1_620 0004 SAPKITLQG4

ST-A/PI 01H_CRM400 0000 -

i hope everything is here...

former_member185704
Contributor
0 Kudos

Hi Laurent,

I was wrong with guessing you have an internal ITS? You seem to use an external ITS - probably 6.20? Which ITS 6.20 patchlevel do you use?

Henning

laurent_touillaud
Contributor
0 Kudos

Hi Henning,

Where can i find this information on ITS patchlevel?

Do you have any idea on where the problem comes from?

Laurent.

former_member185704
Contributor
0 Kudos

Hi,

SAP Note 550554 describes one way to determine the ITS 6.20 patchlevel. I just want to check if you are using a current patch in case your problem is based on an error that was fixed by one of the patches.

Generally, some stupid/simple question: When you reproduce the error, do you

a) use the browser back button (which you shouldn't)?

b) close each popup window before you open another one (because you can't have more than 10 popups open)?

Henning

laurent_touillaud
Contributor
0 Kudos

Hi Henning,

Here is the info on ITS patchlevel :

SAP Internet Transaction Server (ITS, Version 6200.1023.64716.4, Build 871305, Virtual Server EBQ, Add. service info none, WGate-AGate Host SGSI2KSRMEBQ, WGate-Instance EBQ)

a) I don't use the browser back button

b) When i open the cost assignment search help popup i select the cost center and then before the popup disappears i close the pop up window.

But even if i don't close this window the error still appears in both cases.

It seems every popup is stored somewhere even if you close it.

laurent_touillaud
Contributor
0 Kudos

Investigating further i found this javascript in the html source of the popup :

Template: zbbpimputf4/99/start.html

<!-- -


INCLUDING SCRIPT... -


-->

<script language="javascript">

var chginput = "";

var FrameOpenerVar;

var curWgateURL = "/scripts/wgate/zbbpimputf47d4b111b/~flN0YXRlPTE1NTIyMTk0OTc=";

var curTerminateUrl = curWgateURL +"?event=logoff&exiturl=";

function envoiRequete(URL)

{

var requestImg = new Image();

requestImg.src = URL;

}

function requeteLogoff() {

envoiRequete(curTerminateUrl);

}

function subForm(EventName,FormName) {

if(FormName == '')

FormName = "formITS";

targetObject = eval('document.'+ FormName);

if(EventName != '')

targetObject.elements[0].value = EventName;

targetObject.submit();

}

function changeImput(val, i_field) {

setFrameOpenerVar();

var targetFieldName = i_field;

// window.opener.valImputValue = val;

// if( window.opener.isLeanWP ) window.opener.setValImput(targetFieldName);

//Modif VCX

FrameOpenerVar.BBPForm.elements[targetFieldName].value = val;

//FrameOpenerVar.valImputValue = val;

//if( FrameOpenerVar.isLeanWP ) FrameOpenerVar.setValImput(targetFieldName);

chginput = "X";

requeteLogoff();

setTimeout("top.window.close()",3000);

FrameOpenerVar.BBPForm.elements[targetFieldName].focus();

}

//Modif VCX

function setFrameOpenerVar()

{

var service = "bbpsc01";

/*if(service == "bbpiv02" || service == "bbpiv03" || service == "bbpcf02" || service == "bbpcf03")

FrameOpenerVar = top.window.opener.top.frames[0].frames[1].frames[1];

else if(service == "bbppu99")

FrameOpenerVar = top.window.opener.top.frames[0].frames[1].frames[2];

else if(service == "bbppo01")

FrameOpenerVar = top.window.opener.top.frames[0].frames[1];

alert(top.window.opener.top.frames[1].name);

alert(top.window.opener.top.frames[1].frames[0].name);

alert(top.window.opener.top.frames[1].frames[1].name);

*/

FrameOpenerVar = top.window.opener.top.frames[1].frames[1];

}

</script>

laurent_touillaud
Contributor
0 Kudos

Sorry for multiple responses but i found this also.

the function called when i click on the cost center in

the popup is :

`TD()` < a href="javascript:changeImput('`T_IMPUTATION-CODE_IMP<i>`','`I_FIELD`')"

class="orderItem">`T_IMPUTATION-CODE_IMP<i>` </a>

`TD()` `T_IMPUTATION-LIBELLE<i>`

-


the function changeImput is :----


function changeImput(val, i_field) {

setFrameOpenerVar();

var targetFieldName = i_field;

window.opener.setValImput(targetFieldName);

FrameOpenerVar.BBPForm.elements[targetFieldName].value = val;

FrameOpenerVar.setValImput(targetFieldName);

chginput = "X";

requeteLogoff();

setTimeout("top.window.close()",3000);

FrameOpenerVar.BBPForm.elements[targetFieldName].focus();

}

Laurent.