SAP Reports / Programs | Supplier Relationship Management | Enterprise Buyer | Contract Management(SRM-EBP-CON) SAP SRM

BBP_CONTRACT_MASS_UPDATE SAP ABAP Report - Admin Report "Contract Mass Change - Work Packages (WP)"







BBP_CONTRACT_MASS_UPDATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for With this report, you can check for which purchasing contracts the following applies: the end of the validity period is approaching, the release quantity is approaching the target quantity, the release value is approaching the target value SAP BW provides evaluations that go well beyond the scope of this report...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter BBP_CONTRACT_MASS_UPDATE 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 BBP_CONTRACT_MASS_UPDATE. "Basic submit
SUBMIT BBP_CONTRACT_MASS_UPDATE AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_CONTRACT_MASS_UPDATE 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: RT_STATU = Status ...
Selection Text: RT_RELID = RELID
Selection Text: RT_CR_BY = Created by ...
Selection Text: RT_CR_AT = Created at ...
Title: Admin Report "Contract Mass Change - Work Packages (WP)"
Text Symbol: 071 = Contract Description
Text Symbol: 080 = Method
Text Symbol: 081 = Filter
Text Symbol: 082 = Messages Simu
Text Symbol: 083 = Messages Apply
Text Symbol: 090 = ProductID
Text Symbol: 091 = Product Description
Text Symbol: 092 = Partner Product
Text Symbol: 093 = CategoryID
Text Symbol: 094 = Category Description
Text Symbol: 095 = Location
Text Symbol: 096 = Location Description
Text Symbol: 100 = For the input selection, no "Contract Mass Changes" Work Package(s) found
Text Symbol: 101 = Error on detail screen - Please contact your Sys.Adm.
Text Symbol: 104 = Method has no content ...
Text Symbol: 105 = No message(s) ...
Text Symbol: 106 = Attachment Content as Binary Data
Text Symbol: 200 = Business Document Service
Text Symbol: 201 = Bus.Doc.Serv.
Text Symbol: 202 = Document
Text Symbol: 203 = Doc.
Text Symbol: 204 = document
Text Symbol: 205 = doc.
Text Symbol: 206 = (YYYYMMDDhhmmss)
Text Symbol: 208 = Indicator Showing if
Text Symbol: 010 = WP Action Type
Text Symbol: 011 = Display
Text Symbol: 012 = Delete
Text Symbol: 013 = Archive
Text Symbol: 014 = Test run (valid for action types "Display" and "Delete")
Text Symbol: 020 = WP Criteria
Text Symbol: 021 = View
Text Symbol: 022 = Status





Text Symbol: 023 = Description
Text Symbol: 024 = Time
Text Symbol: 025 = Created on
Text Symbol: 026 = Older than
Text Symbol: 027 = day(s)
Text Symbol: 028 = Newer than
Text Symbol: 029 = Created by
Text Symbol: 030 = Please don't mix different "WP time" criteria
Text Symbol: 040 = Deleted
Text Symbol: 041 = Not deleted
Text Symbol: 042 = Archived
Text Symbol: 043 = Test Archived
Text Symbol: 050 = WorkPackage Description (local time)
Text Symbol: 051 = Created at (UTC)
Text Symbol: 052 = Created by
Text Symbol: 053 = Number of contracts
Text Symbol: 054 = Status Simulation
Text Symbol: 055 = Status Apply
Text Symbol: 060 = Perform Mass Changes in Contracts
Text Symbol: 061 = Mass Download of Contracts
Text Symbol: 062 = Mass Upload of Contracts
Text Symbol: 070 = Contract(s)


INCLUDES used within this REPORT BBP_CONTRACT_MASS_UPDATE

INCLUDE BBP_PD_CON_CL.
INCLUDE BBP_PD_CON_SECURITY.


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_PDSEC_AUTHORITY_CHECK CALL FUNCTION 'BBP_PDSEC_AUTHORITY_CHECK' EXPORTING is_auth_check = ls_auth_check EXCEPTIONS not_authorized = 1 OTHERS = 2.

BBP_PDSEC_AUTHORITY_CHECK CALL FUNCTION 'BBP_PDSEC_AUTHORITY_CHECK' EXPORTING is_auth_check = ls_auth_check EXCEPTIONS not_authorized = 1 OTHERS = 2.

BBP_CTR_MASS_APP_CLUSTER_READ CALL FUNCTION 'BBP_CTR_MASS_APP_CLUSTER_READ' EXPORTING it_relid = lt_relid it_status = lt_status it_description = lt_description it_created_at = lt_created_at it_created_by = lt_created_by IMPORTING et_cluster = lt_bbpt_ctr_mass_ch.

BBP_CTR_MASS_APP_WP_RECEIVE CALL FUNCTION 'BBP_CTR_MASS_APP_WP_RECEIVE' EXPORTING iv_workpack_guid = lv_guid_raw IMPORTING es_workpackage = ls_cluster-wp es_err_mess = ls_cluster-wp_mess_import_err EXCEPTIONS for_input_guid_no_data = 1 more_than_twenty_methods = 2 OTHERS = 3.

BBP_CTR_MASS_APP_MESS_RECEIVE CALL FUNCTION 'BBP_CTR_MASS_APP_MESS_RECEIVE' EXPORTING iv_art = 'SIMU' iv_wp_back_mess_guid = ls_bbpt_ctr_mass_ch-srtfd IMPORTING es_wp_back_mess = ls_cluster-mess_simu ev_status = ls_cluster-status_simu EXCEPTIONS for_input_guid_no_data = 1 OTHERS = 2.

BBP_CTR_MASS_APP_MESS_RECEIVE CALL FUNCTION 'BBP_CTR_MASS_APP_MESS_RECEIVE' EXPORTING iv_art = 'UPDT' iv_wp_back_mess_guid = ls_bbpt_ctr_mass_ch-srtfd IMPORTING es_wp_back_mess = ls_cluster-mess_apply ev_status = ls_cluster-status_apply EXCEPTIONS for_input_guid_no_data = 1 OTHERS = 2.

BBP_CTR_MASS_APP_CLUSTER_DEL





CALL FUNCTION 'BBP_CTR_MASS_APP_CLUSTER_DEL' EXPORTING iv_guid = ls_cluster-srtfd IMPORTING es_err_mess = ls_cluster-delete_err EXCEPTIONS not_deleted = 1 OTHERS = 2.

ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = lv_test create_archive_file = 'X' object = 'BBP_MASSOP' comments = lv_comments IMPORTING archive_handle = lv_archive_handle EXCEPTIONS internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 OTHERS = 5.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = lv_archive_handle object_id = ls_cluster-srtfd EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = lv_archive_handle * RECORD_FLAGS = ' ' record_structure = 'BBPD_CTR_MASS_CH' TABLES table = lt_bbpt_ctr_mass_ch_buff1 * RECORD_FLAGS_TABLE = EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = lv_archive_handle IMPORTING * OBJECT_OFFSET = archive_name = lv_archive_name EXCEPTIONS file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 OTHERS = 6.

ARCHIVE_WRITE_STATISTICS * CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' * EXPORTING * archive_handle = lv_archive_handle ** STATISTICS_ONLY_PER_RUN = ' ' ** STATISTICS_ONLY_PER_FILE = ' ' * EXCEPTIONS * internal_error = 1 * wrong_access_to_archive = 2 * OTHERS = 3.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = lv_archive_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'BBP_CTR_MASS_STATUS' langu = sy-langu texts_only = 'X' TABLES dd07v_tab = lt_dd07t.

BBP_CTR_MASS_APP_SCREEN_GET CALL FUNCTION 'BBP_CTR_MASS_APP_SCREEN_GET' EXPORTING iv_change_method = ls_meth_wfilpar-method IMPORTING ev_ttype_name = lv_ttype_name.



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