SAP Reports / Programs | Sales and Distribution | Foreign Trade | Basic Functions(SD-FT-PRO) SAP SD

MV52AF01 SAP ABAP INCLUDE - INCLUDE MV52AF01: FORM routines for purchase order







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


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


Text pool values


Title: INCLUDE MV52AF01: FORM routines for purchase order


INCLUDES used within this REPORT MV52AF01

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:

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.



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