on 2016 Jun 10 12:03 PM
Hi,
How to prevent transformation from overwriting existing value in the given field when there's nothing to load ie loaded value is initial or "" WHILE LOADING transactional data from 0figl_O14 to data cube.
I tried to use code like this
but RAISE EXCEPTION TYPE CX_RSOUT_SKIP_RECORD instruction can't be used as it causes not loading entire record.
What can be use instead of that RAISE... instruction ???
Regards, Leszek
Request clarification before answering.
Hi Leslaw,
Use a continue statment in the else part this helps to skip the loop iteration.
See example below for make it clear how this works.
CONTINUE statement in ABAP is used for terminating the current loop iteration and start the next iteration. This statement can only used with the loops like
See the following sample code and its result for better understand.
DO 10 TIMES.
IF SY-INDEX >= 0 AND SY-INDEX <= 6. CONTINUE.
WRITE: SY-INDEX, ‘ ‘.
ENDIF.
…
ENDDO.
Its output will be:
7 8 9 10.
Thanks,
Madhu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
41 | |
15 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.