cancel
Showing results for 
Search instead for 
Did you mean: 

SRm session is closing while returning from catalogue

yann_bouillut
Active Contributor
0 Kudos

Hi,

While returning from a java catalogue, my SC is correctly filled.

However, there is a windows pop-up " END OF THE APPLICATION"..

I try to complete my SC , but whatever button i click, there is the following screen :

400 Session timed out - please log in again

-


Error: -11

Version: 7000

Component: ICM

Date/Time: Thu Jun 07 13:06:30 2007

Module: icxxthr.c

Line: 1705

Server: mgdevsrm01_DS1_00

Error Tag: {-}

Detail: Session does not exist

It seems taht while returning from catalogue, the systems is closing the catalogue windows <b><u>AND</u></b> my SRM session too !!!

Did somebody know why and what is the solution ?

Kind regards,

Yann

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Yann,

Which SRM / CCM versions are you using ? Give some more details, when this happens ?

<u>Please check whether this SAP OSS Notes will help in this case -></u>

Note 873210 - in portal: adding item to PO from catalog closes browser

Note 752234 - OCI parameter RETURNTARGET

Note 417784 - ITS Updates in release 6.10

<u>Other possible solutions -></u>

1) Goto the catalog call structure, and add the default port number 443 for SSL in the URL.

2) Publish all the Web services once again using the report - SIAC_PUBLISH_ALL_INTERNAL.

Then Run the transaction SITSPMON -> Templates and Mimes ->

Go to Invalidate cache and select System wide/Application server after finishing the changes and publishing.

Do let me know.

Regards

- Atul

yann_bouillut
Active Contributor
0 Kudos

Hi Atul,

I am not using CCM nor Requisite or MDM catalogue.

Catalog access is ok

Catalog return is ok except that my SRM session is closed by the system.

With inframe catalogue access, problem does not occurs.

With external windows catalog return bugs...

Really strange...

Kind regards,

Yann

Former Member
0 Kudos

Hi Yann

<u>Few other SAP OSS Notes to check out -></u>

Note 884887 - Internet Explorer being re-use when click on any url link

Note 1013467 - Too many sessions for each user/terminal in the SRM Server

Note 815870 - Timeouts in SRM

Note 787417 - SRM and internal ITS: Session cookie is retained

Note 625430 - Session not closed after OCI Data Transfer from Catalog

Do let me know.

Regards

- Atul

yann_bouillut
Active Contributor
0 Kudos

Hi Atul,

I already read these notes ...

Thanks,

Kind regards

Yann

Former Member
0 Kudos

Hi Yann,

I have sent you some information to your E-Mail, check these information plz.

Perhaps this might help...

Kind regards

Andreas

yann_bouillut
Active Contributor
0 Kudos

Hi Andreas,

Will check and update the thread as soon as possible.

Thanks for your help

Meanwhile, i have also opened an OSS ticket.

Kind regards,

Yann

Former Member
0 Kudos

Salut Yann,

Could you please paste your catalogues call structure (parameters in their definition order) for both catalogues

Regards.

Vadim

yann_bouillut
Active Contributor
0 Kudos

Hi Vadim,

Call structure of the catalog is :

http://devtoto:80/webcatalogue2/catado?action=login&standard_catalogue=true

20 login toto

30 pwd titi

40 HOOK_URL

50 ~OkCode ADDI

60 ~target _top

70 ~caller CTLG

Kind regards,

Yann

Former Member
0 Kudos

Hi,

Then change the structure to:

http://devtoto:80/webcatalogue2/catado

15 action login

16 standard_catalogue true

20 login toto

30 pwd titi

40 HOOK_URL

50 ~OkCode ADDI

60 ~target _top

70 ~caller CTLG

All HTML form parameters have to be identified .....

Hope it'll solve your issue.

Bises.

Vadim

PS: Va falloir qu'on se l'organise ce diner 😛

yann_bouillut
Active Contributor
0 Kudos

Hi Vadim,

It doesn't change anything.

Please note that the catalog access is ok

The catalog navigation is ok

It is just while returning from catalogue to SRM that SRM session is closed but my items are in my SC.

What parameter can trigger like a logoff session ?

Kind regards,

Yann

yann_bouillut
Active Contributor
0 Kudos

Hi,

Could somebody post the bbpstart settings in SICF ?

I would like to check the customer configuration.

Kind regards,

Yann

Former Member
0 Kudos

Hi,

Keep managing the call structure as I mentioned, to avoid any side efect.

The behavior you have is typical for bad HOOK_URL managment.

The last 3 parameters of the call structure are to be used by the SRM to process the OCI content.

Your system behavior means that your catalog system is not correctly posting back the HTML form: your error message says that the session (contained in the HOOK_URL) sent back from the catalogue, does not exist.

Try to catch the exact HTML form generated by the catalogue system, and you'll get your answer

Regards.

Vadim

yann_bouillut
Active Contributor
0 Kudos

Hi Vadim,

How to catch the exact HTML form generated by the catalogue system ,

Kind regards,

Yann

yann_bouillut
Active Contributor
0 Kudos

I have noticed one more thing :

If i call the catalogue, selcet items and go back to SC while my IE menu bar is BBPSC01 instead of BBPSTART then i do not have any issue.

URL with BBPSTART : http://tartanpion.corpo.intra:8000/SAP/BC/GUI/SAP/ITS/BBPSTART/!

-> result : return from catalog generate end of session

URL with BBPSC01 service :

http://tartanpion.corpo.intra:8000/SAP/BC/GUI/SAP/ITS/BBPSC01/!

-> result : return from catalogue is ok

That's why i wonder if i didn't miss any parameter in the bbpstart service...

Kind regards,

Yann

Former Member
0 Kudos

Hi Yann,

Then check with the catalogue manager that the OCI form is sent back to the caller frame and not the caller window.

Allez, on va y arriver 😛

Vadim

yann_bouillut
Active Contributor
0 Kudos

Hi Vadim,

Here is the page code :









/**
*
*/
//if (document.all) document.oncontextmenu=rien ;

/**
*
*/
function rien(evt) {
return false;
}

/**
*
*/
function paramreturn() {
document.ebpdata.Submit.click();
}






<!<form method="post" action="< %=ociBean.getHookURL()%>" name="ebpdata" < %= Session.getEnvironment(session).isStandardCatalogue() ? "" : "target="_top"" %> >>

<form method="post" name="ebpdata" action="http://mgdevsrm01.corpo.intra:8000/SAP(cz1TSUQlM2FBTk9OJTNhbWdkZXZzcm0wMV9EUzFfMDAlM2FnUWZTb2R3R3lKUm1WMFFoQjNvOHNJQ0g0TzRYVzZUemVSdVBhNENnLUFUVA==)/BC/GUI/SAP/ITS/bbpsc02/?OKCode=ADDI&target=_top&ForceTarget=YES&caller=CTLG&client=100&language=FR&~HTTP_CONTENT_CHARSET=utf-8" target="_top">

<input type="hidden" name="HU" value="http://mgdevsrm01.corpo.intra:8000/SAP(cz1TSUQlM2FBTk9OJTNhbWdkZXZzcm0wMV9EUzFfMDAlM2FnUWZTb2R3R3lKUm1WMFFoQjNvOHNJQ0g0TzRYVzZUemVSdVBhNENnLUFUVA==)/BC/GUI/SAP/ITS/bbpsc02/?OKCode=ADDI&target=_top&ForceTarget=YES&caller=CTLG&client=100&language=FR&~HTTP_CONTENT_CHARSET=utf-8"/>

  


  



<input name="NEW_ITEM-LONGTEXT_:132[]" value="Adaptateur de cadre Mosaic - pour pose en bout de moulure DLPlusAdaptateur de cadre Mosaic - pour pose en bout de moulure DLPlus" type="hidden"/>









<input name="NEW_ITEM-LONGTEXT_:132[]" value="Adaptateur de cadre Mosaic - pour pose en bout de moulure DLPlusAdaptateur de cadre Mosaic - pour pose en bout de moulure DLPlus" type="hidden"/>

Kind regards,

Yann

Former Member
0 Kudos

Hi Yann,

This is a source of Requisite catalog Form - Post:


<form name="hookForm" action="https://host.com/scripts/wgate/bbpsc03592c5381/" method="post">
<input type="hidden" name="~OkCode" value = "ADDI">
<input type="hidden" name="~target" value = "_top">
<input type="hidden" name="~language" value = "PL">
<input type="hidden" name="~caller" value = "CTLG">
<input type="hidden" name="HOOK_URL" value = "https://host.com="user"  value = "druki_hso1">
<input type = "hidden" name = "NEW_ITEM-MANUFACTMAT[1]" value = "PWPW">
<input type = "hidden" name = "NEW_ITEM-DESCRIPTION[1]" value = "PCN">
<input type = "hidden" name = "NEW_ITEM-CUST_FIELD2[1]" value = "22">
<input type = "hidden" name = "NEW_ITEM-VENDORMAT[1]" value = "PC">
<input type = "hidden" name = "NEW_ITEM-EXT_PRODUCT_ID[1]" value = "1000002698">
<input type = "hidden" name = "NEW_ITEM-LEADTIME[1]" value = "7">
<input type = "hidden" name = "NEW_ITEM-UNIT[1]" value = "SZT">
<input type = "hidden" name = "NEW_ITEM-QUANTITY[1]" value = "1.000">
<input type = "hidden" name = "NEW_ITEM-LONGTEXT_1:132[]" value = "Some material">
<input type = "hidden" name = "NEW_ITEM-CUST_FIELD4[1]" value = "PCN">
<input type = "hidden" name = "NEW_ITEM-CURRENCY[1]" value = "PLN">
<input type = "hidden" name = "NEW_ITEM-PRICE[1]" value = "0.700">
<input type = "hidden" name = "NEW_ITEM-VENDOR[1]" value = "522">
</form>

<form name="items" action="http://host.com/emerge/BugsEye" method="POST">
<input type="hidden" name="returnurl" value="http://host.com/emerge/BugsEye?cmd=cart&sessionID=ID282422843DB0.6480487926933131End&searchconfig=100040&nextitem=9&number_items_displayed=100&currentitem=1&tableview=table&sortparams=&categories=100182&categoriescounts=200%7c&leafsearch=T&leaf=100182&query=Redisplay&usingtextsearch=true">
<input type="hidden" name="cmd" value="cart">
<input type="hidden" name="sessionID" value="ID282422843DB0.6480487926933131End">

    <BR>
    <table border="0" cellspacing=0 cellpadding=0 width="100%">
	<!-- SC catalog content -->
    </table>
</form>

Maybe you don't transfer some of parameters?

Other thing:

SSO session is stored in cookie - maybe your catalog delete or overwrite information in this cookie?

Regards,

Marcin

Former Member
0 Kudos

Hi Yann,

The form sent back from the catalogue targets "_top":

<form method="post" name="ebpdata"

> action="http://mgdevsrm01.corpo.intra:8000/SAP(cz1TSU

> lM2FBTk9OJTNhbWdkZXZzcm0wMV9EUzFfMDAlM2FnUWZTb2R3R3lKU

> m1WMFFoQjNvOHNJQ0g0TzRYVzZUemVSdVBhNENnLUFUVA==)/BC/GU

> I/SAP/ITS/bbpsc02/?OKCode=ADDI&target=_top&~ForceTar

> get=YES&caller=CTLG&client=100&language=FR&HTTP_CO

> NTENT_CHARSET=utf-8" <b>target="_top"</b>>

This is not corect, the form should target the caller frame.

Now enjoy with your catalogue supplier ......

+

Vadim

yann_bouillut
Active Contributor
0 Kudos

Hi Vadim,

Well..my catalog manager told me that the OCI form is sent back to the caller window as he doesn't know how to have the correct caller frame....

Any answer how to do it ?

Kind regards,

Yann

Former Member
0 Kudos

Hi,

You'll find the OCI specifications here: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/97abb390-0201-0010-718f-d6a0d87cb26a">Open Catalog Interface (OCI)</a>

Page 13: <i>The target for the return to the SRM Server application (parameter name: returntarget) must be inserted into the target attribute of the transfer form.</i>

So the Target of the form is provided by the SRM as parameter <b>returntarget</b>

++

Vadim

yann_bouillut
Active Contributor
0 Kudos

Hi Vadim,

Up to now, the catalogue manager was unable to code it...

Any help is welcome

Kind regards,

Yann

Former Member
0 Kudos

It looks like there is nothing wrong with the OCI message. target="_top" shouldn't be a problem.

The thing that is going wrong is somewhere in SRM, you gave already a hint to the answer: the hook_url should be generated for a bbpsc.. transaction (something) and not for the bbpstart service. So I think you should start looking for a solution there.

yann_bouillut
Active Contributor
0 Kudos

Hi Robin,

I really don't see where the problem could be...

Any inputs ?

Kind regards,

Yann

yann_bouillut
Active Contributor
0 Kudos

Hi,

Last experience

I have activated and installed the SAP ASP application for FREEFORM (business card) and i do have the same issue.

This make me conclude taht it should be a SRM issue (ITS or instance properties ?)

Any help will be rewarded,

Kind regards,

Yann

PS : OSS answer did not solve my issue yet

yann_bouillut
Active Contributor
0 Kudos

Hi,

I finally got the solution.... ))

After having investigating the catalogue side, the hook_url, the its parameters, the instance profile, the user PC configuration....

Well nothing was wrong ...except the url construction

<b>Upper case</b> in the URL cause the end of session issue, and/or loss of the left frame menu !!!

Arghhhhhh, the dark java side !

Kind regards,

Yann

Former Member
0 Kudos

Hi Yann,

congrats to the solution of the issue!!!

Based on your posts I do not see, where in the URL you used Upper case.

Could you detail the solution a bit more?

Thanks,

Claudia

yann_bouillut
Active Contributor
0 Kudos

Hi Claudia,

The sap/bc/gui/sap/its/bbpstart part was in upper case...

Kind regards,

Yann

Answers (1)

Answers (1)

yann_bouillut
Active Contributor
0 Kudos

Hi,

SSO is activated : could it be the reason ?

yann_bouillut
Active Contributor
0 Kudos

Hi,

Additional information :

With inframe catalogue, everything is ok ...

Kind regards,

Yann