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

Replacing SO_NEW_DOCUMENT_SEND_API1 with BCS classes.

Former Member
0 Kudos


I have to replace SO_NEW_DOCUMENT_SEND_API1 function module with BCS classes, because SO_NEW_DOCUMENT_SEND_API1 is obsolete in ECC5.0.

In SO_NEW_DOCUMENT_SEND_API1 FM , for the importing parameter DOCUMENT_DATA, DOCUMENT_DATA-PROC_TYPE has been mentioned as 'S'i.e Report with transfer of values to global memory. I am not able to find how this parameter is to be specified using BCS classes.Other parameters like sensitivity , priority can be set in the create document method of class cl_document_bcs. KIndly provide some help on this.

Also is there any other alternative for SO_NEW_DOCUMENT_SEND_API1 in ECC 5.0?

There are other function modules like SO_DLI_EXPAND, SO_WIND_RECEIVER_SELECT,SO_WIND_DLI_REQUEST being used in the code. Are these also obsolete in ECC5.0? If yes then what is the alternative


Former Member
0 Kudos

Take a look at this weblog which shows how to use CL_BCS to send mail.


I suggest you should start using this instead of the function modules.



Note : Please mark the helpful answers

Message was edited by: Ravikumar Allampallam