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

FM06AFE0 SAP ABAP INCLUDE - Include for Reorg.







FM06AFE0 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 FM06AFE0 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 FM06AFE0. "Basic submit
SUBMIT FM06AFE0 AND RETURN. "Return to original report after report execution complete
SUBMIT FM06AFE0 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 for Reorg.


INCLUDES used within this REPORT FM06AFE0

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:

DEQUEUE_EMEKKOE CALL FUNCTION 'DEQUEUE_EMEKKOE' EXPORTING ebeln = enqebeln.

ENQUEUE_EMEKKOE CALL FUNCTION 'ENQUEUE_EMEKKOE' EXPORTING ebeln = ekko-ebeln EXCEPTIONS foreign_lock = 2 system_failure = 3.

MM_ARRANG_CHECK_COND_ARCHIVE CALL FUNCTION 'MM_ARRANG_CHECK_COND_ARCHIVE' EXPORTING i_bltypn = space i_ebeln = ekko-ebeln EXCEPTIONS agreement_not_settled = 1 agreement_datbi_valid = 2 agreement_reszt_valid = 3 inconsistent_data = 4 no_ekbo_index = 5 OTHERS = 6.

ME_UPDATE_AGREEMENT_PO CALL FUNCTION 'ME_UPDATE_AGREEMENT_PO' EXPORTING i_ekko_new = ekko i_ekko_old = ekko TABLES xekbes = xekbes xekpo = xekpo yekpo = yekpo EXCEPTIONS OTHERS = 1.

SD_VBUK_SELECT CALL FUNCTION 'SD_VBUK_SELECT' EXPORTING i_document_number = l_vbeln IMPORTING e_vbuk = vbuk EXCEPTIONS document_not_found = 1 OTHERS = 2.

MD_SET_KZEAR_RESB CALL FUNCTION 'MD_SET_KZEAR_RESB' EXPORTING rsnum = teket-rsnum.

RSDB_DELETE_WITH_EKPO CALL FUNCTION 'RSDB_DELETE_WITH_EKPO' EXPORTING ebeln = ekko-ebeln ebelp = savpo-ebelp rsnum = savpo-arsnr rspos = savpo-arsps EXCEPTIONS parameters_not_specified = 01 record_not_exist = 02.

RV_KONV_SELECT CALL FUNCTION 'RV_KONV_SELECT' EXPORTING comm_head_i = komk general_read = 'X' TABLES tkomv = tkomv.

MR_READ_PRELIMINARY_HISTORY CALL FUNCTION 'MR_READ_PRELIMINARY_HISTORY' EXPORTING i_ebeln = ekpo-ebeln i_ebelp = ekpo-ebelp i_bukrs = ekpo-bukrs TABLES t_ekbe = mr_ekbe t_ekbz = mr_ekbz.



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