Hi Expert,
It's great, if someone tells me how to find the location of when the exception is threw or it set up a paticular value for SY-MSGID, SY-MSGTY and etc.
The backgroud is the program calling the BAPI funcation for creating a Sale Order, meanwhile, it usally create the deliver oder for the sales order. but sometimes it depends on the material, the deliver order wouldn't be created. Thus, I need to know when it sets Sy_MSG* parameter in the program, so to ping-point the problem from the material's data.