SAP Reports / Programs | Supplier Relationship Management | Enterprise Buyer | R/3 Plug-In Interfaces(SRM-EBP-INT) SAP SRM

BBP_APO_CONTRACT_UPLOAD SAP ABAP Report - Replication of a Purchase Contract in APO System







BBP_APO_CONTRACT_UPLOAD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter BBP_APO_CONTRACT_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_APO_CONTRACT_UPLOAD. "Basic submit
SUBMIT BBP_APO_CONTRACT_UPLOAD AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_APO_CONTRACT_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: PA_EKORG = Responsible Purch. Org.
Selection Text: PA_LIEF = Supplier
Selection Text: PA_PROD = Product Number
Selection Text: PA_SRFC = Synchronous transfer
Selection Text: PA_TRUN = Test run (no transfer)
Selection Text: SO_KONR = Contract Number
Title: Replication of a Purchase Contract in APO System


INCLUDES used within this REPORT BBP_APO_CONTRACT_UPLOAD

INCLUDE: BBP_OBJECT_NAMES_CON.
INCLUDE: BBP_PD_CON_CL.
INCLUDE: BBP_APO_CON.


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_PD_CTR_GETLIST CALL FUNCTION 'BBP_PD_CTR_GETLIST' EXPORTING i_proc_org = pa_ekorg i_item_ordered_prod = lv_ordered_prod i_incomplete = c_off is_read_initial_parameter = ls_read_initial TABLES i_range_object_id = so_konr[] i_partners = lt_vendor[] e_pdlist = lt_header_guids[] e_messages = lt_messages[].

BBP_PD_LOG_INITIALIZE CALL FUNCTION 'BBP_PD_LOG_INITIALIZE'.

BBP_PD_CTR_GETDETAIL CALL FUNCTION 'BBP_PD_CTR_GETDETAIL' EXPORTING i_guid = ls_header_guids-guid IMPORTING e_header = ls_header_pd * et_conditions = lt_cnd_pd TABLES e_item = lt_item_pd[] e_partner = lt_partner_pd[] e_orgdata = lt_orgdata_pd[].

BBP_APO_CTR_CONVERSION CALL FUNCTION 'BBP_APO_CTR_CONVERSION' EXPORTING iv_apo_logsys = pa_apo it_header_pd = lt_header_pd_all it_item_pd = lt_item_pd_all it_partner_pd = lt_partner_pd_all it_orgdata_pd = lt_orgdata_pd IMPORTING et_apo_guids = lt_apo_guids et_apo_check_rel = lt_apo_check_rel_x et_apo_tpsrc = lt_apo_tpsrc et_apo_tpsrcx = lt_apo_tpsrcx et_apo_scales = lt_apo_scales et_apo_scalesx = lt_apo_scalesx EXCEPTIONS NO_RFC_DESTINATION = 1 NO_APO_CURRENCY = 2 NO_TIMEZONE = 3.

BBP_APO_CHECK_RELEVANCE CALL FUNCTION 'BBP_APO_CHECK_RELEVANCE' CHANGING ct_apo_check_rel_x = lt_apo_check_rel_x.



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