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

system message.

Former Member
0 Likes
926

Hi,

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

Regards,

Raghavendra.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
830

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
Read only

Former Member
0 Likes
831

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

Read only

0 Likes
830

Hi Ramu,

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

Regards,

Raghavendra.

Read only

Former Member
0 Likes
830

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

Read only

Former Member
0 Likes
830

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