SAP LE_SSCC_CHECK Function Module for NOTRANSL: Prüfen eines Serialized Shipping Container Codes nach EAN128-Sta









LE_SSCC_CHECK is a standard le sscc check 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üfen eines Serialized Shipping Container Codes nach EAN128-Sta 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 le sscc check FM, simply by entering the name LE_SSCC_CHECK into the relevant SAP transaction such as SE37 or SE38.

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



Function LE_SSCC_CHECK 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 'LE_SSCC_CHECK'"NOTRANSL: Prüfen eines Serialized Shipping Container Codes nach EAN128-Sta
EXPORTING
* IF_SSCC = "External Handling Unit Identification
* IF_WERK = "Plant
* IF_LGORT = "Storage Location
* IF_LGNUM = "Warehouse Number / Warehouse Complex
* IF_HUART = '3' "HU Type for EAN128 (AI 01)
* IF_FOREIGN_SSCC = ' ' "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')

EXCEPTIONS
ILN_NOT_FOUND = 1 INVALID_CALL = 2 INVALID_CUSTOMIZING = 3 INVALID_ILN = 4 INVALID_NO_OUT_OF_RANGE = 5 INVALID_SSCC = 6 INTERNAL_ERROR = 7 ERROR_ON_NUMBER_RANGE = 8
.



IMPORTING Parameters details for LE_SSCC_CHECK

IF_SSCC - External Handling Unit Identification

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

IF_WERK - Plant

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

IF_LGORT - Storage Location

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

IF_LGNUM - Warehouse Number / Warehouse Complex

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

IF_HUART - HU Type for EAN128 (AI 01)

Data type: EAN128_HU_ART
Default: '3'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IF_FOREIGN_SSCC - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')

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

EXCEPTIONS details

ILN_NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

INVALID_CALL - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

INVALID_CUSTOMIZING - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

INVALID_ILN - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

INVALID_NO_OUT_OF_RANGE - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

INVALID_SSCC - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

INTERNAL_ERROR - Internal program error

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

ERROR_ON_NUMBER_RANGE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for LE_SSCC_CHECK 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_if_sscc  TYPE EXIDV, "   
lv_iln_not_found  TYPE EXIDV, "   
lv_if_werk  TYPE T313Y-WERK, "   
lv_invalid_call  TYPE T313Y, "   
lv_if_lgort  TYPE T313Y-LGORT, "   
lv_invalid_customizing  TYPE T313Y, "   
lv_if_lgnum  TYPE T313Z-LGNUM, "   
lv_invalid_iln  TYPE T313Z, "   
lv_if_huart  TYPE EAN128_HU_ART, "   '3'
lv_invalid_no_out_of_range  TYPE EAN128_HU_ART, "   
lv_invalid_sscc  TYPE EAN128_HU_ART, "   
lv_if_foreign_sscc  TYPE BOOLE_D, "   ' '
lv_internal_error  TYPE BOOLE_D, "   
lv_error_on_number_range  TYPE BOOLE_D. "   

  CALL FUNCTION 'LE_SSCC_CHECK'  "NOTRANSL: Prüfen eines Serialized Shipping Container Codes nach EAN128-Sta
    EXPORTING
         IF_SSCC = lv_if_sscc
         IF_WERK = lv_if_werk
         IF_LGORT = lv_if_lgort
         IF_LGNUM = lv_if_lgnum
         IF_HUART = lv_if_huart
         IF_FOREIGN_SSCC = lv_if_foreign_sscc
    EXCEPTIONS
        ILN_NOT_FOUND = 1
        INVALID_CALL = 2
        INVALID_CUSTOMIZING = 3
        INVALID_ILN = 4
        INVALID_NO_OUT_OF_RANGE = 5
        INVALID_SSCC = 6
        INTERNAL_ERROR = 7
        ERROR_ON_NUMBER_RANGE = 8
. " LE_SSCC_CHECK




ABAP code using 7.40 inline data declarations to call FM LE_SSCC_CHECK

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 WERK FROM T313Y INTO @DATA(ld_if_werk).
 
 
"SELECT single LGORT FROM T313Y INTO @DATA(ld_if_lgort).
 
 
"SELECT single LGNUM FROM T313Z INTO @DATA(ld_if_lgnum).
 
 
DATA(ld_if_huart) = '3'.
 
 
 
DATA(ld_if_foreign_sscc) = ' '.
 
 
 


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!