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.
cancel
Showing results for 
Search instead for 
Did you mean: 

Replacing SO_NEW_DOCUMENT_SEND_API1 with BCS classes.

Former Member
0 Kudos

Hi

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

1 REPLY 1

Former Member
0 Kudos

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

/people/thomas.jung3/blog/2005/01/13/bsp-utility-classes

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

Regards,

Ravi

Note : Please mark the helpful answers

Message was edited by: Ravikumar Allampallam