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

FUNCTION SO_OBJECT_SEND

Former Member
0 Likes
538

I have created a batch program to run weekly very early before our

accounting personnel arrive. If a specific event occurs, I want to send an

"Express Document" to a predetermined individual in accounting. I have used

function SO_OBJECT_SEND to accomplish the task with one exception. If the

receiver is not logged in, the message box does not appear when they do log

in. I need the message box, or some other indicator, to inform the user as

soon as they log in that an Express Document is waiting to be view. I was

wondering if anyone has used this function, or another, and has attempted to

do the same, and if so, how.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
503

Try using function SO_NEW_DOCUMENT_SEND_API1

For the input of the "RECEIVERS" table parameter, use rec_type = 'B' andexpress = 'X'

We are using this function(in 31H) for a similar requirement and as soonas the user logs in, they receive a popup box notifying them that anExpress Document is waiting for them to review.

2 REPLIES 2
Read only

Former Member
0 Likes
503

hi,

try to use SMOD enhancement SUSR0001

there is a customer exit that is always passed after a successful dialog logon

here you can start your ABAP code which scan

user mailbox...

greetings,darek

Read only

Former Member
0 Likes
504

Try using function SO_NEW_DOCUMENT_SEND_API1

For the input of the "RECEIVERS" table parameter, use rec_type = 'B' andexpress = 'X'

We are using this function(in 31H) for a similar requirement and as soonas the user logs in, they receive a popup box notifying them that anExpress Document is waiting for them to review.