Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SO_new_document_send_api1

Former Member
0 Likes
298

Hi,

Mr. sachin pardeshi gives a good answer thank’s

But now the new question.

I don’t know how to fill Field maildata and Table mailtxt.

call function 'SO_NEW_DOCUMENT_SEND_API1'

exporting

document_data = maildata  ( fill ??? )

document_type = 'RAW'

put_in_outbox = 'X'

tables

object_header = mailtxt  ( fill ??? )

object_content = mailtxt ? ( fill ??? )

receivers = mailrec

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.

endif.

Any idea?

Thanks!

Regards,

Bertram

1 REPLY 1
Read only

Former Member
0 Likes
274

this is nothing but mail Body data and Contents which u are trying to pass.

Regards

prabhu