SAP Reports / Programs | Logistics - General | Global Trade | Expenses(LO-GT-TE) SAP LO

RWB2B_EXPENSE_WORKBENCHF03 SAP ABAP INCLUDE - Include RWB2B_EXPENSE_WORKBENCHF03







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


Text pool values


Title: Include RWB2B_EXPENSE_WORKBENCHF03


INCLUDES used within this REPORT RWB2B_EXPENSE_WORKBENCHF03

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:

WB2_TC_FLOW_SETTINGS CALL FUNCTION 'WB2_TC_FLOW_SETTINGS'.

GET_DOMAENENVALUE CALL FUNCTION 'GET_DOMAENENVALUE' EXPORTING dname = 'WFTYP' TABLES i_dd07v_tab = gt_billing_cat_name EXCEPTIONS illegal_value = 0 no_domain_found = 0 no_values_found = 0 OTHERS = 0.

WB2_GET_VBD_FOR_TARGET_DOC CALL FUNCTION 'WB2_GET_VBD_FOR_TARGET_DOC' EXPORTING i_doc_key = l_doc_key i_include_cancel_doc = yes i_filter_for_display = yes i_lftypn = '02' TABLES et_komlfk = lt_komlfk_per_doc et_error = lt_error EXCEPTIONS internal_error = 2 document_read_error = 1 lock_error = 3 OTHERS = 4.

WB2_GET_VBD_FOR_TARGET_NOM CALL FUNCTION 'WB2_GET_VBD_FOR_TARGET_NOM' EXPORTING i_doc_key = l_doc_key i_include_cancel_doc = yes i_filter_for_display = yes i_lftypn = '02' i_nom_posn = l_doc_key+22(10) TABLES et_komlfk = lt_komlfk_per_doc et_error = lt_error EXCEPTIONS no_data_found = 2 OTHERS = 3.

WB2_EXPENSE_CLASS_GET CALL FUNCTION 'WB2_EXPENSE_CLASS_GET' EXPORTING tew_type = l_wbrk_list-tew_type exp_class = l_wbrk_list-exp_class vbd_type = l_wbrk_list-lfart post_type = l_wbrk_list-post_type IMPORTING " E_EXP_CLASS = e_acc_type = l_wbrk_list-account_type e_exp_class_desc = l_wbrk_list-exp_class_text(40) e_post_type_desc = l_wbrk_list-post_type_text(20) e_acc_type_desc = l_wbrk_list-account_type_text(20) EXCEPTIONS parameter_error = 0 internal_error = 0 OTHERS = 0.

WB2_READ_VENDOR_NAME CALL FUNCTION 'WB2_READ_VENDOR_NAME' EXPORTING vendor = l_wbrk_list-lifre CHANGING vendor_name1 = l_vendor-vendor_name1 EXCEPTIONS vendor_not_found = 0 OTHERS = 0.

WB2_READ_VENDOR_NAME CALL FUNCTION 'WB2_READ_VENDOR_NAME' EXPORTING vendor = l_wbrk_list-lnrzb CHANGING vendor_name1 = l_vendor-vendor_name1 EXCEPTIONS vendor_not_found = 0 OTHERS = 0.

WB2_READ_CUSTOMER_NAME CALL FUNCTION 'WB2_READ_CUSTOMER_NAME' EXPORTING customer = l_wbrk_list-kunre CHANGING customer_name1 = l_customer-customer_name1 EXCEPTIONS customer_not_found = 0 OTHERS = 0.

WB2_READ_CUSTOMER_NAME CALL FUNCTION 'WB2_READ_CUSTOMER_NAME' EXPORTING customer = l_wbrk_list-kunrg CHANGING customer_name1 = l_customer-customer_name1 EXCEPTIONS customer_not_found = 0 OTHERS = 0.

WLF_INVOICE_AUTHORITY_CHECK CALL FUNCTION 'WLF_INVOICE_AUTHORITY_CHECK' EXPORTING i_komlfk = i_aktyp = 'A' EXCEPTIONS no_authority = 1 OTHERS = 2.

WB2_RESET_EXTERNAL_DATA CALL FUNCTION 'WB2_RESET_EXTERNAL_DATA'.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'WB2_EXP_WBRK_LIST_DISPLAY' CHANGING ct_fieldcat = lt_fieldcat.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' "Expense List EXPORTING i_callback_program = g_my_name_is i_callback_pf_status_set = c_call_back_status i_callback_user_command = c_call_back_command it_fieldcat = lt_fieldcat is_layout = l_layout i_default = yes i_save = 'A' is_variant = gs_disvariant TABLES t_outtab = gt_wbrk_list EXCEPTIONS program_error = 3 OTHERS = 4.

WB2_TRADE_GET_INIT_DATA CALL FUNCTION 'WB2_TRADE_GET_INIT_DATA' IMPORTING e_tew_type = l_tew_type e_business_step = l_business_step e_business_step_from = l_business_step_from e_tew_mode = l_tew_mode e_error_tew = l_error_tew e_display_only = l_display_only e_main_doc = l_main_doc e_online = l_online e_main_doc2 = l_main_doc2 e_new_items_num = l_new_items_num.



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