SAP Reports / Programs | Logistics - General | Global Trade | Trading Contract(LO-GT-TC) SAP LO

B2B009F00 SAP ABAP INCLUDE - Include B2B009F00







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


INCLUDES used within this REPORT B2B009F00

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_TRANSFER_KOMWBHK_TO_MEM call function 'WB2_TRANSFER_KOMWBHK_TO_MEM'.

WB2_TRANSFER_KOMWBHI_TO_MEM call function 'WB2_TRANSFER_KOMWBHI_TO_MEM'.

WB2_TRANSFER_KOMWBHF_TO_MEM call function 'WB2_TRANSFER_KOMWBHF_TO_MEM'.

WB2_BADI_ADD_DATA_INST_GET_TCA call function 'WB2_BADI_ADD_DATA_INST_GET_TCA' importing e_document_copy = g_document_copy.

WB2_READ_DOCU_HEADER_SINGLE_2 call function 'WB2_READ_DOCU_HEADER_SINGLE_2' exporting i_tkonn = p_tkonn importing e_komwbhk = cpfrom_komwbhk exceptions no_record_found = 1 others = 2.

WB2_READ_DOCU_ITEM_WITH_TKONN call function 'WB2_READ_DOCU_ITEM_WITH_TKONN' exporting i_tkonn = p_tkonn " referenced document number tables t_komwbhi = lt_outtab " items in ref.doc.

WB2_FILL_DYNAMICAL_ITEM_DATA call function 'WB2_FILL_DYNAMICAL_ITEM_DATA' exporting i_komwbhk = cpfrom_komwbhk i_komwbhi = it_komwbhi = lt_outtab[] importing e_komwbhi = exceptions assoc_type_error = 1 others = 2.

WB2_DOCUMENT_FLOW_READ call function 'WB2_DOCUMENT_FLOW_READ' exporting i_tkonn = p_tkonn i_refresh_buffer = 'X' tables t_komwbhf = lt_komwbhf exceptions others = 0.

WB2_PREFETCH_WBHI_TKONN_ARRAY call function 'WB2_PREFETCH_WBHI_TKONN_ARRAY' exporting it_tkonn = lt_tkonn_fs.

WB2_PREFETCH_WBHK_TKONN_ARRAY call function 'WB2_PREFETCH_WBHK_TKONN_ARRAY' exporting it_tkonn = lt_tkonn_fs.

MARA_SINGLE_READ call function 'MARA_SINGLE_READ' exporting matnr = -matnr importing wmara = l_mara exceptions others = 1.

WB2_SET_COPY_PROJECT_WITH_N2M call function 'WB2_SET_COPY_PROJECT_WITH_N2M' exporting i_copy_project_with_n2m = 'X'.

WB2_READ_WBHF_FOR_TPOSN_BUFFER call function 'WB2_READ_WBHF_FOR_TPOSN_BUFFER' exporting i_tkonn = -tkonn i_tposn = -tposn i_tktyp_to = '1' importing e_komwbhf_tab = s_komwbhf[].

WB2_READ_DOCU_HEADER_SINGLE_2 call function 'WB2_READ_DOCU_HEADER_SINGLE_2' exporting i_tkonn = -tkonn_from importing e_komwbhk = l_komwbhk exceptions no_record_found = 1 others = 2.

WB2_QUAN_SUCC_FOR_PRE_TC_ITEM call function 'WB2_QUAN_SUCC_FOR_PRE_TC_ITEM' exporting i_komwbhk = cpfrom_komwbhk i_komwbhi = it_komwbhi_to = it_komwbhi_to importing e_succ_quan_s = l_succ_quan_s e_succ_quan_p = l_succ_quan_p e_unit_of_quan = l_unit_of_quan exceptions no_pre_contract = 1 conversion_error = 2 error_occured = 3 initial_data = 4 customizing_error = 5 others = 6.

WB2_QUAN_ASSO_FOR_PRE_TC_ITEM call function 'WB2_QUAN_ASSO_FOR_PRE_TC_ITEM' exporting i_tkonn = -tkonn i_tposn = -tposn i_tposn_sub = -tposn_sub i_tkonn_partner = -tkonn_from i_tposn_partner = -tposn_from i_tposn_sub_partner = -tposn_sub_from it_komwbhi_to = it_komwbhi_to importing e_succ_asso_quan = l_succ_asso_quan e_unit_of_quan = l_unit_of_quan exceptions no_pre_contract = 1 initial_data = 2 conversion_error = 3 customizing_error = 4 internal_error = 5 others = 6.

WB2_READ_DOCU_ITEM_SINGLE call function 'WB2_READ_DOCU_ITEM_SINGLE' exporting i_tkonn = -tkonn_to i_tposn = -tposn_to tables t_komwbhi = l_succ_komwbhi_tab exceptions no_records_found = 1 others = 2.

WB2_READ_DOCU_HEADER_SINGLE call function 'WB2_READ_DOCU_HEADER_SINGLE' exporting i_tkonn = -tkonn_to importing e_komwbhk = ls_komwbhk exceptions no_record_found = 1 others = 2.

WB2_READ_DOCU_ITEM_SINGLE





call function 'WB2_READ_DOCU_ITEM_SINGLE' exporting i_tkonn = -tkonn_to i_tposn = -tposn_to tables t_komwbhi = l_succ_komwbhi_tab exceptions no_records_found = 1 others = 2.

WB2_READ_DOCU_HEADER_SINGLE call function 'WB2_READ_DOCU_HEADER_SINGLE' exporting i_tkonn = -tkonn_to importing e_komwbhk = ls_komwbhk exceptions no_record_found = 1 others = 2.

WB2_COPY_N2M_HANDLING call function 'WB2_COPY_N2M_HANDLING' exporting i_komwbhi = l_komwbhi i_komwbhk = l_komwbhk i_source_side = l_side_from i_target_side = l_side importing e_assoc_quan = p_menge e_unit_of_quan = l_unit_of_quan changing c_cp_ref = c_cp_ref.

WB2_READ_DOCU_ITEM_WITH_TKONN call function 'WB2_READ_DOCU_ITEM_WITH_TKONN' exporting i_tkonn = -tkonn_from tables t_komwbhi = lt_komwbhi_partner exceptions no_records_found = 1 others = 2.

WB2_COPY_N2M_HANDLING call function 'WB2_COPY_N2M_HANDLING' exporting i_komwbhi = l_komwbhi i_komwbhk = l_komwbhk i_source_side = l_side_from i_target_side = l_side importing e_assoc_quan = p_menge e_unit_of_quan = l_unit_of_quan changing c_cp_ref = c_cp_ref.

WB2_READ_DOCU_ITEM_WITH_TKONN call function 'WB2_READ_DOCU_ITEM_WITH_TKONN' exporting i_tkonn = -tkonn_from tables t_komwbhi = lt_komwbhi_partner exceptions no_records_found = 1 others = 2.

WB2_COPY_N2M_HANDLING call function 'WB2_COPY_N2M_HANDLING' exporting i_komwbhi = l_komwbhi i_komwbhk = l_komwbhk i_source_side = l_side_from i_target_side = l_side importing e_assoc_quan = p_menge e_unit_of_quan = l_unit_of_quan changing c_cp_ref = c_cp_ref.

WB2_COPY_N2M_HANDLING call function 'WB2_COPY_N2M_HANDLING' exporting i_komwbhi = l_komwbhi i_komwbhk = l_komwbhk i_source_side = l_side_from i_target_side = l_side importing e_assoc_quan = p_menge e_unit_of_quan = l_unit_of_quan changing c_cp_ref = c_cp_ref.



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