cancel
Showing results for 
Search instead for 
Did you mean: 

User insade Plan Book during Core Interface

Former Member
0 Kudos

Please.

Maybe somebody has the same problem.

During the Core interface run at night whe are facing some problems into the Job due users inside the Planning book.

Somebody have any solution to disable the access from the users into the Planning book in a specific time also close the Users setion that are inside the planning book.

But we have to release access only to CRONPTS user that is the CIF Runner.

Thanks a lot.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

what is your CIF doing? why is it writing to a PB where users are changing values

are they changing values into the same KF

if not,

Try to make your Planning area to KF lock and set the option of "do no lock read only KF"

then make the Kf that the CIF changes into a read only in the planning book (either in design or using a start macro)

if you cant change the above....

then

while vinods solution is elegant, if you dont have enough programming power this is what you can do

1. run a job before the CIF job runs to trigger a batch macro

this macro should set a flag in the planning books - say put value 1 in a cell somewhere in history

2. create another start macro in all your planning books which checks for this indicator - if cell =1 then make all rows output only by using the macro function row_input( ) = 0

now when the user goes into the planning book he will be in display only

3. when the CIF work is over it should release the lock by removing the KF value from that cell

Former Member
0 Kudos

Hi,

You can use the following SAP functions to create a custom program to lock or log out users from the APO System:

•SM02_DEL_MESSAGE – deletes a system message

•SM02_ADD_MESSAGE – creates a system message

•TH_POPUP – sends a windows popup screen to users

•ENQUEUE_READ – reads the lock table

•BP_EVENT_RAISE – raises a system event

•TH_DELETE_USER – logs a users off the system

Regards

Vinod

srinivas_krishnamoorthy
Active Contributor
0 Kudos

SNP Planning Area does not use Exclusive access logic unlike DP. I dont think there can be any problem with users logged onto SNP planning book while core interface is ON.

If you still want to make sure no users are logged on during some CIF run, you can always use SM04 and lock out the user. Or go to SM12 transaction and release the locks. These can be automated using CALL function code in a program. You can also use parameter ID in user profile /SAPAPO/SDP94_D_MODE (using A) to make sure no one can edit the planning book.