on 05-29-2007 9:00 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
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>
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.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.