BBP_CONTRACT_INITIAL_UPLOAD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to upload purchasing contracts and scheduling agreements from SAP ERP to SAP Supplier Relationship Management (SRM)...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_INITIAL_UPLOAD 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: S_VENDOR = SRM Vendor
Selection Text: S_P_ORG = SRM Purchasing Organization
Selection Text: S_PROC = ERP Document Type
Selection Text: S_CTR_ID = ERP Contract Numbers
Selection Text: P_SIMU = Run in Simulation Mode
Selection Text: P_REL = Release Completed Contracts
Selection Text: P_NUMBER = Number of Contracts
Selection Text: P_NOINFO = Remove Infolines
Selection Text: P_LOGSYS = Logical System
Selection Text: P_DUPLI = Disallow Duplicates
Title: Initial Upload of Contracts and Agreements from SAP ERP to SAP SRM
Text Symbol: 012 = Remove Infolines
Text Symbol: 011 = Error
Text Symbol: 010 = General
Text Symbol: 009 = Initial Upload Log
Text Symbol: 008 = No. of Restarts
Text Symbol: 007 = No. of Work Processes
Text Symbol: 006 = Server Group
Text Symbol: 005 = Use Parallel Processing
Text Symbol: 004 = Parallel Processing
Text Symbol: 003 = Additional Criteria
Text Symbol: 002 = Selection Criteria
Text Symbol: 001 = Initial Upload
INCLUDE BBP_CTR_CON.
INCLUDE GET_LOGSYS.
INCLUDE VENDOR_F4.
INCLUDE CREATE_LOG.
INCLUDE MESSAGE_ADD.
INCLUDE CALLBACK_READ.
INCLUDE DISPLAY_LOG.
INCLUDE SELECT_OPTIONS_RESTRICT.
No SAP DATABASE tables are accessed within this REPORT code!
BBP_READ_ATTRIBUTES CALL FUNCTION 'BBP_READ_ATTRIBUTES' EXPORTING iv_user = sy-uname it_attr_list = lt_attr_list IMPORTING et_attr = lt_attr EXCEPTIONS object_id_not_found = 1 no_attributes_requested = 2 attributes_read_error = 3 OTHERS = 4.
BBP_PDSEC_AUTHORITY_CHECK CALL FUNCTION 'BBP_PDSEC_AUTHORITY_CHECK' EXPORTING is_auth_check = ls_auth_check EXCEPTIONS not_authorized = 1 OTHERS = 2.
BBP_VENDOR_GETINFO CALL FUNCTION 'BBP_VENDOR_GETINFO' EXPORTING partner = ls_vendor-low x_with_name = gc_no TABLES vendor_set = lt_vendor_list.
BBP_BUPA_PURCHASE_ORG_CHECK CALL FUNCTION 'BBP_BUPA_PURCHASE_ORG_CHECK' EXPORTING iv_purchase_org = lt_purchase_org EXCEPTIONS purchase_org_not_valid = 1 OTHERS = 2.
META_CTR_INIT_UPLOAD CALL FUNCTION 'META_CTR_INIT_UPLOAD' EXPORTING iv_log_sys = p_logsys iv_ctr_release = p_rel iv_simulation = p_simu iv_no_duplicates = p_dupli iv_threshhold = p_number iv_lose_hier_data = lv_lose_hierarchy TABLES it_range_be_object_id = s_ctr_id it_range_process_type = s_proc it_range_vendor = s_vendor it_range_porg = s_p_org et_messages = lt_messages.
META_CTR_INIT_UPLOAD CALL FUNCTION 'META_CTR_INIT_UPLOAD' EXPORTING iv_log_sys = p_logsys iv_ctr_release = p_rel iv_simulation = p_simu iv_no_duplicates = p_dupli iv_threshhold = p_number TABLES it_range_be_object_id = s_ctr_id it_range_process_type = s_proc it_range_vendor = s_vendor it_range_porg = s_p_org et_messages = lt_messages.
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_CONTRACT_INITIAL_UPLOAD - Initial Upload of Contracts and Agreements from SAP ERP to SAP SRM BBP_CONTRACT_INITIAL_UPLOAD - Initial Upload of Contracts and Agreements from SAP ERP to SAP SRM BBP_CONTRACT_CHECKF01 - Include BBP_CONTRACT_CHECKF01 BBP_CONTRACT_CHECK - Check Purchasing Contract Data BBP_CONTRACT_CHECK - Check Purchasing Contract Data BBP_CONTRACT_BACKGROUND_PROC - Background processing of contracts