Code: Alles auswählen.
try
{
JCoContext.begin(destination);
function1.execute(destination);
funcBapiTransactionCommit.execute(destination);
}
catch (AbapException ex)
{
...
}
catch (JCoException ex)
{
...
}
catch (Exception ex)
{
...
}
finally
{
JCoContext.end(destination);
}