cancel
Showing results for 
Search instead for 
Did you mean: 

BI Integrated Planning, Dataslice

Former Member
0 Kudos

Dear all,

is there a planningfunction available in Intergrated Planning to switch of and on the dataslice before and after loading?

We are asked to to this in BEx-Analyzer by creating two buttons for this.Can you tell me pls how to do this.

Thanks in advance,

Marc

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Marc,

What exactly do you mean by loading the data? Do you load the data in the same session (in the BExAnalyzer) or do you want to load the data in a new session (e.g. in the back end). A data slice is instantiated once in a session. So you see there is a difference between the possible solutions. If you stay in the same session, you need to go for exit data slices.

There is no standard planning function which deactives the check in an exit data slice. If you search this forum you will find some information about this. It is possible to write such a planning function. The question is what exactly is your requirement?

Regards Matthias Nutt

SAP Consulting Switzerland

Former Member
0 Kudos

Dear Matthias,

thanks for your reply! The scenario is as follows:

In one cube we have an actual planningversion (e.g No. 1) This version may change next month to a new one (eg. No. 2) Therefore we store old versions in an other cube like in a container. For this we use planningfunctions to copy the datas. It maybe nessesary to copy an old Version (e.g.No. 1) from the "container-cube" back to the planning-cube. Therefore we use planningfunctions. In BEx-Analyzer we created a kind of cockpit were the user can use buttons to start the Planningsequences (with the functions delete old version in first cube and copy a selected version from "container-cube").

The question is now, is there a planningfunction which we can implement into a button where the user can switch of/on dataslices before and after using the planningfunctions (delete and copy into the cube).

Thank you very much!

Regards

Marc

Former Member
0 Kudos

Hi Marc,

so what you want is more or less the following:

1. Start the BExAnalyzer and do some work

2. switch off the data slice

3. copy something

4. switch on the data slice again

This is possible if you are using exit data slices. You need to find out which data slices are (currently) used and once you have found them you need to call a method which e.g. sets an internal flag to "check" or "no-check". Now you can use this flag in method IF_RSPLS_DS_METHODS~IS_PROTECTED to determine if the data slice should be "active" or not.

Once you have done this, you can implement an exit planning function which does the above mentioned calls to your exit data slice.

Please check the following thread. It shows you how to do it

Unfortunately the code looks corrupted, but if take a look at the source code of html page, you can still see the code.

Regards Matthias Nutt

SAP Consulting Switzerland

Answers (0)