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: 

system message.

former_member209032
Active Contributor
0 Kudos

Hi,

Whether there is any procedure to store SAP generated information message in an internal table?

Regards,

Raghavendra.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

the system variable sy-msgli will have that message text...you can store it to itab...by checking the sy-subrc @ errorneous locations.

4 REPLIES 4

Former Member
0 Kudos

the system variable sy-msgli will have that message text...you can store it to itab...by checking the sy-subrc @ errorneous locations.

0 Kudos

Hi Ramu,

Information message is not getting stored in sy-msgli, moreover sy-subrc value is 0 .

Regards,

Raghavendra.

Former Member
0 Kudos

Yes the system generated messages can be stored in a internal table

ex:when we do BDC with call transaction the messages are stored in a internal table of type BDCMSGCOLL

Like this you can store messages in a internal table

thnkx

bhanu

Former Member
0 Kudos

hi

i guess this is the answer for ur question.

We can create a internal table like ‘bsgmcgcoll’. All the messages will go to internal table. We can get errors in this internal table.

- Message type

- Message id

- Message Number are stored in that table.

reward if useful

thanks and regards

suma sailaja pvn