Hello All,
I have got two infocubes (a standard and a realtime cube). I am trying to push data from the standard cube to the real time cube based on a fox formula.
Not all the characteristics in standard cube are present in real time. For example, the tech name of field Account in the std. cube is Account and the same field in the real time cube is Z8D6W99. The code has been written as shown below.
Requirement is to push the keyfig value from std, cube to realtime cube.
Below are the settings maintained:
Fields to be changed setting has been enabled on the fields - Z8D6W99 , Account & Infoprovider.
Operand Display {Key fig Name, Account, Infoprovider, Account}
Code:
Data A_Account type Account.
Data A_Infoprovider type 0Infoprov.
Data R_Account type Z8D6W99.
Data R_Infoprovider type 0Infoprov.
Foreach A_Account in refdata.
if A_infoprovider = 'Std. Cube'.
{RT_Keyfig, R_Account, Realtime cube, #} = {Std_Keyfig, #,std.cube, A_Account}.
Endif.
Endfor.
The function reads the records but generates 0 records. Also, as the account field's tech name is not the same between the cubes, the function is not working as expected.
I am trying to get my logic work as expected, kindly share your thoughts.
Regards,
Vinoth