UMS and URL to FIM
Hi all,
the "drill to origin" FIM feature is available in BPC NW. It uses the drill through BPC feature to generate an URL to FIM. In this URL there is a fpmLogonToken which is used to logon to FIM using the SSO.
Instead of using the drill through menu I need to generate an URL from my input schedule. In order to generate this URL I need to retrieve the fpmLogonToken value. Have you any idea how I can do this?
thanks for your help,
Alex
The following are the errors:
Line 9: cannot resolve symbol
class URL
URL company Url;
Line 43: Cannot resolve symbol
class URL
companyUrl = new URL(urlText);
line 45:
Cannot resolve symbol
MalformedURLException
I would appreciate if you would get me the corrected code. Thanks
Similar Messages
-
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 -
I downloaded software to convert jpg files to pdf's, and it worked. however, I think it installed Incredimail, and I suspect that it installed Ask.com - neither of which I wanted. It was just after that that my back arrow and my boxes where i type in search terms and urls DISAPPEARED! Firefox is compatible with some important websites and has features that i need. NEED.
Make sure that you do not run Firefox in Full Screen mode with all toolbars hidden.
* Press F11 to toggle full screen mode (Firefox/File > Full Screen)
If the menu bar is hidden then press the F10 key or hold down the Alt key, that should make the menu bar appear.
Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
* If items are missing then open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout" (Linux, Windows)
* If a missing item is in the toolbar palette then drag it back from the Customize window on the toolbar
* If you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up.
See also:
* http://kb.mozillazine.org/Toolbar_customization
* https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing -
Transaction Launcher Logical Systems and URLs
Hi,
I'm facing a problem with Transaction Launcher.
I've done all the settings specified here: http://help.sap.com/saphelp_crm60/helpdata/en/46/231befc17b5872e10000000a11466f/frameset.htm
Under section "Define Transaction Launcher Logical Systems and URLs" I've specified the values for Quality System: the ECC system is MQAS200A
By the way, when I try to access an ERP Sales Order, the transaction CRM_TL_ERP_BUS2032_DISPLAY tries to access system MSVL200A (which is the Development ECC System).
I cannot change the Logical System within the Transaction Launcher Configuration (currently it is set to ERP), since the Transaction is standard.
Does anybody know how to map the generic value ERP with the correct value MQAS200A instead of MSVL200A?
Thanks in advance,
Regards,
Andrea RicciHi,
You cannot generalize the Logical system name, for the workaround you need to put the logical system for quality and transport it to quality and it should work and to check in dev you need to again change the log. sys to dev and save it but dont transport it. Similarly you can do for production system.
Regards,
Shobhit -
I have some more problem in the web.xml file and url-pattern in my syste
HI ALL!
How can I create and place the web.xml and URL-parrten.Because I run
the tomcat in my computer with ME system.
Hocwhat is the problem? please be more specific and detailed? check a sample web.xml file and make your own one and place it in your <application-context>\WEB-INF folder..
-
I have a problem never had B 4. Have installed new Win7 OS many times and imported windows mail. Always when choosing windows mail in FF it worked. Now when doing I get windows mail program opening or if open coming to forefront or screen. Supposed to get a new email message with subject and URL inserted. I have searched many answers fro FF & MS. I have set WinMail as default, add ed same in reg, etc. etc. Still NADA. Any ideas? thanks
You should post here:
Microsoft Office forums >
Word IT Pro Discussions
S.Sengupta, Windows Entertainment and Connected Home MVP -
How to disable the "autoload" of pdf in preview and url in Safari
I hate that new feature,
How can i disable the "resume" of pdf in preview and url in Safari on every time i restart those prg?Sorry Noel - create an extended desktop and open photoshop - create a file the same size as your second monitor and drag it over to the second screen. Press F to make it full screen and Ctl 1 to make it actual pixels. We now have just what we require for projection mapping onto say a building assuming the second monitor is a projector. Now take a brush and stamp it in the middle of your page - which is on the second monitor, photoshop itself is on your Ist monitor. If you press hold Shift down and stamp your brush at the edge of your full page you will see it jump too the side. It will also do this if you try to drag a selection too close to the edge. The page will begin to scroll to accomodate the selection which is perhaps useful in some circumstances but in others like to projection map it is a horror because we need the page to remain exactly where it is at all times or it will no longer be `registered` to the architecture previously done. Beleive me
this can be deeply frustrating when you are out in the cold trying to get all the facets of a building mapped, but even when in the warm trying to do it with a theatre set.
Should you have a solution then you would indeed become much revered in these parts - best wishes John --
a couple of mapped buildings done with this method below
http://vimeo.com/31496197 ness chrurch
http://vimeo.com/17762125 xmas lights -
ASSIGNING REPORTS AND URL LINKS IN ROLE
Hello Gurus,
could you please tell me the procedure of asigning Reports, specific tables and Url links in the role.actually i know the process of assigning T-Codes to the role but i dont know the procedure for reports and url links and tables...
i hope u people will respond positively.
Cheers.......
srinivas.korva
Message was edited by:
srinivas.korva korvaHi Nuno,
you can achieve this by changing the XSL file.
Check out this thread for more infos: XML form display in same browser window
Best regards,
Robert -
Asigning Reports, specific tables and Url links to the Role
Hello Gurus,
could you please tell me the procedure of asigning Reports, specific tables and Url links in the role.actually i know the process of assigning T-Codes to the role but i dont know the procedure for reports and url links and tables...
i hope u people will respond positively.
Cheers.......
srinivas.korvaHi Srinivas,
"i want to add only one particular table not all tables", you can do this using a Custom Transaction Code, the following are the steps to do it:
1) goto se93, give a unique name, say zxxx
2)Enter SE16 into the transaction field and select the flag the skip initial screen field:
3)On the lower portion of the screen, enter the following information:
Name of screen field: DATABROWSE-TABLENAME
Value: Enter the name of the table you want to browse with
4)save it.
5) Now add the transaction zxxx in th role, and assign it to the user.
With this, when user executes the transaction, he/she will be able to see only the perticular table you added.
"in PFCG what is the use of Exper mode for profile generation. what is the difference between general profile generation and expert mode profile generation".
Expert mode has 3 options:
1) Delete and recreate profile and authorizations---This will completely delete the old profile and add only the new once.
2) Edit old status----It will edit the old values
3) Read old status and merge with new data----This will add the new values aithout actually disturbing the old ones.
Hope it helps.
Please award points if it is useful.
Thanks & Regards,
Santosh -
Wassup people!
Ive created a java chat client which uses the JTextPane to post messeges, emoticons and styled text. But the main problem here is that the majority of web browsers only support awt. Telling the users to download the latest jre with swing is long and most would rather go to another site, so i have reprogrammed the whole client in awt apart from the textpane. I now face the problem of creating a canvas that supports styled text, images, word wrap and url posting.
I am only a beginner in java and the initial client was quite easy to do using swing, but to program an efficient canvas that supports this has proved to be quite challenging. would anyone beable to show me the best way of doing this? or refer me onto a library that already supports this? or is there even an awt version of the JTextPane somewhere which would save alot of time? any help would be most appreciated.
ThanksI've seen a few APIs that are 100% pure java in 1.1 that implement a styled text area. They aren't free though and I'm pretty sure someone made some money off of the fact that java 1.1 didn't implement a styled text area.
I understand the problem you are having. Before the days of swing styled text was something you wished you had. Just so you know, there is no easy way of doing this. You could always paint it yourself with a canvas in a scroll pane but then you get to the point where, unless you did some serious mouse handling, highlighting text becomes very difficult. -
How best to display Company name and URL.
I want to display my company name and URL throughout short videos to be posted on YouTube. I would like them to be nonintrusive, lower right corner, small font. Should I follow the Apple instructions for adding a watermark (but I'm not using a logo)? Or do I treat it like a title (but how do I get it to display for the entire video?)? Thank you for any help.
Here is more on the YouTube options (and its limitations).
http://support.google.com/youtube/bin/answer.py?hl=en&answer=92710 -
I have an existing policy-map with vip and port 80. Now I need to do:
1. Match pool of ip address and url /abc then redirect to url /abc1
2. If url is ok but ip is out of the pool then redirect to url /abc2
It's probably possible to achieve but I have problem with mixing class maps (L4 and L7). Please advice how to do it.
Thank you.HI Kamil,
Something like below. Please try and let me know if it helps.
rserver redirect red
webhost-redirection www.abc1.com
inservice
rserver redirect red1
webhost-redirection www.abc2.com
inservice
serverfarm redirect red
rserver red
inservice
serverfarm redirect red1
rserver red1
inservice
class-map type http loadbalance match-all url
2 match http url abc
4 match source-address 2.2.2.2 255.255.255.0
class-map type http loadbalance match-all url1
2 match http url abc
policy-map type loadbalance first-match url
class url
serverfarm red
class url1
serverfarm red1
class class-default
serverfarm xxxx
Regards,
Kanwal
Note: Please mark answers if they are helpful -
Dynamically passing text and url-based images as an input parameter to cf8 report builder
I'm unsuccessfully trying to dynamically pass text and url-based images to a group footer or the detail section via an input parameter or even hardcoded. The field has the attribute 'XHTML Text Formating' set to True. The following are failed samples of a simplified value:
"<img height=’300’ alt=’Document’ width=’300’ src=’http://www.google.com/intl/en_ALL/images/logo.gif’ />"
or
"<img src=’http://www.google.com/intl/en_ALL/images/logo.gif’ />"
This just results in the above text being output. The end result would have various text and images from a database as input by a user, thus the reason I cannot just use the hyperlink information attribute as I could if it were a single known image. I tried rtf and pdf report types. Ideas?HTH,
Thanks. I'll keep that in mind, although I don't know how many images my user might need or what sizes so that might be tricky.
Since my target output is rtf so that MS Word can be used to edit the result, I added a pagebreak to a MS Word doc and used the resulting html source to replace the rich text editor source code for the page break, but that did not help either. The page break was so a user could add an image later. Something is wrong with the Report Builder related to intepreting XHTML, especially anything that has an attribute, including URL-based image links. I hope they try to provide another update before CF9. I doubt my client will be going to CF9 for some time, since they are just completing the migration to CF8.
BrianO -
Hi ,
i have a problem with Navigation Rules and URL-Header in Browser.
let me say i have the follow project with this structure:
index.jsp forward me to home.jsp.
in home.jsp i want to go to XXX.jsp, if i click the link i go there, to XXX.jsp, if i look to the URL, i still see home.jsp, and if i click a link YYY.jsp from XXX.jsp , i'll go to YYY.jsp , but in the URL still XXX.jsp ...etc, also i see allways the last Page and not the current. also it shows me allways from where i come and not where i am.
and this is a Problem, if i send a form in xxx.jsp and then navigate to yyy.jsp, and in yyy.jsp i do a browser refresh , my form would be sent again and again for every site refresh.
any idea what did i wrong or what should i do!
many thanks
majdThat's the default behaviour of RequestDispatcher#forward() (forwarding the request object to another page). If you're using navigation cases, then add <redirect /> to the case so that it invokes HttpServletResponse#sendRedirect() instead (redirecting to a new request, and hence the change in the URL).
-
Hi,
We are setting up a party and going to exchange via AS2.
As the messages would involve outbound and inbound, they had forwarded their certificates along with URL path.
Also, they were requesting GLN number. Please let me know what is it about.Hi Krish,
>>As the messages would involve outbound and inbound, they had forwarded their certificates along with URL path.
Nwo you need to provide your certificates and url.. Generally there shoudl be a template for exchanging this information...
GLN number is an identification number, through which your messages are identified.. we call it as AS2ID
Regards
Suraj
Maybe you are looking for
-
Trying to copy and paste text from a pdf to a webpage
trying to copy and paste text from a pdf to my iWeb edit page shows up as red lines, only shows up on the website if I highlight it, please help
-
How do I find out which codec is used by a video file? I did not create the file, and while I can view it in Premiere Pro, it does not play in WMP, Quicktime, etc. When I import the video into Premiere or Encoder, how do I inspect the video file deta
-
Ok, this might be confusing to explain so I apologize first. I have a site where a flash movie automatically starts when you enter. There is also a button (built in Dreamweaver) that switches it to full screen mode. What I want to happen is when you
-
Hi, I'm trying to create a state machine which monitors a single channel on a field point. I want to monitor up to 64 channels at a time, each one with different instances of the same VI. The VI itself needs to maintain information mainly through fee
-
Mac O/S X with CS3 printing issues to a Xerox
I have multiple systems running 10.4.x and 10.5.x using CS3. We can get Acrobat to print when we select "Print as Image", all other applications in the suite will NOT print until we convert them to a PDF. Things were fine when we were using CS2, but