on 06-04-2008 1:10 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
Hi,
did you already read our WIKI FAQ? And do study how the service 'webgui' has been defined.
regards
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.