Hi,
My Requirement is to find the maximum occurrence of a field value (module of object) and categorize the program as that module...
The above internal table (ITAB 1) has the fields (program name, objects used in the program, object type, module of the object). Based on the maximum occurrence of the module, I need to categorize the program under which module it comes.
Ex: in the above case, ZBAPI_SALESORDER_GETLIST has more number of ‘SD’ types of objects, so ZBAPI_SALESORDER_GETLIST program belongs to module ‘SD’. Similarly Ztest2 program belongs to Module ‘MM’.
Finally I need to prepare the internal table (ITAB 2) as shown.
ITAB 2
Thanks