Data Slices - function.

Question: I would like to create a function that will lock data (data slice) by fiscal year.

Is there a function that can be created to automate this process or is locking data (data slices) a purely manual process?

Thanks,

sk

Answer:
I have the same need.
Any idea?

Thanks

Mary

Answer:
As far as I know data slices is a purely manual process only. Not sure if there are any enhancement planned for SEM 3.5 or 4.0.

Answer:
Anyone try tracing this for SAP Function Modules. Once you find the process you might be able to automate it with ABAP...

Good Luck

Answer:
There are a number of function modules starting with UPC_Dataslice_* and you might want to take a look at some of them if you know ABAP well...

regards, Mary

Answer:
There are a few options depending on the requirements.

1. Dataslice activation is simply an X in a table. We have written a program to update this setting.

Make sure the data slice is created. Then the program only needs to change the activation status. The thing to watch out for here, though is that the data slice is buffered (like everything else in BPS). Therefore, if a user is in the data, it will not activate the data slice for that user until they exit BPS0 and / or UPSPL.

2. Create a user exit variable for Fiscal Year. The user exit variable reads a Ztable. Update the Ztable through an SM30 type Ztransaction. Put this user exit variable in the data slice. Leave the data slice active all the time. Just update the table.

Answer:
In a specific table is it possible to defined the link with a specific user?
Regards,
M.

Answer:
you mean only activate the dataslice for a specific user? i do not know without looking, but would speculate no.

however, you could create a user specific variable for fiscal year and use the other option.

Answer:
bmbinford
How is this ZTABLE created, I mean what are the fields I need to have, and how is it linked to a dataslice I created.
Appreciate your thoughts on this.
Regards
McGalln

Answer:
try something like this (just a hypothesis)...

create a user exit variable for fiscal year.
put this variable in your dataslice.
activate the dataslice.

user exit variable:
the user exit variable will need to read a ztable. it depends on how generic you want to make the table and exit (e.g. you could use this for many different characteristics). but i would put in planning area, variable technical name, user id, and characteristic value from characteristic value to.
when the exit is triggered, it would go out to the ztable and look for itself (e.g. variable YEAREXIT looks in the table for the word YEAREXIT). then it would look for the user's name and the corresponding values for which it should be locked. it would then return these values to the user exit variable, which would engage the dataslice.

you'd have to validate what would happen if the user variable returned an initial value. but i think you would be ok there.

Answer:
Hi

This is good!

I think this is the table UPC_DATASLICE to set/reset

Thanks

akawshik

Answer:
Hi,
Could you give me the list of the tables and variables used as well as the piece of code.
I have the same need and I hevn't found yet the solution.
thanks in advance.
Maryl

Answer:
Does anybody nows the name of the tabel with the values of the Fields with are included in the Slice.

I want to update this values automaticly by a programm, in statt of manual update of the values.

Background: we have > 300 companies. and we want to close per commpany the data. And 1 Slice defined.

Answer:
Why not define a variable for the Company / Company Code and set its value thru a program (as suggested previously in this message) ?
_________________
boonchai

Answer:
I have at the moment one slice for all the companies.
In the example described before, there was also one slice wich you can turn on and off, by setting the X in the tabel.
In my case i have also one slice, but i have defined wich companys are 'blocked".

I can define for every company a slice like desribed before, or i can/want define one slice with automatic update of the blokked companies.

So, does somebody knows how I can manipulate the system.
Copyright ?2007 - 2008 www.jt77.com