SAP Reports / Programs

RBUS2205 SAP ABAP Report - Program for object type BUS2205 : Incoming invoice EC







RBUS2205 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 RBUS2205 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 RBUS2205. "Basic submit
SUBMIT RBUS2205 AND RETURN. "Return to original report after report execution complete
SUBMIT RBUS2205 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 for object type BUS2205 : Incoming invoice EC


INCLUDES used within this REPORT RBUS2205

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_INV_GETDETAIL CALL FUNCTION 'BBP_PD_INV_GETDETAIL' EXPORTING i_guid = guid_raw IMPORTING e_header = eheader TABLES * E_TAX = * E_HEADER_REL = * E_ITMLIM_REL = * E_STATUS = e_status * E_MESSAGES = * E_FREIGHT = e_item = eitem * E_ACCOUNT = e_partner = epartner * E_ATTACH = * E_LONGTEXT = EXCEPTIONS OTHERS = 01.

BBP_PARTNER_ADDRESS_GET_COMPL CALL FUNCTION 'BBP_PARTNER_ADDRESS_GET_COMPL' EXPORTING iv_addr_nr = epartner-addr_no iv_addr_np = epartner-pers_no iv_addr_type = epartner-addr_type IMPORTING * ES_ADDR1_COMPLETE = * ES_ADDR2_COMPLETE = * ES_ADDR3_COMPLETE = es_bapiaddr1 = vendoraddress * ES_BAPIADDR2 = * ES_BAPIADDR3 = EXCEPTIONS error_occurred = 1001 OTHERS = 01 .

BBP_APPROVER_GET_LIST CALL FUNCTION 'BBP_APPROVER_GET_LIST' EXPORTING i_cfguid = guid_raw i_objtype = 'BUS2205' TABLES e_approver = eapprover EXCEPTIONS OTHERS = 01.

BBP_PD_INV_STATUS_CHANGE_WF CALL FUNCTION 'BBP_PD_INV_STATUS_CHANGE_WF' EXPORTING i_guid = guid_raw status = status IMPORTING object_status = objectstatus TABLES e_messages = emessages EXCEPTIONS invalid_value_for_status = 1001 error_in_status_change = 1002 OTHERS = 01.

BBP_PD_INV_TRANSFER CALL FUNCTION 'BBP_PD_INV_TRANSFER' EXPORTING i_guid = guid_raw IMPORTING e_error_flag = error_flag EXCEPTIONS OTHERS = 01.

BBP_PD_INV_SAVE CALL FUNCTION 'BBP_PD_INV_SAVE' EXPORTING iv_header_guid = guid_raw.

BBP_PD_INV_RESET_BUFFER CALL FUNCTION 'BBP_PD_INV_RESET_BUFFER'.

BBP_INV_CONF_GET_EMAIL CALL FUNCTION 'BBP_INV_CONF_GET_EMAIL' EXPORTING i_cfguid = guid_raw i_objtype = 'BUS2205' IMPORTING email = email vendor_langu = vendor_langu EXCEPTIONS no_email_found = 1001 OTHERS = 01.

BBP_PD_INV_GETDETAIL CALL FUNCTION 'BBP_PD_INV_GETDETAIL' EXPORTING i_guid = guid_raw * I_OBJECT_ID = IMPORTING e_header = e_header TABLES e_item = e_item * E_ACCOUNT = e_partner = e_partner e_status = e_status e_messages = e_messages .

BBP_APPROVER_GET_LIST_NEW CALL FUNCTION 'BBP_APPROVER_GET_LIST_NEW' EXPORTING iv_guid = guid_raw iv_objtype = 'BUS2205' * is_cf_header = cf_header is_iv_header = e_header IMPORTING ev_created_by_requester = lv_created_by_requestor ev_requestor = lv_requestor TABLES et_approver = lt_approver * it_cf_items = e_item it_iv_items = e_item it_partner = e_partner it_messages = e_messages.

SUSR_USER_AGR_ACTIVITYGR_GET CALL FUNCTION 'SUSR_USER_AGR_ACTIVITYGR_GET' EXPORTING user_name = lv_requestor with_text = ' ' TABLES user_activitygroups = acvtivg.

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

BBP_IVREASONS_GET CALL FUNCTION 'BBP_IVREASONS_GET' EXPORTING inv_guid = guid_raw langu = langu IMPORTING short_desc = shortdesc TABLES reasons = reasons EXCEPTIONS not_found = 1001 no_reason_code = 1002 OTHERS = 01.

BAPI_INVOICEEC_CREATE CALL FUNCTION 'BAPI_INVOICEEC_CREATE' EXPORTING i_inv_header = iinvheader i_testrun = itestrun IMPORTING e_inv_header = einvheader TABLES i_inv_text = iinvtext e_inv_items = einvitems e_inv_accass = einvaccass return = return i_inv_shipcost = iinvshipcost i_inv_taxes = iinvtaxes i_inv_partner = iinvpartner i_inv_accass = iinvaccass i_inv_items = iinvitems EXCEPTIONS OTHERS = 01.

BAPI_INVOICEEC_GETDETAIL CALL FUNCTION 'BAPI_INVOICEEC_GETDETAIL' EXPORTING businessprocess = object-key-businessprocess i_doc_number = idocnumber i_with_text = iwithtext i_with_account_assignment = iwithaccountassignment IMPORTING e_inv_header = einvheader TABLES return = return e_inv_text = einvtext e_inv_shipcost = einvshipcost e_inv_taxes = einvtaxes e_inv_orgdata = einvorgdata e_inv_partner = einvpartner e_inv_accass = einvaccass e_inv_items = einvitems EXCEPTIONS OTHERS = 01.

BBP_PD_INV_STATUS_CHANGE_WF CALL FUNCTION 'BBP_PD_INV_STATUS_CHANGE_WF' EXPORTING i_guid = lv_guid_raw status = lv_status iv_changer = lv_changer IMPORTING object_status = lv_objectstatus TABLES e_messages = lt_messages EXCEPTIONS invalid_value_for_status = 1001 error_in_status_change = 1002 OTHERS = 01.

BBP_PD_INV_STATUS_CHANGE_WF CALL FUNCTION 'BBP_PD_INV_STATUS_CHANGE_WF' EXPORTING i_guid = lv_guid_raw status = 3 iv_changer = lv_changer IMPORTING object_status = lv_objectstatus TABLES e_messages = lt_messages EXCEPTIONS invalid_value_for_status = 1001 error_in_status_change = 1002 OTHERS = 01.

BBP_PDH_WFL_MAIL_FLAGS_GET CALL FUNCTION 'BBP_PDH_WFL_MAIL_FLAGS_GET' EXPORTING iv_wf_user_role = 'CR' iv_wf_scenario = 'IV' 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 = 'AP' iv_wf_scenario = 'IV' 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 = 'RV' iv_wf_scenario = 'IV' TABLES et_mail_flags = lt_mail_flags[].

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

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

BBP_PDH_WFL_ADMIN_GET CALL FUNCTION 'BBP_PDH_WFL_ADMIN_GET' EXPORTING iv_user = lv_user " optional iv_object_id = lv_object_id " optional iv_object_type = lv_object_type iv_guid = lv_guid_32 " optional TABLES et_admin_approver = lt_agent EXCEPTIONS no_admin_approver_found = 1 OTHERS = 2.

BBP_IMS_EXCP_SEND CALL FUNCTION 'BBP_IMS_EXCP_SEND' EXPORTING IS_EXCEPTION = lv_exception IV_AUTOM_SENDING = 'X' IMPORTING EV_ERROR = lv_error.

BBP_PDH_WFL_ADMIN_GET call function 'BBP_PDH_WFL_ADMIN_GET' exporting iv_user = lv_user " opt iv_object_id = lv_object_id " opt iv_object_type = lv_object_type iv_guid = lv_guid_32 " opt tables et_admin_approver = lt_agent exceptions no_admin_approver_found = 1 others = 2.



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