cancel
Showing results for 
Search instead for 
Did you mean: 

How to launch Java WebDynpro From ABAP?

todd_fisher
Explorer
0 Kudos

I have a requirement to launch a Java WebDynpro from ABAP code. Has anyone done this? If so, does anyone know of documentation/sample code or at least an ABAP class/function group I could look at?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

todd_fisher
Explorer
0 Kudos

Thanks for the quick response.

One follow-up - the only way to pass parameters would be to include them in the URL string, correct?

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Well, this method include a parameter PARAMTER in its signature, so maybe you could pass the parameters there, but I really have no idea. I assumed that the passing of parameters via a URL was the way to go.

Also, I think this PARAMETER parameter is used mostly for other PC applications.

Regards,

Rich Heilman

Answers (2)

Answers (2)

todd_fisher
Explorer
0 Kudos

I can work with this, thanks for the help.

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

The webdynpro application can be triggered simply by a URL, so this is really easy in ABAP.

All you need to know is the URL for the WDJ application running on your java engine.




report zrich_0001.

data: url type string.

url = 'http:\www.sap.com'.


call method cl_gui_frontend_services=>execute
   EXPORTING
     DOCUMENT               = url.

Regards,

Rich Heilman