2012 Feb 23 9:26 AM
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!
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!
2012 Feb 23 9:34 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |