cancel
Showing results for 
Search instead for 
Did you mean: 

how to lock with Dataslice by exit

Former Member
0 Kudos

Hello,

BPS system release : 3.1B

I need to know how lock data with dataslice by using a exit function.

I created two exit function to a activate end deactivate a dataslice and a copy function to put may data in a validation status.

Execution order :

- deactivate dataslice

- copy function to put data in

- activate dataslice

When I tested those functions in previous order, in my planning level, my copy function doesn't work.It works only when I save model, leave BPS0 transaction, reload BPS0 transaction and, now the copy function is possible.

Objective:

Put these functions into a planning sequence to lock data.

Does my problem due to

- SEM release?

- a missing function to save model or check to permit copy function?

- or else ?

Thank you for your help.

Ulrich

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member93896
Active Contributor
0 Kudos

Hi Ulrich,

I assume your exit changes only the inactive flag in table UPC_DATASLICE.

The system buffers the state of the dataslices in memory when you go into BPS. Therefore your exit has no effect.

I suggest to use a user-specific or exit variable in the dataslice instead. This way you can allow changes by certain users while data is locked for others.

Regards,

Marc

SAP NetWeaver RIG