on 02-04-2014 7:16 AM
Hi Experts,
I have a req that, i want to create a hyper link for my URL, i have to forward that hyper link to customer through mail, whne customer click on that hyper link it should open WD App. please help me in creating hyper link.
Example : Click Here to fill form.
like this i want to show in mail.
Regards
Syed
Hi Syed,
You can construct the URL using
Construct URL
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'name of your application'
in_parameters = lt_parameters
in_protocol = 'HTTPS'
IMPORTING
out_absolute_url = lv_url
out_protocol = lv_protocol.
You can refer the below link for send mail
http://wiki.scn.sap.com/wiki/display/Snippets/ABAP+-+Mail+with+link+to+outlook
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI syed,
Concatenate your variables and values to the end of the URL like shown below
Suppose url is https://HostName/sap/bc/webdynpro/ztest_comp?
Add var1 and var2 to the url
https://HostName/sap/bc/webdynpro/ztest_comp?IV_var1=var1_value&IV_var2=var2_value.....
Regards,
Ravikiran.K
Hi Syed,
Please go through the below link, we can break the hyper link into multiple parts using proper HTML format and can be store in a variable of type cfx_hyperlink.
http://scn.sap.com/docs/DOC-25633
Regards
Rajeshwari Ganti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ganti,
Thanks for ur reply its very helpful for me, now am able to get completed url in mail body but there is small correction i need to do.I have text body in my mail, am reading from SO10 using READ_TEXT fm, am getting my text in flines table in that table i have to replace my hyperlink, but my flines having length 133 char, please tell me how to place my hyper link in that body.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.