469: x_return_status := FND_API.G_FALSE;
470: END IF;
471: IF x_return_status = FND_API.G_FALSE THEN
472: -- add message to fnd_stack
473: fnd_message.Set_Name('EGO','EGO_GENERIC_MSG_TEXT');
474: fnd_message.set_token('MESSAGE', l_msg_data);
475: fnd_msg_pub.Add;
476: END IF;
477: END IF;
470: END IF;
471: IF x_return_status = FND_API.G_FALSE THEN
472: -- add message to fnd_stack
473: fnd_message.Set_Name('EGO','EGO_GENERIC_MSG_TEXT');
474: fnd_message.set_token('MESSAGE', l_msg_data);
475: fnd_msg_pub.Add;
476: END IF;
477: END IF;
478: ELSE
477: END IF;
478: ELSE
479: -- add message to fnd_stack for Bug 3352200
480: FND_MSG_PUB.INITIALIZE;
481: fnd_message.Set_Name('EGO','EGO_DUPLICATE_ROLE_FOR_GRANTEE');
482: fnd_msg_pub.Add;
483: -- end add message to fnd_stack for Bug 3352200
484: x_return_status:='F';
485: END IF;