Sending WD component link in email through Workflow

Hi ,
I have a Web dynpro component created.The WD application would trigger a Workflow through a Business Object event. In the workflow the user would receive an email on his outlook with the WD component link.
I have 2 questions:
1)  How will we send the email to the outlook mail? And the link would be a fairly long string as it is of a WD application.How can we send the link?
2)  There is 1 more requirement in which there is a inventory number,which is the key field for the WD screen.The person receiving the outlook email with the link will be getting the link as
eg: http://tcbdci20.xyz.net:8020/sap/bc/webdynpro/xyz/cbb_a4201_invmt?WiNr=4711.
Here the "WiNr" would be the Inventory number parameter name and "4711" would be the inventory number.This link should directly take the user to the inventory number data filled on the WD screen.
Is there any way thsis kind of link can be sent and generated?
Many thanks for your help.
Regards,
Ameya Kulkarni

Hi,
Please see the below code by which I am able to send link more than 160 charecter.
*** BEGIN_METHOD SEND_MAIL_TO_USERS CHANGING CONTAINER.
* Data declaration
DATA:
      lt_user_IDS type STANDARD TABLE OF SWHACTOR,
      ls_user_IDS type SWHACTOR,
      lt_EMAIL_ADDRESSES TYPE STANDARD TABLE OF ADR6-SMTP_ADDR,
      ls_EMAIL_ADDRESSES  type ADR6-SMTP_ADDR,
      lv_STATUS TYPE CFS_STATUS-STATUS_ID,
      Lv_Object_ID type crmd_orderadm_h-object_id,
      ls_document_data TYPE sodocchgi1,
      lt_text TYPE solisti1 OCCURS 0,
      l_document_data TYPE sodocchgi1,
      lt_receivers TYPE somlreci1 OCCURS 0,
      ls_wa_receive TYPE somlreci1,
      ls_text TYPE solisti1,
      lv_link_title  TYPE char50.
DATA: lv_link1 TYPE char200 VALUE
'http://golitsapd39.go-d01.local:8001/sap/bc/gui/sap/its/webgui?sap-',
      lv_link2 TYPE char200 VALUE
'language=EN&sap-client=850&~transaction=DSWP_SAPSHORTCUT&~OkCode=',
      lv_link3 TYPE char200 VALUE '/08&pcmd=CRMVW&pmsgnum=',
      lv_link  TYPE char200.
* Get container values
  SWC_GET_table CONTAINER 'User_ids' lt_USER_IDS.
  SWC_GET_table CONTAINER 'Email_addresses' lt_EMAIL_ADDRESSES.
  SWC_GET_ELEMENT CONTAINER 'Status' lv_STATUS.
  SWC_GET_ELEMENT CONTAINER 'Object_ID' lv_Object_ID.
*=======================================================================
* Createing final link
*=======================================================================
CONCATENATE lv_link1 lv_link2 lv_link3 lv_object_id INTO
            lv_link.
*=======================================================================
* createing subject
*=======================================================================
Condense  lv_status.
Translate  lv_status to upper case.
CASE lv_status.
  WHEN 'NEW'.
    CONCATENATE 'Pls assign Support Msg ' lv_object_id
    INTO ls_document_data-obj_descr SEPARATED BY space.
  WHEN 'AUTHORIZED'.
    CONCATENATE 'CR' lv_object_id 'is autorized'
    INTO ls_document_data-obj_descr SEPARATED BY space.
  WHEN 'CRCREATED'.
    CONCATENATE 'Please authorize' lv_object_id
    INTO ls_document_data-obj_descr SEPARATED BY space.
  WHEN OTHERS.
    CONCATENATE 'Support Msg' lv_object_id
    'is in' lv_status 'status'
    INTO ls_document_data-obj_descr SEPARATED BY space.
ENDCASE.
*=======================================================================
* createing Body
*=======================================================================
* Hi
CLEAR : ls_text.
ls_text = 'Hi,'.
APPEND ls_text TO lt_text.
*Blank Line
CLEAR : ls_text.
ls_text = '<br></br>'.
APPEND ls_text TO lt_text.
CASE lv_status.
  WHEN 'NEW'.
*Support Message has been created or reassigned in NEW status.
    CLEAR : ls_text.
    CONCATENATE 'Support Messag' lv_object_id
    'has been created or reassigned to you.'
    INTO ls_text SEPARATED BY space.
    APPEND ls_text TO lt_text.
*Blank Line
    CLEAR : ls_text.
    ls_text = '<br>'.
    APPEND ls_text TO lt_text.
*Please raise a CR and waith untill it is aurorized then make the status
*ASSIGNED to continue further.
    CLEAR : ls_text.
    CONCATENATE
    'Please raise a CR and waith untill it is aurorized then make the'
    'status ASSIGNED to continue further.'
    INTO ls_text SEPARATED BY space.
    APPEND ls_text TO lt_text.
*Blank Line
    CLEAR : ls_text.
    ls_text = '</br>'.
    APPEND ls_text TO lt_text.
WHEN 'AUTHORIZED'.
    CLEAR : ls_text.
    CONCATENATE 'CR' lv_object_id 'is authorized.'
    INTO ls_text SEPARATED BY space.
    APPEND ls_text TO lt_text.
*Blank Line
    CLEAR : ls_text.
    ls_text = '<br>'.
    APPEND ls_text TO lt_text.
*Please check and make the status of the support message ASSIGNED
*status to continue further.
    CLEAR : ls_text.
    CONCATENATE 'Please check and make the status of the support'
                'message ASSIGNED status to continue further.'
    INTO ls_text SEPARATED BY space.
    APPEND ls_text TO lt_text.
*Blank Line
    CLEAR : ls_text.
    ls_text = '</br>'.
    APPEND ls_text TO lt_text.
WHEN 'CRCREATED'.
    CLEAR : ls_text.
    CONCATENATE 'CR' lv_object_id 'has been created.'
    INTO ls_text SEPARATED BY space.
    APPEND ls_text TO lt_text.
*Blank Line
    CLEAR : ls_text.
    ls_text = '<br>'.
    APPEND ls_text TO lt_text.
*Please check and authorized it.
    CLEAR : ls_text.
    ls_text = 'Please check and authorized it.'.
    APPEND ls_text TO lt_text.
*Blank Line
    CLEAR : ls_text.
    ls_text = '</br>'.
    APPEND ls_text TO lt_text.
WHEN OTHERS.
    CLEAR : ls_text.
    CONCATENATE 'Support Message' lv_object_id
    'is in' lv_status 'status now.'
    INTO ls_text SEPARATED BY space.
    APPEND ls_text TO lt_text.
*Blank Line
    CLEAR : ls_text.
    ls_text = '<br>'.
    APPEND ls_text TO lt_text.
*Please check and start working as soon as possible.
    CLEAR : ls_text.
    ls_text = 'Please check and start working as soon as possible.'.
    APPEND ls_text TO lt_text.
*Blank Line
    CLEAR : ls_text.
    ls_text = '</br>'.
    APPEND ls_text TO lt_text.
ENDCASE.
*Blank Line
CLEAR : ls_text.
ls_text = '</br></br>'.
APPEND ls_text TO lt_text.
*Please click the following link to take a action.
CLEAR : ls_text.
ls_text = 'Please click the following link to take a action.'.
APPEND ls_text TO lt_text.
*inseting link
CLEAR : ls_text.
CONCATENATE 'VIEW/EDIT Object' lv_object_id INTO lv_link_title
SEPARATED BY space.
CONCATENATE '<A HREF=' lv_link '>'
   INTO ls_text.
APPEND ls_text TO lt_text.
CLEAR : ls_text.
CONCATENATE  '<H5>' lv_link_title '</H5></A>'
INTO ls_text.
APPEND ls_text TO lt_text.
*Blank Line
CLEAR : ls_text.
ls_text = '<br></br>'.
APPEND ls_text TO lt_text.
*Adding Signature
*WThanks and regards
CLEAR : ls_text.
ls_text = 'Thanks and regards,'.
APPEND ls_text TO lt_text.
*Blank Line
CLEAR : ls_text.
ls_text = '<br>'.
APPEND ls_text TO lt_text.
*WF-Batch
CLEAR : ls_text.
ls_text = 'WF-BATCH'.
APPEND ls_text TO lt_text.
* Receiver
Loop at lt_user_IDS into ls_user_IDS.
ls_wa_receive-rec_type = 'G'.        "SAP User
ls_wa_receive-receiver = ls_user_IDS. "Mail Address
APPEND ls_wa_receive TO lt_receivers.
Endloop.
Loop at lt_EMAIL_ADDRESSES into ls_EMAIL_ADDRESSES.
ls_wa_receive-rec_type = 'U'. "Internet User
ls_wa_receive-receiver = ls_EMAIL_ADDRESSES. "Mail Address
APPEND ls_wa_receive TO lt_receivers.
Endloop.
*This function module is used to send mail
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
  EXPORTING
    document_data              = ls_document_data
    document_type              = 'HTM'
    put_in_outbox              = 'X'
    commit_work                = 'X'
  TABLES
    object_content             = lt_text
    receivers                  = lt_receivers
  EXCEPTIONS
    too_many_receivers         = 1
    document_not_sent          = 2
    document_type_not_exist    = 3
    operation_no_authorization = 4
    parameter_error            = 5
    x_error                    = 6
    enqueue_error              = 7
    OTHERS                     = 8.
*If Mail Send Successful
IF sy-subrc EQ 0.
  COMMIT WORK.
*   Push mail out from SAP outbox
  SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.          "#EC CI_SUBMIT
ENDIF.
END_METHOD. ***
Thanks and regards,
SNJY

Similar Messages

  • I need to reset my security questions however there is no option to send a reset link to email address anyone help?

    I need to reset my security questions however there is no option to send a reset link to email address anyone help?

    Go to https://getsupport.apple.com ; click 'See all products and services', then 'More Products and Services, then 'Apple ID', then 'Other Apple ID Topics' then 'Forgotten Apple ID security questions'.

  • Send Quotation by Email Through Workflow

    Hi Gurus
    I am trying to setup a workflow to send out the quotation (VA21) to the Sold to Party via Email. The requirement is that when the quotation is saved it should go via email to the ordering party. Specifically the output (printout) of the offer letter should go as an attachment to the Sold to Party when the quotation is saved.
    How do I create the task so that it sends the output.??
    Thanks and Regards

    hi simran,
    As ur abapers to create a program to send the output through mail option they will link it to the smpt server and that inturn will trigger the email to be sent to the customer.
    Regards,
    Sudhir

  • Can send but can't receive email through ATT POP account

    My ISP is ATT. Email is through a POP account. I've verified all the settings through the ATT support page and been on the phone with an ATT Mac (dubious) tech. I'm able to send but not receive email. I get no errors when I check mail. It just appears that there's nothing new. I am able to receive through web mail. I deleted my cache as suggested by another user. Any thoughts? Thanks very much.

    Hi QCKaren, and a warm welcome to the forums!
    Feel free to start a new topic to attract more helpers to your particular situation, here's a link if as is often the case, it's hard to find out where to do it...
    http://discussions.apple.com/post!default.jspa?forumID=753
    ISP tells me I will lose messages in all mailboxes - but does this mean all mailboxes that are stored "locally on my macintosh" or just the mail in the inbox, sent and trash associated with that account?
    Yes, if it's a POP account all will be lost.
    Not certain, but this can fix myriad Mail problems...
    Safe Boot from the HD, (holding Shift key down at bootup), it will try to repair your Disk Directory while the spinning radian is happening, so let it go, run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move these folder & file to the Desktop.
    Move this Folder to the Desktop...
    /Users/YourUserName/Library/Caches/Mail/
    Move this file to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index
    Reboot.

  • Error when sending a document link via email

    Hi people,
    I am on SAP EP 6.0 SP15 and below I describe my scenario.
    I have some documents created in some KM folders. Today, I tried to send one of those documents via email to another portal user. If I go through Send To > Send Copy..., that other portal user receives the email with the document attached and he is able to open it... so far so good.
    However, if i try to send the same document but now using a link (Send To > Send Link...), the other guy receives the email, but the link results in a 404 error when clicked.
    I investigated a little and found that the link sent contains "" signals to indicate spaces in the folder names, instead of "%20". I believe this is the issue, because if I change manually the "" signals to "%20", the link works perfectly.
    My question is: is there a way to configure the sistem to use "%20" instead of "+" to represent spaces? Or I will have to remove the spaces from ALL my folder names?
    Thanks
    Fernando Urzedo

    Hi Fernando,
    this seems to be a bug. In the release notes of KMC SPS16 incl. P1, this is not reported as fixed (on the other hand, not every fixed bug gets reported in the release notes).
    You could try to patch your portal first; if you don't can do this at the moment or if the bug persists after patching, please open an OSS message.
    Hope it helps
    Detlev

  • How to send Z Component as an attachment in workflow

    Hi Experts,
    I have created a custom component( Z component )  in UI and I want to send this as an attachment in worktask in workflow.
    For this I created a custom business object( Z object ) and by default 'Display' method is created in it.
    When I send my custom component( Z component ) as attachment I want to see my Z component, which is not happening. Although in GUI this works well. But in UI I want to see my component.
    Any help will be highly appreciated.
    Regards,
    Vikas

    Hi Experts,
    I have created a custom component( Z component )  in UI and I want to send this as an attachment in worktask in workflow.
    For this I created a custom business object( Z object ) and by default 'Display' method is created in it.
    When I send my custom component( Z component ) as attachment I want to see my Z component, which is not happening. Although in GUI this works well. But in UI I want to see my component.
    Any help will be highly appreciated.
    Regards,
    Vikas

  • How to send a Workitem to User Group through WorkFlow

    Hi,
    I am developing a WorkFlow, in this i have an issue that i have to send a WorkItem to User Group on Certain condition. On Agent Assignment I want to assign User Group not a single or multiple Users.
    Could anyone resolve this issue. How can i resolve in WorkFlow.
    Harkesh Dang

    hi Harkesh,
    During agent assignment use Organizational unit -> All users in that organizational unit will receive workitem.
    Use Role -> All users having that role will receive workitem.
    Use Job/Position -> All users assigned to job/position ca receive workitem.
    Or else use expression -> Pass the user name through some selection criteria using a background method. Loop it. Create a task and workflow container and make sure that in properties tab multiline is checked.
    Hope it works.
    Regards,
    Raj

  • Send the infopath form in email through code

    Hi,
    I have a custom list form and on button click I need to send email with the form in the body of the mail.
    Since I want to change the From Address, I cant use the email dataconnection with the infopath form.
    I need to write code to send mail. But how will I get the form view as the body of the mail.
    Could anyone please help me?

    Hi,
    Are you trying to submit an Infopath form by email or are you dealing with a "List" in SharePoint that you want to email out? Would you be able to clarify?
    Also, when you say you want to change the From address, will that be static or be different based on some condition/value?
    Pman
    http://www.pmansLab.com/

  • I can send but can't receive emails through exchange on iPhone 4s

    I can send but cant receive exchange e-mails on my iphone 4s.  My older Iphone 3 worled fine, and still does on wifi.  I have deleted and reinstalled, I have restarted the phone and tried different settings.  When I check for emails, it just looks and looks and then stops looking with no e-mails showing up (even when I know there are e-mails).  I can send emails fine.  Any help or advice is appreciated.

    There's clearly something wrong with your incoming mail server.  Double check with your IT department to see what the proper settings are.

  • Question: Sending a HTML-Link (via email) for updating data

    Hello,
    I have an simple application which is club member request form.
    Anyone who will get a member in our club can type in some personal data and after pressing the create button he will get a confirmation e-mail.
    Till here everything works fine.
    Now I will put an confirmation link (HTML) in the confirmation e-mail.
    The new member should click on this link and the link should update (and commit) a the column "confirm" in my new_member table depending on an ID.
    Now my problem:
    I have no idea how this link should look like.
    Thanks for help

    Generally, this kind of implementation goes deeper than just what the link looks like. In fact, what the link looks like depends entirely on how you've implemented the confirmation process in your database.
    Although I've never done this specifically, I have given considerable thought to how it would be implemented. I thought that I would have a specific table that would hold pending confirmations. This table would hold some kind identifying data as well as a unique ID that would identify the row, probably something that looked like a GUID.
    Given this table structure there would probably be a trigger or PL/SQL process that took the pending member information and moved it into the members table when the member clicked on a confirmation button on the confirmation page. Therefore, the link that is sent to the user would need to look something like this:
    http://[yourhost.domain:port]/pls/[your DAD]/f?p=&app_id.:[your confirmation page #]&session.::::[your page item name]:[the unique ID for the member]
    The page item name is the item you define on the confirmation page that will hold the confirmation ID and the unique Id comes out of the table for the specific membership you're confirming.
    Again, this is conceptual since I've not done this specifically, but it should give you a place to start.
    Earl

  • Sending Alerts through workflows

    Hi Experts,
    I have a scenario where in whenever a CIC agent creates a complaint in the CIC web client a workflow is to be triggered which would send alerts to the agent to inform the customer about the status of the ticket.
    My query is how can we send alert to CIC web client through workflows.What are the settings that we need to do for this...
    Any help would be highly appreciated
    Regards,
    Narsingh.

    Hi Narsingh Panigrahi,
    Please check this links:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/8f507464246353e10000000a11466f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/45/732041c877f623e10000000a155106/content.htm
    I think this someone has asked the same question please search in the forum.
    Regards
    Balaji E.

  • "Send link by email" in IE9?

    I have just moved from IE8 to 9, and I want to send a link by email.  I often do this.  I found a way:
    Press Alt, to bring up the old menu, click on the File menu, hover over Send, and click "Link by email".
    You have got to be joking!  Please tell me I'm wrong, I'm missing something, or just that I'm plain stupid.  Tell me anything, but don't tell me
    that's the only way to send a link by email in IE9!

    What happened to the Mail button in IE9?
    http://answers.microsoft.com/thread/29f7c66b-4b23-4958-b5d1-bedb625b7f70
    [You will find Consumer-specific support for Internet Explorer in this forum:
    http://answers.microsoft.com/en-us/ie]
    ~Robear Dyer (PA Bear) ~ MS MVP (IE, Mail, Security, Windows & Update Services) since 2002 ~ Disclaimer: MS MVPs neither represent nor work for Microsoft

  • Send a link via email that will start a workflow on a sharepoint online list

    I am trying to send a hyperlink in an email that will start a workflow on a sharepoint online list. I am unable to use javascript because the end-user will be clicking this link on their mobile device. I have found many articles that get me almost there
    but none of them will actually start the workflow.
    here is one that is very close to what i am looking to do. http://sharepointerz.blogspot.com/2012/05/run-workflow-from-hyperlink-in.html
    Is it possible to start a workflow using a URL with out using javascript?
    Any help would be much appreciated. Thanks 

    you can use ECMA script to Start the workflow.  However you need to redirect to a sharepoint page and there on Load you can do this. Directly from Email I don't know.
    You can use http://www.codeproject.com/Articles/607127/Using-SharePoint-Workflow-Services-JS-API
    SP.WorkflowServices.WorkflowServicesManager
    From other blog http://www.vrdmn.com/2014/08/start-sharepoint-2013-workflows-with.html
    Thanks and Regards
    Er.Pradipta Nayak
    Visit my Blog
    Xchanging

  • How to send HTML link in the email through BRFplus

    Hi All,
    I want to send an HTML link embedded into the email body , as shown below.
    Hello Friends,
    Please find below path for error occurred during triggering of materials.
    Http://documents/error/doc.htm
    Thanks & Regards
    Khushbu
    And when the user clicks on the HTML link , it should directly take user to the browser.
    Kindly suggest how to implement this functionality.
    Regards,
    Khushbu

    I have tried using HTML code for writing the email body, but its not working.Its not converting HTML code , its taking them as characters only.I know how pass HTML link in email from ABAP but here email are sent from SEND email action of BRFplus.

  • Email Notifications through workflow for all Approved and Rejected Orders

    hi,
    i have to send Email Notifications through workflow for all Approved and Rejected Orders to the user who have submitted the order for approval.how could it be done.please send ur solutions.
    regards
    yesukannan

    Hi,
    An option would be use Oracle Alert. Create an event based alert on the table where you have order approvals or rejections. This alert will be raised after inserting or updating this table. Create an action linked to this alert, and choose message as action type.
    This setup can be done under Alert Manager Responsibility.
    Regards,
    Ketter Ohnes

Maybe you are looking for

  • Remove xml namespace in the SOAP channel

    Hi gurus, Maybe my question is simple but unfortunately no ideas in my head how to solve the problem easily. I have a SOAP receiver channel to some external Internet application, send data there and synchronously get the response. The problem is that

  • IChat 4.02

    I have iChat version 4.02. I am using an ADSL router/modem (Netopia 3346) and have opened all the pinholes you are supposed to open to allow iChat to work. When I invite my sister in Seattle the error message I get is that I didn't receive a response

  • Streaming & Syncing....can you do both?

    I have a 160GB Apple TV and I can't seem to Sync or Stream anymore. Says there is Firewall issue but firewall is not turned on and don't have any aftermarket firewall software. So currently I cant stream or Sync. Seems to have a problem when i try to

  • How can I put picture thumbnails on a page

    Is there a way to put thumbnails on a blog or other page with text where the reader can click to enlarge?

  • Very low audio on my new Satellite L755-M1KS

    Hi, First of all, I couldn't find my model here on this website or on any of Toshiba's websites for that matter which is very weird. My problem is, the Audio is very very low since day one when I bought it. The laptop is still under warranty and I do