SAP TB_LIMIT_TRANSACTION_CLEAR_GS Function Module for Find Old Global Collateral Data to be Deleted
TB_LIMIT_TRANSACTION_CLEAR_GS is a standard tb limit transaction clear gs SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Find Old Global Collateral Data to be Deleted processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for tb limit transaction clear gs FM, simply by entering the name TB_LIMIT_TRANSACTION_CLEAR_GS into the relevant SAP transaction such as SE37 or SE38.
Function Group: TBL2
Program Name: SAPLTBL2
Main Program: SAPLTBL2
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function TB_LIMIT_TRANSACTION_CLEAR_GS pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'TB_LIMIT_TRANSACTION_CLEAR_GS'"Find Old Global Collateral Data to be Deleted.
EXPORTING
IR_SLI = "
I_DLI = "Date and Time, Current (Application Server) Date
IT_GL_SEC = "
IT_GL_SEC_EV = "
CHANGING
CT_VTBLISU = "
CT_VTBLSEU = "
CT_VTBLSIU = "
CT_VTBLSDU = "
EXCEPTIONS
ERROR_UNDEFINED = 1
IMPORTING Parameters details for TB_LIMIT_TRANSACTION_CLEAR_GS
IR_SLI -
Data type: TRLM_T_R_SLIOptional: No
Call by Reference: Yes
I_DLI - Date and Time, Current (Application Server) Date
Data type: SYST-DATUMOptional: No
Call by Reference: Yes
IT_GL_SEC -
Data type: TRLM_T_GL_SECOptional: No
Call by Reference: Yes
IT_GL_SEC_EV -
Data type: TRLM_T_GL_SEC_EVOptional: No
Call by Reference: Yes
CHANGING Parameters details for TB_LIMIT_TRANSACTION_CLEAR_GS
CT_VTBLISU -
Data type: TRLM_T_LIS_EXTOptional: No
Call by Reference: Yes
CT_VTBLSEU -
Data type: TRLM_T_LSE_EXTOptional: No
Call by Reference: Yes
CT_VTBLSIU -
Data type: TRLM_T_LSI_EXTOptional: No
Call by Reference: Yes
CT_VTBLSDU -
Data type: TRLM_T_LSD_EXTOptional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR_UNDEFINED - Other Error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for TB_LIMIT_TRANSACTION_CLEAR_GS Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_ir_sli | TYPE TRLM_T_R_SLI, " | |||
| lv_ct_vtblisu | TYPE TRLM_T_LIS_EXT, " | |||
| lv_error_undefined | TYPE TRLM_T_LIS_EXT, " | |||
| lv_i_dli | TYPE SYST-DATUM, " | |||
| lv_ct_vtblseu | TYPE TRLM_T_LSE_EXT, " | |||
| lv_it_gl_sec | TYPE TRLM_T_GL_SEC, " | |||
| lv_ct_vtblsiu | TYPE TRLM_T_LSI_EXT, " | |||
| lv_ct_vtblsdu | TYPE TRLM_T_LSD_EXT, " | |||
| lv_it_gl_sec_ev | TYPE TRLM_T_GL_SEC_EV. " |
|   CALL FUNCTION 'TB_LIMIT_TRANSACTION_CLEAR_GS' "Find Old Global Collateral Data to be Deleted |
| EXPORTING | ||
| IR_SLI | = lv_ir_sli | |
| I_DLI | = lv_i_dli | |
| IT_GL_SEC | = lv_it_gl_sec | |
| IT_GL_SEC_EV | = lv_it_gl_sec_ev | |
| CHANGING | ||
| CT_VTBLISU | = lv_ct_vtblisu | |
| CT_VTBLSEU | = lv_ct_vtblseu | |
| CT_VTBLSIU | = lv_ct_vtblsiu | |
| CT_VTBLSDU | = lv_ct_vtblsdu | |
| EXCEPTIONS | ||
| ERROR_UNDEFINED = 1 | ||
| . " TB_LIMIT_TRANSACTION_CLEAR_GS | ||
ABAP code using 7.40 inline data declarations to call FM TB_LIMIT_TRANSACTION_CLEAR_GS
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single DATUM FROM SYST INTO @DATA(ld_i_dli). | ||||
Search for further information about these or an SAP related objects