I have a dynamic internal table and in a field called status.The IT is having several line items retrieved dynamically.For example the line item display of status field is as below.
Now i want a consolidated field which gives the result like this
status_field = 01,02,03,05...
Its means each staus value should be displayed once in this field.
Any code help please..
Ravi Kanth Talagana replied
loop at itab.
move itab-status to itab_new-status.
sort itab_new by status.
loop at itab_new.
at new status.
concatenate v_stat itab_new-status into v_stat
separated by ','.