SAP Reports / Programs

BBP_CONTRACT_CHECK SAP ABAP Report - Check Purchasing Contract Data







BBP_CONTRACT_CHECK 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 check purchase contracts...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_CHECK 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_CHECK. "Basic submit
SUBMIT BBP_CONTRACT_CHECK AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_CONTRACT_CHECK 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: CONTRACT = Contracts
Selection Text: IV_EXP = Select Expired Contracts
Title: Check Purchasing Contract Data
Text Symbol: 001 = Relationship of Release Quantity to Target Quantity (in Percent)
Text Symbol: 002 = Relationship of Release Value to Target Value (in Percent)
Text Symbol: 003 = Time Frame Before Contract Validity End (in Days)
Text Symbol: 004 = Contract Selection
Text Symbol: 005 = Alarm Parameter
Text Symbol: 007 = Alarm Triggered When Following Parameters Exceeded:
Text Symbol: 008 = Events Created for Following Contracts:
Text Symbol: 009 = Contract
Text Symbol: 010 = Failed to create events
Text Symbol: 011 = Contract header: Relationship of release value to total value (in percent)
Text Symbol: 012 = Work Item generation failed
Text Symbol: 013 = Message type
Text Symbol: 014 = Message


INCLUDES used within this REPORT BBP_CONTRACT_CHECK

INCLUDE BBP_PD_CON.
INCLUDE BBP_CONTRACT_CHECKF01.


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_PD_CTR_GETLIST CALL FUNCTION 'BBP_PD_CTR_GETLIST' EXPORTING i_subtype = ' ' i_incomplete = ' ' is_read_initial_parameter = ls_read_initial_parameter iv_expired = iv_exp "Newly added in SRM 5.0

BBP_GET_THRESHHOLD_DATA CALL FUNCTION 'BBP_GET_THRESHHOLD_DATA' EXPORTING iv_process_type = lv_process_type IMPORTING es_thresh = ls_thresh.

BBP_BW_ALERT_CHECK_CTR CALL FUNCTION 'BBP_BW_ALERT_CHECK_CTR' EXPORTING iv_guid = ls_pdlist-guid iv_delta_validity = ls_kpi_limits-validity iv_delta_value_header = ls_kpi_limits-value_header iv_delta_value = ls_kpi_limits-value iv_delta_quantity = ls_kpi_limits-quantity IMPORTING et_messages = lt_messages.

SWI_WORKITEMS_OF_OBJECT_GET CALL FUNCTION 'SWI_WORKITEMS_OF_OBJECT_GET' EXPORTING objtype = ls_pdlist_ctr-object_type objkey = lv_objkey * IBF_OBJECT = check_initial_objkey = space TABLES itemlist = lt_itemlist .

BBP_BW_ALERT_GET_USER CALL FUNCTION 'BBP_BW_ALERT_GET_USER' EXPORTING iv_guid = lv_guid_32 IMPORTING et_purchaser = lt_purchaser.

BBP_EV_API_EVENTS_SAVE CALL FUNCTION 'BBP_EV_API_EVENTS_SAVE' EXPORTING iv_object_type = 'BUS2000113' iv_analyze_internal_events = '' * IT_MESSAGES iv_commit = 'X' it_external_events = lt_events IMPORTING et_published_events = lt_triggered_events EXCEPTIONS failed = 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 BBP_CONTRACT_CHECK or its description.