Context Menu "Send To" mail text

Hi,
I am trying to explore the options available with in context menu -> send to mail option inside km document explorer view. The requirement is to change the text displayed in the form which is opened when users selects context menu -> send to option in KM document explorer.
Currently by default in mail body it shows the document link only. I am looking for changing the link to full path where the document is lying for ease of identification for users.
Any help will be much appreciated.
Thanks,
Vishal

It doesn't work, I think I'll stay at "drag & drop".
Thank you for your help Joe.
-grueneolive1

Similar Messages

  • Standard SAP functionality to send e-mail Text on PO Output?

    Hi,
    I have a new requirement to send E-mail body along with the PO as an attachment to our vendors.
    We are using '5' as tranmission medium to send the PO as e-mail and we call the Smart Form Interface with the Sender and Receipient information. Is there anything we can use as part of standard functionality to send e-mail text. I tried PO Title and Texts option when we define the output type, but the system doesn't seem to be picking it up.
    I also tried to setup '7' as transmission medium, but when i use '7' system accepts 'MA' partner type only, when defining the condition records. But for Vendors we cannot define MA partner type in partner schema, so i am not able to define a MA partner when defining the condition record.
    thanks
    Udai

    Hi Srini,
    Sorry SDN was not available at the time i wanted to write a reply yesterday.
    The way i did this was, we were using call to SMARTFORM function module in the custom print program.
    When we call the SMARTFORM function module, if you have to send an e-mail, then usually you would pass the recepient information to the function module. The RECPIENT is a business obect in SAP, which has a method called add note, which is what i used to add the e-mail text. One other thing i did was, i read the e--mail text from the Text object when you define the output. Usually the name of this text object is Application concatenated with Output type (eg.: EFNEU ).
    I am including the code, please go through it and let me know if you have any questions.
    swc_container container.
    RECIPIENT-Object
         swc_create_object recipient 'RECIPIENT' space.
    Container
        swc_clear_container container.
    *Address type (Internet)
        swc_set_element container 'TypeId' 'U'.
    Get Vendor Email address
        SELECT smtp_addr INTO lv_smtp_addr FROM adr6
                        UP TO 1 ROWS
                        WHERE addrnumber = lfa1-adrnr AND
                              flgdefault = 'X'.
        ENDSELECT.
        address_string = lv_smtp_addr.
        swc_set_element container 'AddressString' address_string.
    RECIPIENT.CreateAddress
        swc_call_method recipient 'CreateAddress' container.
    Update Log
        IF sy-subrc NE 0.
          ex_retco = '1'.
          CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
            EXPORTING
              msg_arbgb              = sy-msgid
              msg_nr                 = sy-msgno
              msg_ty                 = 'W'
              msg_v1                 = sy-msgv1
              msg_v2                 = sy-msgv2
              msg_v3                 = sy-msgv3
              msg_v4                 = sy-msgv4
            EXCEPTIONS
              message_type_not_valid = 1
              no_sy_message          = 2
              OTHERS                 = 3.
          EXIT.
        ENDIF.
    Read textd defned in NACE
    Add E-mail Body from 'Mail Texts and Title', created when creating Output Types
    Text Name, usually 'EFNEU', Application and Output type concatenated
       CONCATENATE nast-kappl nast-kschl INTO obj_name.
       CALL FUNCTION 'READ_TEXT'
         EXPORTING
           id                            = c_txtid_stam
           language                      = SY-LANGU
           name                          = obj_name
           object                        = c_txtob_ocs
         IMPORTING
           header                        = header
         TABLES
           lines                         = lines_tab
        EXCEPTIONS
          ID                            = 1
          LANGUAGE                      = 2
          NAME                          = 3
          NOT_FOUND                     = 4
          OBJECT                        = 5
          REFERENCE_CHECK               = 6
          WRONG_ACCESS_TO_ARCHIVE       = 7
          OTHERS                        = 8.
       IF sy-subrc <> 0.
          CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
            EXPORTING
              msg_arbgb              = sy-msgid
              msg_nr                 = sy-msgno
              msg_ty                 = 'W'
              msg_v1                 = sy-msgv1
              msg_v2                 = sy-msgv2
              msg_v3                 = sy-msgv3
              msg_v4                 = sy-msgv4
            EXCEPTIONS
              message_type_not_valid = 1
              no_sy_message          = 2
              OTHERS                 = 3.
       ENDIF.
    E-mail BODY
    Call 'AddNote' Method of RECIPIENT object
        swc_clear_container container.
        PERFORM replace_text_symbols USING header
                                           lines_tab.
        LOOP AT lines_tab INTO txtline.
          email_line = txtline-tdline.
          append email_line to email_body_tab.
        ENDLOOP.
        swc_set_element container 'NoteText' email_body_tab.
        swc_call_method recipient 'AddNote' container.
    If E-mail body creation failed
        IF sy-subrc NE 0.
          CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
            EXPORTING
              msg_arbgb              = sy-msgid
              msg_nr                 = sy-msgno
              msg_ty                 = 'W'
              msg_v1                 = sy-msgv1
              msg_v2                 = sy-msgv2
              msg_v3                 = sy-msgv3
              msg_v4                 = sy-msgv4
            EXCEPTIONS
              message_type_not_valid = 1
              no_sy_message          = 2
              OTHERS                 = 3.
        ENDIF.
    Persistent RECIPIENT object
        swc_object_to_persistent recipient recipient_id.
    Call the Smartform function module name
        CALL FUNCTION lv_fm_name
             EXPORTING
                  control_parameters = ls_control_parameters
                  mail_appl_obj      = appl_object_id
                  mail_recipient     = recipient_id
                  mail_sender        = sender_id
                  output_options     = ls_output_options
                  user_settings      = space
                  ekko               = ekko
                  pekko              = pekko
                  t166u              = t166u
                  header             = ls_header
                  ls_komv            = ls_komv
                  ix_subtotal        = lv_subtotal
                  ix_surcharge       = lv_surcharge
                  ix_tax             = lv_tax
                  iv_print_tax       = lv_print_tax
                  iv_comp_name       = lv_comp_name
                  iv_invlp1_txt1     = lv_invlp1_txt1
                  iv_invlp1_txt2     = lv_invlp1_txt2
                  iv_invlp1_txt3     = lv_invlp1_txt3
             TABLES
                  ekpo               = doc-xekpo
                  it_text            = lt_text
                  it_line            = lt_line
                  it_eket            = it_eket
                  it_srvc            = gt_srvc
             EXCEPTIONS
                  formatting_error   = 1
                  internal_error     = 2
                  send_error         = 3
                  user_canceled      = 4
                  OTHERS             = 5.
        IF sy-subrc <> 0.
          ex_retco = '1'.
          CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
            EXPORTING
              msg_arbgb              = sy-msgid
              msg_nr                 = sy-msgno
              msg_ty                 = 'W'
              msg_v1                 = sy-msgv1
              msg_v2                 = sy-msgv2
              msg_v3                 = sy-msgv3
              msg_v4                 = sy-msgv4
            EXCEPTIONS
              message_type_not_valid = 1
              no_sy_message          = 2
              OTHERS                 = 3.

  • Finder context menu: Send files to Bluetooth device...

    When using the contextual menu to send files directly, to a known and pre-selected Bluetooth device, the 'scan for device' windows ALWAYS appears.
    In my case it's usually to send to a smartphone which is established in system preferences and as such, selectable under the context menu.
    This is so annoying - is there any way to fix this?

    You can see from the screenshot below why this contextual menu item could be bothersome. The item widens the contextual menu when the path of file is too long.

  • Using Windows: Send to -- Mail recipient, msg is sent OK, but not saved in Sent folder, with err msg about it. Sending from within Thunderbird: msg saved OK.

    When using Windows 8.1 context menu: Send to --> Mail recipient, message is sent OK, but not saved in Sent folder, with error massage: There was an error saving the message to Sent. Retry? (selecting Retry doesn't help).
    Similar issue happens when I open a ".eml" file and Reply of Forward it.
    When composing a new message from within Thunderbird, all is OK, including saving in the Sent folder.
    Already tried:
    Compacting the Sent folder.
    Compacting all folders of the account.
    Uninstall Thunderbird and install the latest version (31.6.0).

    When using Windows 8.1 context menu: Send to --> Mail recipient, message is sent OK, but not saved in Sent folder, with error massage: There was an error saving the message to Sent. Retry? (selecting Retry doesn't help).
    Similar issue happens when I open a ".eml" file and Reply of Forward it.
    When composing a new message from within Thunderbird, all is OK, including saving in the Sent folder.
    Already tried:
    Compacting the Sent folder.
    Compacting all folders of the account.
    Uninstall Thunderbird and install the latest version (31.6.0).

  • Right click on the mail list doesn't open the context menu any more.

    Hi everybody,
    Thunderbird stoped to show the context menu on the mail list recently. Right click just prints the crossing line. What the problem could it be?
    Thanks anyone for any help.
    Win 8.1 64
    Thun 31.3.0

    ''Nick532 [[#question-1037921|said]]''
    <blockquote>
    Hi everybody,
    Thunderbird stoped to show the context menu on the mail list recently. Right click just prints the crossing line. What the problem could it be?
    Thanks anyone for any help.
    Win 8.1 64
    Thun 31.3.0
    </blockquote>
    ''Toad-Hall [[#answer-668503|said]]''
    <blockquote>
    Very odd.
    Right click on email in list should open a drop down selection.
    Usually a crossed line through something denotes that it is marked as deleted in an imap mail account.
    * http://kb.mozillazine.org/Deleting_messages_in_IMAP_accounts
    See if there is a conflict with an addon.
    Restart Thunderbird in safe mode.
    Help > Restart with addons disabled.
    then perform the same test; right click on email in list.
    Do you get the drop down, if yes, then one of your addons is causing the conflict.
    You would have to disbale each in turn to locate which one is the problem.
    Maybe the addon needs updating.
    Report back on results.
    </blockquote>
    I have the same problem too. When i restarted with addons disablem problem dissapeared but when i switch to normal mode and disable all off the plugins and addons the problem still remains.
    Please help.

  • I want to email a Pages document as a Word doc. I used to be able to do this by clicking on share then send via mail then on Word and an email would appear with my word doc attached.  Now the email does not come up.  Why?

    I want to email a Pages document as a Word doc. I used to be able to do this by clicking on 'share' then 'send via mail' then on 'Word' and an email would appear with my word doc attached.  Now the email does not come up.  Why?

    It's difficult to do more than guess when you don't say what version of OS X or Pages you're running, but if you're on the latest, have you tried the Share menu -> Send via Mail command?
    If that doesn't help, you may have better luck if you ask in the Pages forum:
    Pages
    When you repost, be sure to include full details about your versions so that people know what it is you're working with.
    Regards.

  • Outlook AddIn context menu does not recognize MailItem

    Hi, 
      I just start program for Outlook in Visual Studio. I plan to start from creating right click menu in Outlook Home email panel.  I got the example code from
    Context Menu for a Mail Item of
    Extending the User Interface in Outlook 2010. When I test it, I select a email in Outlook, right click my context menu item, it does not think it's a MailItem. What's wrong in my code? How I can debug it? Do you know any good book/blog/example/tutorial? 
      Here is the code:     
    <contextMenus>
    <contextMenu idMso="ContextMenuMailItem">
    <button id="MyContextMenuMailItem"
    label="OAIContextMenuMailItem"
    onAction="OnMyContextMenu_Click"/>
    </contextMenu>
    </contextMenus>
    public void OnMyContextMenu_Click(Office.IRibbonControl control)
    System.Windows.Forms.MessageBox.Show("Your Context Menu Works!");
    if (control.Context is Outlook.Explorer)
    Outlook.Explorer explorer = control.Context as Outlook.Explorer;
    Outlook.Selection selection = explorer.Selection;
    if (selection.Count == 1)
    if (selection[1] is Outlook.MailItem)
    Outlook.MailItem oMail = selection[1] as Outlook.MailItem;
    //return oMail.Sent;
    System.Windows.Forms.MessageBox.Show("Sent");
    else
    System.Windows.Forms.MessageBox.Show("Not MailItem");
    else
    System.Windows.Forms.MessageBox.Show("Multiple selection");
    else if (control.Context is Outlook.Inspector)
    Outlook.Inspector oInsp = control.Context as Outlook.Inspector;
    if (oInsp.CurrentItem is Outlook.MailItem)
    Outlook.MailItem oMail = oInsp.CurrentItem as Outlook.MailItem;
    //return oMail.Sent;
    System.Windows.Forms.MessageBox.Show("Sent at Inspector");
    else
    System.Windows.Forms.MessageBox.Show("Not MailItem at Inspector");
    else
    System.Windows.Forms.MessageBox.Show("not a Explorer/Inspector");
    Thank you so much
    Wes
    Wes

    Can you try to retrieve the Class property using reflection?
    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

  • Ontext menu at form level text items

    Hi, I want to know how we can create a context menu at form level text items.
    like i want a context menu at column level for following options copy, hide, show, set filter, find, sort in ascending and descending order.
    I will be highly obliged.

    Hello,
    Create an internal menu (popup menu node in your form module), then attach its name to the corresponding item (fonctionnal -> popup menu)
    Francois

  • [CS4/5] [JS] Which paragraph style does the panel context menu action work on?

    Hi all,
    I am trying to write something similar as http://forums.adobe.com/message/2866720#2866720 for the paragraph style context menu. I also would like to find out which paragraph style has been selected when the context menu opens. In the thread there is a "dirty" solution for this, the Edit and Apply options of the context menu also mention the name of the paragraph style. This works as long as the paragraph style is unique.
    In my situation the paragraph style names are not always unique, the same name is used in different paragraph style groups. I thought of an even "dirtier" solution that might work for this. The basic idea behind this is to create a new text, asfaik Indesign will automatically apply the active paragraph style to this text and it is easy to grab this style. The code for this is below:
    var myDoc = app.activeDocument;
    var myTextFrame = myDoc.textFrames.add();
    myTextFrame.contents = "grab the paraStyle";
    var myParaStyle = myTextFrame.paragraphs[0].appliedParagraphStyle;
    myTextFrame.remove();
    In my situation this approach seems to work fine but I am wondering if there is something against creating a new textframe and removing it later? And will the new text always get the current selected paragraph style?
    Best Regards,
    Bill

    I finetuned the snippet above a bit further. In some cases the context menu will be activated (right mouseclick) from a style that is not currently selected. In thoses cases the example above doesn't give the correct information. In order to avoid this I am now applying the paragraph style of the current context menu to an intermediate textframe. The snippet below is placed inside the EventHandler of my custom context menu item.
    var myDoc = app.activeDocument;
    //store current selection
    var mySelection = myDoc.selection;
    //create intermediate textframe
    var myTextFrame = myDoc.textFrames.add();
    myTextFrame.contents = "grab the paraStyle";
    myTextFrame.select();
    //apply the para style of the context menu to the intermediate text
    var contextMenu = app.menus.item("Text Style List Context Menu"); //or "$ID/RtMenuStyleListItem"
    var applyMenuItem = contextMenu.menuItems.itemByID(8488).associatedMenuAction; //Apply "para style for context menu"
    applyMenuItem.invoke();
    //grab the para style of the context menu
    var myParaStyle = myTextFrame.paragraphs[0].appliedParagraphStyle;
    //restore original selection and remove intermediate textframe
    myDoc.selection = mySelection;
    myTextFrame.remove();
    Again this snippet seems to work fine. I realize this approach will only work for para styles in a Document object and not for default para styles defined in the Application (suggestions to solve this?). A further refinement could be to first check if a para style name is unique, if that is the case the solution of Jongware (see http://forums.adobe.com/message/2861568#2861568) can be used and an intermediate textframe is not required.  
    I know this is a dirty solution but are there any issues with this approach?

  • "Send link..." context menu item does not launch the mail client

    This was working in Firefox 12 but with the latest update to Firefox 13.x no mail client is launched (mine is Thunderbird) when context menu item "Send link..." is clicked.
    '''I have tried this with all addons disabled''' but the same problem is occurring.
    Does it happen for you? If not, how could I solve it?
    I will report as a bug if others have this problem.
    Thanks.

    I changed the network.protocol-handler.external.mailto setting in about:config to the default value (true) and that seemed to fix it.
    I don't know what changed it before though.

  • Want sending directly email addresses to applied rules via context menu

    Oke, I already sad it. But, 'par example'... I'm working with new co-workers at a new place. I got a a massage from our contact person. he send us all an 'open' massage, with all the e-mail addresses visible. Now I select all the contacts and want to direct them in a 'rule'... so they are 'mapped/directed to, in this case an sup-group or specified folder. The idear is that all emails from this group will go to this (ruled) folder.
    But I want to do this right-click/controle click to context menu way.
    This would also be handy for just one contact. Its a bit tidious to do it one by one after you opened preferences etc.
    Maybe there is another solution. Thanks for responds!

    Waaa, that's a pity. Coming from thunderbird, it's a loss in productivity!
    In thunderbird you can make a 'rule based on a email address'.
    This will be a big request for a future production of Apple Mail. Hope that people from Apple read this.
    If anybody thinks different please say so. But thanks for your fast reply.

  • How to send a mail with rich text content like using outlook

    Hi All. I have a serious problem. When we send the mail from
    outlook express or yahoo, we can send the mail with the text appearing
    in the mail with bold font , with different colors, underlined etc.
    If i type this kind of text in any word processor and mail that content through java mail then the message should be received by the recepient with all that bold,color and underlines etc as it is. Can anybody please help me in this case ASAP.

    Go to this site and download the htmlArea Javascripts. Embedd them in your HTML and it will turn your normal HTML Text Area into Rich Text Area. Your real code will include all HTML tags. For example if you select some text and make it bold , the real HTML output will look like <B>YOUR TEXT </B>. So i guess your recipient should be able to receive HTML contents.
    http://www.interactivetools.com/products/htmlarea/

  • Send To context menu arguments with LabVIEW executable

    Hi,
    I am have written a VI (and built it as an exe) to perform operations on a file, or array of files.  I get the list of files as application arguments.  I have added my exe to the Send To folder in windows so it appears in the context menu when I right click on a file.  The problem is, LabVIEW opens the file with its registered application.  I have read that Send To will pass the file selected to the application as arguments.  The question is how do I set up LabVIEW (or Windows) to pass the selected file(s) as an argument rather than launching it?
    Thank you,
    Michael.

    Problem solved.  I had forgotten to check the box 'pass all command line arguments to application' when I built the VI.  What I find strange is that LabVIEW intercepted the argument I was passing and tried to open it using the program registered with windows. I guess there is some reason this is expected behavior.  I have attached the VI which does not work (wrong settings) just for interest. (built with LV2010)
    Thanks,
    Michael.
    Attachments:
    Application.zip ‏359 KB

  • Can't read body of e-mail and can't send e-mails with text in body.

    The mail on my IPOD touch suddenly doesn't show up in the body of the text. Only can read "From, To and Subject". I also am unable to send e-mails as I can't get into text body. I have twice deleted the account and installed again but problem still occurs.
    Can somebody please help or direct me to where I can find help.

    Software was just updated and works fine.

  • FM with code to send a simple text mail to external ID

    Hi All,
    I need a FM with code if possible to send a simple text mail to an external e-mail id or distribution list. I tried using the FM SO_NEW_DOCUMENT_ATT_SEND_API1 and was successfull in sending mail. But it requires attachment.
    I need help to send mail without attachment with code.
    All configurations done at my end.
    Thanks
    Anirban Bhattacharjee

    Hi Anirban,
    Please check this sample code.
    * Email ITAB structure
    DATA: BEGIN OF EMAIL_ITAB OCCURS 10.
            INCLUDE STRUCTURE SOLI.
    DATA: END OF EMAIL_ITAB.
    DATA: T_EMAIL LIKE SOOS1-RECEXTNAM.  "EMail distribution list
    CONSTANTS: C_EMAIL_DISTRIBUTION LIKE SOOS1-RECEXTNAM VALUE
               ‘[email protected],[email protected]’.
    * Initialization
    REFRESH EMAIL_ITAB.
    * Populate data
    EMAIL_ITAB-LINE = ‘Email body text 1’.
    APPEND EMAIL_ITAB.
    EMAIL_ITAB-LINE = ‘Email body text 2’.
    APPEND EMAIL_ITAB.
    T_EMAIL = C_EMAIL_DISTRIBUTION.
    * --- EMAIL FUNCTION ---------------------------------------------------
    * REQUIRMENTS:
    * 1) The user running the program needs a valid email address in their
    *    address portion of tx SU01 under external comms -> SMTP -> internet
    *    address.
    * 2) A job called SAP_EMAIL is running with the following parameters:
    *    Program: RSCONN01  Variant: INT   User: XXX
    *    This program moves mail from the outbox to the mail server using
    *    RFC destination: SAP_INTERNET_GATEWAY_SERVER
    * INTERFACE:
    * 1) APPLICATION: Anything
    * 2) EMAILTITLE:  EMail subject
    * 3) RECEXTNAM:   EMail distribution lists separated by commas
    * 4) TEXTTAB:     Internal table for lines of the email message
    * EXCEPTIONS:
    * Send OK = 0 otherwise there was a problem with the send.
        CALL FUNCTION 'Z_SEND_EMAIL_ITAB'
             EXPORTING
                  APPLICATION = 'EMAIL'
                  EMAILTITLE  = 'Email Subject'
                  RECEXTNAM   = T_EMAIL
             TABLES
                  TEXTTAB     = EMAIL_ITAB
             EXCEPTIONS
                  OTHERS      = 1.
    Function Z_SEND_EMAIL_ITAB
    *"*"Local interface:
    *"       IMPORTING
    *"             VALUE(APPLICATION) LIKE  SOOD1-OBJNAM
    *"             VALUE(EMAILTITLE) LIKE  SOOD1-OBJDES
    *"             VALUE(RECEXTNAM) LIKE  SOOS1-RECEXTNAM
    *"       TABLES
    *"              TEXTTAB STRUCTURE  SOLI
    *- local data declaration
      DATA: OHD    LIKE SOOD1,
            OID    LIKE SOODK,
            TO_ALL LIKE SONV-FLAG,
            OKEY   LIKE SWOTOBJID-OBJKEY.
      DATA: BEGIN OF RECEIVERS OCCURS 0.
              INCLUDE STRUCTURE SOOS1.
      DATA: END OF RECEIVERS.
    *- fill odh
      CLEAR OHD.
      OHD-OBJLA    = SY-LANGU.
      OHD-OBJNAM   = APPLICATION.
      OHD-OBJDES   = EMAILTITLE.
      OHD-OBJPRI   = 3.
      OHD-OBJSNS   = 'F'.
      OHD-OWNNAM   = SY-UNAME.
    *- send Email
      CONDENSE RECEXTNAM NO-GAPS.
      CHECK RECEXTNAM <> SPACE AND RECEXTNAM CS '@'.
    *- for every individual recipient send an Email
    * (see OSS message 0120050409/0000362105/1999)
      WHILE RECEXTNAM CS ','.
        PERFORM INIT_REC TABLES RECEIVERS.
        READ TABLE RECEIVERS INDEX 1.
        RECEIVERS-RECEXTNAM = RECEXTNAM+0(SY-FDPOS).
        ADD 1 TO SY-FDPOS.
        SHIFT RECEXTNAM LEFT BY SY-FDPOS PLACES.
        MODIFY RECEIVERS INDEX 1.
        PERFORM SO_OBJECT_SEND_REC
         TABLES TEXTTAB RECEIVERS
          USING OHD.
      ENDWHILE.
    *- check last recipient in recipient list
      IF RECEXTNAM <> SPACE.
        PERFORM INIT_REC TABLES RECEIVERS.
        READ TABLE RECEIVERS INDEX 1.
        RECEIVERS-RECEXTNAM = RECEXTNAM.
        MODIFY RECEIVERS INDEX 1.
        PERFORM SO_OBJECT_SEND_REC
         TABLES TEXTTAB RECEIVERS
          USING OHD.
      ENDIF.
    ENDFUNCTION.
    *       FORM SO_OBJECT_SEND_REC                                       *
    FORM  SO_OBJECT_SEND_REC
    TABLES  OBJCONT      STRUCTURE SOLI
            RECEIVERS    STRUCTURE SOOS1
    USING   OBJECT_HD    STRUCTURE SOOD1.
      DATA:   OID     LIKE SOODK,
              TO_ALL  LIKE SONV-FLAG,
              OKEY    LIKE SWOTOBJID-OBJKEY.
      CALL FUNCTION 'SO_OBJECT_SEND'
           EXPORTING
                EXTERN_ADDRESS             = 'X'
                OBJECT_HD_CHANGE           = OBJECT_HD
                OBJECT_TYPE                = 'RAW'
                OUTBOX_FLAG                = 'X'
                SENDER                     = SY-UNAME
           IMPORTING
                OBJECT_ID_NEW              = OID
                SENT_TO_ALL                = TO_ALL
                OFFICE_OBJECT_KEY          = OKEY
           TABLES
                OBJCONT                    = OBJCONT
                RECEIVERS                  = RECEIVERS
           EXCEPTIONS
                ACTIVE_USER_NOT_EXIST      = 1
                COMMUNICATION_FAILURE      = 2
                COMPONENT_NOT_AVAILABLE    = 3
                FOLDER_NOT_EXIST           = 4
                FOLDER_NO_AUTHORIZATION    = 5
                FORWARDER_NOT_EXIST        = 6
                NOTE_NOT_EXIST             = 7
                OBJECT_NOT_EXIST           = 8
                OBJECT_NOT_SENT            = 9
                OBJECT_NO_AUTHORIZATION    = 10
                OBJECT_TYPE_NOT_EXIST      = 11
                OPERATION_NO_AUTHORIZATION = 12
                OWNER_NOT_EXIST            = 13
                PARAMETER_ERROR            = 14
                SUBSTITUTE_NOT_ACTIVE      = 15
                SUBSTITUTE_NOT_DEFINED     = 16
                SYSTEM_FAILURE             = 17
                TOO_MUCH_RECEIVERS         = 18
                USER_NOT_EXIST             = 19
                X_ERROR                    = 20
                OTHERS                     = 21.
      IF SY-SUBRC <> 0.
        RAISE OTHERS.
      ENDIF.
    ENDFORM.
    *       FORM INIT_REC                                                 *
    FORM INIT_REC TABLES RECEIVERS STRUCTURE SOOS1.
      CLEAR RECEIVERS.
      REFRESH RECEIVERS.
      MOVE SY-DATUM  TO RECEIVERS-RCDAT .
      MOVE SY-UZEIT  TO RECEIVERS-RCTIM.
      MOVE '1'       TO RECEIVERS-SNDPRI.
      MOVE 'X'       TO RECEIVERS-SNDEX.
      MOVE 'U-'      TO RECEIVERS-RECNAM.
      MOVE 'U'       TO RECEIVERS-RECESC.
      MOVE 'INT'     TO RECEIVERS-SNDART.
      MOVE '5'       TO RECEIVERS-SORTCLASS.
      APPEND RECEIVERS.
    ENDFORM.
    Hope this will help.
    Regards,
    Ferry Lianto

Maybe you are looking for

  • Does "Itunes Backup" Backup everything including photos and Music?

    Well I started another thread saying that my Ipod touch keeps freezing asking if anyone knows how to fix it so I don't have to send it in but looks like I'm not getting an answer so before I do send it I was wondering... Does "Itunes back up" back up

  • When i try to open a pdf, i am told that i must sing the end users agreement. I cannot find out how.

    It tells me when i update the adobe reader that by checking install i am accepting the terms and agreement. However when i try to use the program i am told that i must go to the web site and accept the user agreement . I cannot find out where to do t

  • Unknown error 2984? Itunes on Vista

    Im trying to upgrade to 7.3 Itunes on my vista, but Im getting a process id number of 2984. what is that and how do i fix it. Id appreciate some help.

  • Several Problems since installing five updates

    I installed five updates on 15/09/2014. (Updates: KB2995004, KB2993100, KB2990532, KB2979582, KB2975719) When I tried to print a document today I noticed that my default printer was missing. It appeared in the list of installed Printers (Control Pane

  • Go away i photo

    hi there, could any one tell me is there a way of stopping iphoto launching whenever i plug in my iphone into my computer, besides disabling it in image capture. plus when you are sending an email can you send more than one pic at a time.