SAP TB_LIMIT_MODIFY_SCREEN_ALV Function Module for Field Selection Control for Transactions Credit Limit, ALV Display
TB_LIMIT_MODIFY_SCREEN_ALV is a standard tb limit modify screen alv SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Field Selection Control for Transactions Credit Limit, ALV Display 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 modify screen alv FM, simply by entering the name TB_LIMIT_MODIFY_SCREEN_ALV into the relevant SAP transaction such as SE37 or SE38.
Function Group: TBL6
Program Name: SAPLTBL6
Main Program: SAPLTBL6
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function TB_LIMIT_MODIFY_SCREEN_ALV 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_MODIFY_SCREEN_ALV'"Field Selection Control for Transactions Credit Limit, ALV Display.
EXPORTING
IT_ATLAM = "
I_PROGNAME = "Prgrams for the Fields to Be Changed
* I_DYNNR = ' ' "Screen Number
I_DISP_MODE = "M: Maintenance, D: Display
CHANGING
CT_FIELDCAT = "
EXCEPTIONS
ENTRY_NOT_FOUND = 1
IMPORTING Parameters details for TB_LIMIT_MODIFY_SCREEN_ALV
IT_ATLAM -
Data type: TRLM_T_LAMOptional: No
Call by Reference: Yes
I_PROGNAME - Prgrams for the Fields to Be Changed
Data type: ATLSCR-PROGNAMEOptional: No
Call by Reference: Yes
I_DYNNR - Screen Number
Data type: ATLSCR-DYNNRDefault: SPACE
Optional: Yes
Call by Reference: Yes
I_DISP_MODE - M: Maintenance, D: Display
Data type: ATLSCR-DISP_MODEOptional: No
Call by Reference: Yes
CHANGING Parameters details for TB_LIMIT_MODIFY_SCREEN_ALV
CT_FIELDCAT -
Data type: SLIS_T_FIELDCAT_ALVOptional: No
Call by Reference: Yes
EXCEPTIONS details
ENTRY_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TB_LIMIT_MODIFY_SCREEN_ALV 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_it_atlam | TYPE TRLM_T_LAM, " | |||
| lv_ct_fieldcat | TYPE SLIS_T_FIELDCAT_ALV, " | |||
| lv_entry_not_found | TYPE SLIS_T_FIELDCAT_ALV, " | |||
| lv_i_progname | TYPE ATLSCR-PROGNAME, " | |||
| lv_i_dynnr | TYPE ATLSCR-DYNNR, " SPACE | |||
| lv_i_disp_mode | TYPE ATLSCR-DISP_MODE. " |
|   CALL FUNCTION 'TB_LIMIT_MODIFY_SCREEN_ALV' "Field Selection Control for Transactions Credit Limit, ALV Display |
| EXPORTING | ||
| IT_ATLAM | = lv_it_atlam | |
| I_PROGNAME | = lv_i_progname | |
| I_DYNNR | = lv_i_dynnr | |
| I_DISP_MODE | = lv_i_disp_mode | |
| CHANGING | ||
| CT_FIELDCAT | = lv_ct_fieldcat | |
| EXCEPTIONS | ||
| ENTRY_NOT_FOUND = 1 | ||
| . " TB_LIMIT_MODIFY_SCREEN_ALV | ||
ABAP code using 7.40 inline data declarations to call FM TB_LIMIT_MODIFY_SCREEN_ALV
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 PROGNAME FROM ATLSCR INTO @DATA(ld_i_progname). | ||||
| "SELECT single DYNNR FROM ATLSCR INTO @DATA(ld_i_dynnr). | ||||
| DATA(ld_i_dynnr) | = ' '. | |||
| "SELECT single DISP_MODE FROM ATLSCR INTO @DATA(ld_i_disp_mode). | ||||
Search for further information about these or an SAP related objects