on 2008 Jun 27 9:15 PM
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
Resolved.
The following is the code
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
RAISE EXCEPTION TYPE cx_rsrout_skip_record. " This will skip the record
endif.
Thanks
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.