Hi Chris,
Above query is not only used for selecting materials with specifications and also used for selecting some other functionalties.So if we use CG02 and try to get the hit list of materials, user feel difficult to get the output as required, So we designed custom query to process the functionality.
Current query functionality which process materials with specifications, so user needs if material is not assigned in specification ,he need to get the specification in the output.
So if we remove ESTMJ from query whether it will affect any other functionalities in the program. (Like ESTDJ,ESTDH tables)
Please let me know if you need information from my side.Thanks!!
Regards,
Sivasankar