Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Returncode 4, CX_RSROUT_SKIP_RECORD

Former Member
0 Likes
316

Hi,

as a ABAP-newbie I have a question concerning an old ABAP-code; the code is in a key figure routine in a update rule:

IF COMM_STRUCTURE-ourtype(7) <> 'ABC'.
    RETURNCODE = 4.
    EXIT.
  ELSE.
    RESULT = COMM_STRUCTURE-AMOUNT.
    RETURNCODE = 0.
    EXIT.
  ENDIF.

  RETURNCODE = 0.
  ABORT = 0.

As we now have a newer BW release version it seems that we have to use the exception CX_RSROUT_SKIP_RECORD instead of using returnocode = 4.

However, I don't figure out how to use this exception in this coding...

Could someone give me a hint?

Thanks!

1 REPLY 1
Read only

Former Member
0 Likes
271

Look at help for ABAP keyword

RAISE EXCEPTION

Regards,

Klaus