SAP Reports / Programs

RWB2B010 SAP ABAP Report - Relevant Reference Documents in Global Trade Management







RWB2B010 is a standard Executable ABAP Report 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 RWB2B010 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FI_DRILLDOWN - GT Documents for FI Document


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 RWB2B010. "Basic submit
SUBMIT RWB2B010 AND RETURN. "Return to original report after report execution complete
SUBMIT RWB2B010 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_BELNR = D Document Number
Selection Text: P_BUKRS = D Company Code
Selection Text: P_GJAHR = D Fiscal year
Title: Relevant Reference Documents in Global Trade Management
Text Symbol: 100 = Document Flow for FI Docs
Text Symbol: 110 = Linking Document
Text Symbol: 120 = Base Trading Contract
Text Symbol: B01 = FI Document


INCLUDES used within this REPORT RWB2B010

INCLUDE B2B10TOP . "


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:

FI_DOCUMENT_READ call function 'FI_DOCUMENT_READ' exporting i_bukrs = p_bukrs i_belnr = p_belnr i_gjahr = p_gjahr exceptions not_found = 1 others = 0.

WB2_GET_DOCUMENTFLOW_FROM_FI call function 'WB2_GET_DOCUMENTFLOW_FROM_FI' exporting i_bukrs = p_bukrs i_belnr = p_belnr i_gjahr = p_gjahr importing e_doc_key = g_doc_key tables et_pred_succ = gt_pred_succ exceptions document_not_found = 1 others = 2.

WB2B_WBGT_SINGLE_READ call function 'WB2B_WBGT_SINGLE_READ' exporting i_vbeln = l_vbeln i_posnr = l_posnr i_doc_type = gt_pred_succ-doc_type i_gjahr = l_gjahr importing e_komwbgt = l_komwbgt exceptions others = 1.

WB2B_WBGT_SINGLE_READ call function 'WB2B_WBGT_SINGLE_READ' exporting i_vbeln = l_vbeln i_posnr = l_posnr i_doc_type = lt_pred_succ-doc_type i_gjahr = l_gjahr importing e_komwbgt = l_komwbgt exceptions others = 1.

WB2_GET_DOCUMENT_TEXT_FROM_TYP call function 'WB2_GET_DOCUMENT_TEXT_FROM_TYP' exporting document_type = lt_pred_succ-doc_type document_number = l_document i_tew_type = lt_pred_succ-tew_type importing document_text = doc_text exceptions others = 1.

WB2_GET_DOCUMENT_TEXT_FROM_TYP call function 'WB2_GET_DOCUMENT_TEXT_FROM_TYP' exporting document_type = g_doc_key(2) document_number = l_document i_tew_type = lt_pred_succ-tew_type importing document_text = doc_text exceptions others = 1.

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_callback_program = 'RWB2B010' i_callback_pf_status_set = 'SET_STATUS' i_callback_user_command = 'USER_COMMAND' i_structure_name = 'STEPFLOW' is_layout = gs_layout it_events = gt_events[] tables t_outtab = gt_stepflow exceptions others = 0.



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