SAP Reports / Programs

BBP_ES_MIGRATE_OA_DOC SAP ABAP Report - Migrate Outline Agreement Documents with Sourcing References







BBP_ES_MIGRATE_OA_DOC 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_ES_MIGRATE_OA_DOC 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_ES_MIGRATE_OA_DOC. "Basic submit
SUBMIT BBP_ES_MIGRATE_OA_DOC AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_ES_MIGRATE_OA_DOC 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: P_TEST = Test Run
Selection Text: R_NAME = Purchasing Document
Title: Migrate Outline Agreement Documents with Sourcing References
Text Symbol: 001 = Locked:


INCLUDES used within this REPORT BBP_ES_MIGRATE_OA_DOC

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:

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'BBP_ES_LIST_DOCUMENTS' CHANGING ct_fieldcat = gt_fieldcat EXCEPTIONS OTHERS = 1.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING is_layout = gs_layout it_fieldcat = gt_fieldcat TABLES t_outtab = gt_data.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING database_only = 'X' TABLES selections = lt_sel t_object = lt_obj t_name = lt_name t_id = lt_id EXCEPTIONS wrong_access_to_archive = 1 OTHERS = 2.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING * CLIENT = SY-MANDT id = ls_sel-tdid language = ls_sel-tdspras name = ls_sel-tdname object = ls_sel-tdobject TABLES lines = lt_lines EXCEPTIONS OTHERS = 1.

ME_EKKO_SINGLE_READ CALL FUNCTION 'ME_EKKO_SINGLE_READ' EXPORTING pi_ebeln = ls_data-ebeln IMPORTING po_ekko = ls_ekko EXCEPTIONS no_records_found = 1 OTHERS = 2.

ENQUEUE_EMEKKOE CALL FUNCTION 'ENQUEUE_EMEKKOE' EXPORTING ebeln = ls_data-ebeln EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EMEKKOE CALL FUNCTION 'DEQUEUE_EMEKKOE' EXPORTING ebeln = ls_data-ebeln.

ME_EKPO_READ_WITH_EBELN CALL FUNCTION 'ME_EKPO_READ_WITH_EBELN' EXPORTING pi_ebeln = ls_data-ebeln TABLES pto_ekpo = lt_ekpo EXCEPTIONS err_no_records_found = 1 OTHERS = 2.

ME_EKPO_SINGLE_READ CALL FUNCTION 'ME_EKPO_SINGLE_READ' EXPORTING pi_ebeln = ls_data-ebeln pi_ebelp = ls_data-ebelp IMPORTING po_ekpo = ls_ekpo EXCEPTIONS no_records_found = 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_MIGRATE_OA_DOC or its description.