cancel
Showing results for 
Search instead for 
Did you mean: 

data slice activated while executing the Planning folder

Former Member
0 Kudos
56

Dear all,

Please share with me on how we can automate the data slice while executing the planning folder,thanks

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Ok... I found the solution.

Simply add the following line to the activation /deactivation code (like the one in this thread)

call function 'UPC_DATASLICE_DESTROY'.

-


This clears the buffer and makes BPS read the dataslices again, locking the data immediatly, just as I wanted.

Assign points if it was helpful.

Answers (3)

Answers (3)

0 Kudos

He is referring to this thread: where Jesus said he solved the issue. I need this solution too.

I created two FM to activate / deactivate data slices with a planning function while you are inside a planning folder. When you press the button the dataslice activates, but not in the current session of the planning folder, only the next time you execute the folder. The answer would be to include in the code of the FM some way to re-read the Data Slices, so when the Dataslice is activated/deactivated, the change is applied instantly in the current session of the planning folder.

If Jesus or anyone comes with the solution, it would be very helpful. I'll award points.

Thanks

Message was edited by:

Manuel García Prieto

Former Member
0 Kudos

hi

i think as per ur statement automation means once u enter data data slices has to be activated automatically. Is it so.

It that is the requirement then u need to write a exit function or fox program for activating.

U have to call the function once u complete all planning and approved.

tx

srin

former_member93896
Active Contributor
0 Kudos

Hello Coronel,

what do you mean by "automate the data slice"?

Regards,

Marc

SAP NetWeaver RIG