SAP TB_LIMIT_SUMS_ENQUEUE Function Module for Lock Totals Record for Single Transaction Check









TB_LIMIT_SUMS_ENQUEUE is a standard tb limit sums enqueue SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Lock Totals Record for Single Transaction Check 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 sums enqueue FM, simply by entering the name TB_LIMIT_SUMS_ENQUEUE into the relevant SAP transaction such as SE37 or SE38.

Function Group: TBL0
Program Name: SAPLTBL0
Main Program: SAPLTBL0
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function TB_LIMIT_SUMS_ENQUEUE 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_SUMS_ENQUEUE'"Lock Totals Record for Single Transaction Check
EXPORTING
* I_MANDT = SY-MANDT "Client
* I_SLA = "Limit Type
* I_RLV = "Limit Key
* I_SLH = "Hierarchy Level
* I_SLI = "Status
* I_DLI = "Determination Date
* I_VLI = "Validity Date
* I_WAIT = ' ' "Wait?

IMPORTING
E_RTC = "Return code
.



IMPORTING Parameters details for TB_LIMIT_SUMS_ENQUEUE

I_MANDT - Client

Data type: SY-MANDT
Default: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SLA - Limit Type

Data type: VTBLIS-SLA
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RLV - Limit Key

Data type: VTBLIS-RLV
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SLH - Hierarchy Level

Data type: VTBLIS-SLH
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SLI - Status

Data type: VTBLIS-SLI
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DLI - Determination Date

Data type: VTBLIS-DLI
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VLI - Validity Date

Data type: VTBLIS-VLI
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WAIT - Wait?

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for TB_LIMIT_SUMS_ENQUEUE

E_RTC - Return code

Data type: SY-SUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for TB_LIMIT_SUMS_ENQUEUE 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_e_rtc  TYPE SY-SUBRC, "   
lv_i_mandt  TYPE SY-MANDT, "   SY-MANDT
lv_i_sla  TYPE VTBLIS-SLA, "   
lv_i_rlv  TYPE VTBLIS-RLV, "   
lv_i_slh  TYPE VTBLIS-SLH, "   
lv_i_sli  TYPE VTBLIS-SLI, "   
lv_i_dli  TYPE VTBLIS-DLI, "   
lv_i_vli  TYPE VTBLIS-VLI, "   
lv_i_wait  TYPE VTBLIS. "   SPACE

  CALL FUNCTION 'TB_LIMIT_SUMS_ENQUEUE'  "Lock Totals Record for Single Transaction Check
    EXPORTING
         I_MANDT = lv_i_mandt
         I_SLA = lv_i_sla
         I_RLV = lv_i_rlv
         I_SLH = lv_i_slh
         I_SLI = lv_i_sli
         I_DLI = lv_i_dli
         I_VLI = lv_i_vli
         I_WAIT = lv_i_wait
    IMPORTING
         E_RTC = lv_e_rtc
. " TB_LIMIT_SUMS_ENQUEUE




ABAP code using 7.40 inline data declarations to call FM TB_LIMIT_SUMS_ENQUEUE

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 SUBRC FROM SY INTO @DATA(ld_e_rtc).
 
"SELECT single MANDT FROM SY INTO @DATA(ld_i_mandt).
DATA(ld_i_mandt) = SY-MANDT.
 
"SELECT single SLA FROM VTBLIS INTO @DATA(ld_i_sla).
 
"SELECT single RLV FROM VTBLIS INTO @DATA(ld_i_rlv).
 
"SELECT single SLH FROM VTBLIS INTO @DATA(ld_i_slh).
 
"SELECT single SLI FROM VTBLIS INTO @DATA(ld_i_sli).
 
"SELECT single DLI FROM VTBLIS INTO @DATA(ld_i_dli).
 
"SELECT single VLI FROM VTBLIS INTO @DATA(ld_i_vli).
 
DATA(ld_i_wait) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!