Skip to Content
0
Apr 13, 2018 at 10:30 AM

Raise an exception to stop extraction but transfer DataSource Log

69 Views

I added some checks to an enhanced DataSource and like to stop extraction if wrong data is detected.

I raise the exception rsap_badi_exit_error which is included in the BADI interface, but this runs into a dump if I test it in RSA3. So is there another way to stop extraction without creating a dump because I write the error lines into the log which is not visible if the dump occurs?

Cheers,

Nils

BADI Implementation description:

https://blogs.sap.com/2014/03/27/implementing-extraction-enhancement-using-sapi-badi-encapsulation-via-enhancement-spot/