BCINVWL_APPROVE_DOCF01 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 BCINVWL_APPROVE_DOCF01 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
UBC_GET_INVOICE_FOR_USER call function 'UBC_GET_INVOICE_FOR_USER' exporting im_org = g_org im_usr = g_usr im_wi_id = ps_list-wi_id importing ex_invh2 = ls_invh2 ex_rcode = l_ret_code et_invhact = lt_invhact et_invp = lt_invp et_invpact = lt_invpact et_next_users = lt_next_users et_func_excl = lt_func_excl.
UBC_WIND_INVOICE call function 'UBC_WIND_INVOICE' exporting im_wi_id = ps_list-wi_id usr = g_usr is_invh = ls_invh it_invp = lt_invp it_next_users = lt_next_users it_func_excl = lt_func_excl importing next_function = l_next_function es_invh_ch = ls_invh_ch ex_next_user = l_next_user changing ct_invhact = lt_invhact ct_invpact = lt_invpact.
UBC_SET_INVOICE_FROM_USER call function 'UBC_SET_INVOICE_FROM_USER' exporting im_org = g_org im_usr = g_usr im_wi_id = ps_list-wi_id im_next_function = l_next_function it_invhact = lt_invhact it_invpact = lt_invpact is_invh_ch = ls_invh_ch im_next_user = l_next_user importing ex_rcode = l_ret_code.
REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_callback_program = l_repid i_callback_pf_status_set = 'SET_STATUS' i_callback_user_command = 'USER_COMMAND' i_structure_name = 'UBC_S_INVH1' is_layout = ls_layout it_fieldcat = lt_fcat i_save = 'A' * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = tables t_outtab = gt_list exceptions program_error = 1 others = 2.
UBC_GET_INVOICE_LIST_FOR_USER call function 'UBC_GET_INVOICE_LIST_FOR_USER' exporting im_org = g_org im_usr = g_usr importing ex_t_list = gt_list.
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_structure_name = 'UBC_S_INVH1' changing ct_fieldcat = pt_fcat exceptions others = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.