SAP J_7L_SORTIMENTSMELDUNG_DSD Function Module for NOTRANSL: REA Meldung: Sortimentsmeldung für Periodenmeldung generieren
J_7L_SORTIMENTSMELDUNG_DSD is a standard j 7l sortimentsmeldung dsd 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 Meldung: Sortimentsmeldung für Periodenmeldung generieren 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 sortimentsmeldung dsd FM, simply by entering the name J_7L_SORTIMENTSMELDUNG_DSD into the relevant SAP transaction such as SE37 or SE38.
Function Group: J7LD
Program Name: SAPLJ7LD
Main Program: SAPLJ7LD
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function J_7L_SORTIMENTSMELDUNG_DSD 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_SORTIMENTSMELDUNG_DSD'"NOTRANSL: REA Meldung: Sortimentsmeldung für Periodenmeldung generieren.
EXPORTING
ENTNR = "Recycling Partner
BUKRS = "Company Code
LAND1 = "Country
DATAB = "
DATBI = "
MELDART = "
* AENDERUNG = ' ' "
IMPORTING
MATNR = "
VARIANTE = "
STOFF = "
VFLKL = "
MSGV1 = "
DATUM = "
TABLES
MELDUNG = "
FUELLGUT = "
ZUSATZINFO = "
ARTIKEL = "
VRPGRPKPF = "
VRPGRPPOS = "
MATKLASSE = "
PARTNER = "
EXCEPTIONS
RBUKR_NOT_FOUND = 1 LANDR_NOT_FOUND = 2 UNBEKANNTE_FRAKTION = 3 UNBEKANNTE_VFLKL = 4 VRPGRP5_NOT_FOUND = 5 LOCK_FAILED = 6 UPDATE_FAILURE = 7
IMPORTING Parameters details for J_7L_SORTIMENTSMELDUNG_DSD
ENTNR - Recycling Partner
Data type: J_7LE01-ENTNROptional: No
Call by Reference: Yes
BUKRS - Company Code
Data type: J_7LC01-BUKRSOptional: No
Call by Reference: Yes
LAND1 - Country
Data type: J_7LC10-LAND1Optional: No
Call by Reference: Yes
DATAB -
Data type: J_7LM05-DATABOptional: No
Call by Reference: Yes
DATBI -
Data type: J_7LM05-DATBIOptional: No
Call by Reference: Yes
MELDART -
Data type: J_7LKW1-MELDARTOptional: No
Call by Reference: Yes
AENDERUNG -
Data type: CDefault: ' '
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for J_7L_SORTIMENTSMELDUNG_DSD
MATNR -
Data type: J_7LM01-MATNROptional: No
Call by Reference: Yes
VARIANTE -
Data type: J_7LVARIANTEOptional: No
Call by Reference: Yes
STOFF -
Data type: J_7LKB3-STOFFOptional: No
Call by Reference: Yes
VFLKL -
Data type: J_7LKB2-VFLKLOptional: No
Call by Reference: Yes
MSGV1 -
Data type: SY-MSGV1Optional: No
Call by Reference: Yes
DATUM -
Data type: SY-DATUMOptional: No
Call by Reference: Yes
TABLES Parameters details for J_7L_SORTIMENTSMELDUNG_DSD
MELDUNG -
Data type: J_7LKW1Optional: No
Call by Reference: No ( called with pass by value option)
FUELLGUT -
Data type: J_7LKW2Optional: No
Call by Reference: No ( called with pass by value option)
ZUSATZINFO -
Data type: J_7LKW3Optional: No
Call by Reference: No ( called with pass by value option)
ARTIKEL -
Data type: J_7LKW4Optional: No
Call by Reference: No ( called with pass by value option)
VRPGRPKPF -
Data type: J_7LKW5Optional: No
Call by Reference: No ( called with pass by value option)
VRPGRPPOS -
Data type: J_7LKW6Optional: No
Call by Reference: No ( called with pass by value option)
MATKLASSE -
Data type: J_7LKW7Optional: No
Call by Reference: No ( called with pass by value option)
PARTNER -
Data type: J_7LKW8Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
RBUKR_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LANDR_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
UNBEKANNTE_FRAKTION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
UNBEKANNTE_VFLKL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
VRPGRP5_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LOCK_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
UPDATE_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for J_7L_SORTIMENTSMELDUNG_DSD 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_entnr | TYPE J_7LE01-ENTNR, " | |||
| lv_matnr | TYPE J_7LM01-MATNR, " | |||
| lt_meldung | TYPE STANDARD TABLE OF J_7LKW1, " | |||
| lv_rbukr_not_found | TYPE J_7LKW1, " | |||
| lv_bukrs | TYPE J_7LC01-BUKRS, " | |||
| lt_fuellgut | TYPE STANDARD TABLE OF J_7LKW2, " | |||
| lv_variante | TYPE J_7LVARIANTE, " | |||
| lv_landr_not_found | TYPE J_7LVARIANTE, " | |||
| lv_land1 | TYPE J_7LC10-LAND1, " | |||
| lv_stoff | TYPE J_7LKB3-STOFF, " | |||
| lt_zusatzinfo | TYPE STANDARD TABLE OF J_7LKW3, " | |||
| lv_unbekannte_fraktion | TYPE J_7LKW3, " | |||
| lv_datab | TYPE J_7LM05-DATAB, " | |||
| lv_vflkl | TYPE J_7LKB2-VFLKL, " | |||
| lt_artikel | TYPE STANDARD TABLE OF J_7LKW4, " | |||
| lv_unbekannte_vflkl | TYPE J_7LKW4, " | |||
| lv_datbi | TYPE J_7LM05-DATBI, " | |||
| lv_msgv1 | TYPE SY-MSGV1, " | |||
| lt_vrpgrpkpf | TYPE STANDARD TABLE OF J_7LKW5, " | |||
| lv_vrpgrp5_not_found | TYPE J_7LKW5, " | |||
| lv_datum | TYPE SY-DATUM, " | |||
| lv_meldart | TYPE J_7LKW1-MELDART, " | |||
| lt_vrpgrppos | TYPE STANDARD TABLE OF J_7LKW6, " | |||
| lv_lock_failed | TYPE J_7LKW6, " | |||
| lv_aenderung | TYPE C, " ' ' | |||
| lt_matklasse | TYPE STANDARD TABLE OF J_7LKW7, " | |||
| lv_update_failure | TYPE J_7LKW7, " | |||
| lt_partner | TYPE STANDARD TABLE OF J_7LKW8. " |
|   CALL FUNCTION 'J_7L_SORTIMENTSMELDUNG_DSD' "NOTRANSL: REA Meldung: Sortimentsmeldung für Periodenmeldung generieren |
| EXPORTING | ||
| ENTNR | = lv_entnr | |
| BUKRS | = lv_bukrs | |
| LAND1 | = lv_land1 | |
| DATAB | = lv_datab | |
| DATBI | = lv_datbi | |
| MELDART | = lv_meldart | |
| AENDERUNG | = lv_aenderung | |
| IMPORTING | ||
| MATNR | = lv_matnr | |
| VARIANTE | = lv_variante | |
| STOFF | = lv_stoff | |
| VFLKL | = lv_vflkl | |
| MSGV1 | = lv_msgv1 | |
| DATUM | = lv_datum | |
| TABLES | ||
| MELDUNG | = lt_meldung | |
| FUELLGUT | = lt_fuellgut | |
| ZUSATZINFO | = lt_zusatzinfo | |
| ARTIKEL | = lt_artikel | |
| VRPGRPKPF | = lt_vrpgrpkpf | |
| VRPGRPPOS | = lt_vrpgrppos | |
| MATKLASSE | = lt_matklasse | |
| PARTNER | = lt_partner | |
| EXCEPTIONS | ||
| RBUKR_NOT_FOUND = 1 | ||
| LANDR_NOT_FOUND = 2 | ||
| UNBEKANNTE_FRAKTION = 3 | ||
| UNBEKANNTE_VFLKL = 4 | ||
| VRPGRP5_NOT_FOUND = 5 | ||
| LOCK_FAILED = 6 | ||
| UPDATE_FAILURE = 7 | ||
| . " J_7L_SORTIMENTSMELDUNG_DSD | ||
ABAP code using 7.40 inline data declarations to call FM J_7L_SORTIMENTSMELDUNG_DSD
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 ENTNR FROM J_7LE01 INTO @DATA(ld_entnr). | ||||
| "SELECT single MATNR FROM J_7LM01 INTO @DATA(ld_matnr). | ||||
| "SELECT single BUKRS FROM J_7LC01 INTO @DATA(ld_bukrs). | ||||
| "SELECT single LAND1 FROM J_7LC10 INTO @DATA(ld_land1). | ||||
| "SELECT single STOFF FROM J_7LKB3 INTO @DATA(ld_stoff). | ||||
| "SELECT single DATAB FROM J_7LM05 INTO @DATA(ld_datab). | ||||
| "SELECT single VFLKL FROM J_7LKB2 INTO @DATA(ld_vflkl). | ||||
| "SELECT single DATBI FROM J_7LM05 INTO @DATA(ld_datbi). | ||||
| "SELECT single MSGV1 FROM SY INTO @DATA(ld_msgv1). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_datum). | ||||
| "SELECT single MELDART FROM J_7LKW1 INTO @DATA(ld_meldart). | ||||
| DATA(ld_aenderung) | = ' '. | |||
Search for further information about these or an SAP related objects