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

BBP_CONTRACT_INITIAL_UPLOAD SAP ABAP Report - Initial Upload of Contracts and Agreements from SAP ERP to SAP SRM







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


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_INITIAL_UPLOAD. "Basic submit
SUBMIT BBP_CONTRACT_INITIAL_UPLOAD AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_CONTRACT_INITIAL_UPLOAD 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: 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


INCLUDES used within this REPORT BBP_CONTRACT_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.


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_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.



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