414: x_return_status := FND_API.G_FALSE;
415: END IF;
416: IF x_return_status = FND_API.G_FALSE THEN
417: -- add message to fnd_stack
418: fnd_message.Set_Name('EGO','EGO_GENERIC_MSG_TEXT');
419: fnd_message.set_token('MESSAGE', l_msg_data);
420: fnd_msg_pub.Add;
421: END IF;
422: END IF;
415: END IF;
416: IF x_return_status = FND_API.G_FALSE THEN
417: -- add message to fnd_stack
418: fnd_message.Set_Name('EGO','EGO_GENERIC_MSG_TEXT');
419: fnd_message.set_token('MESSAGE', l_msg_data);
420: fnd_msg_pub.Add;
421: END IF;
422: END IF;
423: ELSE
422: END IF;
423: ELSE
424: -- add message to fnd_stack for Bug 3352200
425: FND_MSG_PUB.INITIALIZE;
426: fnd_message.Set_Name('EGO','EGO_DUPLICATE_ROLE_FOR_GRANTEE');
427: fnd_msg_pub.Add;
428: -- end add message to fnd_stack for Bug 3352200
429: x_return_status:='F';
430: END IF;