URL Link to Opportunity in WF notification
Hi,
I am looking for a way to get the URL for an opportunity in Sales Online (using some standard function) so that i can attach it to my custom workflow notification. Is there any function available to generate the URL (along with session details, etc).
thanks
Ramya
If I understand correctly, you need to send a wf notification with the link to the opportunity. If it is so, then you can send a HTML notification and generate the following link dynamically (using wf attribute for oppoutunity id).
http://<SERVER>:<PORT>/OA_HTML/OA.jsp?page=/oracle/apps/asn/opportunity/webui/OpptyDetPG&ASNReqFrmFuncName=ASN_OPPTYDETPG&ASNReqFrmOpptyId=<OPPORTUNITY_ID>
Please note that the user will have to enter the username/password if he/she clicks on this link, but after entering the logon details the application will take the user to the opportunity details page.
Thanks,
Gaurav.
Similar Messages
-
Error in URL link for approvers in email notifications - GRC 10
Hi All,
After scheduling the PC - CCM jobs , all the approvers got the email notfication with the link to work inbox.
when approvers clicked work inbox , they are getting error message.
Kindly help on getting the steps to check for areas we need make sure , why link is not working and how to solve.
And what is the reason for this error?
Service cannot be reached
What has happened?
URL call was terminated because the corresponding service is not available.
Note
The termination occurred in system with error code 404 and for the reason Not found.
What can I do?
Please select a valid URL.
HTTP 404 - Not found
Your SAP Internet Communication Framework Team
Regards
Prasanna SHello,
Activate the relevant services in t code SICF
check the below Note for technical process
2145019 - Error - Service Cannot be reached
1697673 - GRC 10.0 - Service cannot be reached
Also check the below thread for similar issue
SICF service - error code 404
Regards
Baithi -
How to change URL/link in cFolders email notification
Hi Folks,
We are on cFolders 4.5 accessed via Enterprise Portal. When a notification is generated (either manually or via a status transition), the email contains a URL link related to the cfolder object the notification pertains to. This URL points to the cFolders BSP application. How do we point this to the portal? We want all user to access cFolders via the portal and not BSP. Any way to achieve this?
Thanks,
LashanHello Lashan,
could you please tell me the note number?
Here we also would like to implement the same.
Thanks in advance,
Boldi -
IS it possible to provide URL link in Notification Mail and logon to SAP
Hi firends,
when the user gets a notification mail to his outlook,
he opens that notification mail in outlook.
Is it possible to provide a URL Link ? in that notification mail.
When the user clicks on that URL LINK, then is it possible to open the SAP Initial Screen,
where user can provide his User name and Password. and logs on to the SAP.
If these things are possible.
Please guide me step by step.
Thanks in Advane,
GaneshRefer the following links for Extended Notifications..
/people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox
http://help.sap.com/saphelp_erp2005vp/helpdata/en/d5/581ee8d56f1247bf34cfcd66d16d81/frameset.htm
Specific answer to your question is
Maintian the link in "INBOX_LINK_URL" parameter in the "General Settings".
Regards,
PR. -
How can we give URL link in Notification Mail (In Outlook)
Hi Firends,
when the User opens his outlook inbox and finds the Notification Mail.
At end of the matter, Is it possible to give the URL link.
when the user clicks on that URL link then the SAP LOGON initial screen must be opened.
where he can provide his UserName and Password.
Please guide me, step by step if it is possible.
Thanks in Advance
GaneshPlease don't post duplicate questions, please see my reply to your other one.
-
When we receive the notifications it has a URL link to click on to view the data, any idea where this URL link gets created completely? What are the packages or config files to look for.
Q:I tried to see what you said, but as per your email when the URL was sent as a attachment means you already captured the URL and sent it as a attachment, right?
A:Yes, you are righte
Q:Where did youcapture the URL (link)? I checkd in the workflow and i can not find any thing related how the URL gets created.
A:The URL is an attribute. You are responsible to set this value.
Q:Second problem in the DEV instnace when we use the workflow notifications to notify the users when the report gets completed it send a URL link but it is pointing to different instance> any idea which profile option or file entry need to be changed?
A:Check your notification object and see who is the performer.
Luiz -
Workflow Notification: URL Link for executing a RDF
<p>I need to send a notification with the <u>URL link</u><br>When the user clicks this link it should call a report and fetch the details in PDF file according to the parameters passed in the URL<br>I tried using <br>http://local_host_name/reports/rwservlet?report='RDF_FIle_Path'/URLREPORT.rdf&desformat=pdf&destype=cache&userid=apps/password@xxx</p><br>
But it is giving the error like <br><u>The requested URL /reports/rwservlet was not found on this server.</u><br><br>Note: I have loaded the RDF into serverHi Amit,
The link for cProjects can be found under the service in SICF>default_host>SAP>BC>Webdynpro>SAP>cProjects.
For portal URL, you need to search under the business package>role>iviews or pages.
Regards,
Santosh. -
I am trying to send a URL link through notification. I can open the link in custom workflow, but when I am trying to use the same thing in seeded workflow(iProcurement responsibility - Clause details) it is not working.
I am sending the link as URL attribute and even I tested using text attribute.
Message was edited by:
Nandeep CBHi,
Directly you can use Http://www.sap.com in the email body, then it will come as link in the Body of the email
Regards
Sudheer -
How to link CRM opportunity to R/3 projects through object relationship
Hello everyone,
i have this new development to link CRM opportunity with R/3 projects ( table PROJ ). as user creates the opportunity in CRM in relationships tab he should be able to see the R/3 projects as part of search help when he select create relationship -> projects. i have manged to get the project data from R/3 to CRM through middleware and search help is also showing list of all the projects. problems arises when i try to save the relationship by pressing save button. it gives me error messsage that
'Project with the number SI090100000000000 does not exist ==> Interlinkage is not created'
Please help me how to maintain this linkage.
Thanks
Sudhir GroverDear Sudhir,
I have search this help portal a lot to find the solution for my need that,
Present I am working for a project where the same requirement that what you had in one of your project and did successfully. Let me explain about it,
Opportunities will be created in CRM and Projects will be created out side CRM (Project systems) now I have to link this projects information to the corresponding opportunities in CRM.
For this, I was knew we have to set up "Object relationship profile" that is it.
But once I red this thread theoretically I got confidence, the requirement can be achieved by following your way, but here I have the below doubts
1. How to replicate CProjects to CRM from ECC?? (Present middleware set up is working fine (BPs and Products, and etc. replication is happing fine)
2. ITS (PPM URl) is already provided by PPM team and working fine (I have tested using Transaction launcher), in this case can I use that ITS URL?
I am really grateful to you!! Kindly help me out!!
My Email ID is - [email protected]
Thanks and regards,
Shaik. -
URL links for Workflow Approval Email per user & others
Hi all, we have upgraded to SRM7 and understand that we have to switch to using program /SAPSRM/OFFLINEAPPROVALSEND to generate the workflow notification emails. We have maintained the portal information in the SRM configuration to build the link. However, we have 2 issues here
1. We currently output collective email so emails are sent out at specific timing on a per user rather than per work item basis. The URL link does not seem to work in this case (for shopping cart approval example) and we get an object GUID error. The URL looks something like this
http://sap-ped.dev.xyz.com/irj/portal/?navigationtarget=obn://BOSystemAlias=SAP_SRM/BOTechnicalName=sc/Operation=detailprof&NavMode=3
Also, even if I run the program for a PO approval example, the BOTechnicalName is still pointing to sc.
However, if I do it on a per work item basis, the URL works.
Does anyone know where the control this setting?
2. External and internal portal
We have some users connecting to the portal through more secured channel (external portal). In this case, I couldn't find a way to generate the appropriate URL for the external. In the past in the older SRM version, the program was using the attribute ITS_DEST in PPOPMA_BBP to build the URL link. Now, I do not know how the system knows which portal URL to take if the control is no longer at user level.
Has anyone ever had this requirement before?
My worse case scenario to resolve the above issues would be to use the BADI to alter the content of the email notification. The purpose of posting this message here is to ensure that I am not missing out any standard SAP functionality which could meet our requirements.
Cheers!
SFHello,
See hyper-links below:
[How-To: Offline approval - Logon link does not work|http://wiki.sdn.sap.com/wiki/display/SRM/Offlineapproval-Logonlinkdoesnot+work]
[KBA 1511180 - The hyperlink in the offline approval email is incorrect|https://service.sap.com/sap/support/notes/1511180]
Regards.
Laurent. -
URL attributes not rendered on WF notification with embedded OAF Regions
I am customizing a notification which has embedded OAF regions. I need to put a URL in the message, for which I have created an item attribute of type URL, hardcoded this to a random URL for now, and pulled this down as a message attribute as well. I then put the message attribute in the HTML body as &URL_NAME after the framework regions. This, however, did not work. What happens is that in the notification, the URL message attribute is not token subsitute and instead of the URL link, plain text is rendered as URL_NAME. Also, I get a warning message at the top of the notification:
Attribute URL_NAME does not refer to a framework region
If I put the URL as the first attribute in the message body, then the URL is rendered correctly, and all the framework region attributes are rendered as text. It almost seems as if the message body can either have framework regions or message attribute tokens.
Any inputs will be appreciated.
Thanks in advance.I having a similar issue with the Expenses workflow. I have done the following
Steps:
1. Create custom OAF shared region
2. Create form function XX_APPROVERS where WEB HTML is OA.jsp?page=/xx/oracle/apps/per/ame/dynamicapprovals/webui/xxApproversRN
3. Create WF attribute XX_APPROVERS_HIERARCHY with value as JSP:/OA_HTML/OA.jsp?OAFunc=XX_APPROVERS.
4. Copied WF attribute to messsage and added &XX_APPROVERS_HIERARCHY to message body:
&OIE_APEXP_BODY
WF_NOTIFICATION(HISTORY)
*&XX_APPROVAL_HIERARCHY*
For NEW expense reports/workflows , the notification is fine and the custom region is displayed. However, for workflows already in process the following WARNING is displayed:
Attribute XX_APPROVERS_HIERARCHY does not refer to a framework region.
In the notification body the attibute name is also displayed.
This does not prevent the person responding to the notifications. How can I prevent this warning and why does the change affect workflows already in process ?
Thanks -
Wrong URL link is being sent to users
Hi,
There are workitems in user's inbox. An external notification mail is sent to user via a scheduled report.
These notification mail contains a URL link to log in SAP system. This URL link is old. Is it is possible to change an existing url in an email sent to user? If its not possible what workaround can be provided so that user gets the correct url to log in??
Regards,
VittalprasadHi,
How can I resend the mail for the workitems for which mail has already been send once??
If you execute the Program RSWUWFML2
You can see From work item creation date & From work item creation time in the Block "Data for an Individual Run (Time Stamp Not Set)"
There give that date & Time ( Date from which you want to resend the workitem) and execute it.
Before that confirm whether it sending the New URL.
Regards,
Surjith -
How can I send to a different URL link than what the text states in Acrobat?
Hi there
I know how to create URL links in my document using Acrobat but
How can I create a link that goes to a different URL desintation other than the one the text states?
For example
the text states
www.aaaaa.com
and I want it to state this,
but I want the link to direct to
www.aaaaa.com/abcdefghijkl
I dont want to have to create a link object, I want it to stay as text?
Is this even possible?
Any advise?
Thankstry67 wrote:
Actually, it is possible to specify your own tooltip text, if you use a
button instead of a link.
You just set the button's action to "Open a weblink" and it will act the
same as a link, but you'll have more control over how it looks and behaves.
Hi there
I cant see the term "Open a weblink". Can you advise please?
Also then how do you change the "Tooltip text" please? -
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 -
How to call a portal KM URL link from WAD template Link
Hi All
I am trying to call a Portal KM URL Link from the web template using the link control.
I cannot figure out whare and how to put the portal KM URL Link into the web application web link.
Your help is greatly appreciated.
Thanks
KarenAdd content administration role to the user.
The the content administration tab would be visible to the user in the main menu tab.
Then in content administration tab, configure the URL for KM URL tab or link.
This would be done by EP experts. Please contact your EP experts to do.
Hope this would help you.
Maybe you are looking for
-
ITunes keeps corrupting itself?
Well, I've been having this problem for quite a while, and I really would like to get it fixed. Just about every time I plug my iPhone into my Mac, iTunes will not recognize it. I have to perform the steps at http://support.apple.com/kb/HT1747 , and
-
Running JAR files (Could not find the main class error)
Hi all, I'm having a bit of a problem with my app. I created an application with the current Netbeans edition, containing multiple .class files, and a few .jar libraries that are needed too. Now I'm having problems with running the .jar that the Netb
-
HP mini 110- 3500 laptop fails to boot after SSD upgrade
Hello, I recently bought a "crucial 250gb 2.5 " SSD and 2gb RAM (also by crucial), to upgrade my HP mini 110-3500 laptop, which was exceedingly slow. But unfortunately, the laptop has refused to boot when powered on. What can I do? I am very worried.
-
¿Cómo puedo cambiar las propiedades del proyecto en iMovie 10.0.1? Quiero pasarlo de 16/9 a 4/3
-
Idvd stops at "one minute left"
I am trying to burn a dvd slideshow that is no more than 15 minutes long... And it took about two hours to burn, which is fine. However, my mac says 1 minute left, which it has been saying for the pas 45 minutes. I'm stumped? If it is any help, about