Regarding email

Hi Experts,
I am using function module : SO_NEW_DOCUMENT_SEND_API1 to send email. The structure accepts 50 chars of subject line as per the parameters of the FM, is there any way to have subjetc more than 50 characters??
Thanks in advance
Govind.

Hi,
PFB the link
Small issue with CL_BCS
check this thread if you are looking for a solution
please let me know if it helps
With Best regards,
kanika

Similar Messages

  • I have a question regarding emails being marked as unread when syncing with an exchange account.

    I have a question regarding emails being marked as unread when syncing with an exchange account.
    In the evening I can see I have 10 unread emails on my exchange account. I leave them unread. The following day, at work, I view and read all my mails from today and yesterday, so that I have NO unread messages. When I then sync my iphone it marks only the mails from today as read but, leaves all the mails from yesterday marked unread. Only solution so far is for me to go through the mails on my iphone one at a time for them to be marked as read.
    My mail account is set to sync 1 month back.
    I have had this problem on all the iphones I have had.
    I currently have an iPhone 5 and my software is up to date.
    What am I doing wrong?

    Hey kabsl,
    Thanks for the post.
    What type of email account is attached to your BlackBerry Z10? (POP3, IMAP, Exchange).  Also have you tried removing and re-adding the email account to test?
    Is this email account only setup on one computer or several computer?
    I look forward to your reply.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Regarding email generation with attachment

    Hi Experts,
    1)   Iam sending an email with excel attachment by using the FM "SO_NEW_DOCUMENT_ATT_SEND_API1".
       My problem is for example if i have 5 lines in the email table then these 5 lines are showing in single in the excel.
    How can i rectify this?
    2)  i need to submit the report in the back ground with variant and with out selection screen.How to do this?  
    Rgds,
    Krishna.

    Hi,
      Append each line of ur text seperately in an internal table for eg.  
       objtxt = text-007.
      APPEND objtxt.
      CLEAR objtxt.
      APPEND objtxt.
      objtxt = text-008.
      APPEND objtxt.
      CLEAR objtxt.
      APPEND objtxt.
    *Function module to send email with an attachment
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = docdata
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = objpack
          object_header              = objhead
          contents_bin               = objbin
          contents_txt               = objtxt
          receivers                  = reclist
        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 sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        MESSAGE s899(m3) WITH 'Mail sent successfully!'.
      ENDIF.
    Then u  ll get the mail the way u designed.
    The answer of ur 2nd question is........
    Specify the selection screen in ur program
    and use FMs 'JOB_OPEN' ,  'JOB_CLOSE' & 'JOB_SUBMT' to schedule the job in the background..
    regards,
    ajit.

  • Regarding EMAIL in inbox using SO_NEW_DOCUMENT_ATT_SEND_API1

    HI all,
    I am using SO_NEW_DOCUMENT_ATT_SEND_API1 module to sent emails on external email IDs.Can anyone guide me if this function module also sends email to SAP inbox correspoding to email addrees on which email is sent?
    Also guide me how to send doc to sap inbox of these email adrees using SO_NEW_DOCUMENT_ATT_SEND_API1.
    Thanks.

    Hi,
    Yes you can even send mails to the SAp inbox, by simply setting the receiver type as B in the RECEIVERS tables parameter.
    Regards
    Pavan

  • Regarding Email Id Change

    I use to login into OTN with username which is email-id of my previous company.As i left that job i want to change my email-id
    I have gone through many links regarding this issue
    Found out below mention link to be useful
    Re: Definitive change email question
    But before doing about mention steps just want to know whether this is the right way of doing this as i don't want to loose my Watches and useful OTN links from the Forum.
    Please provide your valuable suggestion..

    Sunny kichloo wrote:
    I use to login into OTN with username which is email-id of my previous company.As i left that job i want to change my email-id
    I have gone through many links regarding this issue
    Found out below mention link to be useful
    Re: Definitive change email question
    But before doing about mention steps just want to know whether this is the right way of doing this as i don't want to loose my Watches and useful OTN links from the Forum.
    Please provide your valuable suggestion..Sunny,
    I can't vouch for the reliability of the procedure. But would offer this suggestion if you haven't already figured it out. If/when you create a new email based id, use your personal email instead of a company email. I consider my OTN membership to be mine, not my company's. Yes, it does make for a bit of confusion with SSO when I want to log on to MOS (which very much IS a resource paid for by my company and tied to them, so I use my company email address there) but I feel that inconvenience is worth it to have a clear seperation between company and personal resources. I recently changed employers myself and by having originally set up my OTN account as my pesonal account, had no problem with the transition.

  • Regarding Email Alerts configuration

    Hi Experts,
    I have done the normal alerts configuration, its working fine. Then how to configure the Email Alerts, here I have to use the distributed email list not a single mail address, so how to do the configuration.
    After normal alerts configuration we click on fixed receipients and gave user id and in the SU01 transaction we have to give the mail id for the mentioned user id, is it same for the distributed mail (one mail list, internally this list contains many mail IDs) also or any other method is there?
    Thnaks & Regards
    Ramesh

    Hi Rajesh,
    Yes I have configured the mail server details. I am able to receive the normal mails also, but my question is how to configure the distributed mail?
    Regards
    Ramesh

  • Regarding Email Definition IN OIM

    Hi,
    During provisioning flow we are creating an email template for sending the mail ,the body contains the following fields
    ID:
    Name:
    Location:
    NOTES:
    This "Notes" field has the data which is entered during provisioning flow.
    All the details other than notes ,we are able to fetch using the tags like<User Profile Information.City>,<Object Information.Object Name>
    How can we fetch the data for NOTES,that is entered during provisioning using EMAIL template.
    Regards
    Durgaprasad

    Hi raghav,
    That is not the case.We are using this template for all the applications.so if we implement like this it will be application specific.so we will have to make more than hundred of templates.
    One more thing ,according to Custom UI,the value we are entering there it is coming,but we are not able to map it to the "Notes" fileld in template's body.
    I need a way to map this in template body just like other data are getting displayed like user information.
    As the code stores the value in "Process Instance.Task Details.Note" and there is no such tag is getting displayed.
    Thanks for the reply.
    Edited by: Durgaprasad on Oct 11, 2011 6:00 AM

  • Regarding Email Address in Vf02 transaction

    Hi Friends,
    Once you enter a VF02 transaction, If you goto header partners and double click on the partner number it would take you to the customer master data screen in which we have an option for Email address this is in Display mode my requirement demands to make it Visible so that the enduser would enter the email address which finally reflects in the printoutput.
    I would like to know the correct exit for resolving this issue
    Any suggestions are appreciated........................
    Naveen.

    Hi Subbu,
    I beleive, you would like to send the PO output as e-mail through output messages.
    Write a requirment formula (TCODE: VOFM). check for a chage in header text. If it changes then set sy-subrc = 0. otherwise sy-subrc = 4.
    Use this requirement formula in access sequences for application EF.
    Regards,
    Madhu.

  • Regarding Email Deletion

    Hi Friends
      I have one Report . It is extracting the data from PeopleSoft HR system and uploading that data to the SAP Tables.
    I am Extracting the data from HR and while uploading that into SAP we have some conditions.
    this is file record:
    U028761  Kathryn E           Keister             1631 SHALLOW CREEK                                          TRAIL                                                       Webster                                 NY 14580     US3270585/265-3935                            [email protected]
    Here based last field i have to do the operations.
    Suppose that is [email protected]
    I have to create that record.
    Suppose that is [email protected] or [email protected]
    I have to update that record.
    Suppose that is [email protected]
    I have to delete that from SAP.
    Once i was deleted that from SAP though it is creating a flag for Deletion, the Email is not deleting.
    I want to delete the Email field also.
    Cornced Transaction : XK06.
    Regards,
    Sreeram

    for deletion of email field, u need to use some BDC type wherein u need to update the field with space.

  • Information regarding Email

    Hi,
      Could somebocdy plaese tell me how to send an email from the SAP system?
    In programs how many ways we can send mails?
    I just want to know where can i get this complete information from?

    Hi,
    You can use the function SO_NEW_DOCUMENT_SEND_API1 for sending a mail to either a SAP user or a external mail address. You just will have to change the TYPE in the table where you specify the mail address.
    So, depending on your condition populate the appropriate user type for the function module parameters.
    Check the code
    REPORT  ztest_email                             .
    DATA: OBJCONT LIKE SOLISTI1 OCCURS 5 WITH HEADER LINE.
    DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
    DATA: DOC_CHNG LIKE SODOCCHGI1.
    DATA: ENTRIES LIKE SY-TABIX.
    DATA: NAME(15).
    Fill the document
    DOC_CHNG-OBJ_NAME = 'URGENT'.
    DOC_CHNG-OBJ_DESCR = 'Read at once !'.
    DOC_CHNG-SENSITIVTY = 'P'.
    OBJCONT = 'Hey man what are you doing !!!'.
    APPEND OBJCONT.
    OBJCONT = 'Lets go for movie !'.
    APPEND OBJCONT.
    DESCRIBE TABLE OBJCONT LINES ENTRIES.
    READ TABLE OBJCONT INDEX ENTRIES.
    DOC_CHNG-DOC_SIZE = ( ENTRIES - 1 ) * 255 + STRLEN( OBJCONT ).
    Fill the receiver list
    CLEAR RECLIST.
    RECLIST-RECEIVER = 'PCSDEVL'. " replace with <login name>
    RECLIST-REC_TYPE = 'B'.
    RECLIST-EXPRESS = 'X'.
    APPEND RECLIST.
    CLEAR RECLIST.
    RECLIST-RECEIVER = '[email protected]'.
    RECLIST-REC_TYPE = 'U'.
    APPEND RECLIST.
    Send the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
    EXPORTING
    DOCUMENT_TYPE = 'RAW'
    DOCUMENT_DATA = DOC_CHNG
    PUT_IN_OUTBOX = 'X'
    TABLES
    OBJECT_CONTENT = OBJCONT
    RECEIVERS = RECLIST
    EXCEPTIONS
    TOO_MANY_RECEIVERS = 1
    DOCUMENT_NOT_SENT = 2
    OPERATION_NO_AUTHORIZATION = 4
    OTHERS = 99.
    CASE SY-SUBRC.
    WHEN 0.
    LOOP AT RECLIST.
    IF RECLIST-RECEIVER = SPACE.
    NAME = RECLIST-REC_ID.
    ELSE.
    NAME = RECLIST-RECEIVER.
    ENDIF.
    IF RECLIST-RETRN_CODE = 0.
    WRITE: / NAME, ': succesfully sent'.
    ELSE.
    WRITE: / NAME, ': error occured'.
    ENDIF.
    ENDLOOP.
    WHEN 1.
    WRITE: / 'Too many receivers specified !'.
    WHEN 2.
    WRITE: / 'No receiver got the document !'.
    WHEN 4.
    WRITE: / 'Missing send authority !'.
    WHEN OTHERS.
    WRITE: / 'Unexpected error occurred !'.
    ENDCASE.
    Regards,
    Mukesh Kumar
    Message was edited by: mukesh kumar

  • Regarding Email Posting

    Hi Dudes
        I have the following requirement:
    I am doing 1 script and I have to convert that script output to PDF Formatt and then I have to send that PDF form to multiple users using email ids.
    Can anyone let me know the procedure.
    Points are assured for correct answers.
    Regards,
    kumar

    Hi Kumar,
    Check this code.
    *& Report  ZSPOOLTOPDF                                                 *
    *& Converts spool request into PDF document and emails it to           *
    *& recipicant.                                                         *
    *& Execution                                                           *
    *& This program must be run as a background job in-order for the write *
    *& commands to create a Spool request rather than be displayed on      *
    *& screen                                                              *
    REPORT  zspooltopdf.
    PARAMETER: p_email1 LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_sender LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_delspl  AS CHECKBOX.
    *DATA DECLARATION
    DATA: gd_recsize TYPE i.
    Spool IDs
    TYPES: BEGIN OF t_tbtcp.
            INCLUDE STRUCTURE tbtcp.
    TYPES: END OF t_tbtcp.
    DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
          wa_tbtcp TYPE t_tbtcp.
    Job Runtime Parameters
    DATA: gd_eventid LIKE tbtcm-eventid,
          gd_eventparm LIKE tbtcm-eventparm,
          gd_external_program_active LIKE tbtcm-xpgactive,
          gd_jobcount LIKE tbtcm-jobcount,
          gd_jobname LIKE tbtcm-jobname,
          gd_stepcount LIKE tbtcm-stepcount,
          gd_error    TYPE sy-subrc,
          gd_reciever TYPE sy-subrc.
    DATA:  w_recsize TYPE i.
    DATA: gd_subject   LIKE sodocchgi1-obj_descr,
          it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          gd_sender_type     LIKE soextreci1-adr_typ,
          gd_attachment_desc TYPE so_obj_nam,
          gd_attachment_name TYPE so_obj_des.
    Spool to PDF conversions
    DATA: gd_spool_nr LIKE tsp01-rqident,
          gd_destination LIKE rlgrap-filename,
          gd_bytecount LIKE tst01-dsize,
          gd_buffer TYPE string.
    Binary store for PDF
    DATA: BEGIN OF it_pdf_output OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA: END OF it_pdf_output.
    CONSTANTS: c_dev LIKE  sy-sysid VALUE 'DEV',
               c_no(1)     TYPE c   VALUE ' ',
               c_device(4) TYPE c   VALUE 'LOCL'.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Write statement to represent report output. Spool request is created
    if write statement is executed in background. This could also be an
    ALV grid which would be converted to PDF without any extra effort
      WRITE 'Hello World'.
      new-page.
      commit work.
      new-page print off.
      IF sy-batch EQ 'X'.
        PERFORM get_job_details.
        PERFORM obtain_spool_id.
    Alternative way could be to submit another program and store spool
    id into memory, will be stored in sy-spono.
    *submit ZSPOOLTOPDF2
           to sap-spool
           spool parameters   %_print
           archive parameters %_print
           without spool dynpro
           and return.
    Get spool id from program called above
    IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
        PERFORM convert_spool_to_pdf.
        PERFORM process_email.
        if p_delspl EQ 'X'.
          PERFORM delete_spool.
        endif.
        IF sy-sysid = c_dev.
          wait up to 5 seconds.
          SUBMIT rsconn01 WITH mode   = 'INT'
                          WITH output = 'X'
                          AND RETURN.
        ENDIF.
      ELSE.
        SKIP.
        WRITE:/ 'Program must be executed in background in-order for spool',
                'request to be created.'.
      ENDIF.
          FORM obtain_spool_id                                          *
    FORM obtain_spool_id.
      CHECK NOT ( gd_jobname IS INITIAL ).
      CHECK NOT ( gd_jobcount IS INITIAL ).
      SELECT * FROM  tbtcp
                     INTO TABLE it_tbtcp
                     WHERE      jobname     = gd_jobname
                     AND        jobcount    = gd_jobcount
                     AND        stepcount   = gd_stepcount
                     AND        listident   <> '0000000000'
                     ORDER BY   jobname
                                jobcount
                                stepcount.
      READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
      IF sy-subrc = 0.
        message s004(zdd) with gd_spool_nr.
        gd_spool_nr = wa_tbtcp-listident.
        MESSAGE s004(zdd) WITH gd_spool_nr.
      ELSE.
        MESSAGE s005(zdd).
      ENDIF.
    ENDFORM.
          FORM get_job_details                                          *
    FORM get_job_details.
    Get current job details
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
           IMPORTING
                eventid                 = gd_eventid
                eventparm               = gd_eventparm
                external_program_active = gd_external_program_active
                jobcount                = gd_jobcount
                jobname                 = gd_jobname
                stepcount               = gd_stepcount
           EXCEPTIONS
                no_runtime_info         = 1
                OTHERS                  = 2.
    ENDFORM.
          FORM convert_spool_to_pdf                                     *
    FORM convert_spool_to_pdf.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
                src_spoolid              = gd_spool_nr
                no_dialog                = c_no
                dst_device               = c_device
           IMPORTING
                pdf_bytecount            = gd_bytecount
           TABLES
                pdf                      = it_pdf_output
           EXCEPTIONS
                err_no_abap_spooljob     = 1
                err_no_spooljob          = 2
                err_no_permission        = 3
                err_conv_not_possible    = 4
                err_bad_destdevice       = 5
                user_cancelled           = 6
                err_spoolerror           = 7
                err_temseerror           = 8
                err_btcjob_open_failed   = 9
                err_btcjob_submit_failed = 10
                err_btcjob_close_failed  = 11
                OTHERS                   = 12.
      CHECK sy-subrc = 0.
    Transfer the 132-long strings to 255-long strings
      LOOP AT it_pdf_output.
        TRANSLATE it_pdf_output USING ' ~'.
        CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
      ENDLOOP.
      TRANSLATE gd_buffer USING '~ '.
      DO.
        it_mess_att = gd_buffer.
        APPEND it_mess_att.
        SHIFT gd_buffer LEFT BY 255 PLACES.
        IF gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    ENDFORM.
          FORM process_email                                            *
    FORM process_email.
      DESCRIBE TABLE it_mess_att LINES gd_recsize.
      CHECK gd_recsize > 0.
      PERFORM send_email USING p_email1.
    perform send_email using p_email2.
    ENDFORM.
          FORM send_email                                               *
    -->  p_email                                                       *
    FORM send_email USING p_email.
      CHECK NOT ( p_email IS INITIAL ).
      REFRESH it_mess_bod.
    Default subject matter
      gd_subject         = 'Subject'.
      gd_attachment_desc = 'Attachname'.
    CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
      it_mess_bod        = 'Message Body text, line 1'.
      APPEND it_mess_bod.
      it_mess_bod        = 'Message Body text, line 2...'.
      APPEND it_mess_bod.
    If no sender specified - default blank
      IF p_sender EQ space.
        gd_sender_type  = space.
      ELSE.
        gd_sender_type  = 'INT'.
      ENDIF.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_mess_bod
                                          it_mess_att
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'PDF'
                                          gd_attachment_name
                                          gd_attachment_desc
                                          p_sender
                                          gd_sender_type
                                 changing gd_error
                                          gd_reciever.
    ENDFORM.
          FORM delete_spool                                             *
    FORM delete_spool.
      DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
      ld_spool_nr = gd_spool_nr.
      CHECK p_delspl <> c_no.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
           EXPORTING
                spoolid = ld_spool_nr.
    ENDFORM.
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables it_message
                                              it_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
    data:   t_packing_list like sopcklsti1 occurs 0 with header line,
            t_contents like solisti1 occurs 0 with header line,
            t_receivers like somlreci1 occurs 0 with header line,
            t_attachment like solisti1 occurs 0 with header line,
            t_object_header like solisti1 occurs 0 with header line,
            w_cnt type i,
            w_sent_all(1) type c,
            w_doc_data like sodocchgi1.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = it_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_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.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Regarding emails

    Hi all,
    As we know that we do get few types of the emails in outlook like plain text, HTML text, RTF etc. I want to send an email through SAP with HTML format. Can you tell me with an example how this can be done?
    Thanks
    Harshad.

    Hi,
    check the below links
    How to send email from outlook to SAP inbox
    Re: Sending mail from sap Inbox to outlook
    Regards,
    Madhu

  • Regarding email page

    Hi Friends,
    Can anyone guide me how to create a email page.(i.e) when i click on first page the details of first page should be displayed...when i click on next then page should be displayed....when i click on last last page should be displayed...and so on....and only 10 per page should be displayed...I want to know how to create that page using JSP and Servlets...
    With Regards,
    V.S.Ravi Kiran Balusu

    i am getting the following error when i run index.jsp.my tomcat username and password is admin and admin respectivrly...
    Deployment error:
    Access to Tomcat server has not been authorized. Set the correct username and password with the "manager" role in the Tomcat customizer in the Server Manager.
    See the server log for details.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:166)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor274.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
    Caused by: java.lang.IllegalStateException: Access to Tomcat server has not been authorized. Set the correct username and password with the "manager" role in the Tomcat customizer in the Server Manager.
    at org.netbeans.modules.tomcat5.TomcatManagerImpl.list(TomcatManagerImpl.java:389)
    at org.netbeans.modules.tomcat5.TomcatManager.modules(TomcatManager.java:623)
    at org.netbeans.modules.tomcat5.TomcatManager.getAvailableModules(TomcatManager.java:434)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.getAvailableTMIDsMap(TargetServer.java:331)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.checkUndeployForSharedReferences(TargetServer.java:287)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.checkUndeployForSharedReferences(TargetServer.java:236)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.checkUndeployForSharedReferences(TargetServer.java:233)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.processLastTargetModules(TargetServer.java:355)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.init(TargetServer.java:143)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:479)
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:151)
    ... 16 more
    Caused by: org.netbeans.modules.tomcat5.AuthorizationException
    at org.netbeans.modules.tomcat5.TomcatManagerImpl.list(TomcatManagerImpl.java:390)
    ... 26 more
    BUILD FAILED (total time: 0 seconds)
    With Regards,
    V.S.Ravi Kiran Balusu.

  • Regarding Email alerts Using BPM

    Hi All,
    i need to send an Email Alert through using BPM here is the scenario where customer is entering some data which is coming thru Web Service to XI,
    1) so here i have to validate the customer using SQL Database if customer exists then it should proceed further or else it should raise an alert.
    2)Once its validated it should go thru another division check from SQL database, Based on the division if we have it as 00 then order should be created in R3 server or if is 10 the it should be created in SQL Server.
    3)If no division exists an alert should be raised.
    i just need to know the that for this above scenarios how many Alert category should i have to make
                                      or
    is it possible to create only one alert category to raise this two Email Alerts pls suggest ...............
    Thnks you
    Azeez khan.

    Hi All,
    Thanks for the quick responces,
    I have created all the steps required to send an Alert using the given Above blogs here i am facing some issues like
    1) in properties tab of the BPM were we have a options like Alert Category
    Alert Desception
    here my doubt is can i give the same Alert category to the Above two conditions as per my Scenario ABove ie
    For Validation Alert & Division Check .
    And also here we are using BPM so is it necessary for me to write An java codes for the Above Requriments
    Kindly guide me if i am mistaken .
    Regards,
    Azeez khan .

  • Questions regarding Email Marketing and Campaign Management

    Hi,
    i am facing some problem is using Email marketing and campaign module of CRM On Demand. Need help in solving few queries.
    1. I am trying to create the email template and save it for future purpose. I am using fields data column to make email personalize automatically. Problem i am facing is when ever i am opening this template for using it again for another campaign these dynamix fields doesn't come. ONlyu the static text xomes.
    2. Second, how can i get the status of email delivered, read etc.
    3. And in last, what ever email i am sending, how can i attach them with the receipient (Contact) record.
    Nisman

    1 - ?
    2 - email receipt status is automatic by Email marketing. You should see it in the Campaign Detail - section Recipients
    3 - Campaign Detail - section Recipients > You can insert Contacts manually or via Data Import or via Segmentation Wizard.
    Good Luck
    Antonio
    BExpert, Brazil
    Siebel & OBI Consulting and training

Maybe you are looking for

  • Error in PPR ( java.lang.ClassCastException)

    Hi All, Iam using PPR.In the PPR event my code is as follows: if ("PopulateLicenseEndDate".equals(pageContext.getParameter(EVENT_PARAM))) String rowReference =pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE); OARow row = (OARow

  • Safari not working keeps crashing (only in safe mode does it work)

    I dont understand why my safari doesnt load any more... i keep getting an error box saying that it cant load. below is the message i get from the error log. any ideas i cant even find a fresh install of just safari for my MAC. need help please... Pro

  • HELP - scrollbar

    Hi, I have a problem with an overlay: I can't apply the scrollbar on buttons. I can apply a scrollbar for a group picture. However, the touch user will roll continue all images. I'd like to just scroll to the next image, from image to image. How can

  • Find and Replace using specific tags

    is there a way to find-and-replace my <a href= ""> to equal whatever is in their nested <img src> tag? for example, if i have a photo gallery with: <a href="url1.htm"><img src="imagea.jpg" /></a> <a href="url2.htm"><img src="imageb.jpg" /></a> <a hre

  • How can I increase the event font size when printing a weekly listing from Lightning?

    I find a printed weekly calendar very useful in my life. I used to use the Sunbird calendar program with the FG Print extension to increase the font size to something more appropriate for my aged eyes. Is there a way to do this with Lightning? I'm ru