SAP PUT_LATEST_DATA_INTO_LOCAL Function Module for Put tranfered data from Sapnet into local table
PUT_LATEST_DATA_INTO_LOCAL is a standard put latest data into local SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Put tranfered data from Sapnet into local table 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 put latest data into local FM, simply by entering the name PUT_LATEST_DATA_INTO_LOCAL into the relevant SAP transaction such as SE37 or SE38.
Function Group: BDL3
Program Name: SAPLBDL3
Main Program: SAPLBDL3
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PUT_LATEST_DATA_INTO_LOCAL 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 'PUT_LATEST_DATA_INTO_LOCAL'"Put tranfered data from Sapnet into local table.
EXPORTING
TABLE_NAME = "
LOCAL_NAME = "
INST_NUMBER = "
SAPNET_CHG = "
* KEY = "Character 22
TABLES
BDL_TRANSFER = "
IMPORTING Parameters details for PUT_LATEST_DATA_INTO_LOCAL
TABLE_NAME -
Data type: BDL2TRANS-SAPNETBDLOptional: No
Call by Reference: No ( called with pass by value option)
LOCAL_NAME -
Data type: BDL2TRANS-CUSTBDLOptional: No
Call by Reference: No ( called with pass by value option)
INST_NUMBER -
Data type: BDL_CLUSTL-INST_NUMBEOptional: No
Call by Reference: No ( called with pass by value option)
SAPNET_CHG -
Data type: BDL2TRANS-SAPNET_CHGOptional: No
Call by Reference: No ( called with pass by value option)
KEY - Character 22
Data type: BDL_CLUSTL-SRTFDOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for PUT_LATEST_DATA_INTO_LOCAL
BDL_TRANSFER -
Data type: BDL_CLUSTLOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for PUT_LATEST_DATA_INTO_LOCAL 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_table_name | TYPE BDL2TRANS-SAPNETBDL, " | |||
| lt_bdl_transfer | TYPE STANDARD TABLE OF BDL_CLUSTL, " | |||
| lv_local_name | TYPE BDL2TRANS-CUSTBDL, " | |||
| lv_inst_number | TYPE BDL_CLUSTL-INST_NUMBE, " | |||
| lv_sapnet_chg | TYPE BDL2TRANS-SAPNET_CHG, " | |||
| lv_key | TYPE BDL_CLUSTL-SRTFD. " |
|   CALL FUNCTION 'PUT_LATEST_DATA_INTO_LOCAL' "Put tranfered data from Sapnet into local table |
| EXPORTING | ||
| TABLE_NAME | = lv_table_name | |
| LOCAL_NAME | = lv_local_name | |
| INST_NUMBER | = lv_inst_number | |
| SAPNET_CHG | = lv_sapnet_chg | |
| KEY | = lv_key | |
| TABLES | ||
| BDL_TRANSFER | = lt_bdl_transfer | |
| . " PUT_LATEST_DATA_INTO_LOCAL | ||
ABAP code using 7.40 inline data declarations to call FM PUT_LATEST_DATA_INTO_LOCAL
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 SAPNETBDL FROM BDL2TRANS INTO @DATA(ld_table_name). | ||||
| "SELECT single CUSTBDL FROM BDL2TRANS INTO @DATA(ld_local_name). | ||||
| "SELECT single INST_NUMBE FROM BDL_CLUSTL INTO @DATA(ld_inst_number). | ||||
| "SELECT single SAPNET_CHG FROM BDL2TRANS INTO @DATA(ld_sapnet_chg). | ||||
| "SELECT single SRTFD FROM BDL_CLUSTL INTO @DATA(ld_key). | ||||
Search for further information about these or an SAP related objects