cancel
Showing results for 
Search instead for 
Did you mean: 

Populating error messages from bapiret2

Former Member
0 Kudos

Hi All..,

I am calling Bapi if its successfull ok . some times if it returns error messages those will be stored in return parameter type bapiret2.

if i want to display the message i am looping it and printing wa-type,wa-id,wa-msg_log_no,wa-message_v1,wa-message etc..

but its displyaing only error type(E) and id(IO/VL) msg_log_no(229/213) something like that.. but i want the description of that error type which is stored in table T100. how can achieve..???

ex: E 213 contains serial no already assigned..

Please help.......

Thanks

Anand

Accepted Solutions (1)

Accepted Solutions (1)

former_member182670
Contributor
0 Kudos

You should have the final message in the wa-message.

If not use

MESSAGE ID wa-id TYPE wa-type NUMBER wa-number
                INTO wa-message
                WITH wa-message_v1 wa-message_v2 wa-message_v3 wa-message_v4.

before

Answers (1)

Answers (1)

former_member181962
Active Contributor
0 Kudos

I think it belongs to ABAP forum. Please post it there for more responses.

Best Regards,

Ravi