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: 

Moving a message text to an internal table

Former Member
0 Kudos

Hello Experts,

I want to write a message to an internal table field of type BAPI_MSG.

for e.g Write MESSAGE E001 to itab1-text.

Ofcourse this does not work. Can anyone suggest me a proper way of doing this?

Thanks and Regards,

Nitish Lobin.

2 REPLIES 2

SuhaSaha
Advisor
Advisor
0 Kudos

Check the syntax [MESSAGE ... INTO|http://help.sap.com/abapdocu_70/en/ABAPMESSAGE_OPTIONS.htm#!ABAP_ADDITION_3@3@].

Former Member
0 Kudos

Thanks it worked!