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: 

To send system message

shiva_suvarna
Participant
0 Kudos

hi Friends

i want to send a system message to a particular user even though he is not logged in . if he logged in, he can get the message immediately if not he will get the message when ever he logs in.

how can i do this .

thanks in advance

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Shiva,

This is possible by using the Business Workplace (of SAP Office): (transaction SBWP).

- Start transaction SBWP.

- Choose Outbox

- Select 'New Message' or press Shift+F4

- Give a message title

- Type your message

- Fill in a recipient (with Recip.Type B = SAP User Name)

- Check the first checkbox (Expr. Mail)

- In the Top button menu press the Send button (or press Shift+F8)

The user in question gets a message directly (popup screen) or after he logs on. The popup (if confirmed) takes the user to your message.

Regards,

Rob.

9 REPLIES 9

Former Member
0 Kudos

Hi Shiva,

This is possible by using the Business Workplace (of SAP Office): (transaction SBWP).

- Start transaction SBWP.

- Choose Outbox

- Select 'New Message' or press Shift+F4

- Give a message title

- Type your message

- Fill in a recipient (with Recip.Type B = SAP User Name)

- Check the first checkbox (Expr. Mail)

- In the Top button menu press the Send button (or press Shift+F8)

The user in question gets a message directly (popup screen) or after he logs on. The popup (if confirmed) takes the user to your message.

Regards,

Rob.

0 Kudos

hi veensta

can u please provide any FM for this instead of going into the transaction.

0 Kudos

You can accomplish this by triggering event that starts workflow task crating workflow item in your office inbox. You can easily control all aspects of message created this way (receivers, content, attributes) by making use of all workflow features.

Hope this helps.

-- Grzegorz Malewski

0 Kudos

SO_OBJECT_SEND

SO_OBJECT_SEND_ASYNCHRON

if its for a single logged on user you can try

th_popup

Regards

Raja

0 Kudos

hi friends

The fm SO_OBJECT_SEND is a big fm . i dont want to send bulk of data to no of people.

like the TH_POPUP fm, I have to send simple message to a user even though he is not logged in .

0 Kudos

ok if its a simple message use FM

MESSAGE_SEND_AS_MAIL

msgid ='00'

MSGV1 = 'message line 1'

MSGV2 = 'message line 2'

MSGV3 = 'message line 3'

MSGV4 = 'message line 4'

fill the receivers table with the following params.

RECEIVER = id of the receiver

REC_TYPE = 'B' - SAP user

EXPRESS = 'X'

Regards

Raja

0 Kudos

Hi Raja,

Thanku for ur response , but here the problem is that user has to get in to the Business workplace to see the message if the message was sent when he is not logged in.

0 Kudos

No. If the message is set as <b>Express</b> , immediately after logging on the user will get a pop up about the express message.

Regards

Raja

0 Kudos

if the pop up is not coming while logging on you need to do the following.

Go to transaxtion SO16

Uncheck the check box for 'No Notification of unviewed mails at log on' in the user tab .

If you rquestin is answered can you mark the thread as answered and close it.

/people/mark.finnern/blog/2004/08/10/spread-the-love

Regards

Raja