‎2005 Dec 28 4:43 PM
Hi all,
Again with the 'BAPI_GOODSMVT_CREATE'. I wat to create a error messages file, where it display me the reason why the paramenter gt_bapigm_headret in some cases is initial.
How can I do it?
Thanks in advance.
Regards, Marisol.
‎2005 Dec 28 4:49 PM
There is a tables parameter 'RETURN' which will give you all the messages, including error messages. You have loop through this internal table to find out all the messages. The field MESSAGE of this will give you the error message. Alternatively you can use the ID, NUMBER, MESSAGE_V1, MESSAGE_V2, MESSAGE_V3, MESSAGE_V4 fields and prepare the message yourself.
Srinivas
‎2005 Dec 28 4:49 PM
There is a tables parameter 'RETURN' which will give you all the messages, including error messages. You have loop through this internal table to find out all the messages. The field MESSAGE of this will give you the error message. Alternatively you can use the ID, NUMBER, MESSAGE_V1, MESSAGE_V2, MESSAGE_V3, MESSAGE_V4 fields and prepare the message yourself.
Srinivas
‎2005 Dec 28 5:00 PM
Use the FM MESSAGE_PREPARE and pass on the parameters from the return table for getting the message.