Skip to Content
author's profile photo Former Member
Former Member

Deactivating data slices via an exit function?

Hi all,

I want to set up some initialization function to prefill a Forecast cube, which holds some data slices. My idea was to deactivate all slices in step 1, then do the copy, then activate all slices again. Does anyone know if this is possible from a BPS exit function?

Many thanks in advance,

Andreas

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 13, 2006 at 01:02 PM

    Hallo Andreas,

    Definitely you could (de)activiate selected (or all) dataslices anytime. You have to have these information:

    1) Planningarea

    2) List of data slices

    And with help of table "UPC_DATASLICE" you could at runtime activate/deactivate the selected dataslices.

    Best regards!

    <b>P.S.</b>

    <i>I wrote a report that automated the activation/deactivation of data slices! Write back with mail id when you wish to have it</i>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 09:23 AM

    Hi Andreas,

    If i understand your requirements right...you need a functionality to deactivate your data slice first, do some operations and activate it again through a BPS exit function.So in order to achieve this you could have an Exit type variable in the Data slice selection ,which would set/reset a gloabal/local flag which you intern activate/deactivate your data slice. i hope i am clear ...i had a similar requirement and i implmented it this way.

    regards

    Sai

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 20, 2006 at 03:46 PM

    Would it be possible to also get a copy of the code for activation/deactivation of data slices. I would like to enable users to dynamically set / reset the data slices via the web. ( re: above posting from depr ).

    email: stevensrl@rogers.com

    Thanks very much.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 06, 2008 at 12:10 PM

    Depar,

    Could I have this code also please.

    manuelt.luis@gmail.com

    Thanks a lot.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 13, 2008 at 04:41 PM

    Hi,

    another solution is to implement a new planning function type for either locking ur unlocking a certain set of keyfigures. A runtime version is used in a planning function. Using this kind of extension one could write the keyfigures to lock into a DSO with direct write access. A derived version of the sample BASE_EXIT that one can use asa means of a customer exit is then enabled as a dataslice. This extension will lookup the proper values in the DSO and return "locked" or "not locked" whenever a row is accessed. Using a DSO for storing this information, one can also monitor the lock state of a certain set of keyfigures by adding it to a multiprovider.

    Cheers,

    Yann

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.