Ansicht
Dokumentation

DDIF_TABT_ACTIVATE - DD: Interface for activating the technical settings of a table

DDIF_TABT_ACTIVATE - DD: Interface for activating the technical settings of a table

BAL_S_LOG - Application Log: Log header data   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module activates the technical settings of ABAP Dictionary tables.

The name of the table for which the technical settings should be activated is passed in parameter NAME. Parameter PRID must contain 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 should be distinguished:
RC = 0: The technical settings were successfully activated
RC = 4: The technical settings were activated with warnings
RC > 4: The technical settings could not be activated

If the technical settings are not found or cannot be read, the exception NOT_FOUND is triggered. If the technical settings are not successfully written, the exception PUT_FAILURE ist triggered.

Example

Notes

Further information

Logging:

This function module always writes a log with the name ACTTABT in database tables DDPRH/DDPRS (where is the name of the table whose technical settings should be activated). You can look at this log in the ABAP Dictionary maintenance transaction for technical settings.

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:

It is assumed that the user has authorization to activate the technical settings. Parameter AUTH_CHK can also be used to define if there should be an authorization check should database operations be necessary.





Parameters

AUTH_CHK
NAME
PRID
RC

Exceptions

NOT_FOUND
PUT_FAILURE

Function Group

SDIF

Vendor Master (General Section)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2887 Date: 20240523 Time: 100926     sap01-206 ( 60 ms )