SAP EXIT_SAPLTBLP_001 Function Module for Raw Material Valuation exit









EXIT_SAPLTBLP_001 is a standard exit sapltblp 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Raw Material Valuation exit 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 exit sapltblp 001 FM, simply by entering the name EXIT_SAPLTBLP_001 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLTBLP_001 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 'EXIT_SAPLTBLP_001'"Raw Material Valuation exit
EXPORTING
I_MATNR = "
I_WERKS = "
I_POSNR = "
I_ERFMG = "
I_ERFME = "

IMPORTING
E_MATNR = "
E_WERKS = "
E_POSNR = "
E_VALUE = "
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
TBLP_COST_POST_CREATE Post the costs for a transfer/loan movement TBLP
TBLP_GET_KALNR Get the Product Costing details
TBLP_GET_SELECTION Pulls the selected Kalnr data into gt_seltab
TBLP_GOODS_ISSUE TBLP Goods Issue to corresponding Order Reservation
TBLP_INSERT_RECORD TBLP inserts a record into the table TBLP
TBLP_LOAN_PAYBACK Payback loan - goods movement and costing
TBLP_LOCK_TABLE TBLP Function that locks the TBLP object
TBLP_MAT2MAT_TRAN_CREATE Create a material to material movement
TBLP_POPUP_TO_DISPLAY_TEXT Popup, um beliebigen Text anzuzeigen
TBLP_P_INSERT_RECORD TBLP inserts a record into the table TBLP_p
TBLP_P_UPDATE_RECORD TBLP updates a record in the table TBLP_P
TBLP_READ_CONFIG TBLP
TBLP_SET_KALNR Set the Product Costing details for Cancel/Payback
TBLP_SIMPLE_AUTHORITY_CHECK TBLP Simple authority check
TBLP_TRANSFER_LOAN_CANCEL Cancel a transfer/loan movement and costing
TBLP_TRANSFER_LOAN_CREATE Create a transfer/loan movement
TBLP_UNLOCK_TABLE TBLP Dequeue the TBLP lock object
TBLP_UPDATE_RECORD TBLP updates a record in the table TBLP

IMPORTING Parameters details for EXIT_SAPLTBLP_001

I_MATNR -

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

I_WERKS -

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

I_POSNR -

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

I_ERFMG -

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

I_ERFME -

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

EXPORTING Parameters details for EXIT_SAPLTBLP_001

E_MATNR -

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

E_WERKS -

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

E_POSNR -

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

E_VALUE -

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

Copy and paste ABAP code example for EXIT_SAPLTBLP_001 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_matnr  TYPE TBLP-MATNR, "   
lv_i_matnr  TYPE TBLP-MATNR, "   
lv_e_werks  TYPE TBLP-WERKS_S, "   
lv_i_werks  TYPE TBLP-WERKS_S, "   
lv_e_posnr  TYPE TBLP-POSNR_S, "   
lv_i_posnr  TYPE TBLP-POSNR_S, "   
lv_e_value  TYPE COEP-WTGBTR, "   
lv_i_erfmg  TYPE TBLP-ERFMG, "   
lv_i_erfme  TYPE TBLP-ERFME. "   

  CALL FUNCTION 'EXIT_SAPLTBLP_001'  "Raw Material Valuation exit
    EXPORTING
         I_MATNR = lv_i_matnr
         I_WERKS = lv_i_werks
         I_POSNR = lv_i_posnr
         I_ERFMG = lv_i_erfmg
         I_ERFME = lv_i_erfme
    IMPORTING
         E_MATNR = lv_e_matnr
         E_WERKS = lv_e_werks
         E_POSNR = lv_e_posnr
         E_VALUE = lv_e_value
. " EXIT_SAPLTBLP_001




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLTBLP_001

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 MATNR FROM TBLP INTO @DATA(ld_e_matnr).
 
"SELECT single MATNR FROM TBLP INTO @DATA(ld_i_matnr).
 
"SELECT single WERKS_S FROM TBLP INTO @DATA(ld_e_werks).
 
"SELECT single WERKS_S FROM TBLP INTO @DATA(ld_i_werks).
 
"SELECT single POSNR_S FROM TBLP INTO @DATA(ld_e_posnr).
 
"SELECT single POSNR_S FROM TBLP INTO @DATA(ld_i_posnr).
 
"SELECT single WTGBTR FROM COEP INTO @DATA(ld_e_value).
 
"SELECT single ERFMG FROM TBLP INTO @DATA(ld_i_erfmg).
 
"SELECT single ERFME FROM TBLP INTO @DATA(ld_i_erfme).
 


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!