Ansicht
Dokumentation
DDIF_ENQU_ACTIVATE - DD: Interface for Activating a Lock Object
TXBHW - Original Tax Base Amount in Local Currency CPI1466 during BackupThis documentation is copyright by SAP AG.
Functionality
This function module activates ABAP Dictionary lock objects.
The name of the lock object to be acstivated is defined in parameter NAME. Parameter PRID should contian an ID for the ABAP Dictionary log writer (see Further Sources of Information).
Parameter RC returns the results of the activation, where the following values are possible:
RC = 0: The lock object was activated successfully
RC = 4: The lock object was activated with warnings
RC > 4: The lock objecct could not be activated
If the lock object is not found or cannot be read, the exception NOT_FOUND is triggered. If the lock object cannot be written successffully, the exeption PUT_FAILURE is triggered.
Example
Notes
Further information
Logging:
This function module always writes a log with the name ACTENQU
You can also write the log of the activation which was started to a log which was begun in the calling
program. This log must first be closed and then opened again using the ABAP Dictionary log interface.
Use the form STDO_OPEN from program RADBTOU0 (Include Version) or RADBTOUT (for external performs) here.
After the function module call, the log of the activation is closed again with the form STDO_CLOSE. This form can also be found in RADBTOU0 or RADBTOUT.
If you do not want to add the activation log to a log which was already begun, you can enter a negative number, e.g. -2, for the log ID PRID.
If PRID = 0, the log for activation is written to all the logs already opened with STDO_OPEN.
Database COMMIT:
The module might perform a COMMIT on the operations which occurred before the call.
Authorization check:
There is no authorization check.
Parameters
NAMEPRID
RC
Exceptions
NOT_FOUNDPUT_FAILURE
Function Group
SDIFTXBHW - Original Tax Base Amount in Local Currency Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 2480 Date: 20240523 Time: 120722 sap01-206 ( 56 ms )