SAP Reports / Programs | Plant Maintenance | Maintenance Processing | Maintenance Notifications(PM-WOC-MN) SAP PM

AFMVKPRO SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT AFMVKPRO

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_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item * it_default_fieldcat = IMPORTING e_exit = g_exit es_variant = gx_variant EXCEPTIONS not_found = 2.

MAKT_ARRAY_READ CALL FUNCTION 'MAKT_ARRAY_READ' TABLES ipre09 = i_auf_matnr makt_tab = i_auf_material.

FREIGABETERMIN_BANF_ERMITTELN CALL FUNCTION 'FREIGABETERMIN_BANF_ERMITTELN' EXPORTING efabkl = i_auf_fabkl elfdat = i_auf_eban-lfdat eplifz = i_auf_eban-plifz ewebaz = i_auf_eban-webaz ewerks = i_auf_eban-werks realistic_date = 'X' IMPORTING ifrgdt = i_komp_stat-rfgdt ilfdat = i_komp_stat-reald.



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