SAP J_7L_STUE_VERP_LOCAL_MEM Function Module for NOTRANSL: REA Stücklisten mit Verpackungselementen (Auswertung lok.Struktu









J_7L_STUE_VERP_LOCAL_MEM is a standard j 7l stue verp local mem 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 Stücklisten mit Verpackungselementen (Auswertung lok.Struktu 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 stue verp local mem FM, simply by entering the name J_7L_STUE_VERP_LOCAL_MEM into the relevant SAP transaction such as SE37 or SE38.

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



Function J_7L_STUE_VERP_LOCAL_MEM 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_STUE_VERP_LOCAL_MEM'"NOTRANSL: REA Stücklisten mit Verpackungselementen (Auswertung lok.Struktu
EXPORTING
J_7LKSTUE_IN = "REA Article: Communication Structure BOM Components
BUKRS = "Company Code
* STLEV = '0' "Level in the menu
STLNR = "Bill of Material
VGKNT = "Preceding Node
* STMOD = ' ' "
* MENGE = 1 "Component Quantity
* MEINS = 'ST' "Component Unit of Measure

IMPORTING
RETURN = "Return Value

TABLES
J_7LKSTUE_TAB = "
* J_7LKMAST_ALL_TAB = "
.



IMPORTING Parameters details for J_7L_STUE_VERP_LOCAL_MEM

J_7LKSTUE_IN - REA Article: Communication Structure BOM Components

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

BUKRS - Company Code

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

STLEV - Level in the menu

Data type: J_7LKSTUE-STLEV
Default: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)

STLNR - Bill of Material

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

VGKNT - Preceding Node

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

STMOD -

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

MENGE - Component Quantity

Data type: J_7LKSTUE-MENGE
Default: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)

MEINS - Component Unit of Measure

Data type: J_7LKSTUE-MEINS
Default: 'ST'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for J_7L_STUE_VERP_LOCAL_MEM

RETURN - Return Value

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

TABLES Parameters details for J_7L_STUE_VERP_LOCAL_MEM

J_7LKSTUE_TAB -

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

J_7LKMAST_ALL_TAB -

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

Copy and paste ABAP code example for J_7L_STUE_VERP_LOCAL_MEM 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_return  TYPE C, "   
lv_j_7lkstue_in  TYPE J_7LKSTUE, "   
lt_j_7lkstue_tab  TYPE STANDARD TABLE OF J_7LKSTUE, "   
lv_bukrs  TYPE J_7LM03-BUKRS, "   
lt_j_7lkmast_all_tab  TYPE STANDARD TABLE OF J_7LKMAST, "   
lv_stlev  TYPE J_7LKSTUE-STLEV, "   '0'
lv_stlnr  TYPE J_7LKSTUE-STLNR, "   
lv_vgknt  TYPE J_7LKSTUE-VGKNT, "   
lv_stmod  TYPE C, "   ' '
lv_menge  TYPE J_7LKSTUE-MENGE, "   1
lv_meins  TYPE J_7LKSTUE-MEINS. "   'ST'

  CALL FUNCTION 'J_7L_STUE_VERP_LOCAL_MEM'  "NOTRANSL: REA Stücklisten mit Verpackungselementen (Auswertung lok.Struktu
    EXPORTING
         J_7LKSTUE_IN = lv_j_7lkstue_in
         BUKRS = lv_bukrs
         STLEV = lv_stlev
         STLNR = lv_stlnr
         VGKNT = lv_vgknt
         STMOD = lv_stmod
         MENGE = lv_menge
         MEINS = lv_meins
    IMPORTING
         RETURN = lv_return
    TABLES
         J_7LKSTUE_TAB = lt_j_7lkstue_tab
         J_7LKMAST_ALL_TAB = lt_j_7lkmast_all_tab
. " J_7L_STUE_VERP_LOCAL_MEM




ABAP code using 7.40 inline data declarations to call FM J_7L_STUE_VERP_LOCAL_MEM

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 BUKRS FROM J_7LM03 INTO @DATA(ld_bukrs).
 
 
"SELECT single STLEV FROM J_7LKSTUE INTO @DATA(ld_stlev).
DATA(ld_stlev) = '0'.
 
"SELECT single STLNR FROM J_7LKSTUE INTO @DATA(ld_stlnr).
 
"SELECT single VGKNT FROM J_7LKSTUE INTO @DATA(ld_vgknt).
 
DATA(ld_stmod) = ' '.
 
"SELECT single MENGE FROM J_7LKSTUE INTO @DATA(ld_menge).
DATA(ld_menge) = 1.
 
"SELECT single MEINS FROM J_7LKSTUE INTO @DATA(ld_meins).
DATA(ld_meins) = 'ST'.
 


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!