SAP Reports / Programs | Materials Management | Purchasing(MM-PUR) SAP MM

MM06EFBA_BAT_PRUEFEN SAP ABAP INCLUDE - MM06EFBABATPRUEFEN







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


INCLUDES used within this REPORT MM06EFBA_BAT_PRUEFEN

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:

MEX_CHECK_CHANGED_SOURCE CALL FUNCTION 'MEX_CHECK_CHANGED_SOURCE' EXPORTING im_eban = *eban im_t160d_erfb1 = t160d-erfb1 im_po_lifnr = ekko-lifnr im_po_reswk = ekko-reswk im_po_ekorg = ekko-ekorg im_po_konnr = ekpo-konnr im_po_ktpnr = ekpo-ktpnr im_po_bsakz = ekko-bsakz EXCEPTIONS error_message = 1 OTHERS = 2.

MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING matnr = *eban-matnr meinh = ekpo-meins meins = *eban-meins IMPORTING output = f1 "nicht benötigt umren = humren umrez = humrez EXCEPTIONS conversion_not_found = 01 input_invalid = 02 material_not_found = 03 meinh_not_found = 04 meins_missing = 05 no_meinh = 06 output_invalid = 07 overflow = 08.

CONVERSION_FACTOR_GET CALL FUNCTION 'CONVERSION_FACTOR_GET' EXPORTING no_type_check = 'X' unit_in = ekpo-meins unit_out = *eban-meins IMPORTING denominator = fn "HUMREN numerator = fz "HUMREZ EXCEPTIONS conversion_not_found = 01 overflow = 02 type_invalid = 03 units_missing = 04 unit_in_not_found = 05 unit_out_not_found = 06.

CONVERT_TO_FRACT5 CALL FUNCTION 'CONVERT_TO_FRACT5' EXPORTING nomin = fz denomin = fn IMPORTING nomout = humrez denomout = humren EXCEPTIONS conversion_overflow = 1 OTHERS = 2.

MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING matnr = *eban-matnr meinh = abt-meins meins = *eban-meins IMPORTING output = f1 "nicht benötigt umren = humren umrez = humrez EXCEPTIONS conversion_not_found = 01 input_invalid = 02 material_not_found = 03 meinh_not_found = 04 meins_missing = 05 no_meinh = 06 output_invalid = 07 overflow = 08.

CONVERSION_FACTOR_GET CALL FUNCTION 'CONVERSION_FACTOR_GET' EXPORTING no_type_check = 'X' unit_in = abt-meins unit_out = *eban-meins IMPORTING denominator = fn "HUMREN numerator = fz "HUMREZ EXCEPTIONS conversion_not_found = 01 overflow = 02 type_invalid = 03 units_missing = 04 unit_in_not_found = 05 unit_out_not_found = 06.

CONVERT_TO_FRACT5 CALL FUNCTION 'CONVERT_TO_FRACT5' EXPORTING nomin = fz denomin = fn IMPORTING nomout = humrez denomout = humren EXCEPTIONS conversion_overflow = 1 OTHERS = 2.



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