on 03-07-2012 9:47 AM
Hello,
My requirement is to call one of the sap transaction code inside webdynpro. I did find out lot of posts here about how to configure the same but i have one doubt.
Though we are doing this application in webdynpro, we are not viewing the output in a browser but are rather creating a transaction code in sap and are viewing the webdynpro output through the transaction. In other words, we do not use browsers to view the output( It could be used in the future but not now).
How am i to link the standard sap screen inside webdynpro when the webdynpro is indeed called through a custom transaction code
Thanks,
Prem
Hi,
Look at these transactions design in SE93 in your system.
SOAMANAGER --> SAP Transaction that Opens a WDA Application in new webbrowser
solman_workcenter --> Transaction only available in Solution manager system , via this transaction it opens a WebDynpro application in SAP GUI.
Regards,
Ashish Shah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Prem,
Webdynpro is used to access sap application in browser. in order to access sap tcodes, we will use WEBGUI service( SAP HTML FOR WINDOWS).
Generally we will call tcodes using below url..
http://xxxxxxxxxxxxxxxxx/sap/bc/gui/sap/its/webgui?~transaction=*se38
Regards
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are not using browse to view webdynpro output, then why dnt u go for module pool?
For creating tcode check the below link
http://www.saptechnical.com/Tutorials/WebDynproABAP/TransactionCode/Create.htm
Regards
Srinivas
I am not sure if you understood my question.
I am supposed to create the application via webdynpro only as that is the client requirement. The ouptut will be viewed thorugh a custom transaction and not via browser.
I am aware as to how to create a tcode for my application and i have already done it. I would not want to call another transaction ( Say example : MM01) from my custom transaction and i would like to know the steps for it.
There are lot of documents available online - Using ITS etc but am confused if it will be of use to me as i am not using any browser to view the output.
Thanks,
Prem
Am not sure i have understood ur question.
Inside your webdynpro , if you want to call standard tcode you have to call using webgui service, but if you call using webgui service internall it will open new browser window to call standard tcode.
But you are saying u are using webdynpro with in R/3, generally we will tcode using CALL TRANSACTION statement, but we cannot use this in webdynpro..
Regards
Srinivas
Hello,
As given in the link you provided , [http://www.saptechnical.com/Tutorials/WebDynproABAP/TransactionCode/Create.htm] i have already created a tcode for my webdynpro. Users will only use this transaction to execute webdynpro.
One of my requirement is to call a sap standard tcode inside my application. Let's say my tcode is ZA01 . Users use this tcode ZA01 to execute the webdynpro ( Not browser). One of the rquirement is to call a standard tcode inside the webdynpro on click of a button.
Since the output is not being viewed in a browser and only inside SAP, i would like to know if there are any different steps for the same.
Thanks,
Prem
inside button action you can call tcode using webgui service which i mentioned in my 1st post,
For example
to call se38 in button action
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_external_window(
url = 'http:/xxxxxxxxxxx/sap/bc/gui/sap/its/webgui?~transaction=*se38'
).
lo_window->open( ).
here you cannot use call transaction statement.
Regards
Srinvias
Edited by: sanasrinivas on Mar 7, 2012 5:24 PM
>The ouptut will be viewed thorugh a custom transaction and not via browser.
You keep stating this, but I don't think you realize what is happening when you open the WDA via a TCode. The SAPGUI isn't doing anything special to render the WDA. It really just opens Internet Explorer in a new window or in-place within the SAPGUI as a control. The WDA still renders in a browser like normal. This is the only option for rendering Web Dynpro - the browser.
So as far as navigating from WDA to a SAPGUI transaction via ITS, the process is no different than if the WDA was running standalone or if it is running within the SAPGUI.
You should note that SAP doesn't recommend the use of Web Dynpro directly within the SAPGUI (running as a control). You should follow the pattern of SOAMANAGER and only open the WDA as a new browser window independent from the SAPGUI. Actually SAP highly recommends the NWBC or NetWeaver Portal for a mixture of SAPGUI and Web Dynpro. This provides the best techincal integration between the two technologies - espeically NWBC.
Thanks Thomas,
I will have a look at how to configure ITS for this. Can you please let me know what kind of problems would be encountered if we continue to use sap gui for this instead of viewing it seperately.
The client insists that tcode is the only option they want to view the output but i can caution them if any major problem would be encountered on use of gui only.
If there aren't major issues they might prefer to continue with using SAP gui only. Please help.
Biggest problem is that it isn't supported by SAP. Therefore if anything doesn't work, we won't fix it. The major problems we have seen is that it uses two dialog work processes (double server side resources) and can lead to user sessions not getting cleared correctly, which in turn can lead to locks and resources being held too long.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
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.