on 10-22-2009 10:39 AM
I have to enhance a abap webdynpro screen using badi in CJ20n. I want to know how to call abap webdynpro application in badi.
Can anybody help me on this.
Regards,
Soumya
hi ,
if u want to get the URL of ur WD Application :
//to get URL of Webdynpro Application :
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'Z102044_BAPI'
IMPORTING
out_absolute_url = str.
str - type string.
'Z102044_BAPI' is the name of your webdynpro application
to call webdynpro abap page from SAP GUI , use method CALL_BROWSER
CALL FUNCTION 'CALL_BROWSER'
EXPORTING
URL = lv_url "Your webdunpro application URL
EXCEPTIONS
FRONTEND_NOT_SUPPORTED = 1
FRONTEND_ERROR = 2
PROG_NOT_FOUND = 3
NO_BATCH = 4
UNSPECIFIED_ERROR = 5
OTHERS = 6.
regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nothing wrong with call browser, but you won't necessarily get Single Sign On to the WDA application that way. Consider function module WDY_EXECUTE_IN_PLACE with internal mode set to space. Or do like transaction codes like SOAMANAGER do and create a parameter transaction on top of the transaction code WDYID. You can then just call this tcode - all though underneight it just calls WDY_EXECUTE_IN_PLACE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.