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

MJ45AF0U SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

ISP_JKPAUNV_DELETE CALL FUNCTION 'ISP_JKPAUNV_DELETE' EXPORTING GUELTIGVON = LOESCHEN_AB_DATUM "Rel.3.01/2

ISP_JKPAUNV_CREATE CALL FUNCTION 'ISP_JKPAUNV_CREATE' EXPORTING GUELTIGVON = LFBARDAT POSNR = POSNR VBELN = VBELN ERGEBNIS = CON_NICHT_LIEFERBAR XUNVLIEFER = CON_ANGEKREUZT XUNVBEABST = SPACE XUNVLAUTO = SPACE TABLES OJKPAUNV = XJKPAUNV IJKPA = XJKPA EXCEPTIONS POSNR_EMPTY = 1 OTHERS = 2.

ISP_JKPAUNV_CREATE CALL FUNCTION 'ISP_JKPAUNV_CREATE' EXPORTING GUELTIGVON = UMZUGSDATUM POSNR = POSNR VBELN = VBELN ERGEBNIS = ERGEBNIS XUNVLIEFER = CON_ANGEKREUZT XUNVBEABST = SPACE XUNVLAUTO = SPACE TABLES OJKPAUNV = XJKPAUNV IJKPA = XJKPA EXCEPTIONS POSNR_EMPTY = 1 OTHERS = 2.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DEFAULTOPTION = CON_JA TITEL = TEXT-740 "Bezugsaufteilung DIAGNOSETEXT1 = TEXT-746 "altern. Lieferadresse

ISP_JKPAZ_DELETE CALL FUNCTION 'ISP_JKPAZ_DELETE' EXPORTING GUELTIGBIS = CON_TIME_INFINITY GUELTIGVON = CON_TIME_ZERO POSNR = XJKAP-POSNR VBELN = XJKAP-VBELN CHANGING JKPAZVBTAB = XJKPAZ[] EXCEPTIONS POSNR_EMPTY = 01.

ISP_JKPAZ_DELETE CALL FUNCTION 'ISP_JKPAZ_DELETE' EXPORTING GUELTIGBIS = CON_TIME_INFINITY GUELTIGVON = CON_TIME_ZERO POSNR = JKAP-POSNR VBELN = JKAP-VBELN CHANGING JKPAZVBTAB = XJKPAZ[] EXCEPTIONS POSNR_EMPTY = 01.

POPUP_GET_VALUES_USER_CHECKED CALL FUNCTION 'POPUP_GET_VALUES_USER_CHECKED' EXPORTING FORMNAME = 'BEZUGSAUFTEILUNGSELEMENT_PRUEF' PROGRAMNAME = 'SAPMJ45A' POPUP_TITLE = TEXT-A04 START_COLUMN = 35 START_ROW = 10 IMPORTING RETURNCODE = FLG_ABBRECHEN_POPUP TABLES FIELDS = FELDTAB EXCEPTIONS ERROR_IN_FIELDS = 1.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING POPUP_TITLE = LV_TITLE IMPORTING RETURNCODE = FLG_ABBRECHEN_POPUP TABLES FIELDS = FIELD_TAB EXCEPTIONS ERROR_IN_FIELDS = 1 OTHERS = 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 MJ45AF0U or its description.