SAP L_TO_CONFIRM_DIFF_ALLOWED Function Module for NOTRANSL: Prüft, ob die Differenzangabe bei TA Quittierung erlaubt ist









L_TO_CONFIRM_DIFF_ALLOWED is a standard l to confirm diff allowed 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: Prüft, ob die Differenzangabe bei TA Quittierung erlaubt ist 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 l to confirm diff allowed FM, simply by entering the name L_TO_CONFIRM_DIFF_ALLOWED into the relevant SAP transaction such as SE37 or SE38.

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



Function L_TO_CONFIRM_DIFF_ALLOWED 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 'L_TO_CONFIRM_DIFF_ALLOWED'"NOTRANSL: Prüft, ob die Differenzangabe bei TA Quittierung erlaubt ist
EXPORTING
* IV_CHECK_DIFKZ = ' ' "
* IV_KZDIF = "Difference Indicator
* IV_NDIFA = "Destination difference quantity in stockkeeping unit
* IV_HUENT = ' ' "Indicator: Handling unit will be withdrawn completely
* IV_KOMIM = ' ' "Adopt Pick Quantity as Del. Qty in Delivery / Post GI
IS_LTAK = "WM Transfer Order Header
IS_TAP = "
* IS_HUKP = "Work Structure for Handling Unit Header

TABLES
* IT_HUPO = "Work Table for Shipping Unit Item

EXCEPTIONS
INPUT_ERROR = 1 DIFF_NOT_ALLOWED = 2
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLL03A_001 Internal Putaway Strategy: Find Storage Bin
EXIT_SAPLL03A_002 Internal Putaway Strategy: Check Specified Storage Bin
EXIT_SAPLL03A_003 Internal Putaway Strategy: Update New Items in Internal Tables
EXIT_SAPLL03A_004 Internal Putaway Strategy: Update Internal Tables of Deleted Items
EXIT_SAPLL03A_005 Internal Stock Removal Strategy: Determine and Sort Stocks
EXIT_SAPLL03A_006 Internal Stock Removal Strategy: Check Default Bin
EXIT_SAPLL03A_007 Internal Stock Removal Strategy: Update Internal Tables of New Items
EXIT_SAPLL03A_008 Internal Stock Removal Strategy: Update Internal Tables of Deleted Items
EXIT_SAPLL03A_009 Overdelivery and if Necessary Underdelivery Via User Exit
EXIT_SAPLL03A_010 Exit: Calculation of Total Planned TO Processing Time
EXIT_SAPLL03A_011 Adjustment of Planned TO Item Processing Time for TO Confirmation
EXIT_SAPLL03A_012 Adjustment of Transfer Order Split for Transfer Order Creation
EXIT_SAPLL03A_013 User Exit for Picking: Strict FIFO

IMPORTING Parameters details for L_TO_CONFIRM_DIFF_ALLOWED

IV_CHECK_DIFKZ -

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

IV_KZDIF - Difference Indicator

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

IV_NDIFA - Destination difference quantity in stockkeeping unit

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

IV_HUENT - Indicator: Handling unit will be withdrawn completely

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

IV_KOMIM - Adopt Pick Quantity as Del. Qty in Delivery / Post GI

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

IS_LTAK - WM Transfer Order Header

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

IS_TAP -

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

IS_HUKP - Work Structure for Handling Unit Header

Data type: VEKPVB
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for L_TO_CONFIRM_DIFF_ALLOWED

IT_HUPO - Work Table for Shipping Unit Item

Data type: VEPOVB
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

INPUT_ERROR -

Data type:
Optional: No
Call by Reference: Yes

DIFF_NOT_ALLOWED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for L_TO_CONFIRM_DIFF_ALLOWED 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:
lt_it_hupo  TYPE STANDARD TABLE OF VEPOVB, "   
lv_input_error  TYPE VEPOVB, "   
lv_iv_check_difkz  TYPE XFELD, "   SPACE
lv_iv_kzdif  TYPE LTAP-KZDIF, "   
lv_diff_not_allowed  TYPE LTAP, "   
lv_iv_ndifa  TYPE LTAP-NDIFA, "   
lv_iv_huent  TYPE LTAP1-HUENT, "   SPACE
lv_iv_komim  TYPE RL03T-KOMIM, "   SPACE
lv_is_ltak  TYPE LTAK, "   
lv_is_tap  TYPE LTAP_VB, "   
lv_is_hukp  TYPE VEKPVB. "   

  CALL FUNCTION 'L_TO_CONFIRM_DIFF_ALLOWED'  "NOTRANSL: Prüft, ob die Differenzangabe bei TA Quittierung erlaubt ist
    EXPORTING
         IV_CHECK_DIFKZ = lv_iv_check_difkz
         IV_KZDIF = lv_iv_kzdif
         IV_NDIFA = lv_iv_ndifa
         IV_HUENT = lv_iv_huent
         IV_KOMIM = lv_iv_komim
         IS_LTAK = lv_is_ltak
         IS_TAP = lv_is_tap
         IS_HUKP = lv_is_hukp
    TABLES
         IT_HUPO = lt_it_hupo
    EXCEPTIONS
        INPUT_ERROR = 1
        DIFF_NOT_ALLOWED = 2
. " L_TO_CONFIRM_DIFF_ALLOWED




ABAP code using 7.40 inline data declarations to call FM L_TO_CONFIRM_DIFF_ALLOWED

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.

 
 
DATA(ld_iv_check_difkz) = ' '.
 
"SELECT single KZDIF FROM LTAP INTO @DATA(ld_iv_kzdif).
 
 
"SELECT single NDIFA FROM LTAP INTO @DATA(ld_iv_ndifa).
 
"SELECT single HUENT FROM LTAP1 INTO @DATA(ld_iv_huent).
DATA(ld_iv_huent) = ' '.
 
"SELECT single KOMIM FROM RL03T INTO @DATA(ld_iv_komim).
DATA(ld_iv_komim) = ' '.
 
 
 
 


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!