cancel
Showing results for 
Search instead for 
Did you mean: 

Running a transaction through ITS

Former Member
0 Kudos

Ok, what I want is pretty simple.. But I'm new to ITS and don't know how to do this.

What I want is running a transaction directly from a link but with webgui style.

First, I'll tell you what I did..

I created an Internet service with name ZCT, set its transaction to ZCT too.. (There is an application connected to ZCT transaction)

It created ZCT and "Topic 99". Then I created two HTML templates with these parameters:

Internet Service: ZCT

Theme: 99

x Generate HTML from screen

Program Name: ZCT_PR_TEST

Screen Number: 100

Generating Style: WEBGUI

Other one is about same but with screen number 300.

I saved both of them and published..

Then in ZCT's right click menu I selected Publish->Service File and Publish->Complete Service

After that, I ran SICF and created service in /sap/bc/gui/sap/its with New Sub-Element.

Named it as ZCT

selected first option (independent service), clicked ok (green check), left everything at default, wrote CL_HTTP_EXT_ITS to the Handler List's first row. Saved and activated the service.

Then I ran ZCT internet service via Object Manager (SE80)..

It opened up IE, asked me user name and password.. Then ZCT came within IE.. First I saw that's not like webgui at all.. Its theme is more like SAPGUI (with Dark Blue theme). I said whatever.. Then tried to test the program. Everything looked like ok at first.. Then I noticed something. F4 help came weird (with a search). There are no message boxes at all.. Ok, one message box came but it wasn't message box. It was originally a status text. It popped up on screen. And also it was an IE popup screen. Also it constantly refreshed the page for events.

I ran ZCT in webgui also.. It looked and felt like ZCT in SAPGUI. F4 ran almost like in SAP. message boxes came (not like a IE popup, I could say it was almost like ABAP style), and etc..

So in short I want webgui's all advantages plus

- I don't want any drop down menus at all...

- I don't want anything other than user and password for logging in (webgui starts with client/language/user/password selection)

- I don't want anything other than my transaction so no SAP menus also.

- Also no webgui toolbar.

So any idea how could I do this? I could post screen-shots to make myself clear if you didn't understand.

Edited by: Hakan ATAC on Jun 4, 2008 2:11 PM

Accepted Solutions (1)

Accepted Solutions (1)

former_member228142
Active Contributor
0 Kudos

Hi,

It is simplier that you think. Read the ITS Wiki FAQ article [https://wiki.sdn.sap.com/wiki/display/HOME/Article-EmploySAPGUIforHTMLinsteadofanInternetservice|https://wiki.sdn.sap.com/wiki/display/HOME/Article-EmploySAPGUIforHTMLinsteadofanInternetservice]

Create a service with SICF as described in the the document and set parameter ~WEBGUI_SIMPLE_TOOLBAR and ~TRANSACTION to the desired value. That's all. You don't have to create any templates.

Best regards,

Klaus

Former Member
0 Kudos

I tried with that parameters but then F4 help doesn't work at all.

Answers (2)

Answers (2)

Former Member
0 Kudos

Here is what I want and what I don't want:

Left page shows what I want, right page shows what I did:

Initial Page:

http://img363.imageshack.us/img363/3552/zct01yn5.jpg

F4 Selection:

http://img99.imageshack.us/img99/1441/zct02lt7.jpg

When clicked the bottom button (there is no message confirmation as you can see.. But there is another message we will come to that):

http://img144.imageshack.us/img144/9977/zct03ii1.jpg

After clicked ok on message box. Other message shows itself on bottom. This should be here not as an another popup:

http://img407.imageshack.us/img407/1822/zct04wz4.jpg

Former Member
0 Kudos

Hi,

please have a look to the parameter settings. You are using theme 99 and want to use

thems SL. I am not sure, but assume SL to be the default. Remove the theme parameter

and try again.

regards

Tobias

Former Member
0 Kudos

Hi,

please have a look to the parameter settings. You are using theme 99 and want to use

thems SL. I am not sure, but assume SL to be the default. Remove the theme parameter

and try again.

regards

Tobias

Ok, first of all, when I create a new Internet service it creates Topic 99 automatically. There is no other theme available to the service.. After that when I create HTML templates for screens. I can only select topic 99 as theme. It is not possible to select SL theme from WEBGUI.

I also tried removing ~theme=dm from templates, and then putting ~theme=sl instead.. Both gave 500 error when I ran the service.

Here is the screen shot of the internet service:

http://img214.imageshack.us/img214/6472/zct05rp0.jpg

Edited by: Hakan ATAC on Jun 5, 2008 1:01 PM

thorsten_domsalla
Active Participant
0 Kudos

Hello Hakan,

please follow the steps in the article Klaus has already mentioned. Click on this link: [<Article - Employ SAP GUI for HTML instead of an Internet service>|https://wiki.sdn.sap.com/wiki/display/HOME/Article-EmploySAPGUIforHTMLinsteadofanInternet+service].

This way you create a new service in transaction SICF. Copy the service webgui and append the parameter ~webgui_simple_toolbar with the appropriate value (see the Wiki article) to the copied service.

Test the service. That should be all.

Best regards,

TJ

Former Member
0 Kudos

Oh, now I understand where I made the mistake. When I tried to copy webgui on SICF I tried to paste it on same place (/sap/bc/gui/its/).. When I pasted it to another location it worked.

Thanks guys...

Former Member
0 Kudos

Hi,

did you already read our WIKI FAQ? And do study how the service 'webgui' has been defined.

regards

Tobias

Former Member
0 Kudos

Yes, I looked through it but still didn't find what I want.. Could you pinpoint it in Wiki?