How to fetch variable values from Ritm table in service now

How to fetch the variable values from RITM ticket in servicenow