Skip to Content
0
Former Member
Jun 05, 2014 at 10:22 AM

Printing error Messages of FM

175 Views

Hi Techies ,

i have a Function module , and it has tables 'e_t_messages' parameter and it is giving all the error messages .

i want to print all the error messages by looping that table , can you please help me in printing those messages .

my code is :

CALL FUNCTION 'RSNDI_MD_ATTRIBUTES_UPDATE'

EXPORTING

i_iobjnm = 'ZC_REWUI'

i_activate_md = rs_c_true

i_db_commit = abap_true

IMPORTING

e_subrc = lv_rc

TABLES

i_t_attribute = l_t_attributes

i_t_data = l_t_data

e_t_messages = l_t_messages .



IF lv_rc <> 0 .

LOOP at l_t_messages into l_s_messages .

write : '??????????????????????' .

END LOOP.

ENDIF.

i expect answer as my updated code .

update my code and fill in .

Thanks and Kind Regards,

Praveen Bindla..