BBP_IV_UPDATE_PAYMENT_STATUS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to synchronize the status of invoices in
If you would like to execute this report or see the full code listing simply enter BBP_IV_UPDATE_PAYMENT_STATUS into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: RESETCLE = Reset Cleared Items
Selection Text: POSTDATE = D .
INCLUDE BBP_PD_CON.
No SAP DATABASE tables are accessed within this REPORT code!
BBP_PD_INV_GETLIST CALL FUNCTION 'BBP_PD_INV_GETLIST' EXPORTING iv_posting_date = ls_date_range-low iv_posting_date_to = ls_date_range-high i_read_status_first = gc_yes TABLES i_status = gt_status e_pdlist = gt_pd_list e_messages = gt_messages.
BBP_PD_INV_LOCK CALL FUNCTION 'BBP_PD_INV_LOCK' EXPORTING i_header_guid = iv_guid TABLES e_messages = lt_message.
BBP_IV_COMPLETING_STATUS_SET CALL FUNCTION 'BBP_IV_COMPLETING_STATUS_SET' EXPORTING iv_guid = iv_guid iv_status = c_s_paid iv_check_clearing = resetcle IMPORTING ev_status_set = lv_status_set EXCEPTIONS not_found = 1 failed = 2 OTHERS = 3.
BBP_IV_COMPLETING_STATUS_SET CALL FUNCTION 'BBP_IV_COMPLETING_STATUS_SET' EXPORTING iv_guid = iv_guid iv_status = c_s_be_cancelled IMPORTING ev_status_set = lv_status_set EXCEPTIONS not_found = 1 failed = 2 OTHERS = 3.
BBP_PD_INV_UNLOCK CALL FUNCTION 'BBP_PD_INV_UNLOCK' EXPORTING i_header_guid = iv_guid TABLES e_messages = lt_message.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
BBP_IV_UPDATE_PAYMENT_STATUS - BBPIVUPDATEPAYMENTSTATUS BBP_IV_UPDATE_PAYMENT_STATUS - BBPIVUPDATEPAYMENTSTATUS BBP_IV_CONSTANTS - BBPIVCONSTANTS BBP_IV_AUTO_COMPLETE_TOP - BBPIVAUTOCOMPLETETOP BBP_IV_AUTO_COMPLETE_NEW - AutoComplete report for Invoices in 'Waiting for Preceding Doc' Status BBP_IV_AUTO_COMPLETE_NEW - AutoComplete report for Invoices in 'Waiting for Preceding Doc' Status