2323:
2324: --
2325: WHEN FND_API.G_EXC_ERROR THEN
2326: ROLLBACK TO SAVEPOINT insert_distribution_savepoint;
2327: FOR i in 1..FND_MSG_PUB.count_msg LOOP
2328: BEGIN
2329: l_msg_buf := SUBSTRB(FND_MSG_PUB.get(p_msg_index=>i,
2330: p_encoded=>FND_API.G_FALSE),
2331: 1, 2000);
2325: WHEN FND_API.G_EXC_ERROR THEN
2326: ROLLBACK TO SAVEPOINT insert_distribution_savepoint;
2327: FOR i in 1..FND_MSG_PUB.count_msg LOOP
2328: BEGIN
2329: l_msg_buf := SUBSTRB(FND_MSG_PUB.get(p_msg_index=>i,
2330: p_encoded=>FND_API.G_FALSE),
2331: 1, 2000);
2332: online_report(x_online_report_id,
2333: x_sequence,