01-08-2008 11:00 AM
Hi,
Whether there is any procedure to store SAP generated information message in an internal table?
Regards,
Raghavendra.
01-08-2008 11:08 AM
the system variable sy-msgli will have that message text...you can store it to itab...by checking the sy-subrc @ errorneous locations.
01-08-2008 11:08 AM
the system variable sy-msgli will have that message text...you can store it to itab...by checking the sy-subrc @ errorneous locations.
01-08-2008 12:11 PM
Hi Ramu,
Information message is not getting stored in sy-msgli, moreover sy-subrc value is 0 .
Regards,
Raghavendra.
01-08-2008 11:12 AM
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
01-08-2008 11:24 AM
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