Question: it is supposed to grammar?
Answer: Supposed to is part of a modal verb phrase meaning expected to or required to. Although suppose to crops up frequently in casual speech and writing, it should not be used in that sense. Suppose (without the d) should only be used as the present tense of the verb meaning to assume (something to be true).