RWB2_EXPENSE_WORKBENCH is a standard Executable ABAP Report 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 RWB2_EXPENSE_WORKBENCH into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
WB2_EWB - Expense Workbench (Trading)
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: P_VARI = D .
Selection Text: S_ACC = D .
Selection Text: S_BSTNK = D .
Selection Text: S_BTBSTA = D .
Selection Text: S_BUDAT = D .
Selection Text: S_CAP = Collective Accrual Processing
Selection Text: S_DOCTY = D .
Selection Text: S_ED_RB = Choose Expense Status
Selection Text: S_EKGRP = D .
Selection Text: S_EKORG = D .
Selection Text: S_ELIFN = D .
Selection Text: S_ERDAT = D .
Selection Text: S_ERNAM = D .
Selection Text: S_KUNNR = D .
Selection Text: S_MATKL = D .
Selection Text: S_WERKS = D .
Selection Text: S_VTWEG = D .
Selection Text: S_VKORG = D .
Selection Text: S_TK_EX = D .
Selection Text: S_TKSACH = D .
Selection Text: S_TKONN = D .
Selection Text: S_TEW_T = D .
Selection Text: S_TC_REL = D .
Selection Text: S_TCTYP = D .
Selection Text: S_TCCAT = D .
Selection Text: S_SPART = D .
Selection Text: S_SET = Expenses Not Settled
Selection Text: S_SAP = Single Accrual Processing
Selection Text: S_MAXL = Maximum Number of Hits (Item)
Selection Text: S_MATNR = D .
Title: Trading Expense Workbench
Text Symbol: T10 = Nomination
Text Symbol: T09 = Expenses Not Settled
Text Symbol: T08 = Expenses Not Accrued
Text Symbol: T07 = Enter a User ID
Text Symbol: T06 = To (Date/Time)
Text Symbol: T05 = Address
Text Symbol: T04 = From (Date/Time)
INCLUDE RWB2B_EXPENSE_WORKBENCHTOP.
INCLUDE WB2_EXPENSE_COMMON_CONSTANTS.
INCLUDE RWB2B_EXPENSE_WORKBENCHCLASS.
INCLUDE RWB2B_EXPENSE_WORKBENCHO01. "#EC INCL_OK
INCLUDE RWB2B_EXPENSE_WORKBENCHA01. "#EC INCL_OK
No SAP DATABASE tables are accessed within this REPORT code!
WB2_PASS_DATA_CREATE_EXPENSE CALL FUNCTION 'WB2_PASS_DATA_CREATE_EXPENSE' EXPORTING i_enh_exp_active = g_enh_exp_active i_exp_nom = gv_exp_nom.
RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = g_my_name_is TABLES selection_table = int_rsparams EXCEPTIONS not_found = 1 no_report = 2 OTHERS = 3.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = ls_disvariant i_save = 'A' IMPORTING es_variant = ls_disvariant EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.
WB2_CHECK_EXPENSES_ACTIVE CALL FUNCTION 'WB2_CHECK_EXPENSES_ACTIVE' EXCEPTIONS not_active = 1 OTHERS = 2.
WB2_TWGTA_READ CALL FUNCTION 'WB2_TWGTA_READ' IMPORTING ex_twgta = ls_twgta.
WB2_CHECK_ENHANCE_ACTIVE CALL FUNCTION 'WB2_CHECK_ENHANCE_ACTIVE' EXCEPTIONS addon_tc_active = 1 addon_all_active = 2 addon_not_active = 3 OTHERS = 4.
WB2_CHECK_TEW_ACTIVE CALL FUNCTION 'WB2_CHECK_TEW_ACTIVE' EXCEPTIONS not_active = 1 OTHERS = 2.
TH_USER_INFO CALL FUNCTION 'TH_USER_INFO' IMPORTING my_internal_session = my_internal_session.
WB2_BADI_ADD_DATA_INSTANCE_GET CALL FUNCTION 'WB2_BADI_ADD_DATA_INSTANCE_GET' IMPORTING e_additional_data = g_additional_data.
JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = job_name IMPORTING jobcount = job_count EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.
JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = job_count jobname = job_name strtimmed = yes IMPORTING job_was_released = job_released EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 invalid_target = 8 OTHERS = 9.
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 RWB2_EXPENSE_WORKBENCH or its description.
RWB2_EXPENSE_WORKBENCH - Trading Expense Workbench RWB2_EXPENSE_WORKBENCH - Trading Expense Workbench RWB2_EXPENSE_BACKGROUNDA01 - Include RWB2_EXPENSE_BACKGROUNDA01 RWB2_EXPENSE_BACKGROUND - Background Processing RWB2_EXPENSE_BACKGROUND - Background Processing RWB2_DOC_EXPENSE_WB_SCR_100 - Expense Workbench For New Documents