Skip to Content
0
May 06, 2013 at 04:53 AM

code in end routine works but data not updated to cube

102 Views

Hi,

We have ZPS_C04 cube and given below is the code written in the end routine.

In the debug mode i can see that code works fine(Result_package populated with correct data)

But the cube contains blank values 😔..

I am not sure why this happens and this is the first time i facing this error. I am in SAP BW 7.3.

I have tried to put the code in the "transformation routine" too and it works fine there in simulation mode but data is not added to the cube.

Any help.

LOOP AT RESULT_PACKAGE ASSIGNING <RESULT_FIELDS>.

IF <RESULT_FIELDS>-COSTELMNT = '0000409001'.

<RESULT_FIELDS>-/BIC/ZEQINTRE = 'INTERNAL'.

ELSEIF <RESULT_FIELDS>-COSTELMNT = '0000409002'.

<RESULT_FIELDS>-/BIC/ZEQINTRE = 'EXTERNAL'.

ENDIF.

ENDLOOP.