SAP GET_TAB_DATA_FOR_LOCKBOX Function Module for NOTRANSL: Liest die Customizingtabellen fuer das Lockbox-Verfahren









GET_TAB_DATA_FOR_LOCKBOX is a standard get tab data for lockbox SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Liest die Customizingtabellen fuer das Lockbox-Verfahren 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 get tab data for lockbox FM, simply by entering the name GET_TAB_DATA_FOR_LOCKBOX into the relevant SAP transaction such as SE37 or SE38.

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



Function GET_TAB_DATA_FOR_LOCKBOX 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 'GET_TAB_DATA_FOR_LOCKBOX'"NOTRANSL: Liest die Customizingtabellen fuer das Lockbox-Verfahren
EXPORTING
* I_BANKL = ' ' "
* I_BANKN = ' ' "
* I_FORMAT = 'BAPI' "Tape Record Format

IMPORTING
E_KTOPL = "
E_BUKRS = "
E_WAERS = "Currency Key
E_T049A = "
E_T049B = "

EXCEPTIONS
INPUT_WRONG = 1 T049A_NOT_FOUND = 2 T049B_NOT_FOUND = 3 T001_NOT_FOUND = 4
.



IMPORTING Parameters details for GET_TAB_DATA_FOR_LOCKBOX

I_BANKL -

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

I_BANKN -

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

I_FORMAT - Tape Record Format

Data type: T049B-FORMT
Default: 'BAPI'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for GET_TAB_DATA_FOR_LOCKBOX

E_KTOPL -

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

E_BUKRS -

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

E_WAERS - Currency Key

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

E_T049A -

Data type: T049A
Optional: No
Call by Reference: Yes

E_T049B -

Data type: T049B
Optional: No
Call by Reference: Yes

EXCEPTIONS details

INPUT_WRONG -

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

T049A_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

T049B_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

T001_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for GET_TAB_DATA_FOR_LOCKBOX 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_ktopl  TYPE T001-KTOPL, "   
lv_i_bankl  TYPE T012-BANKL, "   SPACE
lv_input_wrong  TYPE T012, "   
lv_e_bukrs  TYPE T001-BUKRS, "   
lv_i_bankn  TYPE T012K-BANKN, "   SPACE
lv_t049a_not_found  TYPE T012K, "   
lv_e_waers  TYPE T001-WAERS, "   
lv_i_format  TYPE T049B-FORMT, "   'BAPI'
lv_t049b_not_found  TYPE T049B, "   
lv_e_t049a  TYPE T049A, "   
lv_t001_not_found  TYPE T049A, "   
lv_e_t049b  TYPE T049B. "   

  CALL FUNCTION 'GET_TAB_DATA_FOR_LOCKBOX'  "NOTRANSL: Liest die Customizingtabellen fuer das Lockbox-Verfahren
    EXPORTING
         I_BANKL = lv_i_bankl
         I_BANKN = lv_i_bankn
         I_FORMAT = lv_i_format
    IMPORTING
         E_KTOPL = lv_e_ktopl
         E_BUKRS = lv_e_bukrs
         E_WAERS = lv_e_waers
         E_T049A = lv_e_t049a
         E_T049B = lv_e_t049b
    EXCEPTIONS
        INPUT_WRONG = 1
        T049A_NOT_FOUND = 2
        T049B_NOT_FOUND = 3
        T001_NOT_FOUND = 4
. " GET_TAB_DATA_FOR_LOCKBOX




ABAP code using 7.40 inline data declarations to call FM GET_TAB_DATA_FOR_LOCKBOX

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 KTOPL FROM T001 INTO @DATA(ld_e_ktopl).
 
"SELECT single BANKL FROM T012 INTO @DATA(ld_i_bankl).
DATA(ld_i_bankl) = ' '.
 
 
"SELECT single BUKRS FROM T001 INTO @DATA(ld_e_bukrs).
 
"SELECT single BANKN FROM T012K INTO @DATA(ld_i_bankn).
DATA(ld_i_bankn) = ' '.
 
 
"SELECT single WAERS FROM T001 INTO @DATA(ld_e_waers).
 
"SELECT single FORMT FROM T049B INTO @DATA(ld_i_format).
DATA(ld_i_format) = 'BAPI'.
 
 
 
 
 


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!