SAP Reports / Programs | Materials Management | Purchasing | Basic Functions(MM-PUR-GF) SAP MM

BBP_ES_FIND_DOC_WITH_ES_NUMBER SAP ABAP Report - Find Purchasing Documents with E-Sourcing References







BBP_ES_FIND_DOC_WITH_ES_NUMBER is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to find purchasing documents that were replicated or published from SAP Sourcing to SAP ERP...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_ES_FIND_DOC_WITH_ES_NUMBER into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

BBP_ES_SEARCH - Search for ES-Related Documents


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_ES_FIND_DOC_WITH_ES_NUMBER. "Basic submit
SUBMIT BBP_ES_FIND_DOC_WITH_ES_NUMBER AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_ES_FIND_DOC_WITH_ES_NUMBER 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_MA_NO = Master Agreement Number
Selection Text: S_RFP_NO = RFP Number
Title: Find Purchasing Documents with E-Sourcing References


INCLUDES used within this REPORT BBP_ES_FIND_DOC_WITH_ES_NUMBER

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:

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = iv_tcode EXCEPTIONS ok = 0 not_ok = 1 OTHERS = 2.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING database_only = lo_factory->mo_const->yes TABLES selections = lt_thead t_object = lt_textobj t_id = lt_textid EXCEPTIONS wrong_access_to_archive = 1 OTHERS = 2.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = lr_thead->tdid language = lr_thead->tdspras name = lr_thead->tdname object = lr_thead->tdobject TABLES lines = lt_lines EXCEPTIONS OTHERS = 1.

ME_DISPLAY_PURCHASE_DOCUMENT CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT' EXPORTING i_ebeln = lv_ebeln i_ebelp = lv_ebelp i_bstyp = lv_bstyp i_display_only = lo_factory->mo_const->yes EXCEPTIONS error_message = 0 OTHERS = 0.

MMPUR_MATERIAL_DISPLAY CALL FUNCTION 'MMPUR_MATERIAL_DISPLAY' EXPORTING im_matnr = lr_entry->matnr im_werks = lr_entry->werks im_lgort = lr_entry->lgort EXCEPTIONS error_message = 1 OTHERS = 2.

MMPUR_REQUISITION_DISPLAY CALL FUNCTION 'MMPUR_REQUISITION_DISPLAY' EXPORTING im_banfn = lv_banfn im_bnfpo = lv_bnfpo im_display_only = lo_factory->mo_const->yes EXCEPTIONS no_authority = 1 OTHERS = 2.

ME_DISPLAY_PURCHASE_DOCUMENT CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT' EXPORTING i_ebeln = lr_data->ebeln i_ebelp = lr_data->ebelp EXCEPTIONS not_found = 1 OTHERS = 2.

MMPUR_MATERIAL_DISPLAY CALL FUNCTION 'MMPUR_MATERIAL_DISPLAY' EXPORTING im_matnr = lr_data->matnr im_werks = lr_data->werks im_lgort = lr_data->lgort EXCEPTIONS error_message = 1 OTHERS = 2.



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