SAP Reports / Programs | Supplier Relationship Management | Enterprise Buyer | Purchase Document Methods(SRM-EBP-PD) SAP SRM

RBUS2209 SAP ABAP Report - Program f. Object Type BUS2209: Order Confirmation EC







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


Text pool values


Title: Program f. Object Type BUS2209: Order Confirmation EC


INCLUDES used within this REPORT RBUS2209

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:

BBP_PD_PCO_GETDETAIL CALL FUNCTION 'BBP_PD_PCO_GETDETAIL' EXPORTING i_guid = lv_guid_raw IMPORTING e_header = ls_header TABLES e_item = gt_pco_item e_messages = lt_messages.

BBP_PD_PCO_PO_DIFF_EXIST CALL FUNCTION 'BBP_PD_PCO_PO_DIFF_EXIST' EXPORTING iv_guid = gs_header-guid IMPORTING ev_diff_tolerance = lv_changes_exist.

BBP_PD_ALL_GET_DIFF CALL FUNCTION 'BBP_PD_ALL_GET_DIFF' EXPORTING iv_guid1 = gs_header-guid iv_guid2 = gs_header-src_guid iv_comp_method = 'PCO' is_read_flags = lv_get_diff_read_flags IMPORTING ev_objects_differ = lv_objects_differ.

BBP_PD_PCO_TOLERANCES_CHECK CALL FUNCTION 'BBP_PD_PCO_TOLERANCES_CHECK' EXPORTING iv_guid = gs_header-guid IMPORTING ev_tolerances_exceeded = lv_exceeded.

BBP_PD_PCO_GETDETAIL CALL FUNCTION 'BBP_PD_PCO_GETDETAIL' EXPORTING i_guid = ls_header-guid i_with_itemdata = 'X' TABLES e_item = lt_item.

BBP_PD_PCO_GETLIST_FOR_PO CALL FUNCTION 'BBP_PD_PCO_GETLIST_FOR_PO' EXPORTING i_po_object_id = lv_object_id i_active = 'X' TABLES e_pco_hdr_list = lt_pco_list.

BBP_PD_PCO_GETDETAIL CALL FUNCTION 'BBP_PD_PCO_GETDETAIL' EXPORTING i_guid = lt_pco_list-guid i_with_itemdata = 'X' TABLES e_item = lt_wa_item.

BBP_PD_PCO_ITEM_GETDETAIL CALL FUNCTION 'BBP_PD_PCO_ITEM_GETDETAIL' EXPORTING i_guid = lt_obs_item-guid TABLES e_item_pco_rel = lt_item_pco_rel.

BBP_PD_PCO_GETDETAIL CALL FUNCTION 'BBP_PD_PCO_GETDETAIL' EXPORTING i_guid = lv_guid IMPORTING e_header = ls_header.

BBP_PD_PCO_STATUS_CHANGE_WF CALL FUNCTION 'BBP_PD_PCO_STATUS_CHANGE_WF' EXPORTING iv_guid = lv_guid iv_status = '0' iv_wfl_started_by = lv_changer IV_WORKITEM_ID = lv_wi_id TABLES et_messages = lt_messages EXCEPTIONS invalid_value_for_status = 1001 error_in_status_change = 1002 error_at_po_update_from_pco = 1003 OTHERS = 01.

BBP_PD_PCO_STATUS_CHANGE_WF CALL FUNCTION 'BBP_PD_PCO_STATUS_CHANGE_WF' EXPORTING iv_guid = lv_guid iv_status = '1' iv_wfl_started_by = lv_changer IV_WORKITEM_ID = lv_wi_id TABLES et_messages = lt_messages EXCEPTIONS invalid_value_for_status = 1001 error_in_status_change = 1002 error_at_po_update_from_pco = 1003 OTHERS = 01.

BBP_ALERT_INTERNAL_PCO CALL FUNCTION 'BBP_ALERT_INTERNAL_PCO' EXPORTING msgid = it_messages-msgid msgno = it_messages-msgno msgarg1 = lv_msgarg1 msgarg2 = lv_msgarg2 msgarg3 = lv_msgarg3 msgarg4 = lv_msgarg4.

BBP_ALERT_WFL_TEHNIC CALL FUNCTION 'BBP_ALERT_WFL_TEHNIC' EXPORTING msgid = iv_msgid msgno = iv_msgno EXCEPTIONS invalid_parameters = 1 OTHERS = 2.

BBP_PDH_WFL_MAIL_FLAGS_GET CALL FUNCTION 'BBP_PDH_WFL_MAIL_FLAGS_GET' EXPORTING iv_wf_user_role = 'AP' iv_wf_scenario = 'OR' "Order response = PCO TABLES et_mail_flags = lt_mail_flags[].

BBP_PDH_WFL_MAIL_FLAGS_GET CALL FUNCTION 'BBP_PDH_WFL_MAIL_FLAGS_GET' EXPORTING iv_wf_user_role = 'CR' iv_wf_scenario = 'OR' "Order response = PCO TABLES et_mail_flags = lt_mail_flags[].

BBP_PDH_WFL_MAIL_FLAGS_GET CALL FUNCTION 'BBP_PDH_WFL_MAIL_FLAGS_GET' EXPORTING iv_wf_user_role = 'PU' iv_wf_scenario = 'OR' TABLES et_mail_flags = lt_mail_flags[].

BBP_PD_PO_GETDETAIL CALL FUNCTION 'BBP_PD_PO_GETDETAIL' EXPORTING i_guid = gs_header-src_guid i_with_itemdata = '' * IMPORTING * e_header = lv_po_header TABLES e_version = lt_version.

SWX_GET_MANAGER CALL FUNCTION 'SWX_GET_MANAGER' TABLES actor_tab = lt_approver ac_container = lt_ac_container EXCEPTIONS nobody_found = 1 OTHERS = 2.

BAPI_USER_GET_DETAIL





CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = iv_user TABLES activitygroups = lt_agr_user return = lt_return.

SUSR_USER_AGR_ACTIVITYGR_GET * CALL FUNCTION 'SUSR_USER_AGR_ACTIVITYGR_GET' * EXPORTING * user_name = iv_user * with_text = ' ' * TABLES * user_activitygroups = lt_activgr.



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