cancel
Showing results for 
Search instead for 
Did you mean: 

How to get errors in item details in error handling tool of AIF

0 Kudos

Hello All,

I need to get error messages in the item section (green-buttons should be replaced by red).

For this I used the below code :

CALL FUNCTION '/AIF/UTIL_ADD_MSG'
EXPORTING
msgty = gs_ers_messages-type
msgid = gs_ers_messages-id
msgno = gs_ers_messages-number
msgv1 = gs_ers_messages-message_v1
* msgv2 = gs_ers_messages-message_v2
* msgv3 = gs_ers_messages-message_v3
* msgv4 = gs_ers_messages-message_v4

parameter = lv_item_struct
row = lv_row
field = 'ALLOC_KEY_ID'
log_handle = s_log
bal_context = ls_bal_context
ignore_trace_level = 'X'
TABLES

return_tab = t_ret.

But still I get the green button only. Could you please help.

Thanks,

Accepted Solutions (0)

Answers (3)

Answers (3)

chilumuru2015
Explorer
0 Kudos

Try with

Define Field Mapping -> Field Name for Data Link = "ALLOC_KEY_ID"

0 Kudos

Thanks Ramesh. But how to do that. Any sample code would help me.

chilumuru2015
Explorer
0 Kudos

Maintain the Data Link for the Field ALLOC_KEY_ID