SAP Reports / Programs

BBP_PO_BACKGROUND_PROC SAP ABAP Report - BBPPOBACKGROUNDPROC







BBP_PO_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_PO_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_PO_BACKGROUND_PROC. "Basic submit
SUBMIT BBP_PO_BACKGROUND_PROC AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_PO_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


Text Symbol: 001 = Purchase order &1 (&2) was successfully ordered in the background
Text Symbol: 002 = Purchase order &1 (&2) was successfully copied in the background
Text Symbol: 003 = Purchase order &1 (&2) was successfully sent in the background
Text Symbol: 004 = Purchase order &1 (&2) was successfully imported in the background
Text Symbol: 005 = Purchase order &1 (&2) was successfully exported in the background
Text Symbol: 006 = Purchase order
Text Symbol: 007 = Purchase order &1 (&2) was not ordered in the background due to errors
Text Symbol: 008 = Purchase order &1 (&2) was not copied in the background due to errors
Text Symbol: 009 = Purchase order &1 (&2) was not sent in the background due to errors
Text Symbol: 010 = Purchase order &1 (&2) was not imported in the background due to errors
Text Symbol: 011 = Purchase order &1 (&2) was not exported in the background due to errors
Text Symbol: 012 = Open the attachment in Notepad to view the errors
Text Symbol: 013 = Purchase order &1 (&2) could not be processed due to the following errors:
Text Symbol: 014 = Purchase order &1 (&2) has been changed
Text Symbol: 015 = New purchase order is &1
Text Symbol: 016 = --> Exception Error:
Text Symbol: 017 = Item Number


INCLUDES used within this REPORT BBP_PO_BACKGROUND_PROC

No INCLUDES are used within this REPORT code!


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_PO_GETDETAIL CALL FUNCTION 'BBP_PD_PO_GETDETAIL' EXPORTING i_guid = iv_guid i_with_itemdata = space IMPORTING e_header = ls_header.

BBP_OUTPUT_PO_PREVIEW_SMART CALL FUNCTION 'BBP_OUTPUT_PO_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 = 'X' iv_xstring = ls_pdf TABLES et_data = lt_attachment EXCEPTIONS noentries = 1 OTHERS = 2.

BBP_PO_APP_EXCEL_UPLOAD_BG CALL FUNCTION 'BBP_PO_APP_EXCEL_UPLOAD_BG' EXPORTING iv_header_guid = iv_guid iv_cache_id = iv_memid TABLES et_messages = lt_messages.

BBP_PO_APP_EXCEL_DOWNLOAD CALL FUNCTION 'BBP_PO_APP_EXCEL_DOWNLOAD' EXPORTING iv_header_guid = ls_header-guid IMPORTING ev_xl_content = lv_xl_xstring et_messages = lt_excel_messages.

BBP_PO_APP_EXCEL_DOWNLOAD CALL FUNCTION 'BBP_PO_APP_EXCEL_DOWNLOAD' EXPORTING iv_header_guid = iv_guid 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 = ls_excel_stream IMPORTING ev_xstring = lv_xstring.

BBP_OUTPUT_X_TABLESIZE_CHG CALL FUNCTION 'BBP_OUTPUT_X_TABLESIZE_CHG' EXPORTING iv_byte_mode = 'X' iv_xstring = lv_xstring TABLES et_data = lt_attachment EXCEPTIONS noentries = 1 OTHERS = 2.

BBP_PROCDOC_ITEM_GETDETAIL CALL FUNCTION 'BBP_PROCDOC_ITEM_GETDETAIL' EXPORTING i_guid = ls_messages-item_guid i_object_type = 'BUS2201001' TABLES e_item = lt_item.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = ls_item-number_int IMPORTING output = lv_item_num.

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 = 'X' iv_xstring = lv_xstring 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_PO_BGR_MAIL_SEND CALL FUNCTION 'BBP_PO_BGR_MAIL_SEND' EXPORTING iv_guid = ls_header-guid iv_user = lv_uname iv_event = iv_fcode iv_attachment_type = lv_attachment_type iv_attachment_subject = lv_attachment_subject it_attachment = lt_attachment iv_mail_body = lv_mail_body 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_PO_BACKGROUND_PROC or its description.