on 09-27-2007 2:33 PM
Hai guys,
i am beginner in Webdynpro.i have
2 basic questions in abap webdynpro.
1)after a view is designed,while generating the application,we usualy get a web applicaiton.and use the url to access the developed screen.
can we,alternatively,generate a ABAP transaction instead?(like instead of URL ,we shud get a tcode,like normal abap dynpro)
in other way,i want to develop abap dynpro using webdynpro tools.
2)can we take a webpage,and covert in into meta data and thus,use it to create the view?(the reverse of what we do)
Hi!
ad 1. You cannot generate a SAP TCode to directly access a WDA application from SAPGUI, but you can create your own traditional SAP Transaction in ABAP and then integrate your WDA application in this classical SAPGUI application. For more details see http://help.sap.com/saphelp_nw2004s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
You can also add your WDA application directly into your favorites of your SAPGUI Easy Access Menu - see http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/7b35422e5fb86be10000000a155106/content.htm
ad 2. No. As far as I know this is not possible.
Regards,
Volker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Heidi!
Ups. I was not aware of this ...
Hi Shravan!
Question 1: Although it is not "forbidden" to use WDA to create your intranet I would strongly recommend you to NOT use WDA for that purpose. WDA is to create business applications (which maybe presented within an intranet), but to gather, structure, design and present unstructured material like texts, pictures and office documents (that's what typically is the main content of an intranet) there are much more powerful and flexible products and tools. One example is to make use of the KMC features of SAP Enterprise Portal and/or to use Third Party Portal products and Content Management Systems ...
Question 2: Yes, it is possible. You may use UI Elements of category Layout to achieve this. See http://help.sap.com/saphelp_nw2004s/helpdata/en/44/13e56fb4d00889e10000000a422035/content.htm
And you can make use of Cross-Component Programming to even combine views of different WDA applications. See http://help.sap.com/saphelp_nw2004s/helpdata/en/a7/1d8b412bb5b35fe10000000a1550b0/content.htm
Running WDA applications in a portal enables you to even present more than one independent WDA application on one page using so-called Portal iViews which are arranged on a Portal Page (with the capability of client eventing). For Portal integration see http://help.sap.com/saphelp_nw2004s/helpdata/en/45/06829d86792952e10000000a11466f/content.htm
Hope this helps.
Regards,
Volker
Hello shravan,
Regarding your first question: YES, you can attach a normal ABAP transaction to a WDA application.
Check out this report code I wrote, you just need to change the k_wdappl_name constant value to your application name:
REPORT y_abindi_001.
CONSTANTS: k_browser TYPE string VALUE 'IEXPLORE.EXE',
k_mandt_prefix TYPE string VALUE '?sap-client=',
k_wdappl_name TYPE string VALUE 'YTEST_WD2'. "Nombre de la aplicación
DATA: g_mandt_param TYPE string,
g_url TYPE string.
START-OF-SELECTION.
CONCATENATE
k_mandt_prefix
sy-mandt
INTO g_mandt_param.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = k_wdappl_name
IMPORTING
out_absolute_url = g_url.
CONCATENATE
g_url
g_mandt_param
INTO g_url.
CALL METHOD cl_gui_frontend_services=>execute
EXPORTING
application = k_browser
parameter = g_url
maximized = 'X'
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
bad_parameter = 3
file_not_found = 4
path_not_found = 5
file_extension_unknown = 6
error_execute_failed = 7
synchronous_failed = 8
not_supported_by_gui = 9
OTHERS = 10.
IF sy-subrc <> 0.
WRITE:/,'Error al ejecutar Browser (',k_browser,')'.
ENDIF.
Then attach a report transaction to this program, that's it.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.