SAP J_7L_VERSCHNITT Function Module for NOTRANSL: REA Berechnung Verschnitt von Verpackungskomponente









J_7L_VERSCHNITT is a standard j 7l verschnitt 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: REA Berechnung Verschnitt von Verpackungskomponente 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 verschnitt FM, simply by entering the name J_7L_VERSCHNITT into the relevant SAP transaction such as SE37 or SE38.

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



Function J_7L_VERSCHNITT 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_VERSCHNITT'"NOTRANSL: REA Berechnung Verschnitt von Verpackungskomponente
EXPORTING
MATNR = "Material Number
LAENG = "
BREIT = "
MEABM = "
* FMENG = "Component Quantity
* MEINS = "Component Unit of Measure
* BLFMENG = "
* BLMEINS = "

IMPORTING
VERSCHNITT = "

EXCEPTIONS
NOT_FOUND = 1 UNIT_CONVERSION = 2 NOT_FIT = 3
.



IMPORTING Parameters details for J_7L_VERSCHNITT

MATNR - Material Number

Data type: MARA-MATNR
Optional: No
Call by Reference: Yes

LAENG -

Data type: MARA-LAENG
Optional: No
Call by Reference: Yes

BREIT -

Data type: MARA-BREIT
Optional: No
Call by Reference: Yes

MEABM -

Data type: MARA-MEABM
Optional: No
Call by Reference: Yes

FMENG - Component Quantity

Data type: J_7LZDAT-FMENG
Optional: Yes
Call by Reference: Yes

MEINS - Component Unit of Measure

Data type: J_7LZDAT-MEINS
Optional: Yes
Call by Reference: Yes

BLFMENG -

Data type: J_7LZDAT-FMENG
Optional: Yes
Call by Reference: Yes

BLMEINS -

Data type: J_7LZDAT-MEINS
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for J_7L_VERSCHNITT

VERSCHNITT -

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

EXCEPTIONS details

NOT_FOUND -

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

UNIT_CONVERSION - Error while converting units

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

NOT_FIT -

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

Copy and paste ABAP code example for J_7L_VERSCHNITT 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_matnr  TYPE MARA-MATNR, "   
lv_not_found  TYPE MARA, "   
lv_verschnitt  TYPE P, "   
lv_laeng  TYPE MARA-LAENG, "   
lv_unit_conversion  TYPE MARA, "   
lv_breit  TYPE MARA-BREIT, "   
lv_not_fit  TYPE MARA, "   
lv_meabm  TYPE MARA-MEABM, "   
lv_fmeng  TYPE J_7LZDAT-FMENG, "   
lv_meins  TYPE J_7LZDAT-MEINS, "   
lv_blfmeng  TYPE J_7LZDAT-FMENG, "   
lv_blmeins  TYPE J_7LZDAT-MEINS. "   

  CALL FUNCTION 'J_7L_VERSCHNITT'  "NOTRANSL: REA Berechnung Verschnitt von Verpackungskomponente
    EXPORTING
         MATNR = lv_matnr
         LAENG = lv_laeng
         BREIT = lv_breit
         MEABM = lv_meabm
         FMENG = lv_fmeng
         MEINS = lv_meins
         BLFMENG = lv_blfmeng
         BLMEINS = lv_blmeins
    IMPORTING
         VERSCHNITT = lv_verschnitt
    EXCEPTIONS
        NOT_FOUND = 1
        UNIT_CONVERSION = 2
        NOT_FIT = 3
. " J_7L_VERSCHNITT




ABAP code using 7.40 inline data declarations to call FM J_7L_VERSCHNITT

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 MARA INTO @DATA(ld_matnr).
 
 
 
"SELECT single LAENG FROM MARA INTO @DATA(ld_laeng).
 
 
"SELECT single BREIT FROM MARA INTO @DATA(ld_breit).
 
 
"SELECT single MEABM FROM MARA INTO @DATA(ld_meabm).
 
"SELECT single FMENG FROM J_7LZDAT INTO @DATA(ld_fmeng).
 
"SELECT single MEINS FROM J_7LZDAT INTO @DATA(ld_meins).
 
"SELECT single FMENG FROM J_7LZDAT INTO @DATA(ld_blfmeng).
 
"SELECT single MEINS FROM J_7LZDAT INTO @DATA(ld_blmeins).
 


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!