Hi,
The SSO needs to be configured.
Also, try the function module WDY_EXECUTE_IN_PLACE, and pass the parameters appropriately.
Integration of Web Dynpro ABAP Applications in GUI Applications - Web Dynpro for ABAP - SAP Library
You can directly create a parameter tcode using WDYID.So that you can call wd applicaiton's tcode directly in gui which launches the application with SSO
Please refer the below link
Single Sign On from SAP GUI to Webdynpro
Hope this helps you.
Regards,
Rama
Message was edited by: Ramakrishnappa Gangappa