CATW Internet Service - SE80

Dear Experts,
I have a requirement in which I need to do some changes to the CATW Internet Service in SE80 such that when the user clicks on the X (Close) button in the Internet Explorer browser window, I should be able to trap the event and kill the user's session.
After trapping the event, I need to place the same functionality in a JAVA SCRIPT that is there when a user clicks on the "QUIT" hyperlink on the Timesheet Window when this service runs.
Basicaly the idea is to "Kill the user's session when a user clicks on X (Close) button in the Internet Explorer browser window.
Since this service is running in ITS, i need help on the following.
1. Which is the "HTML Template" in the CATW Internet Service in SE80 in which   the "QUIT" hyperlink functionality is written that kills the user's session.
2. Which is the "HTML Template" in the CATW Internet Service in SE80 in which   i place the code for trapping the event raised when a user  clicks on the on X (Close) button in the Internet Explorer browser window.
Please help.
Regards
Saurabh

Hi Thorsten,
Thanks so much for your reply.
I have implemented this in my HTML Template - 1000TOPCORE
This is the code.
<body `SAP_BodyAttributes()` onload="`SAP_OnloadJavaScript()`" >
`SAP_TemplateHeader( applicationTitle=~windowtitle, type="SAP_WEBGUI",logoffOnclick="" )`
`     SAP_BodyContentBegin();`
<form id=webguiform name="webguiform" action="`wgateURL()`" method="post" target="_parent" onSubmit="return false;" onclick="webguiDoClick(event)" onfocus="webguiDoFocus(event)">
`form_parameters();`
<div id="webguiContainer"><div id="webguiUserArea">
<b><table>
<tr>
<td>
<input type="button" value="saurabh" onclick="javascript:setOkCode('/nex')">
</td>
</tr>
</table></b>
Now this code works fine and when I click on the button "saurabh" or the "EXIT" link I am redirected to a new page with message
"Logged Off Successfully
You have been logged off from SAP Web Application Server."
This is the same functionality when I click on the STANDARD "EXIT" hyperlink.
So far so good.
Now Im going to trap the X- (Close) Button on the browser.
This is the code:
<body `SAP_BodyAttributes()` onload="`SAP_OnloadJavaScript()`"  <b>onbeforeunload=" chk()"></b>
and the function chk() is like this
function chk()
            alert('inside function');
                setOkCode('/nex');
               alert('success');
Now when I implement this : <b>onbeforeunload=" chk()"></b>
The "EXIT" and the new button (Saurabh) that I have created as below:
<input type="button" value="saurabh" onclick="javascript:setOkCode('/nex')">
do not redirect me to the following message :
"Logged Off Successfully
You have been logged off from SAP Web Application Server."
Instead I get this message.
400 Session timed out - please log in again
Error: -11
Version: 7000
Component: ICM
Date/Time: Wed Jul 25 11:14:57 2007 
Module: icxxthr_mt.c
Line: 1705
Server: er3asu72_S02_21
Error Tag: {-}
Detail: Session does not exist
In both the cases the session is killed, but the message is different. I would like to have the SAP standard message ("Logged Off Successfully
You have been logged off from SAP Web Application Server.") displayed when I click on "EXIT" link after implementing the following :
<b>onbeforeunload=" chk()"></b>
I hope u understand my concen.
Plz help
saurabh

Similar Messages

  • How to use Internet Service in SE80

    hi
    I am new to  work on ITS on se80, Can any one provide me the step by step screen shots or tutorial to work on Internet Service option on SE80. I want to create a Screen.
    Please kindly share your suggestions
    Thanks in Advance.

    Hi,
    What's your ITS version? You can define ITS services using SE80 --> Internet Services or through SICF transaction. You assign several parameters to your service (~transaction, ~webgui, ~generatedynpro, ~webgui_simple_toolbar, ...).
    Look this link:
    http://help.sap.com/saphelp_47x200/helpdata/en/98/854c2b328911d480a000c04f99fbf0/frameset.htm
    Then you have to verify it and then you can use it. You can also define new theme for your service.
    Hope this helps,
    Iván.

  • Internet Services For ESS In ECC 6.0

    Hi Gurus,
    Actually i'm trying to find the ESS Internet Services in ECC 6.0. We are planning not to use Web Dynpro appl for the moment and to use ECC 6.0 with integrated ITS using the internet services.
    In ECC 6.0 under the transaction SE80 i'm seraching for the following ESS Internet services. But couldn't get that. The services are
    *Payslip - PZ11
    Time Statement - PZ04
    Address PZ02
    Emergency Address PZ05
    Family Members PZ12
    Personal data PZ13
    Prev Employer PZ28*
    whereas i can find the other services under SE80 like
    *PZ01, PZ03, PZ24, CATW *etc.
    I'm new in this, so detailed answer will be highly helpful.
    Thanks
    Anirban

    Hi Narasimha,
    Thanks a lot for your answers. It is really helpful. But lastly let me ask a question in SE80 we can create or modify HTML templates for the internet services. For these transactions for which i'm not getting through SE80, how can i change HTML layouts.
    Correct me if my understanding is wrong. Points will be given obviously.
    Thanks
    Anirban

  • How to open and modify a internet service.

    I want to modify Internet Service PZ02. I checked in SICf, it is listed under bc/gui/sap/its and is also activated.
    But when i go to SE80 and search for it in Internet Service, i get a message saying "Service PZ18 does not exist, create object? "
    How do i open, get access to code of pz18 and modify it
    Thanks
    Sharath

    Chris-
    Thanks for the reply.
    How do i create the ITS service (service file, template, theme etc..) out of the dynamically generated HR service PZ02.
    Pleae let me know if the following steps are correct
    1. In SE80, Choose Internet service and enter a name like zpz02.
    2. In the pop-up for transaction code enter pz02. Check the box for ITS mixed mode
    3. Then Right click in zpz02, select create->template->
    assign theme=99,
    program number-SAPMPZ02
    screen number=1000
    generating style=webgui
    ( The above informtaion was found out in the following way: go to se93 -> enter pz02 as the transaction code ->
    click display.
    When i did that it displayed the following info
    program : SAPMPZ02
    selection screen: 1000 )
    When i click on save it says that the screen 1000 does not exist in the program SAPMPZ02.
    But from the info that i got from the SE93 it looks like the screen number is 1000??
    What is the mistake ?? Is the approach wrong
    Help will be really appreciated
    Sharath

  • How to do Translation of Lables in Internet Service

    Hi,
    I have created an internet services in SE80 and write the code which is showing some labels on the output screen. Now I have to do the translation in Spanish Language for the lables maintain in english.
    Please tell me where I have to do this translation.
    Thanks
    Krishan

    Hello Sal.
    This does not look like an ABAP issue, but rather JavaScript, JQuery or whatever you are using to handle the button-click-event in your "Internet Service" web application.
    You might try window.open("http://xxx...me23n","_self").
    Best regards,
    Frank.

  • How to upload images in Internet Service object ?

    Hi,
    I have to upload/change the existing image in Internet Service object (Z program). The path where my current images are as follows:-
    SE80->Internet ServiceZ Program->Theme->MIME Object-->Images->( Here I have to uplaod the image)
    Please tell me how to do that. The transport request has to be generated while uploading.
    Saurabh Garg

    hi Saurabh,
    Try this thread.
    But there the transaction used is SE 78
    Upload .TIF images in SE78
    would this be of some help for you?
    Cheers.....

  • Internet Service Not Working, sending 404 error

    Hi,
    I just created an Internet Service pointing to a transaction and I published it but it is not working when I click on Start Service and the browser is opened, I know the servername and the url should be well created cause I delete the service name and change it for webgui and then it works so the hostname and port shoud be ok.
    I can not see it either in the SICF transaction under the ITS path I followed the instructions in the Help Manual but is not working and can´t find why, has somebody done this that can help me out?
    Thanx in Advanced!
    Kind Regards,
    Gerardo J

    Hi Tobias,
    Thank you for the Link, I have followed the steps and published the service in the SE80 Transaction, I checked the settings and are correctly pointing to internal ITS, but after I published the Service I start the SICF transaction and can not find my new Service to activate it, I´m looking in /sap/bc/gui/sap/its  Path wich is the Path I have configured into Internet Transaction Server > Test Tab.
    I really apreciate your help!
    Kind Regards,
    Gerardo J

  • Why Internet Service can be reached without SICF element?

    Hi Experts,
    I create a Z Internet service in SE80 without any SICF element points to it. But when testing in web, system can sitll find it and run well. How does it work? Why no SICF service but system can still find it? Many thanks.

    Hi Darcy,
    When any web/service related object is created in SE80, ( I have seen this with BSP, ABAP WebDynpro etc) the system will automatically generate a new entry in SICF. Thats the reason you are able to get this service active. I believe this should hold good for ITS application as well. Probably you can search for the newly created z service in SICF, and you should be able to get that.
    Regards
    Kathirvel

  • Get access to the attributes of my dynpro from an Internet Service

    Hi,
    I have generated a new dynpro with one "Select"-button and several other fields.
    Is it possible to get access to all of the attributes of this dynpro from my Internet Service ITSGENMOBILE.
    What I mean is, at my dynpro there is an Icon on my button which I can not see when I open the template which is generated with the ITSGENMOBILE service.
    Now I want to customize the service so that the Icon is also at my generated template.
    You can find the original code at the TA SE80. (sry but I can't paste the code, because I will get an error if try to post the message with this code)
    Open the path:
    " Internet Service -->Search for "ITSGENMOBILE" --> Thema 99 --> HTML-Templates --> Elements --> Button"
    I know with the code fragment
    'GEN_NAME'[GEN_LOOP_LINE].name'
    I get the name of my button or with
    'GEN_NAME'[GEN_LOOP_LINE].label'
    I get the text of my button.
    But how can I get the name of path of the used ICON?
    I google for it but I cant find any doc.
    Maybe someone can help me with the syntax.
    Thx for your help
    Regards
    Phil

    Thx for your reply,
    I had the following problem:
    If i have created a dynpro and generate a template with the ITSGENMOBILE Service. But at this point the informations of the used icons got lost. Now I have customized a copy of the class CL_ITS_GENERATE_MOBILE and copy of the ITSGENMOBILE Service.
    Now I can poll the used icons from my dynpro and screen them as a button at my browser.

  • Run internet service - miniapp

    Hi,
    I’m a developer and I’d like to run the standard Internet Service DNO_NOTIF – support desk, on SAP WAS 6.10, but I really don’t know how to fill the parameters of the Internet Transaction Server (SE80-> Utilities->Settings)
    Can you help me?
    Best Regards,
    Maria João Rocha

    It is possible to have DSL internet service without phone service technically. However Verizon only makes it is  available in some markets.
    FiOS is available without Phone service in all markets where it is offered. I have FIOS, but my landline service is still over a copper pair, and is on separate bill as well.

  • ITSMobile Internet service WSTED

    Hi folks,
       I am trying to copy standard WSTED for ITSMobile and testing the service successully. The output in browser(IE) is fine and as expected, but i want the screen to be set to mobile device size SYMBOL3090. when I added in SICF service parameter settings ~ITSMOBILEDEVICEINCLUDE DEVINCLUDE_SYMBOL3090, it throws error and in my system  SAP Internet services ITSGENMOBILE4 and ITSGENMOBILEXV are not available. How to adjust the screen and  get the result in browser as needed in Mobile device.
    Thanks for your interest and time.

    Hi Uma,
    If you set
    ~ITSMOBILEDEVICEINCLUDE DEVINCLUDE_SYMBOL3090
    in the GUI configuration section of service WSTED via transaction "/nSICF" then you also need to set the parameter
    ~sources WSTED, ITSMOBILE01
    When you make changes to the templates in SE80- do you republish the template OR the service itself in full and delete the "template and MIME" cache via /nSITSPMON?
    See the following ITS WIKI's:
    [How to check the publishing Date of an Internet Service |http://wiki.sdn.sap.com/wiki/x/OYG8BQ ]
    [How to activate, publish and test ITS services in the integrated ITS? |http://wiki.sdn.sap.com/wiki/x/kmE ]
    and
    [Publishing Business HTML templates|http://wiki.sdn.sap.com/wiki/x/mRIB ]
    Regards,
    Oisin

  • Publish internet service through SAP ITS Standalone

    Hi all,
    I have installed SAP ITS 6.20 standalone (Patchlevel 38) in conjunction with SAP R/3 Enterprise (SAPKB62063).
    We have developed our own custom-build RF transaction and want to access this transaction from a mobile scanner through the ITS.
    We have used ITSmobile to publish the RF screens as a Internet Service from SAP R/3 to SAP ITS. The html templates and service file for ZMOB00 have been published successfully to the local ITS.
    Now I am trying to call the internet service using the following URL: http://<server>:<port>/scripts/wgate/<ZMOB00>/!
    Using this URL I am reaching the logon screen for the internet service. However, after logging in the RF transaction is not started and a empty screen is displayed.
    Did I miss something in the configuration? Is the URL correct? How can I make sure my RF transaction is called successfully through standalone ITS?
    Thanks in advance for your replies.
    Regards,
    Kenny

    Hi Kenny,
    What are the parameters that you have set in the "ZMOB00.srvc" service file?
    What generation style did you use to generate teh templates in SE80 - before publishing them to the ITS 6.20 agate/wgate server/s?
    URL is correct
    Regards,
    Oisin

  • ECC 6 : Internet Services crashes

    Hello,
    I hope someone can help me.  We're busy with upgrade R/3 4.7 to ECC 6 and EP 6 to EP 7.  We have HR.  What a mission!  Everything is an issue!
    I have to migrate existing custom Internet Services, register them in the ICF to make them work in an EP7 IAC iView. 
    I've done everthing as described in help.sap.com's document "Migrating existing ITS services", that meanse :
    -> I see them in SE80 (and can edit them)
    -> Have published them
    -> Have created a service in SICF with HTTP handler CL_HTTP_EXT_ITS
    -> iView points to IAC service
    iView crashes with :
    The URL http://ypfsp003.sanlam.co.za:8010/sap/bc/gui/sap/its/ywfws90100004h was not called due to an error.
    Note
    The following error text was processed in the system SP1 : Communication failure
    The error occurred on the application server ypfsp001_SP1_00 and in the work process 1 .
    The termination type was: IMC_CANCEL_TX
    The ABAP call stack was:
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_ITS===============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system SP1 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server ypfsp001_SP1_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 1 in transaction ST11 on the application server ypfsp001_SP1_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 200 -u: 309157 -l: E -s: SP1 -i: ypfsp001_SP1_00 -w: 1 -d: 20060807 -t: 122739 -v: IMC_CANCEL_TX -e:
    Can anyone help!???  I sure hope so.
    Regards
    Charmaine

    Hi Charmaine,
    I also like you doing an upgrade of HR from 46C to ECC 6.0. I am also having nightmare every day. The problem that you  are encoutering may be due to setting of the parameters in the SICF. Make sure you set ~Theme, ~GenerateWebdynpro = 1, ~webtransaction type as EWT. It is all about setting the parameters in SICF. There is no proper documentation, we did trial error and made all the ess services working in ITS. We have another problem with the workflows. BWSP is not supported anymore and UWL has some issue in launching the workflow that are based on Integrated ITS IACs. IS the workflow working for you?
    Lets be in touch closely,  i think very few have entered into this mission.
    my email address is [email protected] and my contact no. is +65-91273725.
    Regards
    Sundar

  • How to use internet service request in webdynpro abap

    Hi everybody,
    We are planning to use ISR in our webdynpro application. It would be great help if any body can give any pointers or input on ISR(internet service Request) i.e what is its configuration and usability in eretail.
    Thanks
    Shweta

    Hi,
    What's your ITS version? You can define ITS services using SE80 --> Internet Services or through SICF transaction. You assign several parameters to your service (~transaction, ~webgui, ~generatedynpro, ~webgui_simple_toolbar, ...).
    Look this link:
    http://help.sap.com/saphelp_47x200/helpdata/en/98/854c2b328911d480a000c04f99fbf0/frameset.htm
    Then you have to verify it and then you can use it. You can also define new theme for your service.
    Hope this helps,
    Iván.

  • Unable to call Internet Service from EP IAC iview

    Hi.
    I'm trying to call a r/3 transaction with ITS from portal iview. I wan't to hide menu and toolbar, so I've created an Internet Service in SICF/SE80 with several parameters (webgui_simple_toolbar, ...). The service is activated and published. When I run it, Internet Explorer send me a 403 error.
    I've tried to create an iac iview and links the service to it, but system return same problem.
    ITS is ok, because I can run r/3 transaction from EP whithout any problem.
    Any idea?
    Thanks a lot!

    Hi Edgar.
    Service doesn't run from R/3 system. I've used ITS parameters "TRANSACTION", "WEBGUI", "WEBGUI_SIMPLE_TOOLBAR" and "GENERATEDYNPRO".
    R/3 can't run the service and give a 403 error.
    Service is actived and published, using SICF and SE80 transactions. Finally, I've run SIAC_PUBLISH_ALL_INTERNAL and all is good.
    When service runs on R/3 system, I will build IAC iView on EP.
    Any idea?
    Thanks a lot.
    Regards

Maybe you are looking for

  • 5800: Email Language "Conversion"

    Hi All, I'm a new owner of the 5800 (all s/w updated) after using BB, Palm, etc. I've found an odd email issue that has never been a problem with other brands I've owned. I work for a Chinese company. Many of my emails are written in both English and

  • CREATE DIRECTORY Does not Create Any Directory in My File System Hard Disk

    create or replace directory emp_dir as 'D:\emp_direc'; Main Question: *1. Transaction succeeded, but i have not seen emp_direc created in my D: drive. I'm running Vista Home Edition x32. Any idea why directory does not show up?* Optional: Extra info:

  • Panther software installation DVD 1 of 2 missing

    Hi, i have lost the software install and restore disc, the 1 of 2, an i new to do a clean install of it? what can i do? can someone help me!? would really apreciate, thanks

  • Do we need to recompile entire code base ?

    Do we need to recompile the entire code base to utilize the efficiency of a Sun SPARC Enterprise T5220 Server. We will not be able to perform any of the optimization on the code, as it affects the working nature of the product. So I'm not able to uti

  • Is it common for the front camer to stop working?

    The front camera on my iPod randomly stopped working months ago and I've been to busy to get it fixed or whatever, I don't really know what to do, is this something that should be fixed by apple for free? Or don't have to pay for this?