Skip to Content
0
Former Member
Jun 27, 2008 at 08:15 PM

Raising Exception

26 Views

Hello All,

I need to convert the following lines of code into BI. I need to raise exception CX_RSROUT_SKIP_RECORD.

Could your please tell me how to substitute the former with RETURNCODE =0.

*The following code updates result if recordmode is afterimage else it

*skips the record

*

*

If SOURCE_FIELDS-RECORDMODE = ''.

RESULT = SOURCE_FIELDS - /BIC/ZCUSTOMER.

  • The result is updated since returncode= 0

*returncode = 0.

else.

  • returncode <> 0.

*RAISE EXCEPTION TYPE CX_RSROUT_SKIP_RECORD (for key fields) for BI

RAISING EXCEPTION TYPE cx_rsrout_skip_record. *** how to use this***

endif.

Thanks

Raj