Handling BAPI responses..
I am using the Bapi --> BAPI_MATERIAL_SAVEDATA for material creation.. so while creating the material i am giving the basic and storage data for the creation of a material.
For eg: if i create a new material using this BAPI, if the material was successfully created then a response will get 356 as a success message and the message was The material 0325689 was successfully created, here the 0325689 is the material and in case of failure it is just generating some error with out specifying any name..
In the response i am getting the error message with its 3 digit code, but is it possibe to get the material which it is created..
So, now the problem is how to find that error is occured for that material alone..