Hello,

I'v this scenario:

Procedure one()
{
foreach select cod_item into v_item from item
execute procedure two(v_item);
end foreach
}

Procedure two
{
begin work

. . .
. . .

commit
}

The procedure one is aborting em second item of foreach. It's happening due begin work in procedure two.

Why this is happening?