Ansicht
Dokumentation

DDIF_TTYP_ACTIVATE - DD: Interface for Activating a Table Type

DDIF_TTYP_ACTIVATE - DD: Interface for Activating a Table Type

PERFORM Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module activates ABAP Dictionary table types.

The name of the table type to be activated is passed in parameter NAME. Parameter PRID should contain an ID for the ABAP Dictionary log writer (see FURTHER_SOURCES_OF_INF).

Parameter RC returns the result of the activation. The following values are possible:
RC = 0: The table type was successfully activated
RC = 4: The table type was activated with warnings
RC > 4: The table type could not be activated

If the table type is not found or if it cannot be read, the exception NOT_FOUND is triggered. If the table type was not successfully written, the exception PUT_FAILURE is triggered.

Example

Notes

Further information

Logging:

This function module always writes a log with the name ACTTTYP in the database tables DDPRH/DDPRS. This log can be viewed in the ABAP Dictionary transaction for maintaining table types.

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

NAME
PRID
RC

Exceptions

NOT_FOUND
PUT_FAILURE

Function Group

SDIF

TXBHW - Original Tax Base Amount in Local Currency   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2467 Date: 20240523 Time: 094107     sap01-206 ( 46 ms )