Hello everyone,
this is my first post, I hope it's ok 😊
I am really new to ABAP since I have never used it before and I have a problem, I need to write a BADI wich when i use the EPMSAVEDATA function into Excel to save data into an infocube is supposed to write those data also in another Cube but I can't manage to do it (and I have to do it with a badi cannot use Excel+Vba as always did.).
The badi I have wrote is very simple and is:
CALL FUNCTION 'RSDRI_CUBE_WRITE_PACKAGE'
EXPORTING
I_INFOCUBE = '/CPMB/ZGIXZJW'
* I_CURR_CONVERSION = RS_C_TRUE
* I_NCUM_INIT = RS_C_FALSE
* I_MDATA_CHECK = RS_C_FALSE
* I_DELTA = RS_C_FALSE
* IMPORTING
* E_REQUID =
* E_RECORDS =
* E_TS_MSG =
CHANGING
c_t_data = ct_data.
then I put those badi into DEFAULT.LFG scrypt in that way
*START_BADI SIDIPROVA
WRITE=ON
*END_BADI
but it's not working.
I think the problem is in the badi itself because I tried to make it do a straight write into a bw table and it works.
Can anyone help me with it please or tell me how to write a badi to write the EPMSAVEDATA target into 2 cubes?
many thanks to everyone.