Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8379

Re: How to fail a Background task and capture reason

$
0
0

There is a standard technique for generating and logging errors - CHECKPOINT groups.

 

Just create a checkpoint group in transaction SAAB. Don't forget to chose "Abort" during background processing for the ASSERT statement.

And place ASSERT in the appropriate place in your BAPI.

 

It takes some time to learn (in fact, not so much), but it can be very useful.


Viewing all articles
Browse latest Browse all 8379