Data in IDOc is stored in segments, the output from Idoc is obtained by reading the data stored in its respective segments.