on 03-23-2015 9:52 AM
Hi all !
Can I get system message by vba ?
lResult= Application.Run("SAPGetProperty", "LastError", "Number") returns ERRORS only. And what about messages type I and W ?
Regards , Alexander!
Hi all,
Yes you can provide all types of system messages by VBA
'Types of severity: INFORMATION , WARNING, ERROR or CRITICAL
vResult = Application.Run("SAPAddMessage", "This is a new error message!", "WARNING", "Send by Joerg Boeke")
Just replace my Message stings with your message. Using e.g WARNING or one of teh upper keywords will change the different style of appearance.
Hope that helps
Jörg Böke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.