How exactly would a Type II civilization, according to the Kardashev scale, have to structure its economy in order to be a viable system?
For more information on the Kardashev scale and a Type II civilizations, you can go here
This query ties into another one, covering a broader scope, that you can find here
in short, A Type II civilization is a civilization capable of harnessing energy, among other ways, directly from its solar systems star, by means of a Dyson sphere. This method of energy production implies a capacity for energy to matter as well as matter to energy conversion, in layman's terms, make anything out of "electricity" and turn anything into "electricity" (E = mc^2 and all that). So basically, as long as you can keep harnassing solar energy, you can create anything, thus eliminating any form of scarcity.
For the purposes of this query, I will also assume that that level of technological advancement implies an equal level of sophistication into many other branches of science, medical (organ or appendage regeneration/reconstruction, longevity, cloning, genetic engineering etc), space travel (interstellar, at the very least), industry from the macro (robots) to nano scale (nanobots), and the capacity for many other scientific breakthroughs.
Furthermore, health care, food, education and housing are literally free in this theoretical society due to the technologies developed to automate the process (everything is "solar" powered and everything is "solar" made, at the very least a maintenance service is provided by human workers or a robot programmed to do such). The human element is not eliminated, just reduced, automating tasks that either requires long-term repetitive work or high precision operations. Basically assembly lines of objects that are either too big or too complex to convert from energy and high precision operations that require a level of attention to detail unattainable to any human . . . or both. Also, some form of mandatory service right out of school is implemented so that all citizens contribute a bare minimum to their society, everybody must work somewhere, do something, education, healthcare, military, industry, research, media, entertainment etc.
So, keeping all that in mind, how would the economy work, if it could still be called an "economy" if any demand could be met, and all the supply was provided by the sun?