cancel
Showing results for 
Search instead for 
Did you mean: 

Email notification with link(to wdp screen)

Former Member
0 Kudos

Dear Experts.

Can anyone let me know how to send email notification along with the link( on click of that link,it should open appropriate wdp sceen) in wdp

Katrice.

Accepted Solutions (1)

Accepted Solutions (1)

former_member184578
Active Contributor
0 Kudos

Hi,

Get the Web Dynpro application URL using construct_wd_url method of cl_wd_utilities class.

CALL METHOD cl_wd_utilities=>construct_wd_url

  EXPORTING

    application_name = 'ZWD_XXXX' " Your application name

    in_protocol      =  'HTTPS' " protocol http/https

  IMPORTING

    out_absolute_url = lv_wd_url.

Now pass this URL in email using SO_NEW_DOCUMENT_SEND_API1  function module or CL_BCS class.

Hope this helps u.,

Regards,

Kiran

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Katrice,

Please check out my blog to send HTML mail using Smartforms.

http://scn.sap.com/community/abap/blog/2013/01/24/send-html-mail-using-smartforms

Your wdp screen properly embedded in an iView in Portal, then your link in the email just need to point to the wdp iView's PCD path.

Hope it helps! Cheers!

m_aravindan
Active Participant
0 Kudos

Hi Katrice,

            Just look at the following tutorial in sap technical, wchich says about sending email with attachement .

in your case , you no need to send the attachmetnt. instead in the content send the link of the webdynpro application .

http://www.saptechnical.com/Tutorials/WebDynproABAP/email/Index.htm

check this thread too , to have a  good idea about sending email ntifications in webdynpro abap.

http://scn.sap.com/thread/857565

Regards

aravindan