SAP Reports / Programs

/IBS/MRB_PEWB_RESET SAP ABAP Report - RBD: CML Arrrears Monitoring: Clearing Actual Records (Reversal FIVA)







/IBS/MRB_PEWB_RESET is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Monitoring Arrears (FIVA) - Clearing Actual Records (Reversal FIVA) This program is a control program for the clearing (reversing) of flat-rate value adjustments created in the system...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 /IBS/MRB_PEWB_RESET into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

/IBS/RB_PEWB_RST - RBD: Gen. and Post Plnd Recds (FIVA)


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


Text pool values


Selection Text: SO_RBDNR = D RBD Account Number
Selection Text: SO_RBDID = D RBD Area
Selection Text: P_MODIDP = Posting System
Selection Text: P_FIDAT = Posting Date
Selection Text: P_BEWME = Valuation Area
Selection Text: %RB_SIMU = Simulation
Selection Text: %RB_REAL = Update Run
Title: RBD: CML Arrrears Monitoring: Clearing Actual Records (Reversal FIVA)
Text Symbol: W14 = Some Accounts Not Displayed Due to Authorization for Organizational Unit
Text Symbol: W01 = Posting log can be displayed in transaction /IBS/RB_LOG_POST
Text Symbol: U20 = FI doc.
Text Symbol: U12 = RBD Class
Text Symbol: U11 = Flow Type Grp
Text Symbol: U09 = Pstg Date
Text Symbol: U08 = Year
Text Symbol: U06 = Amt in Trans.Crcy
Text Symbol: U05 = TrC
Text Symbol: U04 = D/C
Text Symbol: U03 = Description
Text Symbol: U02 = Flow Type
Text Symbol: U01 = Seq. no.
Text Symbol: TST = Control
Text Symbol: TRB = RBD Context
Text Symbol: T02 = Reversal Records
Text Symbol: T01 = Reversed records
Text Symbol: SYN = Simultaneous Update
Text Symbol: SIM = Simulation
Text Symbol: REL = Update Run
Text Symbol: I01 = No posting records for reset exist for account:
Text Symbol: ASY = Non-simultaneous update
Text Symbol: 003 = Posting Date
Text Symbol: 002 = Befr. or Today's Dte


INCLUDES used within this REPORT /IBS/MRB_PEWB_RESET

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:

F4_FILENAME * CALL FUNCTION 'F4_FILENAME' * EXPORTING * PROGRAM_NAME = SYST-CPROG * DYNPRO_NUMBER = SYST-DYNNR * FIELD_NAME = p_datei * IMPORTING * FILE_NAME = p_datei * .

/IBS/RB_F4HELP CALL FUNCTION '/IBS/RB_F4HELP' EXPORTING i_tabname = '/IBS/VRB_F4_KTO' i_fieldname = 'RBDNR' i_dynprog = '/IBS/MRB_SAPMKTO' i_dynnr = '1000' i_dynfield = '/IBS/TRB_KTO-RBDNR' EXCEPTIONS data_error = 1 param_error = 2 OTHERS = 3.

/IBS/RB_KTO_GET_LIST CALL FUNCTION '/IBS/RB_KTO_GET_LIST' TABLES ti_so_rbdid = so_rbdid ti_so_rbdnr = so_rbdnr ti_so_rbdst = rg_rbdst ti_so_kttyp = rg_kttyp ti_so_awaers = rg_awaers te_kto = it_kto_alt EXCEPTIONS data_error = 1 OTHERS = 2.

/IBS/RB_KTODATE_GET CALL FUNCTION '/IBS/RB_KTODATE_GET' EXPORTING i_rbdid = wa_kto-rbdid i_rbdnr = wa_kto-rbdnr i_bewme = p_bewme IMPORTING e_ktodate = wa_ktodate EXCEPTIONS parameter_nicht_vollstaendig = 1 data_error = 2 OTHERS = 3.

ENQUEUE_/IBS/ERB_KTO CALL FUNCTION 'ENQUEUE_/IBS/ERB_KTO' EXPORTING rbdid = wa_kto-rbdid rbdnr = wa_kto-rbdnr _collect = c_true EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

FLUSH_ENQUEUE CALL FUNCTION 'FLUSH_ENQUEUE' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

/IBS/RB_UE_GET_LIST CALL FUNCTION '/IBS/RB_UE_GET_LIST' TABLES ti_so_rbdid = rg_rbdid ti_so_rbdnr = rg_rbdnr te_ue = it_ue_alt EXCEPTIONS data_error = 1 OTHERS = 2.

/IBS/RB_KVV_GET_LIST CALL FUNCTION '/IBS/RB_KVV_GET_LIST' TABLES ti_so_rbdid = rg_rbdid ti_so_rbdnr = rg_rbdnr te_kvv = it_kvv_alt EXCEPTIONS data_error = 1 OTHERS = 2.

/IBS/RB_UI_GET_KTO CALL FUNCTION '/IBS/RB_UI_GET_KTO' EXPORTING i_rbdid = wa_kto-rbdid i_rbdnr = wa_kto-rbdnr TABLES te_ui = it_ui_alt EXCEPTIONS data_error = 1 parameter_nicht_vollstaendig = 2 OTHERS = 3. "nix return-code

/IBS/RB_UP_GET_KTO CALL FUNCTION '/IBS/RB_UP_GET_KTO' EXPORTING i_rbdid = wa_kto-rbdid i_rbdnr = wa_kto-rbdnr TABLES te_up = it_up_alt EXCEPTIONS data_error = 1 parameter_nicht_vollstaendig = 2 OTHERS = 3.

/IBS/RB_UE_HIST_GET_LIST CALL FUNCTION '/IBS/RB_UE_HIST_GET_LIST' TABLES * TI_SO_UENR = * TI_SO_TIMESTAMP = ti_so_rbdid = rg_rbdid ti_so_rbdnr = rg_rbdnr * TI_SO_UIREF = te_ue_hist = it_ue_hist_alt EXCEPTIONS data_error = 1 OTHERS = 2.

/IBS/RB_RBD_P CALL FUNCTION '/IBS/RB_RBD_P' EXPORTING i_rbdid = wa_kto-rbdid IMPORTING e_rbd_p = wa_rbd EXCEPTIONS data_error = 1 parameter_nicht_vollstaendig = 2 OTHERS = 3.

/IBS/RB_GJAHR_DETERMINE CALL FUNCTION '/IBS/RB_GJAHR_DETERMINE' EXPORTING i_budat = p_fidat i_bukrs = wa_rbd-bukrs i_rbdid = wa_rbd-rbdid i_modid = c_modid_post IMPORTING e_gjahr = h_gjahr e_poper = h_poper * E_MONAT = EXCEPTIONS data_error = 1 parameter_error = 2 OTHERS = 3.

/IBS/RB_UI_CORRECTION_LIST CALL FUNCTION '/IBS/RB_UI_CORRECTION_LIST' EXPORTING i_kto = wa_kto i_dbudat = h_budat i_gjahr = h_gjahr i_poper = h_poper i_modid_post = c_modid_post TABLES tc_ui_cor = it_ui_corr te_ui_cor = it_ui_cor_neu EXCEPTIONS data_error = 1 parameter_error = 2 OTHERS = 3.

/IBS/RB_RISKCLASS_DETERMINE CALL FUNCTION '/IBS/RB_RISKCLASS_DETERMINE' EXPORTING i_kttyp = wa_kto-kttyp i_bewme = p_bewme TABLES ti_up = it_up ti_ui = it_ui CHANGING c_riskc = h_riskc c_riskc_old = h_riskc_o EXCEPTIONS data_error = 1 riskc_failed = 2 OTHERS = 3.

/IBS/DBM_RB_SAVE_ALL CALL FUNCTION '/IBS/DBM_RB_SAVE_ALL' EXPORTING i_testrun = %rb_simu i_db_aktion = c_db_update i_modid_post = c_modid_post i_balsubobj = h_balsubobj i_kto = wa_kto i_kto_old = wa_kto_alt * I_TEXTHEADER = * I_TEXTSTATUS = ti_ktodate = it_ktodate ti_ktodate_old = it_ktodate_alt ti_kvv = it_kvv ti_kvv_old = it_kvv_alt ti_ue = it_ue ti_ue_old = it_ue_alt ti_ue_hist = it_ue_hist ti_ue_hist_old = it_ue_hist_alt ti_sheet = it_sheet ti_sheet_old = it_sheet_alt ti_up = it_up ti_up_old = it_up_alt ti_ui = it_ui ti_ui_old = it_ui_alt ti_saldo = it_saldo ti_saldo_old = it_saldo_alt * TI_LINES = .

/IBS/DBM_RB_SAVE_ALL CALL FUNCTION '/IBS/DBM_RB_SAVE_ALL' IN UPDATE TASK EXPORTING i_testrun = %rb_simu i_db_aktion = c_db_update i_modid_post = c_modid_post i_balsubobj = h_balsubobj i_kto = wa_kto i_kto_old = wa_kto_alt * I_TEXTHEADER = * I_TEXTSTATUS = ti_ktodate = it_ktodate ti_ktodate_old = it_ktodate_alt ti_kvv = it_kvv ti_kvv_old = it_kvv_alt ti_ue = it_ue ti_ue_old = it_ue_alt ti_ue_hist = it_ue_hist ti_ue_hist_old = it_ue_hist_alt ti_sheet = it_sheet ti_sheet_old = it_sheet_alt ti_up = it_up ti_up_old = it_up_alt ti_ui = it_ui ti_ui_old = it_ui_alt ti_saldo = it_saldo ti_saldo_old = it_saldo_alt * TI_LINES = .

DEQUEUE_/IBS/ERB_KTO CALL FUNCTION 'DEQUEUE_/IBS/ERB_KTO' EXPORTING rbdid = wa_kto-rbdid rbdnr = wa_kto-rbdnr.

PRINT_SELECTIONS





CALL FUNCTION 'PRINT_SELECTIONS' EXPORTING rname = sy-cprog rvariante = $h_variante mode = 'TABLE' TABLES infotab = $i_selections.

/IBS/RB_RBDBW_T * CALL FUNCTION '/IBS/RB_RBDBW_T' * EXPORTING * i_bwart = wa_up-bwart * i_spras = sy-langu * IMPORTING * e_rbdbw_t = h_bwart_wa * EXCEPTIONS * data_error = 1 * parameter_nicht_vollstaendig = 2 * OTHERS = 3.

/IBS/RB_DOMAIN_GET_VALUE * CALL FUNCTION '/IBS/RB_DOMAIN_GET_VALUE' * EXPORTING * i_dname = h_dname * i_dlangu = sy-langu * i_dvalue = h_dvalue * IMPORTING * e_dd07v_wa = h_dd07v_wa * EXCEPTIONS * data_error = 1 * OTHERS = 2.

/IBS/RB_RBDBW_T CALL FUNCTION '/IBS/RB_RBDBW_T' EXPORTING i_bwart = wa_ui-bwart i_spras = sy-langu IMPORTING e_rbdbw_t = h_bwart_wa EXCEPTIONS data_error = 1 parameter_nicht_vollstaendig = 2 OTHERS = 3.

/IBS/RB_DOMAIN_GET_VALUE CALL FUNCTION '/IBS/RB_DOMAIN_GET_VALUE' EXPORTING i_dname = h_dname i_dlangu = sy-langu i_dvalue = h_dvalue IMPORTING e_dd07v_wa = h_dd07v_wa EXCEPTIONS data_error = 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 /IBS/MRB_PEWB_RESET or its description.