cancel
Showing results for 
Search instead for 
Did you mean: 

SAP SDK Messages- Need Help

Former Member
0 Kudos

Hi

Can you tell me. how to send an email to given email address? how can i initialize

SAPbobsCom.Messages ojbect.?

kind regards,

Chaminda Ratnayake

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The object is 'Message'.

The initialization is like follows.

Dim msg As SAPbobsCOM.Message

msg = SBO.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oMessages)

msg.MessageText = "This is the content of message"

msg.Subject = "Hello manager"

You find more information about the message object in the DIAPI help file.

Regards Chris