SAP Reports / Programs

IWO_BAPI_TRACE_TEST SAP ABAP Report - Program for testing trace data







IWO_BAPI_TRACE_TEST 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 IWO_BAPI_TRACE_TEST 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 IWO_BAPI_TRACE_TEST. "Basic submit
SUBMIT IWO_BAPI_TRACE_TEST AND RETURN. "Return to original report after report execution complete
SUBMIT IWO_BAPI_TRACE_TEST 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: COMMIT = Execute commit work
Selection Text: FILENAME = File Name
Title: Program for testing trace data
Text Symbol: 001 = The program is just for testing and not intended for productive operation.


INCLUDES used within this REPORT IWO_BAPI_TRACE_TEST

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:

IBAPI_PROC_LOAD_TRACE CALL FUNCTION 'IBAPI_PROC_LOAD_TRACE' EXPORTING iv_filename = lv_filename IMPORTING et_methods = lt_methods et_header = lt_header et_header_up = lt_header_up et_header_srv = lt_header_srv et_header_srv_up = lt_header_srv_up et_userstatus = lt_userstatus et_partner = lt_partner et_partner_up = lt_partner_up et_operation = lt_operation et_operation_up = lt_operation_up et_relation = lt_relation et_relation_up = lt_relation_up et_component = lt_component et_component_up = lt_component_up et_text = lt_text et_text_lines = lt_text_lines EXCEPTIONS read_error = 1 OTHERS = 2.

IBAPI_Z_SET_BAPI_FLAG CALL FUNCTION 'IBAPI_Z_SET_BAPI_FLAG' EXPORTING iv_flag = 'X'.

IBAPI_ALM_ORDER_INIT_ACTIONS CALL FUNCTION 'IBAPI_ALM_ORDER_INIT_ACTIONS'.

IBAPI_Z_MSG_LOG_INIT CALL FUNCTION 'IBAPI_Z_MSG_LOG_INIT'.

IBAPI_PROC_METHOD_TABLE_E2I CALL FUNCTION 'IBAPI_PROC_METHOD_TABLE_E2I' IMPORTING et_orders = lt_orders CHANGING ct_method_table = lt_methods EXCEPTIONS object_unknown = 1 method_unknown = 2 invalid_order_key = 3 required_order_no_created = 4 save_or_dialog_required = 5 OTHERS = 6.

IBAPI_SET_METHOD_LEVEL CALL FUNCTION 'IBAPI_SET_METHOD_LEVEL' EXPORTING it_methods = lt_methods IMPORTING et_method_level = lt_method_level.

IBAPI_READ_AND_LOCK_ORDERS CALL FUNCTION 'IBAPI_READ_AND_LOCK_ORDERS' EXPORTING it_aufnr = lt_orders it_methods = lt_methods "1019139 EXCEPTIONS order_not_found = 1 release_no_change = 2 order_locked = 3 OTHERS = 4.

IBAPI_PROC_METHOD_TABLE_EXEC CALL FUNCTION 'IBAPI_PROC_METHOD_TABLE_EXEC' EXPORTING it_proc_level_tab = lt_method_level it_order_tab = lt_header it_order_up_tab = lt_header_up it_order_srv_tab = lt_header_srv it_order_srv_up_tab = lt_header_srv_up it_userstatus_tab = lt_userstatus it_partner_tab = lt_partner it_partner_up_tab = lt_partner_up it_operation_tab = lt_operation it_operation_up_tab = lt_operation_up it_relation_tab = lt_relation it_relation_up_tab = lt_relation_up it_component_tab = lt_component it_component_up_tab = lt_component_up it_text_tab = lt_text it_text_lines_tab = lt_text_lines IMPORTING et_numbers = lt_numbers EXCEPTIONS data_for_method_not_found = 1 method_not_supported = 2 error_in_processing = 3 OTHERS = 4.

IBAPI_Z_LOG_DISPLAY CALL FUNCTION 'IBAPI_Z_LOG_DISPLAY' EXPORTING * IV_LOG_HANDLE = iv_no_display = space IMPORTING et_msg = lt_msg.

IBAPI_Z_SET_BAPI_FLAG CALL FUNCTION 'IBAPI_Z_SET_BAPI_FLAG' EXPORTING iv_flag = space.



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