SAP Reports / Programs | Periodical Sales and Distribution | SAP Media | Periodical Sales and Distribution(IS-M-SD-PS) SAP IS

MJ45AFNA SAP ABAP INCLUDE - documentation and ABAP source code







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


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

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:

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.



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