Note
This step is only applicable in the development environment so does not need to be completed in any other systems in the landscape.
Open SAP transaction SM62.
Navigate to Goto > Background Events and click New.
Enter the following details:
Event: NEPTUNE_LOCK
NEPTUNE_LOCK
Description: Neptune Lock Handler
Open SAP transaction SE38.
Enter program /NEPTUNE/HANDLER_LOCKING and click Execute.
/NEPTUNE/HANDLER_LOCKING
Provide the required parameters:
Time between lock request checks (seconds): Recommended value is 2.
Background user name (mandatory): This must match the user running the background job.
Automatic lock release time (minutes): Leave blank to disable. Recommended value is 180.
Click Save and create a variant named DEFAULT.
DEFAULT
Click Save again to store the variant.
Open SAP transaction SM36.
Enter job name NEPTUNE_LOCK_HANDLER and press Enter.
NEPTUNE_LOCK_HANDLER
Configure the job step with the following:
User: Username responsible for locking/unlocking resources (must have sufficient permissions and not be subject to deletion or locking).
ABAP Program Name: /NEPTUNE/HANDLER_LOCKING
Variant: DEFAULT
Click Save.
Click Start Condition.
Select After Event and enter event NEPTUNE_LOCK.
Ensure Periodic Job is checked.
Click Save to complete the setup.
Last updated 2 months ago
Was this helpful?