URL in Smartforms
HI all,
I've downloaded the output of a smartform in PDF format. In the layout i've inserted URL for a text element.
My requirement is, when user clicks the text, it's to link with one more transaction.
How to do the same?
Expecting reply...Urgent
Whenever you enter a text in the editor, top right side of it you will see a button which allows you to enter the URL.
Assign points if it solves your problem.
-Gaurang
Similar Messages
-
Can not send long url in smartforms
hello
im tring to send long url from smartforms - using text - url.
-243 characters and its shown not as url
sametimes is revers part of the url or it put # in the begingn and in the end aldow there not spaces
how can i overcomes this problem
and if anyone have knows how to send short text conexted to the url from the smartforms for example
click hear - and behind that will be the url - can it be done
thank you allHello ,
As per my understanding of the requirement you want to send a text as url in the smartform..?
if its the requirement then create a text module with the URL in it and use this text module in the smartform ,.
THanks ,
M.Naveen Kumar. -
HI all,
I've downloaded the output of a smartform in PDF format. In the layout i've inserted URL for a text element.
My requirement is, when user clicks the text, it's to link with one more transaction.
How to do the same?
Expecting reply...UrgentHi
Your requirement can be achived as follows:
Use SFP transaction code for adobe forms.
Design your own form and context as per your requirements.
Now call the appropriate FMs in the print program.
Regards,
kumar -
Shrink the size of URL in SMARTFORMS
Hi Friends,
We want to output a URL, which is a bit long (about 100 characters). How do we shrink this and insert in SMARTFORMS.
I know in HTML, we can do like <a Href = "http://www.hotmail.com">Click Here</a>. Only Click Here will be shown and not the URL.
Is there something we can do like this in Smartforms ?
Pl let me know.
NiranjanGlad it worked, thanks for posting back.
-
Attaching URL to text in smartforms
hi,
i need to attach an url to a text .For example if my text is go if a click on go it should take to a url that i have attached.please teell me how to aatach url to text in smartforms.
regards,
sreelakshmi.Hi
Check this: [url for smartforms|http://help.sap.com/saphelp_crm50/helpdata/en/3e/c4308945ca4953bb100b9661eab3c2/content.htm]
Regards,
Vishwa. -
SMARTFORMS printing graphics from URL
I do not find anything yet to print graphics on SMARTFORM using variable name from a url NOT via SE78 Graphics Administration Document Server.
There is solution to load SE78 Document Server via BDC but I am looking for solution where Document Server is not loaded with excessive images AND NOT solution writing over a single image there; I want it actually redirected to another url address.
I do understand that I will maintain a table having the url address AND that I can even display from SMARTFORM; I am asking for solution that actually prints the stored image.Dear Michael,
good to see you..
I am facing the same problem for using the image from URL in SMARTFORM...
If you got solved the problem please give me the suggestions how you had done this....
Please,....
Thanks in advance,
Kruthik -
How to write driver programming in smartforms
hi Floks
<i>how to write driver programmig and how many types of driver programs available to trigger smartforms what are they . how to call the url in smartforms ?
help me out .thanking you ,</i>
with regards,
sureshHi
Try to get the Function module name from the smart form
how to find Driver program for a smartform
and now goto SE38 and create a progarm for calling the smartform
smartform driver program
Regards
Kathirve -
How to create a hyperlink in smartform
Hi All,
How to create a hyperlink in the smartform text editor so that when we click on that,we should be able to open the internet explorer.I have tried with the option insert URL.But still its not working.Do we need to do any further settings along with this?
Thanks in advance
Regards,
AkankshaHi,
check this:
http://help.sap.com/saphelp_47x200/helpdata/en/03/7560eccf0d11d3b565006094192fe3/frameset.htm
Create hyperlink in SMARTFORM
How to create a hyperlink in smartform
Create hyperlink in SMARTFORM
Re: URL in SmartForm sent as email body
Don't forget to reward if useful -
Hi Experts,
Can any one solve this problem.
How to link web properties(URL) to smartforms.
What is the use of webproperties in Smartforms.
Thanks & Regards,
Kumar.Hi,
I pressed URL link, cursor going to area (where we r giving text or fields).
If I give URL adrees here it is printing the URL adress as TEXT.
Please give clear view where I have to give the URL adress to link Smart Form to WEB.
Thanks & Regards,
Kumar. -
Hi,
In a particular scenario i am trying to insert graphics in the smartform from the URL. Is it possible?
If Yes, pl. let me know the steps.
I know how to use graphics from the SE78 transaction, but not from URL
The smartform is used in an e-mail if it helps.hi,
Sorry it will not workk
reward if useful
regards,
nazeer
Message was edited by:
nazeer shaik
Message was edited by:
nazeer shaik -
Contract Alerts Notification Emails
Hi,
I'm trying to figure out how to alter the system generated content of the alert emails.
We've configured the SRM 5.0 system to produce the desired contract notification alerts using BBP_CONTRACT_CHECK. The alerts contain our custom text plus the standard SAP text.
In the alert body, the system adds a section called 'Possible Subsequent Activities' which is then followed by a URL for the ITS plus BBP_CTR_EXT_WF/!?client=100&sap-client=100&language=EN&sap-language=EN&~DisconnectOnClose=1&CONTRACT_ID=
Has anyone been able to figure out how to either hide that section or blank out the URL?
Regards,
Jerry MartinekHi Jerry
Looking at your message, I understand that you already know this. But ..pl check again.
In SRM50, BBP_CONTRACT_CHECK works along with SRM alert management functionality for few alerts. You need to configure alert schema/events etc and assign alert schema to your contract transaction type. Worst case scenario, you may want to influence the URL from smartform BBP_OUT_EXCEPTION itself!
Pl check this link to see how the alerts work:
http://help.sap.com/saphelp_srm50/helpdata/en/42/c8aaddd9cc6bb3e10000000a1553f6/content.htm
Check note 984184 also.
Best regards
Ramki -
How to display URL images and URL link (html) from Smartforms?
Hi Gurus,
I'm having difficulty on how to display targeted URL images and URL link from the smartforms, after i sending it out as html mail. The mail i sent just can be preview as a plain text, which can't execute the html code that i put inside the smartforms itself. I follow a few step from this very useful blog.. Hopefully, you guys can give me some solutions or ideas on this.
/people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp -thanks to Pavan for his useful blog.
My code is like this..
<--- Start Code.
FORM call_smartforms.
DATA : lv_subject TYPE so_obj_des,
lc_true(1) VALUE 'X',
lw_control_parameters TYPE ssfctrlop,
lw_output_options TYPE ssfcompop,
lc_graphics(8) VALUE 'GRAPHICS',
lw_xsfparam_line TYPE ssfxsfp,
lc_extract(7) VALUE 'EXTRACT',
lc_graphics_directory(18) VALUE 'GRAPHICS-DIRECTORY',
lc_mygraphics(11) VALUE 'mygraphics/',
lc_content_id(10) VALUE 'CONTENT-ID',
lc_enable(6) VALUE 'ENABLE',
lw_job_output_info TYPE ssfcrescl,
lw_html_data TYPE trfresult,
lw_graphics TYPE ssf_xsf_gr,
lt_graphics TYPE tsf_xsf_gr,
lv_html_xstr TYPE xstring,
lw_html_raw LIKE LINE OF lw_html_data-content,
lv_incode TYPE tcp00-cpcodepage VALUE '4110',
lv_html_str TYPE string,
lv_html_len TYPE i,
lc_utf8(5) VALUE 'utf-8',
lc_latin1(6) VALUE 'latin1',
lv_offset TYPE i,
lv_length TYPE i,
lv_diff TYPE i,
lt_soli TYPE soli_tab,
lw_soli TYPE soli,
lc_mime_helper TYPE REF TO cl_gbt_multirelated_service,
lv_name TYPE mime_text VALUE 'sapwebform.htm',
lv_xstr TYPE xstring,
lw_raw TYPE bapiconten,
lt_solix TYPE solix_tab,
lw_solix TYPE solix,
lv_filename TYPE string,
lv_content_id TYPE string,
lv_content_type TYPE w3conttype,
lv_obj_len TYPE so_obj_len,
lv_bmp TYPE so_fileext VALUE 'BMP',
lv_description TYPE so_obj_des VALUE 'Graphic in BMP format',
lc_doc_bcs TYPE REF TO cl_document_bcs,
lc_bcs TYPE REF TO cl_bcs,
lc_send_exception TYPE REF TO cx_root,
lw_adsmtp TYPE lty_adsmtp,
lv_mail_address TYPE ad_smtpadr,
lc_recipient TYPE REF TO if_recipient_bcs,
lc_send_request TYPE REF TO cl_bcs,
lv_sent_to_all TYPE os_boolean.
DATA : v_language TYPE sflangu VALUE 'E',
v_e_devtype TYPE rspoptype.
v_form_name = 'ZTEST_EMAIL'.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = v_form_name
IMPORTING
fm_name = v_namef
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc = 0.
break mhusin.
ENDIF.
starting here. ***
Set title for the output
lv_subject = 'Smartforms.'.
Set control parameters to "no dialog"
lw_control_parameters-no_dialog = lc_true.
IF lw_service_subject-code = lc_fm1.
*--- To get output device type
CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
EXPORTING
i_language = v_language
i_application = 'SAPDEFAULT'
IMPORTING
e_devtype = v_e_devtype.
lw_output_options-tdprinter = v_e_devtype.
lw_control_parameters-getotf = 'X'.
IF sy-subrc = 0.
break mhusin.
ENDIF.
Set output options
lw_output_options-xsf = lc_true.
lw_output_options-xsfcmode = lc_true.
lw_output_options-xsfoutmode = 'A'.
lw_output_options-xsfoutdev = space.
lw_output_options-xsfformat = lc_true.
lw_xsfparam_line-name = lc_graphics.
lw_xsfparam_line-value = lc_extract.
APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
lw_xsfparam_line-name = lc_graphics_directory.
lw_xsfparam_line-value = lc_mygraphics.
APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
lw_xsfparam_line-name = lc_content_id.
lw_xsfparam_line-value = lc_enable.
APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
Get the smartform content
CALL FUNCTION v_namef
EXPORTING
control_parameters = lw_control_parameters
output_options = lw_output_options
*pass other application specific parameters (eg order number, items ).
IMPORTING
job_output_info = lw_job_output_info
TABLES
tt_tabh = tt_tabh
tt_tabb = tt_tabb
tt_tabf = tt_tabf
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc = 0.
break mhusin.
ENDIF.
lw_html_data = lw_job_output_info-xmloutput-trfresult.
lt_graphics[] = lw_job_output_info-xmloutput-xsfgr[].
CLEAR lv_html_xstr.
LOOP AT lw_html_data-content INTO lw_html_raw.
CONCATENATE lv_html_xstr lw_html_raw INTO lv_html_xstr IN BYTE MODE.
ENDLOOP.
lv_html_xstr = lv_html_xstr(lw_html_data-length).
CALL FUNCTION 'SCP_TRANSLATE_CHARS'
EXPORTING
inbuff = lv_html_xstr
incode = lv_incode
csubst = lc_true
substc_space = lc_true
IMPORTING
outbuff = lv_html_str
outused = lv_html_len
EXCEPTIONS
OTHERS = 1.
*HACK THE HTML CODE GENERATED BY SMARTFORM TO MAKE THE
*EXTERNAL IMAGES APPEAR AS <IMG> TAG IN HTML
REPLACE ALL OCCURRENCES OF '<IMG' IN lv_html_str WITH '<IMG' IGNORING CASE.
REPLACE ALL OCCURRENCES OF '/>' IN lv_html_str WITH '/>' IGNORING CASE.
REPLACE ALL OCCURRENCES OF '</A>' IN lv_html_str WITH '' IGNORING CASE.
REPLACE ALL OCCURRENCES OF '<' IN lv_html_str WITH '<' IGNORING CASE.
REPLACE ALL OCCURRENCES OF '>' IN lv_html_str WITH '>' IGNORING CASE.
CALL METHOD html_control - >load_mime_object
EXPORTING
object_id = 'ZWN'
object_url = 'ZWN.GIF'
EXCEPTIONS
OTHERS = 1.
REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH lc_latin1.
REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH 'iso-8859-1'.
break mhusin.
lv_html_len = STRLEN( lv_html_str ).
lv_offset = 0.
lv_length = 255.
WHILE lv_offset < lv_html_len.
lv_diff = lv_html_len - lv_offset.
IF lv_diff > lv_length.
lw_soli-line = lv_html_str+lv_offset(lv_length).
ELSE.
lw_soli-line = lv_html_str+lv_offset(lv_diff).
ENDIF.
APPEND lw_soli TO lt_soli.
ADD lv_length TO lv_offset.
ENDWHILE.
CREATE OBJECT lc_mime_helper.
CALL METHOD lc_mime_helper->set_main_html
EXPORTING
content = lt_soli
filename = lv_name
description = lv_subject.
LOOP AT lt_graphics INTO lw_graphics.
CLEAR lv_xstr.
LOOP AT lw_graphics-content INTO lw_raw.
CONCATENATE lv_xstr lw_raw-line INTO lv_xstr IN BYTE MODE.
ENDLOOP.
lv_xstr = lv_xstr(lw_graphics-length).
lv_offset = 0.
lv_length = 255.
CLEAR lt_solix[].
WHILE lv_offset < lw_graphics-length.
lv_diff = lw_graphics-length - lv_offset.
IF lv_diff > lv_length.
lw_solix-line = lv_xstr+lv_offset(lv_length).
ELSE.
lw_solix-line = lv_xstr+lv_offset(lv_diff).
ENDIF.
APPEND lw_solix TO lt_solix.
ADD lv_length TO lv_offset.
ENDWHILE.
CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_filename.
CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_content_id.
lv_content_type = lw_graphics-httptype.
lv_obj_len = lw_graphics-length.
*Add images to the email
CALL METHOD lc_mime_helper->add_binary_part
EXPORTING
content = lt_solix
filename = lv_filename
extension = lv_bmp
description = lv_description
content_type = lv_content_type
length = lv_obj_len
content_id = lv_content_id.
ENDLOOP.
TRY.
lv_subject = lv_subject.
lc_doc_bcs = cl_document_bcs=>create_from_multirelated(
i_subject = lv_subject
i_multirel_service = lc_mime_helper ).
CATCH cx_document_bcs INTO lc_send_exception.
CATCH cx_bcom_mime INTO lc_send_exception.
CATCH cx_gbt_mime INTO lc_send_exception.
ENDTRY.
Create send request
TRY.
lc_bcs = cl_bcs=>create_persistent( ).
CATCH cx_send_req_bcs INTO lc_send_exception.
ENDTRY.
TRY.
lc_bcs->set_document( i_document = lc_doc_bcs ).
CATCH cx_send_req_bcs INTO lc_send_exception.
ENDTRY.
Set-up email receiver
lv_mail_address = '[email protected]'.
TRANSLATE lv_mail_address TO UPPER CASE.
TRY.
lc_recipient = cl_cam_address_bcs=>create_internet_address(
i_address_string = lv_mail_address ).
CATCH cx_address_bcs INTO lc_send_exception.
ENDTRY.
TRY.
lc_bcs->add_recipient( i_recipient = lc_recipient ).
CATCH cx_send_req_bcs INTO lc_send_exception.
ENDTRY.
Send smartforms as HTML email
TRY.
lc_bcs->send( ).
CATCH cx_send_req_bcs INTO lc_send_exception.
ENDTRY.
COMMIT WORK.
WRITE:/ 'Mail sent'.
ENDFORM. "call_smartforms
End Code --->
Thanks and Regards.1- put your images in a directory under the web app directory. Example: app/images/
2- in your jsp, use: String file = application.getRealPath("/images/"); to get the images directory. See http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
3- it's not the right forum to post this kind of question. Post them in the JSP/Servlet JSTL forum instead -
Smartforms - how to use page URL like output option ?
Hello,
in the smartofms output options, there's the possibility to set
BSP Page/URL: ......
and Output format: XSF output + HTML.
My requisite is to send a form in XML via web service, can I use it ? How is run ?
tks.Hello
Use the function module "FB_CONVERT_FORM_TO_XML" to convert the smartform to XML format table.
The function module has been used in the method "GET_SMART_FORM_AS_XML" of the class .
THanks ,
M.Naveen Kumar -
Generate URL in PDF made with Smartforms
Hallo,
i wanted Generate URL in PDF made with Smartforms, i have done everything necessary with cuastmizing and programing, the PDF ist working good, but afer clicking on the link in my PDF , it doesnt work, and with debbaging , the FM HR_RCF_SF_URL_CALLBACK it was not generated,
thank you for your helpHi,
Post your thread in Form Printing forum for better response , here is the link
Output Management
Cheers
bhavana -
Insert URL link into SMARTFORMS and retrive the picture linked to the URL
Hi Guys,
I have the following problem:
I have a URL link and I want to set this link into the smartforms and
I want to retrieve the picture linked to the URL and display the picture in the print.
Is it possible?
Thanks for your support.
Best regards,
GiulioHi
Check the Tcodes
OAOR and
SMW0
<b>Reward points for useful Answers</b>
Regards
Anji
Maybe you are looking for
-
Intergrating Unity Voice-mail with Jabber
We are currently looking at using Jabber and have installed Jabber V 9.2.4 We are running Unity voicemail 7.1.3. I think we have Unity all set up to use voicemail and we can indeed forward our phone using the computer to our voicemail but we are not
-
Why do some next generation ipads have a lightning connector and some the old connector
why do some ipads have a lightning connector and some the old connector
-
Strange audio problem playback
I have what's probably an easy problem but can't find an answer anywhere here. When using "Play" or using the return key to preview my project in Flash 8 on OS X, I can't stop the audio. The audio is an MP3 voice over. Pressing "Stop" or using the re
-
Burning HDV to Blu-Ray. HDV iMovie 6.
Hello I would be interested to hear from someone with experience in burning HDV to Blu-Ray, and some guidance as to what model would be appropriate, although such model may not be available in Australia. I investigated a LaCie burner, but the specifi
-
Unknown call on skype saying URGENT to call a web ...
Had a skype call from unknown source saying it was "Urgent" for me to contact a website "helpsc.com" as my skype system was not secure. Any ideas if this is real or is it a scam?