cancel
Showing results for 
Search instead for 
Did you mean: 

Update different infocubes in the same UJ_CUSTOM_LOGIC BADI

Former Member
0 Kudos

Hi all,

I have to implement a UJ_CUSTOM_LOGIC BADI. In this BADI I have to write data in two different cubes inserting registers in CT_DATA. Is that possible in one BADI?

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186338
Active Contributor

Yes, it's possible using lo_ujo_wb = cl_ujo_wb_factory=>create_write_back() and then lo_ujo_wb->write_back(...

Please read: https://www.sap.com/documents/2015/08/6c91e080-5b7c-0010-82c7-eda71af511fa.html

Also, please add the tag to your question:

SAP Business Planning and Consolidation, version for SAP NetWeaver

former_member186338
Active Contributor
0 Kudos

Is it clear?

Former Member
0 Kudos

Yes, it's clear, but I have a dude. In other BADIs I have had to fill the CT_DATA changing table but in those cases only worked with one infocube. Is not necessary to fill it in this case with your solution?

Thank you.

former_member186338
Active Contributor

Ct_data is used for current model only. If you want to write to not current model then write back method has to be used. For current model both methods can be used. Please test yourself.