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

RWB2B_EXPENSE_WORKBENCHCLASS SAP ABAP INCLUDE - Include ZLAUNCHERLCLASS







RWB2B_EXPENSE_WORKBENCHCLASS 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_WORKBENCHCLASS 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_WORKBENCHCLASS. "Basic submit
SUBMIT RWB2B_EXPENSE_WORKBENCHCLASS AND RETURN. "Return to original report after report execution complete
SUBMIT RWB2B_EXPENSE_WORKBENCHCLASS 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 ZLAUNCHERLCLASS


INCLUDES used within this REPORT RWB2B_EXPENSE_WORKBENCHCLASS

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:

WB2B_WBGT_READ_WITH_WBELN CALL FUNCTION 'WB2B_WBGT_READ_WITH_WBELN' EXPORTING i_vbeln = l_wbgt_key-vbeln i_doc_type = l_wbgt_key-doc_type i_gjahr = l_wbgt_key-gjahr i_ignore_g_not_active = abap_true TABLES t_komwbgt = lt_komwbgt EXCEPTIONS err_no_records_found = 1 OTHERS = 2.

WLF_WBRK_SINGLE_READ CALL FUNCTION 'WLF_WBRK_SINGLE_READ' EXPORTING i_wbeln = l_wbgt_key-vbeln IMPORTING e_komlfk = l_komlfk EXCEPTIONS no_records_found = 1 OTHERS = 2.

WB2B_WBGT_READ_WITH_WBELN CALL FUNCTION 'WB2B_WBGT_READ_WITH_WBELN' EXPORTING i_vbeln = l_wbgt_key-vbeln i_doc_type = l_wbgt_key-doc_type i_gjahr = l_wbgt_key-gjahr i_ignore_g_not_active = abap_true TABLES t_komwbgt = lt_komwbgt EXCEPTIONS err_no_records_found = 1 OTHERS = 2.

WLF_WBRP_READ_WITH_WBELN CALL FUNCTION 'WLF_WBRP_READ_WITH_WBELN' EXPORTING i_wbeln = l_wbgt_key-vbeln TABLES t_komlfp = lt_komlfp EXCEPTIONS err_no_records_found = 1 OTHERS = 2.

WB2_PASS_DATA_CREATE_EXPENSE CALL FUNCTION 'WB2_PASS_DATA_CREATE_EXPENSE' EXPORTING it_komwbhk_choosen = lt_komwbhk_choosen it_fod_choosen = gt_fod_list_choosen it_fod_tc_choosen = gt_komwbgt_fod_choosen.

WB2_PASS_DATA_CREATE_EXPENSE CALL FUNCTION 'WB2_PASS_DATA_CREATE_EXPENSE' EXPORTING it_komwbhk_choosen = gt_komwbhk_choosen it_fod_choosen = gt_fod_list_choosen it_fod_tc_choosen = lt_komwbgt_fod_choosen.

WB2B_WBGT_READ_WITH_WBELN CALL FUNCTION 'WB2B_WBGT_READ_WITH_WBELN' EXPORTING i_vbeln = l__it_key-vbeln i_doc_type = l__it_key-doc_type i_refresh_buffer = yes i_gjahr = l__it_key-gjahr i_ignore_g_not_active = yes TABLES t_komwbgt = lt_et_data EXCEPTIONS err_no_records_found = 1 OTHERS = 2.

WLF_WBRP_READ_WITH_WBELN CALL FUNCTION 'WLF_WBRP_READ_WITH_WBELN' EXPORTING i_wbeln = l__it_key-vbeln TABLES t_komlfp = lt_komlfp EXCEPTIONS err_no_records_found = 1 OTHERS = 2.

WB2_WBGT_READ_FOR_MUL_TKONN CALL FUNCTION 'WB2_WBGT_READ_FOR_MUL_TKONN' EXPORTING it_komwbhk_list = lt_komwbhk_choosen TABLES et_komwbgt = lt_komwbgt_targets.

WB2_WBGT_READ_FOR_TKONN CALL FUNCTION 'WB2_WBGT_READ_FOR_TKONN' EXPORTING i_tkonn = g_selected_tc_tkonn IMPORTING et_komwbgt = lt_komwbgt_targets.

WLF_WBRK_ARRAY_READ CALL FUNCTION 'WLF_WBRK_ARRAY_READ' EXPORTING i_refresh_buffer = yes * I_NO_REFRESH = TABLES t_komlfk = lt_komlfk t_wbeln = lt_wbeln EXCEPTIONS err_no_records_requested = 1 err_no_records_found = 2 OTHERS = 3.

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

WB2_PASS_DATA_CREATE_EXPENSE CALL FUNCTION 'WB2_PASS_DATA_CREATE_EXPENSE' EXPORTING it_komwbhk_choosen = gt_komwbhk_choosen it_fod_choosen = gt_fod_list_choosen it_fod_tc_choosen = lt_komwbgt_fod_choosen.

WB2_PASS_DATA_CREATE_EXPENSE CALL FUNCTION 'WB2_PASS_DATA_CREATE_EXPENSE' EXPORTING it_fod_tc_choosen = lt_komwbgt_fod_choosen.

WB2_PASS_DATA_CREATE_EXPENSE CALL FUNCTION 'WB2_PASS_DATA_CREATE_EXPENSE' EXPORTING it_komwbhk_choosen = lt_komwbhk_choosen.

TH_USER_INFO CALL FUNCTION 'TH_USER_INFO' IMPORTING my_internal_session = l_internal_session.

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.

WB2_TEW_ACTION_SET_PARAMETER CALL FUNCTION 'WB2_TEW_ACTION_SET_PARAMETER' EXPORTING i_display_only = lcls_bool=>yes.

WB2_TEW_ACTION_SET_PARAMETER





CALL FUNCTION 'WB2_TEW_ACTION_SET_PARAMETER' EXPORTING i_tew_type = l_tew_type i_step = l_business_step i_mode = l_tew_mode i_pre_step = l_business_step_from i_display_only = l_display_only set_error_flag = l_error_tew i_main_tc = l_main_doc i_main_doc = l_main_doc2 * I_CATT_ACTIVE = i_online = l_online i_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_WORKBENCHCLASS or its description.