SAP Reports / Programs | Cross-Application Components | European Monetary Union: Euro | Local Currency Changeover(CA-EUR-CNV) SAP CA

EWUMMPOH SAP ABAP Report - Adjustment of Purchase Order History







EWUMMPOH is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report has two functions: It is used to reconcile the purchase order history records with the line items in the GR/IR clearing account...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter EWUMMPOH 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 EWUMMPOH. "Basic submit
SUBMIT EWUMMPOH AND RETURN. "Return to original report after report execution complete
SUBMIT EWUMMPOH VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Adjustment of Purchase Order History


INCLUDES used within this REPORT EWUMMPOH

INCLUDE EWUSTDDD.
INCLUDE EWUMMSTI.


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:

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = p_bukrs IMPORTING e_t001 = t001.

VALUE_ARTICLE_FIND CALL FUNCTION 'VALUE_ARTICLE_FIND' EXPORTING i_matnr = p_matnr i_bwkey = t001w-bwkey IMPORTING e_matnr = l_matnr e_waart = l_waart EXCEPTIONS entry_not_found = 01 wertm_bf_nicht_erlaubt = 02 buchung_nicht_erlaubt = 03 material_not_found = 04.

MR_ACCOUNT_ASSIGNMENT CALL FUNCTION 'MR_ACCOUNT_ASSIGNMENT' EXPORTING kontenplan = t001-ktopl vorgangsschluessel = p_ktosl bewertung_modif = t001k-bwmod bewertungsklasse = bklas soll_haben_kennzeichen = 'S' IMPORTING konto = hkont EXCEPTIONS not_found_t030 = 1 not_found_t030r = 2 not_found_t030b = 3 not_found_t030s = 4.

MR_ACCOUNT_ASSIGNMENT CALL FUNCTION 'MR_ACCOUNT_ASSIGNMENT' EXPORTING kontenplan = t001-ktopl vorgangsschluessel = p_ktosl bewertung_modif = t001k-bwmod bewertungsklasse = bklas soll_haben_kennzeichen = 'S' i_wrxmod = wrxmod IMPORTING konto = hkont EXCEPTIONS not_found_t030 = 1 not_found_t030r = 2 not_found_t030b = 3 not_found_t030s = 4.

FI_EWU_WERE_BALANCE CALL FUNCTION 'FI_EWU_WERE_BALANCE' TABLES i_balance_were = were_saldo EXCEPTIONS account_not_found = 1 OTHERS = 2.

FI_EWU_WERE_BALANCE CALL FUNCTION 'FI_EWU_WERE_BALANCE' TABLES i_balance_were = bzk_saldo EXCEPTIONS account_not_found = 1 OTHERS = 2.

ME_READ_HISTORY CALL FUNCTION 'ME_READ_HISTORY' EXPORTING ebeln = ekpo-ebeln ebelp = ekpo-ebelp webre = ekpo-webre i_bypassing_buffer = 'X' i_refresh_buffer = 'X' i_no_expand_ma = 'X' "1460196 TABLES xekbe = xekbe xekbes = xekbes xekbez = xekbez xekbnk = xekbnk xekbz = xekbz EXCEPTIONS OTHERS = 1.

FI_MESTYP_ACTIVE_CHECK CALL FUNCTION 'FI_MESTYP_ACTIVE_CHECK' EXPORTING i_mestyp = 'FIDCMT' i_bukrs = t_t001-bukrs IMPORTING e_distribute = p_ale_active EXCEPTIONS no_info_found = 1 OTHERS = 2.

FI_MESTYP_ACTIVE_CHECK CALL FUNCTION 'FI_MESTYP_ACTIVE_CHECK' EXPORTING i_mestyp = 'FIDCC1' i_bukrs = t_t001-bukrs IMPORTING e_distribute = p_ale_active EXCEPTIONS no_info_found = 1 OTHERS = 2.

FI_MESTYP_ACTIVE_CHECK CALL FUNCTION 'FI_MESTYP_ACTIVE_CHECK' EXPORTING i_mestyp = 'FIDCC2' i_bukrs = t_t001-bukrs IMPORTING e_distribute = p_ale_active EXCEPTIONS no_info_found = 1 OTHERS = 2.

FUNCTION_IMPORT_INTERFACE CALL FUNCTION 'FUNCTION_IMPORT_INTERFACE' EXPORTING funcname = 'MR_ACCOUNT_ASSIGNMENT' * IMPORTING * GLOBAL_FLAG = * REMOTE_CALL = * UPDATE_TASK = TABLES exception_list = if_except export_parameter = if_export import_parameter = if_import changing_parameter = if_change tables_parameter = if_tables * P_DOCU = EXCEPTIONS error_message = 1 function_not_found = 2 invalid_name = 3 OTHERS = 4.

ME_READ_HISTORY CALL FUNCTION 'ME_READ_HISTORY' EXPORTING ebeln = t_ekkoekpo-ebeln ebelp = t_ekkoekpo-ebelp webre = t_ekkoekpo-webre i_bypassing_buffer = 'X' i_refresh_buffer = 'X' i_no_expand_ma = 'X' "1460196 TABLES xekbe = xekbe xekbes = xekbes xekbez = xekbez xekbnk = xekbnk xekbz = xekbz xekbe_ma = xekbe_ma "1460196 xekbz_ma = xekbz_ma EXCEPTIONS OTHERS = 1.

ME_READ_HISTORY CALL FUNCTION 'ME_READ_HISTORY' EXPORTING ebeln = ekbe_korr-ebeln ebelp = ekbe_korr-ebelp webre = ekbe_korr-webre i_bypassing_buffer = 'X' i_refresh_buffer = 'X' i_no_expand_ma = 'X' "1460196 TABLES xekbe = xekbe xekbes = xekbes xekbez = xekbez xekbnk = xekbnk xekbz = xekbz xekbe_ma = xekbe_ma "1460196 xekbz_ma = xekbz_ma EXCEPTIONS OTHERS = 1.

ME_READ_HISTORY CALL FUNCTION 'ME_READ_HISTORY' EXPORTING ebeln = pos_korr-ebeln ebelp = pos_korr-ebelp webre = pos_korr-webre i_bypassing_buffer = 'X' i_refresh_buffer = 'X' i_no_expand_ma = 'X' "1460196 TABLES xekbe = xekbe xekbes = xekbes xekbez = xekbez xekbnk = xekbnk xekbz = xekbz xekbe_ma = xekbe_ma "1460196 xekbz_ma = xekbz_ma EXCEPTIONS OTHERS = 1.

EWU_PROTOCOL_APPEND * CALL FUNCTION 'EWU_PROTOCOL_APPEND' * EXPORTING * LEVEL = P_LEVEL * MSGTY = P_MSGTY * LANGU = SY-LANGU * MSGID = P_MSGID * MSGNO = P_MSGNO * NEWOBJ = P_NEWOBJ * MSGV1 = P_MSGV1 * MSGV2 = P_MSGV2 * MSGV3 = P_MSGV3 * MSGV4 = P_MSGV4 * EXCEPTIONS * OTHERS = 1.



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