How to Find Total Quantity or Total Value of any License using Table.
If we have license numbers, then how we can search total or Max Quantity or Max Value of the respective licenses through the SAP GTS table.

/SAPSLL/LCLIC is Legal Control License Header table

/SAPSLL/LCLIC is Legal Control: License Header table its GUID field is GUID_LCLIC, which will be used to fetch total quantity information from table /SAPSLL/LCLICQ

Pass the License number into table /SAPSLL/LCLIC -EXLIC

Get GUID16 which is /SAPSLL/LCLIC-GUID_LCLIC
/SAPSLL/LCLICQ:- Legal Control: Licenses – Quantities

/SAPSLL/LCLICQ-GUID_LCLIC = /SAPSLL/LCLIC-GUID_LCLIC

Pass GUID of the License header table in License Quantity table.

DIM stands for total quantity for license value.
Similarly, if you are looking for Total Value for Value license master data then you have to use table /SAPSLL/LCLICV

/SAPSLL/LCLICV-GUID_LCLIC = should be Header license guid
and get total value /SAPSLL/LCLICV-VALUE

This Value license with Total or Max Value.

Pass the license number into the License header table

get GUID number of LCLIC

Pass LIC GUID number into License Value table /SAPSLL/LCLICV-GUID_LCLIC

you can get max value from field /SAPSLL/LCLICV-VALUE.