SAP Reports / Programs

BBP_CONTRACT_BACKGROUND_PROC SAP ABAP Report - Background processing of contracts







BBP_CONTRACT_BACKGROUND_PROC 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_CONTRACT_BACKGROUND_PROC 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_BACKGROUND_PROC. "Basic submit
SUBMIT BBP_CONTRACT_BACKGROUND_PROC AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_CONTRACT_BACKGROUND_PROC VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Background processing of contracts
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: 006 = Contract Copy:
Text Symbol: 007 = Alarm Triggered When Following Parameters Exceeded:
Text Symbol: 008 = Work Item Created for Following Contracts:
Text Symbol: 009 = Document
Text Symbol: 010 = Message
Text Symbol: 011 = Was processed
Text Symbol: 012 = Could not be processed due to the following error:
Text Symbol: 019 = Item no.


INCLUDES used within this REPORT BBP_CONTRACT_BACKGROUND_PROC

INCLUDE BBP_PD_CON .
INCLUDE LBBP_CTR_UITPC.


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_GETDETAIL call function 'BBP_PD_CTR_GETDETAIL' exporting i_guid = iv_guid i_with_itemdata = space importing e_header = ls_pd_header tables e_item = lt_items.

BBP_PD_CTR_LOCK call function 'BBP_PD_CTR_LOCK' exporting i_header_guid = iv_guid tables e_messages = lt_messages[].

BBP_CTR_UI_FCODE_COPY call function 'BBP_CTR_UI_FCODE_COPY' exporting iv_guid = iv_guid iv_create_ctr_from_temp = iv_cft iv_create_temp_from_ctr = iv_tfctr tables ct_messages = lt_messages[] changing cs_header = ls_header.

BBP_CTR_UI_FCODE_COPY call function 'BBP_CTR_UI_FCODE_COPY' exporting iv_guid = iv_guid iv_create_ctr_from_temp = iv_cft tables ct_messages = lt_messages[] changing cs_header = ls_header.

BBP_CTR_UI_FCODE_RENEW call function 'BBP_CTR_UI_FCODE_RENEW' exporting is_header = ls_header importing es_bid_header = ls_pd_bid_header et_messages = lt_messages[] exceptions bid_creation_failed = 1 others = 2.

BBP_OUTPUT_CTR_PREVIEW_SMART call function 'BBP_OUTPUT_CTR_PREVIEW_SMART' exporting iv_guid = iv_guid is_parameters = ls_parameters importing es_pdf = ls_pdf exceptions no_smartform = 1 no_partner = 2 no_data = 3 psf_error = 4 otf_error = 5 its_error = 6 no_printer = 7 no_triggertypecoll = 8 no_mediacoll = 9 no_medium = 10 no_media_map = 11 archiv_error = 12 others = 13.

BBP_OUTPUT_X_TABLESIZE_CHG call function 'BBP_OUTPUT_X_TABLESIZE_CHG' exporting iv_byte_mode = gc_yes iv_xstring = ls_pdf importing ev_size = lv_size tables et_data = lt_attachment exceptions noentries = 1 others = 2.

BBP_CTR_UI_EXCEL_DOWNLOAD call function 'BBP_CTR_UI_EXCEL_DOWNLOAD' exporting iv_header_guid = ls_header-guid importing ev_xl_content = lv_xl_xstring et_messages = lt_mesgs.

BBP_CTR_UI_EXCEL_DOWNLOAD call function 'BBP_CTR_UI_EXCEL_DOWNLOAD' exporting iv_header_guid = ls_header-guid is_external_call = ls_external_call iv_give_attachment = gc_yes is_header = ls_header importing et_exceltab = lt_exceltab changing ct_file_options = lt_file_options.

BBP_PDH_FILE_CONVERT call function 'BBP_PDH_FILE_CONVERT' exporting iv_string = lv_string importing ev_xstring = lv_xstring.

BBP_OUTPUT_X_TABLESIZE_CHG call function 'BBP_OUTPUT_X_TABLESIZE_CHG' exporting iv_byte_mode = gc_yes iv_xstring = lv_xstring importing ev_size = lv_size tables et_data = lt_attachment exceptions noentries = 1 others = 2.

BBP_CTR_UI_FCODE_CURR_CHANGE call function 'BBP_CTR_UI_FCODE_CURR_CHANGE' exporting iv_hguid = iv_guid iv_currency_new = lv_currency_new tables ct_messages = lt_messages[] changing cs_header = ls_header.

/SAPPSSRM/BO_BASE_FACTORY CALL FUNCTION '/SAPPSSRM/BO_BASE_FACTORY' IMPORTING eo_factory = lo_factory.

BBP_CTR_UI_UPLOAD call function 'BBP_CTR_UI_UPLOAD' exporting iv_header_guid = iv_guid iv_cache_id = iv_memid is_header = ls_header tables et_messages = lt_messages[] changing cv_background_proc = lv_yes.

BBP_GET_ITEM_NUMBER call function 'BBP_GET_ITEM_NUMBER' exporting i_bustype = 'BUS2000113' i_background = 'X' i_message = ls_messages importing i_num = lv_item_num.

CONVERSION_EXIT_ALPHA_OUTPUT call function 'CONVERSION_EXIT_ALPHA_OUTPUT' exporting input = lv_item_num importing output = lv_item_num.

BBP_PD_CTR_SAVE call function 'BBP_PD_CTR_SAVE' exporting iv_header_guid = ls_header-guid.

BBP_PDH_FILE_CONVERT call function 'BBP_PDH_FILE_CONVERT' exporting iv_string = lv_string importing ev_xstring = lv_xstring.

BBP_OUTPUT_X_TABLESIZE_CHG





call function 'BBP_OUTPUT_X_TABLESIZE_CHG' exporting iv_byte_mode = gc_yes iv_xstring = lv_xstring importing ev_size = lv_size tables et_data = lt_attachment exceptions noentries = 1 others = 2.

BBP_PDH_FILE_DELETE_CACHE call function 'BBP_PDH_FILE_DELETE_CACHE' exporting iv_memid = iv_memid.

BBP_CTR_UI_MAIL_SF_SEND call function 'BBP_CTR_UI_MAIL_SF_SEND' exporting iv_guid = iv_guid iv_follow_on_guid = ls_header-guid iv_bid_guid = ls_pd_bid_header-guid iv_commit = c_on iv_user = sy-uname iv_event = lv_fcode iv_attachment_type = lv_attachment_type iv_attachment_subject = lv_attachment_subject it_attachment = lt_attachment iv_append_url = lv_append_url exceptions no_mail_address = 1 no_output = 2 others = 3.



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