Send long link from workflow

Hi Experts,
I have a problem. We have created a workflow and now I need to send a link to the recipient's mailbox. The link is 167 characters long and all the time when I send it out, it is broken.
The goal is to use this link normally from outlook surface, do you have any idea? Can I do it on standard way?
Can you help me?
Thanks,
Peter

Try Like this
INCLUDE <cntn01>.
DATA :
   BEGIN OF fs_tab,
      line(225) TYPE c,
   END OF fs_tab.
DATA :
   t_cont TYPE
STANDARD TABLE
       OF swcont,
  wa_task TYPE swwwihead-wi_rh_task VALUE 'WS90000037'.
DATA :
    t_tab LIKE
STANDARD TABLE
       OF fs_tab.
CLEAR fs_tab.
fs_tab-line = '<a href  = "https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a6d6d4bb-0601-0010-5f92-e5b8bdc74f19"'.
APPEND fs_tab TO t_tab.
CLEAR fs_tab.
fs_tab-line = 'target = "_blank">'.
APPEND fs_tab TO t_tab.
CLEAR fs_tab.
fs_tab-line = 'Link</a>'.
APPEND fs_tab TO t_tab.
swc_set_table t_cont 'MAIL' t_tab.
CALL FUNCTION 'EWW_WORKFLOW_START'
  EXPORTING
    x_task          = wa_task
  TABLES
    x_container     = t_cont
  EXCEPTIONS
    invalid_task    = 1
    no_active_plvar = 2
    start_failed    = 3
    general_error   = 4
    OTHERS          = 5.
IF sy-subrc <> 0.
  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
  WRITE :
    / 'Work Flow Triggered'.
ENDIF.
here I have declared as the line is sizes is 225 but when this line goes to workflow conatiner , i am writing this MAIL multiline element continuously, with out line breaks in MAIL so it is simply redirecting me to the link that i have mentioned.

Similar Messages

  • When I try and send a link from mail it says I must re-install my OS in my 2012 Mac Air

    when I try and send a link from mail it says I must re-install my OS in my 2012 Mac Air

    Typing in additional text seems to get the job done.  This seems to be a feature of the latest IOS update, I have never had the problem before the last update.
    I use the box with the arrow just to the left of the URL block at the top of the page to send myself links to pages of interest.  Adding the extra text seems like a pointless step, but it does work.
    Thanks.

  • I used to send a link from safari using mail. Suddenly i cannot do this anymore.I have checked all the details but nothing will work

    I have always managed to send  link from safari using mail Suddenly I no longer can do this and mail just sits with the message in outbox. I changed nothing and all the settings look the same. Very frustrating please can anyone help. I use an aol account with outgoing imap and incoming smtp port 587 with no check in ssl box. AOL will not help, and apple are not interested either. I find it frustrating when things that were working suddenly dont for no rason. I am running OSX 10.6.8 Thanks Tracy

    http://support.mozilla.com/en-US/kb/Managing+file+types
    Don't set Firefox for '''mailto'''. <br />
    http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox

  • When trying to send a link from firefox it opens quicktime player

    when sending link from firefox it opens Quicktime Player, it opened Skitch before this??

    Did you try to change that file action in Tools > Options > Applications
    *http://kb.mozillazine.org/File_types_and_download_actions
    If that isn't possible then try delete the mimeTypes.rdf file in the Firefox Profile Folder to reset all file actions.
    *http://kb.mozillazine.org/mimeTypes.rdf
    *http://kb.mozillazine.org/File_types_and_download_actions#Resetting_download_actions

  • Need to send HTML email from Workflow : problem with sender

    Hi all,
    i need to send HTML email from my Workflow. I did it but i have a problem with the sender. The sender of email is always the agent responsible of workitem, and i don't want the receiver can answer to sender. So i need to put a false email address like nosender.at.mycustomer.com.
    Possible to do that ?
    Thanks for your help.
    Cheers

    Hi rick
    How to change the wf-batch to some other name  as you mention in previous reply. Can you give some details of that. If i use the function module SO_NEW_DOCUMENT_ATT_SEND_API1 how to change the wf-batch name and if i use send mail step in my workflow how to change wf-batch name.
    Regards
    vijay

  • How to send only email from workflow

    Hi Guys,
    I want to send an email from a workflow without sending a notification ... how do i do it ?
    Thanks In advance
    Tom.

    Hi,
    Two possible ways - neither of which I would recommend.
    1 - Write a trigger on the WF_NOTIFICATIONS table, so that if the notification for the process that you require is sent, then you populate the mailer status column to 'spoof' the mailer into thinking that it has already sent it. That should suppress the email.
    2 - Modify the flow to include an activity prior to the notification to change the recipient preferences to not receive email, send the notification, then change the preferences back.
    Email is an "all or nothing" solution - either get email from everything, or get it from nothing. How are they planning on dealing with the notification that they are sent? If they are logging into the application to view the notification, then you could consider sending summary notification emails, and force the users to log into the application to view them all, rather than trying to adopt a half-and-half solution where some things come by email and some only come in the application.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Sending OUTLOOK mail from Workflows

    HI ,
    Please help me in getting out of this error encountered during a sample workflow thing.
    Here is the requirement I need to send a OUTLOOK mail from SAP.If the user accepts the workflow task then mail  need to send a recipient ,stating that he accepthed the request.
    Below I designed  that task.
    In send Mail step I added the recipent thing as stated below.But I was unable to send mail to OUTLOOK .In this I am not even  getting notification in my SBWP  in SAP INBOX.
    How should i send the mail to OUTLOOK from SAP.

    Hi Ranjith,
    Here's some friendly advice for you:
    - don't post the same question twice
    - if you get a specific error message ('wait for communications service'), try investigating it yourself by googling it.
    In this case, your issue is almost certainly with your mail setup - you can confirm this by trying to send a mail from SBWP to an external address. If so, it's a Basis issue, not workflow. You can safely hand it off to your Basis team.
    cheers
    Paul

  • Unable to send mail link from Safari

    After updating to Yosemite, I am unable to email a link from Safari's toolbar. The same thing happens with Share, I see "no service". Can anybody assist?

    This seems to be linked to a bug. We are all having issues and it seems linked to the no widgets problem also.
    Alot of us have no built in widgets along with the Social Widget not working & Social Sharing including Email not working in Safari.
    We found a manual fix for the widgets as seen on page 2 in this post.
    How to get widgets in OS X notification center?
    But we need Apple to patch the Social Widget and Social/Email Sharing in Safari as it worked in the Beta but not in the Final Release for most people including myself.

  • Why can't I send a link from the WSJ- i did that routinely, but cannot do it since I upgradeded today

    I select "send a link" and nothing happens

    tthieuma wrote:
    They told me to buy online
    So why don't you just do that?
    http://store.apple.com/de/configure/ME664D/A?

  • OAF link from Workflow Notification

    We are customizing the Oracle TCA customer screens. We created a workflow that is launched when a new customer is created. Among other things the workflow sends a notification to a set of users indicating that a new customer was created.
    The requirement is that along with the message, link should be provided in the notification that will open up the customer page. The customer page is a standard oracle shipped page, we did not modify/customize the page.
    The workflow developer guide states only regions can be embedded and the notifications cannot contain any message body.
    I am not sure what alternatives are available. If anyone has faced a similar issue , please let me know.
    thanks,

    Oracle Purchasing has such feature. Whenever a PO ha to be approved a notification is sent to the buyer with the url to the Purchase Order. Once he clicks on it the HTML Purchase Order page opens and he can hit approve.
    So you might want to look at the piece of functionality to achieve the same
    Thanks
    Arun

  • Send Email Attachment From Workflow

    Hi Experts,
    I am working on the requirement of a Workflow. A mail has to be triggered to the customer with attachments. These attachments should be attached on the fly by the User, i.e, the User should be prompted to attach docs to the mail from WF before it is sent to customer. How can I acheieve this functionality?
    Regards,
    Prasad

    Hai Shiva Prasad
    Iam Sending a sample Code
    Check this
    REPORT ZRICH_0003.
    DATA: ITCPO LIKE ITCPO,
          TAB_LINES LIKE SY-TABIX.
    Variables for EMAIL functionality
    DATA: MAILDATA   LIKE SODOCCHGI1.
    DATA: MAILPACK   LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
    DATA: MAILHEAD   LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
    DATA: MAILBIN    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILTXT    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILREC    LIKE SOMLREC90 OCCURS 0  WITH HEADER LINE.
    DATA: SOLISTI1   LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
    PERFORM SEND_FORM_VIA_EMAIL.
          FORM  SEND_FORM_VIA_EMAIL                                      *
    FORM  SEND_FORM_VIA_EMAIL.
      CLEAR:    MAILDATA, MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
      REFRESH:  MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
    Creation of the document to be sent File Name
      MAILDATA-OBJ_NAME = 'TEST'.
    Mail Subject
      MAILDATA-OBJ_DESCR = 'Subject'.
    Mail Contents
      MAILTXT-LINE = 'Here is your file'.
      APPEND MAILTXT.
    Prepare Packing List
      PERFORM PREPARE_PACKING_LIST.
    Set recipient - email address here!!!
      MAILREC-RECEIVER = '[email protected]'.
      MAILREC-REC_TYPE  = 'U'.
      APPEND MAILREC.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = MAILDATA
                PUT_IN_OUTBOX              = ' '
           TABLES
                PACKING_LIST               = MAILPACK
                OBJECT_HEADER              = MAILHEAD
                CONTENTS_BIN               = MAILBIN
                CONTENTS_TXT               = MAILTXT
                RECEIVERS                  = MAILREC
           EXCEPTIONS
                TOO_MANY_RECEIVERS         = 1
                DOCUMENT_NOT_SENT          = 2
                OPERATION_NO_AUTHORIZATION = 4
                OTHERS                     = 99.
    ENDFORM.
         Form  PREPARE_PACKING_LIST
    FORM PREPARE_PACKING_LIST.
      CLEAR:    MAILPACK, MAILBIN, MAILHEAD.
      REFRESH:  MAILPACK, MAILBIN, MAILHEAD.
      DESCRIBE TABLE MAILTXT LINES TAB_LINES.
      READ TABLE MAILTXT INDEX TAB_LINES.
      MAILDATA-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( MAILTXT ).
    Creation of the entry for the compressed document
      CLEAR MAILPACK-TRANSF_BIN.
      MAILPACK-HEAD_START = 1.
      MAILPACK-HEAD_NUM = 0.
      MAILPACK-BODY_START = 1.
      MAILPACK-BODY_NUM = TAB_LINES.
      MAILPACK-DOC_TYPE = 'RAW'.
      APPEND MAILPACK.
    Creation of the document attachment
    This form gets the OTF code from the SAPscript form.
    If you already have your OTF code, I believe that you may
    be able to skip this form.  just do the following code, looping thru
    your SOLISTI1 and updating MAILBIN.
      PERFORM GET_OTF_CODE.
      LOOP AT SOLISTI1.
        MOVE-CORRESPONDING SOLISTI1 TO MAILBIN.
        APPEND MAILBIN.
      ENDLOOP.
      DESCRIBE TABLE MAILBIN LINES TAB_LINES.
      MAILHEAD = 'TEST.OTF'.
      APPEND MAILHEAD.
    Creation of the entry for the compressed attachment
      MAILPACK-TRANSF_BIN = 'X'.
      MAILPACK-HEAD_START = 1.
      MAILPACK-HEAD_NUM = 1.
      MAILPACK-BODY_START = 1.
      MAILPACK-BODY_NUM = TAB_LINES.
      MAILPACK-DOC_TYPE = 'OTF'.
      MAILPACK-OBJ_NAME = 'TEST'.
      MAILPACK-OBJ_DESCR = 'Subject'.
      MAILPACK-DOC_SIZE = TAB_LINES * 255.
      APPEND MAILPACK.
    ENDFORM.
         Form  GET_OTF_CODE
    FORM  GET_OTF_CODE.
      DATA: BEGIN OF OTF OCCURS 0.
              INCLUDE STRUCTURE ITCOO .
      DATA: END OF OTF.
      DATA: ITCPO LIKE ITCPO.
      DATA: ITCPP LIKE ITCPP.
      CLEAR ITCPO.
      ITCPO-TDGETOTF = 'X'.
    Start writing OTF code
      CALL FUNCTION 'OPEN_FORM'
           EXPORTING
                FORM     = 'ZTEST_FORM'
                LANGUAGE = SY-LANGU
                OPTIONS  = ITCPO
                DIALOG   = ' '
           EXCEPTIONS
                OTHERS   = 1.
      CALL FUNCTION 'START_FORM'
           EXCEPTIONS
                ERROR_MESSAGE = 01
                OTHERS        = 02.
      CALL FUNCTION 'WRITE_FORM'
           EXPORTING
                WINDOW        = 'MAIN'
           EXCEPTIONS
                ERROR_MESSAGE = 01
                OTHERS        = 02.
    Close up Form and get OTF code
      CALL FUNCTION 'END_FORM'
           EXCEPTIONS
                ERROR_MESSAGE = 01
                OTHERS        = 02.
      MOVE-CORRESPONDING ITCPO TO ITCPP.
      CALL FUNCTION 'CLOSE_FORM'
           IMPORTING
                RESULT  = ITCPP
           TABLES
                OTFDATA = OTF
           EXCEPTIONS
                OTHERS  = 1.
    Move OTF code to structure SOLI form email
      CLEAR SOLISTI1. REFRESH SOLISTI1.
      LOOP AT OTF.
        SOLISTI1-LINE = OTF.
        APPEND SOLISTI1.
      ENDLOOP.
    ENDFORM.
    Thanks & regards
    Sreenivasulu P

  • Cannot send email links from Safari share button in iOS8

    Hi All:
    This is a new one for, and not something I have experienced since link sharing was introduced. I am running iOS 8.1.1 on my iPhone 6. When I find a web page I want to share in Safari, I tap the Share icon, and the share sheet comes up. I select Mail, and a pre-populated email sheet appears. I can type text in the Message or Subject fields, but if I try to select a different sender address or enter a recipient address, the email message simply disappears. it's not in Mail trash or Drafts. It's just gone. This does not happen with my iPad mini 3 at all. Also does not happen on any of my family members' phones.
    Obviously, I can Select,Copy,Paste the link into a manual email message. But sharing a link via email does not work in my phone. Any ideas besides a restore?
    TIA!

    In Mail, select Mail > Preferences > General > Default email reader: Mail 5.2

  • How do I designate an e-mail to use to "send a link" from the File menu?

    When I have a web page open that I want to send to someone through my e-mail, I try to use "Send Link" in the File menu. When I click on it, nothing seems to happen. How do I link that command with my e-mail account?

    http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox

  • Problem in sending e-mail from workflow task

    I configured the TS20000095 for sending a mail to PERNR when his trip was approved. I generated the auto binding for the task. But I am getting error in task saying "Work item 000000393101( work item id): Object 000000393101 method SENDTASKDESCRIPTION cannot be executed" and help says check the binding between the task container and the method container. What I need to do in method container. Please help me.

    the trip number is coming correctly and employee details.
    The  binding is like this
    CONTAINER => METHOD
    &ADDRESSSTRINGS& = &ADDRESSSTRINGS&
    &EXPRESS& = &EXPRESS&
    &RECEIVERS& = &RECEIVERS&
    &TYPEID& = &TYPEID&
    &LANGUAGE& = &LANGUAGE&
    &ATTACHMENTS& = &ATTACHMENTS&
    &LINEWIDTH& = &LINEWIDTH&
    And I have added the initial values for the container elements in the standard task. When I tested in SWUD these values are carried .. but when I trigger the event BUS2089 - APPROVED the task is triggered but the initial values are missing so getting error. Please let me know what to do.

  • How to send the email to different email addresses from Workflow

    Hello,
    i an not getting that how to send the email from Workflow in SAP.
    plz give the steps to do that.
    i have done lots of time but system is not sending the email to different email address.

    Hi,
    lot of configuration is invloved in sending
    mail to external email id. check BASIS to
    configure for external mails ans also check
    debug FM and see which conditions exceptions
    (Document not sendis raised)
    also check below code
    CLEAR: DOC_CHNG, OBJTXT, OBJBIN, OBJPACK, OBJHEAD, RECLIST,
    RECIPIENT_INT, DOC_SIZE,TAB_LINES.
    REFRESH: OBJTXT, OBJBIN, OBJPACK, OBJHEAD, RECLIST.
    OBJBIN[] = CONTENT_OUT[].
    Populate e-mail title
    DOC_CHNG-OBJ_NAME = 'MAIL'.
    CONCATENATE 'EETS for Contract #'(245)
    OIA01_TAB-EXGNUM
    INTO DOC_CHNG-OBJ_DESCR SEPARATED BY SPACE.
    DESCRIBE TABLE OBJTXT LINES TAB_LINES.
    READ TABLE OBJTXT INDEX TAB_LINES.
    DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    It is a text document
    CLEAR OBJPACK-TRANSF_BIN.
    The document needs no header (head_num = 0)
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM = 0.
    but it has a body
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM = TAB_LINES.
    of type RAW
    OBJPACK-DOC_TYPE = 'RAW'.
    APPEND OBJPACK.
    Create the attachment (the list itself)
    DESCRIBE TABLE OBJBIN LINES TAB_LINES.
    It is binary document
    OBJPACK-TRANSF_BIN = 'X'.
    we need no header
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM = 0.
    but a body
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM = TAB_LINES.
    of type PDF
    OBJPACK-DOC_TYPE = 'PDF'.
    OBJPACK-OBJ_NAME = 'Attachment'(239).
    CONCATENATE 'EETS_' OIA01_TAB-EXGNUM '_'
    IT_ZMMTACCUID-ACCTUSRID
    '_' SY-DATUM '_' SY-UZEIT '.PDF'
    INTO OBJPACK-OBJ_DESCR.
    READ TABLE OBJBIN INDEX TAB_LINES.
    DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJBIN ).
    OBJPACK-DOC_SIZE = DOC_SIZE.
    APPEND OBJPACK.
    Get e-mail address
    CLEAR IT_ADDRESS.
    READ TABLE IT_ADDRESS WITH KEY ACCTID = IT_ZMMTACCUID-ACCTUSRID
    BINARY SEARCH.
    IF SY-SUBRC = 0.
    RECIPIENT_INT-ADDRESS = IT_ADDRESS-SMTP_ADR.
    ENDIF.
    *Send email to external mail address
    RECLIST-RECEIVER = RECIPIENT_INT.
    RECLIST-REC_TYPE = 'U'.
    APPEND RECLIST.
    CLEAR RECLIST.
    *Send email to SAP Office mail address
    RECLIST-RECEIVER = IT_ZMMTACCUID-ACCTUSRID.
    RECLIST-REC_TYPE = 'B'.
    APPEND RECLIST.
    CLEAR RECLIST.
    SEND THE DOCUMENT BY CALLING THE SAPOFFICE API1 MODULE
    FOR SENDING DOCUMENTS WITH ATTACHMENTS
    call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    exporting
    document_data = doc_chng
    put_in_outbox = 'X'
    importing
    sent_to_all = sent_to_all
    tables
    packing_list = objpack
    object_header = objhead
    contents_bin = objbin
    contents_txt = objtxt
    receivers = reclist
    exceptions
    too_many_receivers = 1
    document_not_sent = 2
    operation_no_authorization = 4
    others = 99.
    also check
    https:/Re: mail sending problem
    Regards
    amole

Maybe you are looking for