Ansicht
Dokumentation

NUMBER_RANGE_ENQUEUE - Number range: Lock object

NUMBER_RANGE_ENQUEUE - Number range: Lock object

ABAP Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book
Preliminary comment

This function module has been released.

The documentation is being revised so that it conforms to the requirements for released function modules.

To maintain number range object groups or intervals, the number range object must be locked for competing updates.

All exceptions are created with MESSAGE ... RAISING ... .

Example:

Object HUGO

CALL FUNCTION 'NUMBER_RANGE_ENQUEUE'
EXPORTING OBJECT = 'HUGO'
EXCEPTIONS FOREIGN_LOCK = 1
SYSTEM_FAILURE = 2.
CASE SY-SUBRC.
WHEN '1'.
* Maintenance locked
WHEN '2'.
* System error when locking
WHEN ' '.
* Lock successfully performed
ENDCASE.





Parameters

OBJECT

Exceptions

FOREIGN_LOCK
OBJECT_NOT_FOUND
SYSTEM_FAILURE

Function Group

SNR1

General Material Data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 1397 Date: 20240605 Time: 200935     sap01-206 ( 22 ms )