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

RWB2B_EXPENSE_WORKBENCHF02 SAP ABAP INCLUDE - Include ZLAUNCHERF02







RWB2B_EXPENSE_WORKBENCHF02 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_WORKBENCHF02 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_WORKBENCHF02. "Basic submit
SUBMIT RWB2B_EXPENSE_WORKBENCHF02 AND RETURN. "Return to original report after report execution complete
SUBMIT RWB2B_EXPENSE_WORKBENCHF02 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 ZLAUNCHERF02


INCLUDES used within this REPORT RWB2B_EXPENSE_WORKBENCHF02

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'.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-t01 text_question = text-t02 IMPORTING answer = l_answer EXCEPTIONS OTHERS = 0.

WB2_PASS_DATA_CREATE_EXPENSE CALL FUNCTION 'WB2_PASS_DATA_CREATE_EXPENSE' EXPORTING it_komexp = gt_komexp[] it_konh = gt_konh[].

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-t01 text_question = text-t03 IMPORTING answer = l_answer EXCEPTIONS OTHERS = 0.

WB2_PASS_DATA_CREATE_EXPENSE CALL FUNCTION 'WB2_PASS_DATA_CREATE_EXPENSE' EXPORTING it_komexp = gt_komexp[] it_konh = gt_konh[].

WB2_WBGT_READ_FOR_TKONN_TAB CALL FUNCTION 'WB2_WBGT_READ_FOR_TKONN_TAB' EXPORTING it_tkonn = lt_tkonn_key IMPORTING et_komwbgt = lt_komwbgt.

GET_DOMAENENVALUE CALL FUNCTION 'GET_DOMAENENVALUE' EXPORTING dname = 'WB2_DOC_TYPE' TABLES i_dd07v_tab = gt_domvalue_doc_type EXCEPTIONS illegal_value = 1 no_domain_found = 2 no_values_found = 3 OTHERS = 4.

WB2_RESET_EXTERNAL_DATA CALL FUNCTION 'WB2_RESET_EXTERNAL_DATA'.

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

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

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' "Follow-On Document 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_komwbgt_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.

WB2_PASS_DATA_CREATE_EXPENSE CALL FUNCTION 'WB2_PASS_DATA_CREATE_EXPENSE' EXPORTING it_fod_tc_choosen = gt_komwbgt_fod_choosen.

WB2_EXP_NOM_ONLINE_EWB CALL FUNCTION 'WB2_EXP_NOM_ONLINE_EWB' EXPORTING i_doc_key = l_doc_key i_tew_type = -tew_type i_doc_type_complete = l_doc_key(2) i_exp_hdr_itm = -nom_header_item TABLES it_komwbgt = gt_komwbgt_fod_choosen EXCEPTIONS document_read_error = 1 internal_error = 2 OTHERS = 3.

WB2_SPY_KOMWBHK_KOMWBHI CALL FUNCTION 'WB2_SPY_KOMWBHK_KOMWBHI' IMPORTING e_t_logs_error = lt_error e_t_logs_success = lt_success.

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 = gt_komwbgt_fod_choosen.

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

WB2_EXP_NOM_ONLINE_EWB CALL FUNCTION 'WB2_EXP_NOM_ONLINE_EWB' EXPORTING i_doc_key = l_parent_dockey4expense i_tew_type = -tew_type i_mode = 'V' i_doc_type_complete = l_parent_dockey4expense(2) i_exp_hdr_itm = -nom_header_item TABLES it_komwbgt = gt_komwbgt_fod_choosen it_komlfk = lt_komlfk EXCEPTIONS document_read_error = 1 internal_error = 2 OTHERS = 3.



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