GDP of domestic and foreign economic activities of a country
You can calculate domestic economic activity by calculating GDP and subtracting net exports. Any activity that requires dealings with foreign country will be recorded as either export or import. Once you subtract exports and imports from GDP you are left just with domestic activity.