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

MJ7LV1EMB SAP ABAP INCLUDE - Output and Form Routines Eco Embes







MJ7LV1EMB 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 MJ7LV1EMB 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 MJ7LV1EMB. "Basic submit
SUBMIT MJ7LV1EMB AND RETURN. "Return to original report after report execution complete
SUBMIT MJ7LV1EMB VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Output and Form Routines Eco Embes


INCLUDES used within this REPORT MJ7LV1EMB

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:

J_7L_RPA_GETDETAIL CALL FUNCTION 'J_7L_RPA_GETDETAIL' EXPORTING i_j7lms = j_7lms IMPORTING * O_CREDITOR_GENERAL_DETAIL = * O_CREDITOR_COMPANY_DETAIL = o_lfa1 = tmp_lfa1 * O_SADR = * O_E01 = o_e02 = tmp_e02 TABLES io_log = mvar.

J_7L_ADDRESS_GETDETAIL CALL FUNCTION 'J_7L_ADDRESS_GETDETAIL' EXPORTING i_adrsnumber = tmp_lfa1-adrnr i_j7lms = j_7lms IMPORTING * O_SADR = o_address_complete = tmp_addcomplete TABLES io_log = mvar EXCEPTIONS see_errorlog = 1 OTHERS = 2. "#EC *

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = itab_embposdat-totweight * NO_TYPE_CHECK = 'X' round_sign = space unit_in = itab_embposdat-totweightgewei unit_out = kilogramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = itab_embposdat-totweight 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 = itab_embposdat-stgew * NO_TYPE_CHECK = 'X' round_sign = space unit_in = itab_embposdat-totweightgewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = itab_embposdat-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 "Eingabe wird nicht ausgewertet input = dummy_stgew * NO_TYPE_CHECK = 'X' round_sign = space unit_in = ij_7lv1p_actm-kmein unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = denominator = denominator numerator = numerator output = dummy_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.

TH_REDISPATCH CALL FUNCTION 'TH_REDISPATCH'.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = itab_embposdat-totweight * NO_TYPE_CHECK = 'X' round_sign = space unit_in = itab_embposdat-totweightgewei unit_out = kilogramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = itab_embposdat-totweight 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 = itab_embposdat-stgew * NO_TYPE_CHECK = 'X' round_sign = space unit_in = itab_embposdat-totweightgewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = itab_embposdat-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 "Eingabe wird nicht ausgewertet input = dummy_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 = dummy_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.

TH_REDISPATCH CALL FUNCTION 'TH_REDISPATCH'.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = itab_embposdat-totweight * NO_TYPE_CHECK = 'X' round_sign = space unit_in = itab_embposdat-totweightgewei unit_out = kilogramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = itab_embposdat-totweight 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.

DIMENSIONCHECK_DIMENSIONLESS CALL FUNCTION 'DIMENSIONCHECK_DIMENSIONLESS' EXPORTING meinh = tmp_vrpnr-meins EXCEPTIONS dimension_not_dimensionless = 1 t006d_entry_missing = 2 t006_entry_missing = 3 OTHERS = 4.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = itab_embposdat-stgew * NO_TYPE_CHECK = 'X' round_sign = space unit_in = itab_embposdat-totweightgewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = itab_embposdat-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 "Eingabe wird nicht ausgewertet input = dummy_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 = dummy_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.

TH_REDISPATCH CALL FUNCTION 'TH_REDISPATCH'.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = itab_embposdat-totweight * NO_TYPE_CHECK = 'X' round_sign = space unit_in = itab_embposdat-totweightgewei unit_out = kilogramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = itab_embposdat-totweight 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.

DIMENSIONCHECK_DIMENSIONLESS CALL FUNCTION 'DIMENSIONCHECK_DIMENSIONLESS' EXPORTING meinh = ij_7lv1p_actm-meinsv EXCEPTIONS dimension_not_dimensionless = 1 t006d_entry_missing = 2 t006_entry_missing = 3 OTHERS = 4.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = itab_embposdat-stgew * NO_TYPE_CHECK = 'X' round_sign = space unit_in = itab_embposdat-totweightgewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = itab_embposdat-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 "Eingabe wird nicht ausgewertet input = dummy_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 = dummy_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.

TH_REDISPATCH CALL FUNCTION 'TH_REDISPATCH'.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = itab_embposdat-totweight * NO_TYPE_CHECK = 'X' round_sign = space unit_in = itab_embposdat-totweightgewei unit_out = kilogramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = itab_embposdat-totweight 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.

DIMENSIONCHECK_DIMENSIONLESS CALL FUNCTION 'DIMENSIONCHECK_DIMENSIONLESS' EXPORTING meinh = ij_7lv1p_actm-meinsv EXCEPTIONS dimension_not_dimensionless = 1 t006d_entry_missing = 2 t006_entry_missing = 3 OTHERS = 4.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = itab_embposdat-stgew * NO_TYPE_CHECK = 'X' round_sign = space unit_in = itab_embposdat-totweightgewei unit_out = gramm IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = itab_embposdat-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 "Eingabe wird nicht ausgewertet input = dummy_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 = dummy_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.

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.

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.

J_7L_CUSTOMER_GETDETAIL CALL FUNCTION 'J_7L_CUSTOMER_GETDETAIL' EXPORTING i_kunnr = itab_embkunnr_posdat-kunnr * i_fmgrp = ij_7lv1k-fmgrp i_j7lms = j_7lms IMPORTING o_sadr = tmp_sadr o_customer_data = tmp_debi * O_ADDRESS_COMPLETE = TABLES * o_contactdata = contactdata io_log = mvar EXCEPTIONS see_errorlog = 1 OTHERS = 2.

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.



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 MJ7LV1EMB or its description.