Hi,
Try Method CHECK & PROCESS_ITEM.
In Method check - find the line which has highest net price.
In method PROCESS_ITEM, update the indicator
Get item values like below.
ls_itemdata = im_item->get_data( ).
Validate your conditions.
Update item values like below.
ls_itemdata-loekz = 'S'.
call method im_item->set_data
exporting
im_data = ls_itemdata.
Thanks,
Priya