‎2008 May 29 2:39 PM
How do I use the program generated messages in my program.
In my code when I create a material, i get a message 'Material created or extended' in status bar. From where do i include this message in program.
‎2008 May 29 2:43 PM
Hi,
These messages may be captured in the call transaction statement like below
data: begin of msstab occurs 0.
include structure bdcmscoll.
data :end of msstab.
call transaction 'MM01' messages in MSSTAB mode 'a'.
You will get all the message in your internal table then you can use them.
Regards,
Himanshu Verma
‎2008 May 29 2:47 PM
the message i am getting in status bar is not being captured in bdcmsgcoll
‎2008 May 29 2:48 PM
the message i am getting in status bar is not being captured in bdcmsgcoll
‎2008 May 29 2:43 PM
in your logic after everthing is completed ok
MESSAGE S###.
S is for Status
I is for Info
W is for warning.
If S doesn't do what you want, try the other prefix.
‎2008 May 29 2:45 PM
Hello,
Try this:
MESSAGE i014(sabapdocu).
Where i is the message type , 014 is the message number (you can get it at transaction SE91 and sapabapdocu is the message class.
Regards.
‎2008 May 29 2:48 PM
Hello,
Try this:
MESSAGE i014(sabapdocu).
Where i is the message type , 014 is the message number (you can get it at transaction SE91 and sapabapdocu is the message class.
Regards.
‎2008 May 29 2:48 PM
Hello,
Try this:
MESSAGE i014(sabapdocu).
Where i is the message type , 014 is the message number (you can get it at transaction SE91 and sapabapdocu is the message class.
Regards.
‎2008 May 29 2:57 PM
hi
1) in sap for every action that happens the system has maintained messages,
2) for eg. u might have seen some message displayed in statusbar wen u perform some action in sap.
3) al msg are maintained in sap standard system.
4) msg class is used to group number of related messages in the system.
eg. msg class : m5
this class m5 can have number of related messages. each msg is identified with a number.
5) u can also create ur own msg. goto se91. enter ur message class, and create number of messge for that class.
6) now in ur report program u can use those maintained message for various porposes..
different msg type like s-success, e- error, w-warning
reward if helpful
regards
mano