RMFAS133 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for According to SFAS 133 - Accounting for Derivative Instruments and Hedging Activities - the open values of certain purchasing documents must be included in the balance sheet at market value...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 RMFAS133 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: BUKRS_CU = Radio Button for Local Curr.
Selection Text: CUR1 = Other Currency
Selection Text: INV_PLAN = Flag: Invoicing Plan
Selection Text: LAND1 = Country of Vendor
Selection Text: LAND_CUR = Radio Button f. National Curr.
Selection Text: LIMIT = Minimum Purchase Order Value
Selection Text: MANDT_CU = Radio Button f. Group Currency
Selection Text: Q_DATE = Date of Bal. Sheet Preparation
Selection Text: RUNTIME = Min. Validity Period in Days
Selection Text: VENDCUR1 = Other Currency
Selection Text: BEDAT = D .
Selection Text: BSART = D .
Selection Text: BUKRS = D .
Selection Text: CUR = D .
Selection Text: CUR2 = D .
Selection Text: EBELN = D .
Selection Text: EKORG = D .
Selection Text: LIFNR = D .
Selection Text: MATKL = D .
Selection Text: MATNR = D .
Selection Text: VENDCUR2 = D .
Selection Text: WAERS = D .
Title: SFAS 133/138 in MM
Text Symbol: 001 = Own Functional Currency
Text Symbol: 002 = Vendor's Functional Currency
Text Symbol: 003 = Document Data Restriction
Text Symbol: 005 = Local Currency
Text Symbol: 006 = Group Currency
Text Symbol: 007 = Relevant National Currency
Text Symbol: 008 = Only Documents with Invoicing Plan
Text Symbol: 011 = Currency
Text Symbol: 015 = Minimum Purchase Order Value
Text Symbol: 017 = Do you want to save the data?
Text Symbol: 018 = Data Cluster
Text Symbol: 019 = Save Results in Cluster Database INDX
Text Symbol: 020 = Append or overwrite data?
Text Symbol: 021 = Append
Text Symbol: 022 = Overwrite
INCLUDE RMFASTOP.
No SAP DATABASE tables are accessed within this REPORT code!
GET_EWWU_WAERS_40 CALL FUNCTION 'GET_EWWU_WAERS_40' TABLES ewucurrs = gt_ewucurrs EXCEPTIONS customizing_not_found = 1 customizing_not_confirmed = 2 no_waers_found = 3 OTHERS = 4.
ME_STATISTICS_RKO CALL FUNCTION 'ME_STATISTICS_RKO' EXPORTING i_ekko = gs_ekko i_lfa1 = gs_lfa1 i_old_currency = gs_ekko-waers i_old_conversion = gs_ekko-wkurs i_old_zterm = gs_ekko-zterm i_old_zbd1t = gs_ekko-zbd1t i_old_zbd2t = gs_ekko-zbd2t i_old_zbd3t = gs_ekko-zbd3t i_old_zbd1p = gs_ekko-zbd1p i_old_zbd2p = gs_ekko-zbd2p i_avc_pruefen = on i_first_call = on i_no_rwin = on TABLES t_ekbe = bet t_ekbes = bets t_ekbnk = xekbnk t_ekbz = bzt t_eket = ett t_ekkn = knt t_ekpo = gt_ekpo t_komv = tkomv cht_ekbp = gt_ekbp EXCEPTIONS error_message = 1 OTHERS = 2.
ME_READ_HISTORY CALL FUNCTION 'ME_READ_HISTORY' EXPORTING ebeln = gt_ekpo-ebeln ebelp = gt_ekpo-ebelp webre = gt_ekpo-webre TABLES xekbe = bet.
ME_PREPARE_HISTORY CALL FUNCTION 'ME_PREPARE_HISTORY' EXPORTING ebeln = gt_ekpo-ebeln ebelp = gt_ekpo-ebelp webre = gt_ekpo-webre TABLES xekbe = bet xekbes = bets xekbez = betz xekbnk = xekbnk xekbz = bzt.
CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = gs_ekko-bedat foreign_currency = g_total_ord_cur local_amount =
-bewtw local_currency = gs_ekko-waers type_of_rate = 'M' IMPORTING foreign_amount = l_local_amount EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_repid i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' i_grid_title = text-026 it_fieldcat = lt_fieldcat[] i_save = 'A' TABLES t_outtab = gt_output EXCEPTIONS program_error = 1 OTHERS = 2.
POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' "#EC * EXPORTING no_value_check = ' ' popup_title = text-019 start_column = '5' start_row = '5' IMPORTING returncode = l_return TABLES fields = l_fields EXCEPTIONS error_in_fields = 1 OTHERS = 2.
POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' "#EC * EXPORTING defaultoption = '1' diagnosetext1 = text-024 textline1 = text-020 text_option1 = text-021 text_option2 = text-022 titel = text-019 IMPORTING answer = l_answer.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC * EXPORTING textline1 = space textline2 = text-017 titel = text-025 IMPORTING answer = g_answer.
ME_DISPLAY_PURCHASE_DOCUMENT CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT' EXPORTING i_ebeln = l_output-ebeln i_ebelp = l_output-ebelp i_enjoy = 'X' EXCEPTIONS not_found = 1 no_authority = 2 invalid_call = 3 preview_not_possible = 4 OTHERS = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RMFAS133 - SFAS 133/138 in MM RMFAS133 - SFAS 133/138 in MM RMEXST00 - INTRASTAT: Returns and Credit Memos / Dispatch From MM RMEXST00 - INTRASTAT: Returns and Credit Memos / Dispatch From MM RMEXLOCL - Local Functions for RMEXST00 RMEXEXDE - EXTRASTAT: Data Definition for Receipt - Tape Version - Germany