Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Raising cx_rsrout_abort exception in Start Routine of Transformations

Hello Abap OO Gurus:

This is likely a very simple question but I'm brand new to Abap OO and despite reading and searching, I cannot convert some old abap code used in the start routine of business content in BW to be used in the Transformation start routine in SAP BI.

My Start Routine inside a BI 7.0 transformation rule has a method declared like this:

<b>METHODS

start_routine

IMPORTING

request type rsrequest

datapackid type rsdatapid

EXPORTING

monitor type rstr_ty_t_monitors

CHANGING

SOURCE_PACKAGE type tyt_SC_1

RAISING

cx_rsrout_abort.</b>

The Exception "cx_rsrout_abort" has replaced what used to be a simple ABORT data field. The <u>old code I want to replace was just "abort = 1'.</u>

But now it seems like I have to use TRY... ENDTRY statement to raise Exception "cx_rsrout_abort". I am inside the abap code of the Method "start routine"

METHOD start_routine.

*=== Segments ===

Could some kind soul educate me as to how to raise the Exception "cx_rsrout_abort" inside the Method start routine?

thanks in advance, David

Former Member
Not what you were looking for? View more on this topic or Ask a question