MV52AF01 is a standard ABAP INCLUDE 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 MV52AF01 into the relevant SAP transactions such as SE38 or SE80
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.
Title: INCLUDE MV52AF01: FORM routines for purchase order
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_EMEKKOE CALL FUNCTION 'ENQUEUE_EMEKKOE' EXPORTING MODE_EKKO = 'E' MANDT = SY-MANDT EBELN = P_P_INT_STRUC_FELDER-BELN_EB EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2.
DEQUEUE_EMEKKOE CALL FUNCTION 'DEQUEUE_EMEKKOE' EXPORTING MODE_EKKO = 'E' MANDT = SY-MANDT EBELN = P_P_INT_STRUC_FELDER-BELN_EB.
ME_EKKO_SINGLE_READ CALL FUNCTION 'ME_EKKO_SINGLE_READ' EXPORTING PI_EBELN = P3_INT_STRUC_FELDER-BELN_EB PI_REFRESH_BUFFER = TRUE IMPORTING PO_EKKO = P_XEKKO EXCEPTIONS NO_RECORDS_FOUND = 1.
IMPORT_DETERMINE CALL FUNCTION 'IMPORT_DETERMINE' EXPORTING I_AHBAS = P3_HLP_AHBAS I_MODE = P3_HLP_TCODE_TYP I_FT_TRANSACT = P3_HLP_TCODE I_EKKO = P_XEKKO IMPORTING E_IMPORT_PROCESS = P3_HLP_PROCESS EXCEPTIONS NO_WORKING_AREA = 1 NO_IMPORT_ALLOWED = 2 DIFFERENT_ORG_ENTITIES = 3 NO_IMPORT_COUNTRY = 4 NO_EXPORT_COUNTRY = 5.
EXPIMP_POSTING_TRIGGER CALL FUNCTION 'EXPIMP_POSTING_TRIGGER' EXPORTING I_AHBAS = P3_HLP_AHBAS I_EKKO = P_XEKKO TABLES I_T_EKKO = P_XEKKO.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = LOC_SELECTION ADDRESS_GROUP = 'ME03' IMPORTING SADR = SADR EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.
EXPIMP_DOCUMENT_UPDATE CALL FUNCTION 'EXPIMP_DOCUMENT_UPDATE' IN UPDATE TASK EXPORTING I_FT_BASIS = P_P_HLP_AHBAS I_EXNUM = P_P_HLP_NEXNUM I_EKKO_EBELN = P_P_INT_STRUC_FELDER-BELN_EB EXCEPTIONS WRONG_DOCUMENT_TYPE = 1 UPDATE_ERROR = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.