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

Alternative for SO_NEW_DOCUMENT_ATT_SEND_API1

Former Member
0 Likes
1,510

Hi,

does anyone no an alternative FM for 'SO_NEW_DOCUMENT_ATT_SEND_API1', which are unicode compliant. FM SO_NEW_DOCUMENT_ATT_SEND_API1 gives a short dump in 4.7, because it's not unicode checked.

Best regards Rasmus

1 ACCEPTED SOLUTION
Read only

eddy_declercq
Active Contributor
0 Likes
1,378

Hi,

A different approach could be via the cl_bcs classes.

An example can be found at BSP app BSPTUTORIALMAIL and the application class, CL_BSP_TUT_MAIL.

But you don't need to write a BSP for this. It's available for plain ABAP within 4.7 too.

Eddy

Hi,

does anyone no an alternative FM for 'SO_NEW_DOCUMENT_ATT_SEND_API1', which are unicode compliant. FM SO_NEW_DOCUMENT_ATT_SEND_API1 gives a short dump in 4.7, because it's not unicode checked.

Best regards Rasmus

9 REPLIES 9
Read only

Former Member
0 Likes
1,378

Hi,

you can use this FM:

SO_OBJECT_SEND

if it is useful please assign points..

Read only

0 Likes
1,378

Thanks for your reply!

SO_OBJECT_SEND is also the function called by

SO_NEW_DOCUMENT_ATT_SEND_API1, but does this work for sending attachments?

Cheers Rasmus

Read only

Former Member
0 Likes
1,378

Using call function "SO_NEW_DOCUMENT_ATT_SEND_API1" in specific program in SAP R/3, i would like to know if it is possible to send a mail on Outlook webmail box in 4.0B Version of SAP?

Regards, Vincent

Read only

eddy_declercq
Active Contributor
0 Likes
1,379

Hi,

A different approach could be via the cl_bcs classes.

An example can be found at BSP app BSPTUTORIALMAIL and the application class, CL_BSP_TUT_MAIL.

But you don't need to write a BSP for this. It's available for plain ABAP within 4.7 too.

Eddy

Read only

0 Likes
1,378

Hello Eddy,

I don't really understand what you tell me, about BSP. My problem is just to know if SAP R/3 version 4.0B bear the process of sending mail from ABAP program. And, if of course, which actions have to put up in SAP to allow sending?

Vincent

Read only

0 Likes
1,378

Yes SO_NEW_DOCUMENT_ATT_SEND_API1 works in 4.0B. You posted the same question in the weblog comments of the weblog that shows you the example.

/people/thomas.jung3/blog/2004/09/07/sending-e-mail-from-abap--version-46d-and-lower--api-interface

Read only

0 Likes
1,378

Vincent,

I was answering Rasmus' question. As Tom said, you've been cross posting and you're question has been answered.

Eddy

Read only

0 Likes
1,378

Another example of The BCS Classes for sending email can be found here.

/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface

It is a nice OO approach to sending Email and can be used from any type of ABAP program(WebAS version 6.10 and higher). I have used it in a Unicode system and as long as you have your setup correct in SCOT (the code page setting in the General Node Data Configuration screen) it works fine.

Read only

0 Likes
1,378

Pls don't forget to assign reward points when you feel that the answers to your questions are valuable