111:
112: l_return VARCHAR2(1) ;
113:
114: BEGIN -- main begin
115: --Standard start of API savepoint
116: SAVEPOINT create_class_rank;
117:
118: --Standard call to check for call compatibility.
119: IF NOT FND_API.Compatible_API_Call(
114: BEGIN -- main begin
115: --Standard start of API savepoint
116: SAVEPOINT create_class_rank;
117:
118: --Standard call to check for call compatibility.
119: IF NOT FND_API.Compatible_API_Call(
120: l_api_version,
121: p_api_version,
122: l_api_name,
212: );
213: ELSE
214: x_return_status := l_return;
215: END IF;
216: --Standard check of p_commit.
217: IF FND_API.to_Boolean(p_commit) AND l_return = 'S' THEN
218: commit;
219: END IF;
220:
217: IF FND_API.to_Boolean(p_commit) AND l_return = 'S' THEN
218: commit;
219: END IF;
220:
221: --Standard call to get message count and if count is 1, get message info.
222: FND_MSG_PUB.Count_And_Get(
223: p_count => x_msg_count,
224: p_data => x_msg_data);
225: