SAP J_7L_CHECK_PACKAGING Function Module for NOTRANSL: Einzelkonsistenzprüfung REA Verpackung









J_7L_CHECK_PACKAGING is a standard j 7l check packaging 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: Einzelkonsistenzprüfung REA Verpackung 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 j 7l check packaging FM, simply by entering the name J_7L_CHECK_PACKAGING into the relevant SAP transaction such as SE37 or SE38.

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



Function J_7L_CHECK_PACKAGING 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 'J_7L_CHECK_PACKAGING'"NOTRANSL: Einzelkonsistenzprüfung REA Verpackung
EXPORTING
I_VRPNR = "Packaging
* I_VARIANTE = "
* I_DATAB = "Valid-From Date
* I_DATBI = "Valid-To Date
* I_KZTEN = "
* I_FILTER_ON = 'X' "'X' => Result Filtered in Accordance with Customizing

IMPORTING
O_CHECK_SUMMARY = "Summary of Check

TABLES
* I_ENTNR = "Restriction to Individual Recycling Partners
* O_MESSAGE_TAB = "Result of Packing Consistency Check
.



IMPORTING Parameters details for J_7L_CHECK_PACKAGING

I_VRPNR - Packaging

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

I_VARIANTE -

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

I_DATAB - Valid-From Date

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

I_DATBI - Valid-To Date

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

I_KZTEN -

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

I_FILTER_ON - 'X' => Result Filtered in Accordance with Customizing

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for J_7L_CHECK_PACKAGING

O_CHECK_SUMMARY - Summary of Check

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

TABLES Parameters details for J_7L_CHECK_PACKAGING

I_ENTNR - Restriction to Individual Recycling Partners

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

O_MESSAGE_TAB - Result of Packing Consistency Check

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

Copy and paste ABAP code example for J_7L_CHECK_PACKAGING 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_i_entnr  TYPE STANDARD TABLE OF J7LR1_ENTNR_RANGE, "   
lv_i_vrpnr  TYPE J_7LVRP, "   
lv_o_check_summary  TYPE MSGTY, "   
lv_i_variante  TYPE J_7LVARIANTE, "   
lt_o_message_tab  TYPE STANDARD TABLE OF J_7LCHECKCONPACK, "   
lv_i_datab  TYPE DATAB, "   
lv_i_datbi  TYPE DATBI, "   
lv_i_kzten  TYPE J_7LKZCHK_ENTNR, "   
lv_i_filter_on  TYPE XFELD. "   'X'

  CALL FUNCTION 'J_7L_CHECK_PACKAGING'  "NOTRANSL: Einzelkonsistenzprüfung REA Verpackung
    EXPORTING
         I_VRPNR = lv_i_vrpnr
         I_VARIANTE = lv_i_variante
         I_DATAB = lv_i_datab
         I_DATBI = lv_i_datbi
         I_KZTEN = lv_i_kzten
         I_FILTER_ON = lv_i_filter_on
    IMPORTING
         O_CHECK_SUMMARY = lv_o_check_summary
    TABLES
         I_ENTNR = lt_i_entnr
         O_MESSAGE_TAB = lt_o_message_tab
. " J_7L_CHECK_PACKAGING




ABAP code using 7.40 inline data declarations to call FM J_7L_CHECK_PACKAGING

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_i_filter_on) = 'X'.
 


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!