Hyperlinks in SAP
Hi experts,
I have stored a URL in two string variable as it is greater than 255 characters. I want the data in these 2 strings as one single hyperlink.
Thanks in Advance
A string variable holds 255 characters only. Also i need to know how do I convert it into a hyperlink.
No, you are not correct. A STRING is nearly unlimited, restricted by the 4 byte integer restriction OR by memory size using a system profile setting. Read the help files before you make a statement like that. Where is the hyperlink being displayed? Dialog screen, ABAP list, E-mail?
Similar Messages
-
How to send Email to customer when clicked on hyperlink on SAP CRM web UI
Hi all,
I am working with SAP CRM 7.0 EHP1. I have one field named Email on Complaint description page on Web client UI. I have made the field a hyperlink by using the setter getter methods of attribute in component workbench for the component -BT120H_CPL. Now I want to send one mail to customer who have raised the complaint when clicked on the hyperlink Email through SAP CRM if possible or by using Microsoft outlook(Microsoft outlook is default mailing server on the system).
Please help !
Thanks and regards,
Kavita Chaudhary
Mobile: 8800222151Hi kavitha Chaudhary,
if you wan to send any details to outside mail id first you should get that person mail id. based on that you can send data to that mail id by using this code...
just fallow this code in your event..
DATA: send_request TYPE REF TO cl_bcs.
DATA: text TYPE bcsy_text.
DATA: document TYPE REF TO cl_document_bcs.
DATA: sender TYPE REF TO cl_sapuser_bcs.
DATA: recipient TYPE REF TO if_recipient_bcs.
DATA: bcs_exception TYPE REF TO cx_bcs.
DATA: sent_to_all TYPE os_boolean.
TRY.
* -------- create persistent send request ------------------------
send_request = cl_bcs=>create_persistent( ).
* -------- create and set document -------------------------------
* create document from internal table with text
APPEND 'Hi to all' TO text.
document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = text
i_length = '12'
i_subject = 'test created by srinivas' ).
* add document to send request
CALL METHOD send_request->set_document( document ).
sender = cl_sapuser_bcs=>create( sy-uname ).
CALL METHOD send_request->set_sender
EXPORTING
i_sender = sender.
* hardcoded value im passing here u should capture customer mail id here..
data : lv_email type string.
lv_email = '[email protected]'.
* --------- add recipient (e-mail address) -----------------------
* create recipient - please replace e-mail address !!!
recipient = cl_cam_address_bcs=>create_internet_address(
lv_email ).
* add recipient with its respective attributes to send request
CALL METHOD send_request->add_recipient
EXPORTING
i_recipient = recipient
i_express = 'X'.
* ---------- send document ---------------------------------------
CALL METHOD send_request->send(
EXPORTING
i_with_error_screen = 'X'
RECEIVING
result = sent_to_all ).
IF sent_to_all = 'X'.
WRITE text-003.
ENDIF.
COMMIT WORK.
* * exception handling
* * replace this very rudimentary exception handling
* * with your own one !!!
CATCH cx_bcs INTO bcs_exception.
WRITE: text-001.
WRITE: text-002, bcs_exception->error_type.
EXIT.
ENDTRY.
after this go to sost transaction.
first you can see first mail.. select your recent mail id execute then you will get email..
try this and let me know..
if this is not working then see this link too this might be help full to you.
Hyperlink in Email using Send Mail Activity
Thanks & Regards,
Srinivask. -
Hyperlink to sap tcode in email notification
hi,
I am in need to put an hyperlink in the email notification in the business workplace. when the user clicks the link he has to navigate to the transaction in SAP. i am able to give the hyper text but help me out how to trigger the transaction when the user has clicked the hyperlink.
Adding the hyper text through html tags was possible but i am not able to trigger it.
thanks in advance,
babuHi Babu,
When you configure a Task (while you create a Task), there itself you specify the Object Category, Type and Method. That should be sufficient to lead you to transaction directly upon double clicking on the work item. There is no need to send a link. For example, if the step requires editing a document (DMS), then upon clicking the work item, we should dirstly reach transaction CV02N (edit document).
In case you have a different requirement, can you please elaborate?
Best regards,
Abir -
Webi Hyperlink to SAP Content Server
Hi folks,
My customer is trying to use a hyperlink;
http://opentext.samca.net:8080/archive?get&pVersion=0045&contRep=D1&docId=4945274BD42AD25FE10000000AC819E6
in his Webi report to launch a document stored on his SAP Content Server.
However the url will not parse in Webi because the u2018HTTP ver 4.5 for Content Serveru2019 expects a method as a first parameter, whilst in standard HTTP protocol the option of passing a parameter is not covered.
Is there any way around this, the url above has to be specified this way to comply with the SAP Content Server?
Kind regards,
JohnJohn,
In WebI:
Drag and Drop: Free-standing cell, Blank cell, in that paste the URL. And change cell properties of "Read Cell content as" -- Hyperlink.
Thank You!! -
Image hyperlink in SAP BO 4.0
Hi,
Needed some help with an issue.
I am using SAP BO 4.0 SP 7. It is installed on an UNIX server.
I have to requirement where based on an objects value we will show images and on clicking the image another Webi report will open.
I am reading the cell content as HTML. The code for the cell is like this:
=If([ObjectA]=1;"<a href=opendoc1 link><img src=boimg://a.gif></a>";"<a href=opendoc2 link><img src=boimg://b.gif></a>")
Here, the opendoc links are working fine. But the images are not displaying. The images are placed in the 'images' folder inside enterprise_xi40 directory inside the installation folder.
Can anyone help?
Regards
NikhilHi Saurabh,
I am running the image from BI launch pad only. In the DEV environment.
When I write the code like below with servername and port then it is displaying the image and also the opendoc links are working fine:
=If([ObjectA]=1;"<a target=_blank href="http://XYZ:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sType=wid........."><img src="http://XYZ:8080/images/asdf.gif" border=0></a>";"<a target=_blank href="http://XYZ:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sType=wid........."><img src="http://XYZ:8080/images/qwerty.jpg" border=0></a>")
But since the server and port will be different for different environments and it needs to be migrated to client prod environment, I need a more generic code with relative path.
Therefore, I tried using BOIMG:// to give path for the images since it is the default path for images stored in BO.
The code now looks like this:
=If([ObjectA]=1;"<a target=_blank href="../../BOE/OpenDocument/opendoc/openDocument.jsp?sType=wid........."><img src="boimg://asdf.gif" border=0></a>";"<a target=_blank href="../../BOE/OpenDocument/opendoc/openDocument.jsp?sType=wid........."><img src="boimg://qwerty.jpg" border=0></a>")
With this code, the opendoc links are working fine but images are not loading. See the below screenshot:
What could be the isuue? -
How to send data from WEBI HYPERLINK to SAP R/3
Can someone please help in sending the data from WEBI to R/3 system.
We created a universe on top of a BEX Query and on Top of that we created a web intelligence report.
Now our requirement is when we click on any record in BO web ntelligence report that data should get populated in SAP R/3 system FAGLL03 screen . How to send the data from WEBI to R/3 system.
Edited by: SAP BPS on Feb 5, 2010 6:23 AMHerry,
You can refer the below docs for reference. Instead of receiver JDBC , you have to use Receiver as R/3.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
I hope it helps.
Best regards,
raj. -
Hi experts,
I need to display a hyperlink in MM03 basic data tab . How to achieve this ?
Thanks & Regards,
Karthikeyan.DUsed button ...
-
Hyperlinks on SAP MDM Publisher Catalog
Hello Friends,
I need to create a catalog having hyper links.
Can I define hyperlinks in console or some otherplace, so that in the final publisher catalog, I have a hyperlink.
Thanks and Regards,
Sameer.
Edited by: SAMEER CHOPRA on Nov 26, 2009 10:12 AMHi Sameer,
Generaly, it is recommended saving URLs in the Text HTMLs table in MDM.
Referencing URLs of the Text HTMLs table enables you to preview the website (right click on the text html record->view detail-> preview tab).
However, I agree with Markus's comment. Accessing hyperlinks In a printed publication seems to me less relevant.
If the requirement is only displaying the URL in the printed catalogue you may also consider storing them as plain texts.
Regards,
Hedda -
Hello All,
I am trying to find out if it is possible in include hyperlinks in SAP Long Text fields.
Thank you,
AlexHi,
if you mean long text created e.g. via function module SAVE_TEXT try to use character format DS (Hypertextlink (SO70)).
I guess the only possible setting is via character formats.
To get it try to use any object where you can create long text in dialog mode (e.g. IW32, IW22, ...) and try to create it there throw any other character format...
Regards,
Karol -
How to post URL link in sap script
How to give link in sap script..
For example if someone select [sap|www.sdn.sap.com]. it will direct to www.sdn.sap.com
Regards
Sas
PS: Insert Test --> Hypertext option tried but not working properly...
Hey no replies....any one any idea?I don't think sapscripts does have the option for entering hyperlinks.
SAP has provided smartforms/advance forms:
Link: [hyperlink - smartform;
Link: [https://help.sap.com/saphelp_47x200/helpdata/en/9b/e3b0e0c2a711d3b558006094192fe3/
frameset.htm]
Link: [Hyperlink in smartform]
Link: [How to create a hyperlink in smartform] -
Displaying URL (in work item description) as Hyperlink in UWL
Hi experts,
I have successfully configured my UWL to retrieve and display work items under "Tasks" tab.
However some of the work items contain a URL which I would like to display as a hyperlink (i.e. clicking on the hyperlink opens a new browser window and takes the user to the specified location). Currently the UWL displays these URL as plain text.
I tried to add HTML tags: <a href="http://www.abc.com">http://www.abc.com</a> to denote the URL as a hyperlink. The URL was correctly interpreted as a hyperlink on SAP inbox (transaction code SBWP). However, when it is accessed via UWL, the HTML tags are incorrectly displayed in plain text.
Please kindly advise whether any configuration can be done to the UWL such that it will correctly recognize and display the URL as a hyperlink. Any help is greatly appreciated.
Regards,
LionelHi Lionel,
You can't directly do what you want with the workitem text, but there is perhaps a workaround. If you make the URL available as an element in the workitem container and include it in the text that way, you will preserve the original functionality, but more importantly you will then be able to configure a custom action in the UWL which refers to this URL. The result will be visible to your users as a seperate link or button in UWL.
See <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/3a/648b505d764efcbbcbf7fab0e3070a/frameset.htm">URL Launcher</a> in the SAP docs for details of how to do this config.
Hope this helps,
Darren
<a href="http://www.fortybeans.com/">My blog</a> -
Hyperlink Option in Workflow Notification
Hi All,
I want to put a Hyperlink in Workflow (AR Workflow) notification mail. When the mail will be sent, it should contain the hyperlink of SAP. If enduser will click this hyperlink, it will go to SAP.
Regards,
ManojHi Manoj
Welcome To SDN!!!!!!!!!....
Chech the following links..
www.uisol.com/uisol/papers/UISO-PGandE_Paper_Distributech_2006.pdf
help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/content.htm -
Hyperlink to Infoset Query filed
Dear experts,
I need to achieve the following functionality in my infoset query.
Double click on a Notification number in the List output and go to the Notification header screen, the way we do in standard list outputs.
Requesting your help
Regards
Jogeswara RaoDear Experts,
I myself arrived at the solution throguh Google search.
Thanks to Google & SDN. The solution is available at the following link.
[Solution|Hyperlink from SAP Query (SQ01);
Regards
Jogeswara Rao -
Hi experts,
I d like to know if it's posiible to hyperlink a Sap B1 query through a UDF ? an if it's possible, how ?
I have already set up the UDF but I dont know which adress I have to put in, in order to make open my query.
Thanks in adavance for your anwer.
Cordialement
Sébastien TABOREHi Sebastian
If you're wanting to create a file from this query, then you could use the EFM format definition Add-on. This uses a 3 step wizard to create the file in a specified location.
Regards
Svend -
Hoe to send hyperlink from sap workflow to outlook.
Hi,
Just check this might be helpful.
Send Mail From SAP Workflow to Outlook
Regards and Best wishes.
Maybe you are looking for
-
How can I lock Pages and Numbers files on my desktop?
I have a Numbers spreadsheet and some documents in Pages that I'd like to 'lock' or password protect. The old Appleworks program used to allow me to 'lock' files. Is there a way to do this using Lion or is there a simple app I can use?
-
Smart Adaptor Compatibility (power)
I have a G61-110SA (windows 7 32 bit) I need a new AC Adaptor as I left mine abroad. There are two adaptors available (first two listed items): Parts-surfer I would like to buy the smart charge compatible one, but here is the question I need to answ
-
Solaris 10: Unable to route to Internet
Folks, I installed Solaris 10 on Sun Ultra 30. Server is up & everything looks good, except I am not able to connect to Internet from Ultra30. Problem is not in Name Resolution, but in routing to external network. At least it so seems. At my home, it
-
Hi All, I have a SQL database. I am finding it hard to list the colums names of a particular table in my DB. can someone please tell me how i can see just the colum names in the table? using SELECT * FROM <TABLENAME> from the command line is not help
-
export to jpeg and wondering what to set the image sizing at I have it set long edge and 300 resolution is this ok for 4x6 prints? thanks, donna