MJ45AFNA 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 MJ45AFNA 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
KOMKBJ0_FILL call function 'KOMKBJ0_FILL' exporting com_jkak = jkak com_trtyp = trtyp com_vkbur = verkaufsbuero com_rjkag = rjkag importing com_kbj0 = komkbj0 tables com_part = part.
KOMKBJ0_FILL call function 'KOMKBJ0_FILL' "MS-3.04
KOMPBJ0_FILL call function 'KOMPBJ0_FILL' "MS-3.04
KOMPBJ0_FILL call function 'KOMPBJ0_FILL' "MS-3.04
ISP_SELECT_SINGLE_JDTPVA call function 'ISP_SELECT_SINGLE_JDTPVA' "Rel. 3.01/11
ISM_SELECT_TJKWE_BY_DRERZ call function 'ISM_SELECT_TJKWE_BY_DRERZ' exporting drerz = jkap-drerz importing p_tjkwe = l_tjkwe.
ISP_SELECT_SINGLE_JDTPVA call function 'ISP_SELECT_SINGLE_JDTPVA' "Rel. 3.01/11
ISM_SELECT_TJKWE_BY_DRERZ call function 'ISM_SELECT_TJKWE_BY_DRERZ' exporting drerz = jkap-drerz importing p_tjkwe = l_tjkwe.
COMMUNICATION_AREA_KOMKBJ0 call function 'COMMUNICATION_AREA_KOMKBJ0' exporting ikomkbj0 = komkbj0.
MESSAGING call function 'MESSAGING' exporting applikation = con_appl_nacf_verkauf msg_objky = nast_objky schema = tjak-kalsm pi_objtype = jyobj_con_type_order_head tables msg_part = part.
RV_MESSAGES_MAIL_REPLACE call function 'RV_MESSAGES_MAIL_REPLACE' exporting msg_kappl = con_appl_nacf_verkauf msg_objky = nast_objky exceptions others = 0.
COMMUNICATION_AREA_KOMPBJ0 call function 'COMMUNICATION_AREA_KOMPBJ0' exporting ikompbj0 = kompbj0 msg_old = con_angekreuzt.
COMMUNICATION_AREA_KOMPBJ0 call function 'COMMUNICATION_AREA_KOMPBJ0' exporting ikompbj0 = kompbj0 msg_old = ' '.
COMMUNICATION_AREA_KOMKBJ0 call function 'COMMUNICATION_AREA_KOMKBJ0' exporting ikomkbj0 = komkbj0.
MESSAGING call function 'MESSAGING' exporting applikation = con_appl_nacf_verkauf msg_objky = nast_objky_pos schema = tjapz-kalsm pi_objtype = jyobj_con_type_order pi_item = 'X' tables msg_part = part.
RV_MESSAGES_GET call function 'RV_MESSAGES_GET' exporting msg_kappl = con_appl_nacf_verkauf msg_objky_from = nast_objky_pos msg_objky_to = nast_objky_pos tables tab_xnast = xnast tab_ynast = ynast.
RV_MESSAGES_MODIFY call function 'RV_MESSAGES_MODIFY' tables tab_xnast = xnast.
RV_MESSAGES_MAIL_REPLACE call function 'RV_MESSAGES_MAIL_REPLACE' exporting msg_kappl = con_appl_nacf_verkauf msg_objky = nast_objky_pos exceptions others = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.