Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8531339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:27:41+00:00 2026-06-11T09:27:41+00:00

I am trying to send an email with an excel attachment without using rsconn01.

  • 0

I am trying to send an email with an excel attachment without using rsconn01. If this is possible could you show me how this is done?

I would also like a little bit more information about how rsconn01 works. I am using rsconn01 to send the emails but, I received a complaint that this program was also resending out emails that failed earlier that day.

This is the code I am using now. It works, but I want to know another way to do it without using rsconn01.

`CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
  document_data              = w_doc_data
  put_in_outbox              = 'X'
  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.

if sy-subrc = 0.
   WAIT UP TO 2 SECONDS.
   SUBMIT rsconn01 WITH mode = 'INT'
            WITH output = 'X'
           AND RETURN.
    else.
  WRITE:/ 'ERROR IN MAIL ', sy-subrc.
endif.`
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T09:27:43+00:00Added an answer on June 11, 2026 at 9:27 am

    You will have to use RSCONN01 unless you’d like to implement your own protocol handling. You’re using the standard SAPconnect functionality (although with an API that’s a bit outdated, I’d switch to the BCS if I were in your shoes). As long as you’re using this, you’re stuck with that report. However, you usually won’t have to call it for yourself. It’s a background process that is called every few minutes to process outgoing mail. Perhaps you’re working in a development environment where the SAPconnect system isn’t properly setup – in that case, you should talk to your system administrators. There are ways to tune the SAPconnect system to work in many cases. You should try to use the existing and well supported facilities before trying to circumvent them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to send an email using codeigniter, and would like the message to
I'm trying to send an email with an excel file attached using smtplib in
I am trying to send email using apache james with this code public static
I am trying to send email using gmail from my mvc application. I am
I am trying to send email using AJAX and PHP but no success:( My
I am trying to send email using PHP. The email is an HTML email
I am trying to send email using Exchange 2007 from a console app using
I am trying to send email using smtp authentication through google but I am
I am trying to send email using c# following is my code. try {
I am trying to send an email that contains an attachment (a pdf file)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.