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

Specify Dynamic message type in Mesasge class

Former Member
0 Likes
536

Hi Experts,

Im having the messages in either error or warning. But if the user is admin, have to give the option to change the message type and collect those messages into internal table.

Now i collect those messages into internal table. I need to know how to change the message type dynamically.

Can anyone give me guidance to work on the dynamic message types using message class.

Thanks in Advance.

Regards,

Anita Vizhi Arasi B

Hi Experts,

Im having the messages in either error or warning. But if the user is admin, have to give the option to change the message type and collect those messages into internal table.

Now i collect those messages into internal table. I need to know how to change the message type dynamically.

Can anyone give me guidance to work on the dynamic message types using message class.

Thanks in Advance.

Regards,

Anita Vizhi Arasi B

2 REPLIES 2
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
501

If its programatically then

Check the f1 help of message into statement

or there are some function modules like BALW_BAPIRETURN_GET2

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
501

you can find out the user type who executed the specified report/txn ..

If user is admin just change the type of message and it should solve the issue.