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

RWB2B_EXPENSE_WORKBENCHF01 SAP ABAP INCLUDE - Include ZLAUNCHERF01







RWB2B_EXPENSE_WORKBENCHF01 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_WORKBENCHF01 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_WORKBENCHF01. "Basic submit
SUBMIT RWB2B_EXPENSE_WORKBENCHF01 AND RETURN. "Return to original report after report execution complete
SUBMIT RWB2B_EXPENSE_WORKBENCHF01 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 ZLAUNCHERF01


INCLUDES used within this REPORT RWB2B_EXPENSE_WORKBENCHF01

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.

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

WB2_READ_WBHK_MULTIPLE CALL FUNCTION 'WB2_READ_WBHK_MULTIPLE' EXPORTING i_dynsel = l_selopt_dynsel i_maxlines = s_maxl TABLES t_wbhk = lt_komwbhk t_wbhd = lt_komwbhd t_wbhi = lt_komwbhi t_requested_tables = lt_requested_tables EXCEPTIONS limit_ds = 1 OTHERS = 2.

WB2_CHECK_AUTHORITY CALL FUNCTION 'WB2_CHECK_AUTHORITY' EXPORTING i_actv = 'A' i_komwbhk = i_komwbhd = EXCEPTIONS no_authority = 1 OTHERS = 2.

WB2_READ_CUSTOMIZING_SINGLE CALL FUNCTION 'WB2_READ_CUSTOMIZING_SINGLE' EXPORTING trading_contract_type = l_tctyp langu = sy-langu IMPORTING document_type_text = l_tb2bet TABLES application_status_text = lt_tb2bat EXCEPTIONS contract_type_missing = 1 status_group_missing = 2 uncompletion_group_missing = 3 position_types_missing = 4 OTHERS = 5.

WB2_READ_CUSTOMER_NAME CALL FUNCTION 'WB2_READ_CUSTOMER_NAME' EXPORTING customer = l_kunnr CHANGING customer_name_display = l_bezei_kunnr EXCEPTIONS customer_not_found = 1 OTHERS = 2.

WB2_READ_VENDOR_NAME CALL FUNCTION 'WB2_READ_VENDOR_NAME' EXPORTING vendor = l_elifn CHANGING vendor_name_display = l_bezei_lifnr EXCEPTIONS vendor_not_found = 1 OTHERS = 2.

WB2_BADI_ADD_DATA_INST_GET_TC CALL FUNCTION 'WB2_BADI_ADD_DATA_INST_GET_TC' IMPORTING e_add_data = g_add_data.

REUSE_ALV_POPUP_TO_SELECT CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' EXPORTING i_title = l_title i_selection = space i_zebra = yes i_tabname = 'WB2_ERROR_LI' i_structure_name = 'WB2_ERROR_LI' it_fieldcat = lt_fieldcat[] it_excluding = lt_cua_exclude TABLES t_outtab = lt_error_with_text EXCEPTIONS program_error = 0 OTHERS = 0.

WB2_RESET_EXTERNAL_DATA CALL FUNCTION 'WB2_RESET_EXTERNAL_DATA'.

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

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

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' "TC List EXPORTING i_callback_program = g_my_name_is i_callback_pf_status_set = 'PF_STATUS_SET' i_callback_user_command = 'USER_COMMAND_TC' it_fieldcat = lt_fieldcat is_layout = l_layout i_save = yes is_variant = p_gs_disvariant TABLES t_outtab = pt_komwbhk_list EXCEPTIONS OTHERS = 4.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' "TC List EXPORTING i_callback_program = g_my_name_is i_callback_pf_status_set = 'PF_STATUS_SET' i_callback_user_command = 'USER_COMMAND_TC' it_fieldcat = lt_fieldcat is_layout = l_layout i_save = yes is_variant = p_gs_disvariant TABLES t_outtab = gt_str_disp EXCEPTIONS OTHERS = 4.

WB2_DOCUMENT_DISPLAY CALL FUNCTION 'WB2_DOCUMENT_DISPLAY' EXPORTING tradingcontractno = -tkonn EXCEPTIONS no_document_number = 1 document_header_read_error = 2 OTHERS = 3.

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_komwbhk_choosen = gt_komwbhk_choosen it_fod_choosen = gt_fod_list_choosen it_fod_tc_choosen = gt_komwbgt_fod_choosen.

WB2_WBGT_READ_FOR_MUL_TKONN





CALL FUNCTION 'WB2_WBGT_READ_FOR_MUL_TKONN' EXPORTING it_komwbhk_list = gt_komwbhk_choosen TABLES et_komwbgt = lt_komwbgt.

WB2_WBGT_READ_FOR_TKONN CALL FUNCTION 'WB2_WBGT_READ_FOR_TKONN' EXPORTING i_tkonn = -tkonn IMPORTING et_komwbgt = lt_komwbgt.

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_ERROR_MSG CALL FUNCTION 'WB2_ERROR_MSG' EXPORTING i_tkonn = tkonn i_tposn = tposn i_tposn_sub = tposn_sub i_msgid = msgid i_msgty = msgty i_msgno = msgno i_msgv1 = msgv1 i_msgv2 = msgv2 i_msgv3 = msgv3 i_msgv4 = msgv4 TABLES t_emsg = t_error_messages.

RV_DOMAIN_VALUE_TEXTS CALL FUNCTION 'RV_DOMAIN_VALUE_TEXTS' EXPORTING domname = 'WB2_DOC_TYPE' domvalue = domvalue IMPORTING ddtext = ddtext.



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