SAP Reports / Programs | Recycling Administration: Declaration | Recycling Administration | Recycling Administration: Declaration(IS-REA-COR-DEC) SAP IS

MJ7LV1EEF SAP ABAP INCLUDE - Display and form routines Eco Emballages







MJ7LV1EEF is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MJ7LV1EEF into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT MJ7LV1EEF. "Basic submit
SUBMIT MJ7LV1EEF AND RETURN. "Return to original report after report execution complete
SUBMIT MJ7LV1EEF VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Display and form routines Eco Emballages


INCLUDES used within this REPORT MJ7LV1EEF

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

SSFCOMP_PDF_PREVIEW CALL FUNCTION 'SSFCOMP_PDF_PREVIEW' EXPORTING i_otf = it_return-otfdata EXCEPTIONS convert_otf_to_pdf_error = 1 cntl_error = 2 OTHERS = 3.

SSFCOMP_PDF_PREVIEW CALL FUNCTION 'SSFCOMP_PDF_PREVIEW' EXPORTING i_otf = it_return-otfdata EXCEPTIONS convert_otf_to_pdf_error = 1 cntl_error = 2 OTHERS = 3.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = 'MATNR' state = 'A' langu = sprache IMPORTING * GOTSTATE = dd04v_wa = datenelement * TPARA_WA = EXCEPTIONS illegal_input = 1 OTHERS = 2.

J_7L_GET_SOKOA CALL FUNCTION 'J_7L_GET_SOKOA' EXPORTING i_fmgrp = ij_7lv1k-fmgrp "'EEF' i_entnr = j_7lms-entnr * i_land1 = j_7lms-land1 i_land1 = l_land1 "BR281 TABLES tsokoa = tmp_sokoa EXCEPTIONS keine_sokoa_gefunden = 1 OTHERS = 2.

ADDRESS_GET_DATA ** CALL FUNCTION 'ADDRESS_GET_DATA' "81b ** EXPORTING ** ENTRY_ADRNR = T_ADRNR ** IMPORTING ** COMPANY_DATA = WA_SADR ** EXCEPTIONS ** ADDR_NOT_EXIST = 1 ** WRONG_DATA = 2 ** OTHERS = 3.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = itab_eefposdat-stgew * NO_TYPE_CHECK = 'X' round_sign = space unit_in = itab_eefposdat-gewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = itab_eefposdat-stgew EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = ij_7lv1p_actm-stgewff * NO_TYPE_CHECK = 'X' round_sign = space unit_in = ij_7lv1p_actm-gewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = itab_eefposdat-stgew EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

J_7L_GET_SOKOA * CALL FUNCTION 'J_7L_GET_SOKOA' * EXPORTING * I_FMGRP = IN_FMGRP * I_ENTNR = IN_ENTNR * I_LAND1 = IN_LAND1 * TABLES * TSOKOA = TMP_SOKOA * EXCEPTIONS * KEINE_SOKOA_GEFUNDEN = 1 * OTHERS = 2.

J_7L_GET_SOKOA CALL FUNCTION 'J_7L_GET_SOKOA' EXPORTING i_fmgrp = ij_7lv1k-fmgrp "'EEF' i_entnr = j_7lms-entnr * i_land1 = j_7lms-land1 i_land1 = l_land1 "BR281 TABLES tsokoa = tmp_sokoa EXCEPTIONS keine_sokoa_gefunden = 1 OTHERS = 2.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = tmp_posdat-stgew * NO_TYPE_CHECK = 'X' round_sign = space unit_in = tmp_posdat-gewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = tmp_posdat-stgew EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = ij_7lv1p_actm-stgewff * NO_TYPE_CHECK = 'X' round_sign = space unit_in = ij_7lv1p_actm-gewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = tmp_posdat-stgew EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

J_7L_GET_SOKOA CALL FUNCTION 'J_7L_GET_SOKOA' EXPORTING i_fmgrp = ij_7lv1k-fmgrp "'EEF' i_entnr = j_7lms-entnr * i_land1 = j_7lms-land1 i_land1 = l_land1 "BR281 TABLES tsokoa = tmp_sokoa EXCEPTIONS keine_sokoa_gefunden = 1 OTHERS = 2.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = tmp_posdat-stgew * NO_TYPE_CHECK = 'X' round_sign = space unit_in = tmp_posdat-gewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = tmp_posdat-stgew EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = ij_7lv1p_actm-stgewff * NO_TYPE_CHECK = 'X' round_sign = space unit_in = ij_7lv1p_actm-gewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = tmp_posdat-stgew EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = tmp_posdat-stgew * NO_TYPE_CHECK = 'X' round_sign = space unit_in = tmp_posdat-gewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = tmp_posdat-stgew EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = ij_7lv1p_actm-stgewff * NO_TYPE_CHECK = 'X' round_sign = space unit_in = ij_7lv1p_actm-gewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = tmp_posdat-stgew EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

J_7L_ARTIKEL_DEREFERENZIEREN CALL FUNCTION 'J_7L_ARTIKEL_DEREFERENZIEREN' EXPORTING matnr = ij_7lv1p_actm-matnr variante = ij_7lv1p_actm-variante bukrs = i_bukrs land1 = i_land1 IMPORTING rmatn = l_matnr avariante = l_variante * MAKTIVKZ = MAKTIVKZ EXCEPTIONS matnr_not_found = 1 rmatn_not_found = 2 OTHERS = 3.

MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING matnr = ij_7lv1p_actm-matnr meinh = ij_7lv1p_actm-vrkme no_output = 'X' IMPORTING umren = l_umren umrez = l_umrez EXCEPTIONS conversion_not_found = 1 input_invalid = 2 material_not_found = 3 meinh_not_found = 4 meins_missing = 5 no_meinh = 6 output_invalid = 7 overflow = 8 OTHERS = 9.

UNIT_CONVERSION_SIMPLE





CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = tmp_posdat-stgew * NO_TYPE_CHECK = 'X' round_sign = space unit_in = tmp_posdat-gewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = tmp_posdat-stgew EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = ij_7lv1p_actm-stgewff * NO_TYPE_CHECK = 'X' round_sign = space unit_in = ij_7lv1p_actm-gewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = tmp_posdat-stgew EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

J_7L_GET_SOKOA CALL FUNCTION 'J_7L_GET_SOKOA' EXPORTING i_fmgrp = ij_7lv1k-fmgrp "'EEF' i_entnr = j_7lms-entnr * i_land1 = j_7lms-land1 i_land1 = l_land1 "BR281 TABLES tsokoa = tmp_sokoa EXCEPTIONS keine_sokoa_gefunden = 1 OTHERS = 2.

J_7L_GET_SOKOA CALL FUNCTION 'J_7L_GET_SOKOA' EXPORTING i_fmgrp = ij_7lv1k-fmgrp "'EEF' i_entnr = j_7lms-entnr * i_land1 = j_7lms-land1 i_land1 = l_land1 "BR281 TABLES tsokoa = tmp_sokoa EXCEPTIONS keine_sokoa_gefunden = 1 OTHERS = 2.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = -gmenge * NO_TYPE_CHECK = 'X' * ROUND_SIGN = ' ' unit_in = -gmein unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = -gmenge EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

J_7L_SPLITTING_FAKTOR_DATUM CALL FUNCTION 'J_7L_SPLITTING_FAKTOR_DATUM' EXPORTING entna = j_7lms-entna land1 = j_7lms-land1 kokey = cust_sokoa-kokey datam = j_7lms-datab kotyp = 'P' no_text_in_list = '' TABLES koart_tab = koart_tab.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = ij_7lv1p_actm-stgew * NO_TYPE_CHECK = 'X' round_sign = space unit_in = ij_7lv1p_actm-gewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = denominator = denominator numerator = numerator output = wa_eef_line-poid_materiau1 EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

J_7L_ARTIKEL_DEREFERENZIEREN CALL FUNCTION 'J_7L_ARTIKEL_DEREFERENZIEREN' EXPORTING matnr = wa_eef_line-matnr_x bukrs = l_bukrs land1 = l_land1 IMPORTING rmatn = l_matnr EXCEPTIONS matnr_not_found = 1 rmatn_not_found = 2 OTHERS = 3.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = -gmenge * NO_TYPE_CHECK = 'X' * ROUND_SIGN = ' ' unit_in = -gmein unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = -gmenge EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

J_7L_SPLITTING_FAKTOR_DATUM CALL FUNCTION 'J_7L_SPLITTING_FAKTOR_DATUM' EXPORTING entna = j_7lms-entna land1 = j_7lms-land1 kokey = cust_sokoa-kokey datam = j_7lms-datab kotyp = 'P' no_text_in_list = '' TABLES koart_tab = koart_tab.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = ij_7lv1p_actm-stgew * NO_TYPE_CHECK = 'X' round_sign = space unit_in = ij_7lv1p_actm-gewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = denominator = denominator numerator = numerator output = wa_eef_line-poid_materiau1 EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

J_7L_ARTIKEL_DEREFERENZIEREN CALL FUNCTION 'J_7L_ARTIKEL_DEREFERENZIEREN' EXPORTING matnr = wa_eef_line-matnr_x bukrs = l_bukrs land1 = l_land1 IMPORTING rmatn = l_matnr EXCEPTIONS matnr_not_found = 1 rmatn_not_found = 2 OTHERS = 3.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = -gmenge * NO_TYPE_CHECK = 'X' * ROUND_SIGN = ' ' unit_in = -gmein unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = -gmenge EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

J_7L_SPLITTING_FAKTOR_DATUM CALL FUNCTION 'J_7L_SPLITTING_FAKTOR_DATUM' EXPORTING entna = j_7lms-entna land1 = j_7lms-land1 kokey = cust_sokoa-kokey datam = j_7lms-datab kotyp = 'P' no_text_in_list = '' TABLES koart_tab = koart_tab.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = ij_7lv1p_actm-stgew * NO_TYPE_CHECK = 'X' round_sign = space unit_in = ij_7lv1p_actm-gewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = denominator = denominator numerator = numerator output = wa_eef_line-poid_materiau1 EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

J_7L_ARTIKEL_DEREFERENZIEREN CALL FUNCTION 'J_7L_ARTIKEL_DEREFERENZIEREN' EXPORTING matnr = wa_eef_line-matnr_x bukrs = l_bukrs land1 = l_land1 IMPORTING rmatn = l_matnr EXCEPTIONS matnr_not_found = 1 rmatn_not_found = 2 OTHERS = 3.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MJ7LV1EEF or its description.