Dear Amol
now we have the story... (sorry seems that I missed your last reply). I would propose this:
a.) if the spec listing is maintained than at least one specid is mentioned. There is a report symbol available to print simply the spec id (with POS group you could then use then to print e.g. identifier of spec ids)
b.) now by using this approach you can try to use "blank compression" like: check if at least one spec id is present: print e.g. some identifer; if not (as in your case) print "Not relevant" or whatever.
There is a further options (which is not as stable as the first one). YOu could check if spec id is present "and" some identifiers (either direct or with ident listing);
The test regarding " is spec id available" is more stable in comparison to the test is spec id available and a specific identifier (e.g CAS number...)
Hope you wil get now the solution
C.B.
PS: I assume that you know that value assignment types of type "B" and "C" are handled EHS internally the same; that means data is stored in ESTVP.