187: -- Check number of iterations.
188:
189: IF p_iteration > OE_GLOBALS.G_MAX_DEF_ITERATIONS THEN
190:
191: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
192: THEN
193:
194: FND_MESSAGE.SET_NAME('OE','OE_DEF_MAX_ITERATION');
195: OE_MSG_PUB.Add;
191: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
192: THEN
193:
194: FND_MESSAGE.SET_NAME('OE','OE_DEF_MAX_ITERATION');
195: OE_MSG_PUB.Add;
196:
197: END IF;
198:
199: RAISE FND_API.G_EXC_ERROR;