Create mapping tables- doc details