Skip to Content
0
Former Member
Jan 19, 2012 at 11:13 AM

BO XI4.1 - ChangeUniverse for webi document

46 Views

Hello,

I have the following issue: Basically, I have a webi document whereby I want to change its universe. I have already the datasource of the current webi:

IWebiDocDataProvider lCurProvider = myDocDPs.item(0);

String lSourceUnvID = lCurProvider.getDataSourceID();

Now, I want to do something like :

((DataProviders) lCurProvider).changeUniverse(lSourceUnvID, lDestUnivID, true);

however, it does not work. Does anyone have any idea how to change the universe for the webi doc?

Thanx for your response

Edited by: Jean-Philippe Golay on Jan 19, 2012 12:32 PM