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

MJ45AF0E SAP ABAP INCLUDE - documentation and ABAP source code







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

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_PURCH_ORG_GET_SALES_AREA call function 'ISP_PURCH_ORG_GET_SALES_AREA' exporting dlart_in = con_dl_pv vkorg_in = jkak-vkorg vtweg_in = jkak-vtweg spart_in = jkak-spart importing ekorg_out = lv_ekorg exceptions others = 01.

ISP_ZG_READ call function 'ISP_ZG_READ' exporting dlart_in = con_dl_pv ekorg_in = lv_ekorg gpnr_in = vsg_in importing jgtvsgv_out = jgtvsgv x_gesperrt = lv_xgesperrt x_loeschvm = lv_xloeschvm exceptions others = 01.

ISP_SUBSCRIPTION_CHECK_PERIOD call function 'ISP_SUBSCRIPTION_CHECK_PERIOD' exporting bezper = sjkep_vg-bezper jdvva_to_check = jdvva_day_tab importing xsubscription = flg_va_bezogen.

ISP_SUBSCRIPTION_CHECK_PERIOD call function 'ISP_SUBSCRIPTION_CHECK_PERIOD' exporting bezper = sjkep_vg-bezper jdvva_to_check = jdvva_day_tab importing xsubscription = flg_va_bezogen.

ISP_SUBSCRIPTED_VAS_GET call function 'ISP_SUBSCRIPTED_VAS_GET' exporting drerz = jkap-drerz pva = jkap-pva beztyp = jkap-bezugstyp from_date = gueltigvon_eint_aenderung to_date = gueltigvon_eint_aenderung incl_mitbezogene_vas = jdbz_rel_only_corr * alternating ship-to addresses not relevant "ALTADR4.63

ISP_SUBSCRIPTED_VAS_GET call function 'ISP_SUBSCRIPTED_VAS_GET' " exporting " drerz = jkap-drerz " pva = jkap-pva " beztyp = jkap-bezugstyp " bezper = xjkep-bezper " from_date = xjkep-gueltigvon " to_date = xjkep-gueltigbis " incl_mitbezogene_vas = jdbz_rel_only_corr " * alternating ship-to addresses not relevant "ALTADR4.63

CONVERT_DATE_TO_EXTERNAL call function 'CONVERT_DATE_TO_EXTERNAL' " exporting " date_internal = gueltigvon " importing " date_external = datum_val_tab-value. "

CONVERT_DATE_TO_EXTERNAL call function 'CONVERT_DATE_TO_EXTERNAL' " exporting " date_internal = gueltigvon " importing " date_external = datum_val_tab-value. "

CONVERT_DATE_TO_EXTERNAL call function 'CONVERT_DATE_TO_EXTERNAL' " exporting " date_internal = gueltigbis " importing " date_external = datum_val_tab-value. "

POPUP_GET_VALUES_USER_HELP call function 'POPUP_GET_VALUES_USER_HELP' "3.04

ISM_CONVERT_DATE_CATGRY_SINGLE call function 'ISM_CONVERT_DATE_CATGRY_SINGLE' " exporting " i_drerz = jkap-drerz " i_termintyp = rjkperiod-termintyp " i_termvon = rjkperiod-etermvonc " importing " e_gueltigvon = lv_date " exceptions " others = 4. "

CONVERT_DATE_TO_INTERNAL call function 'CONVERT_DATE_TO_INTERNAL' " exporting " date_external = datum_val_tab-value " importing " date_internal = lv_date " exceptions " date_external_is_invalid = 1. "

DYNP_VALUES_READ call function 'DYNP_VALUES_READ' exporting dyname = 'SAPLSPO4' dynumb = sy-dynnr tables dynpfields = dyntab exceptions others = 01.

ISP_GP_MACO call function 'ISP_GP_MACO' exporting rolle = con_ro_warenempf selstr = loc_we importing selectvalue = loc_we exceptions no_selection = 01 no_values = 02 no_values_selected = 03.

ISP_SELECT_SINGLE_JDTDRER call function 'ISP_SELECT_SINGLE_JDTDRER' exporting drerz = jkap-drerz msgty = con_error exceptions others = 1.

CONVERT_DATE_INPUT call function 'CONVERT_DATE_INPUT' exporting input = datum importing output = datum exceptions others = 1.

ISM_GET_VALUE_DATE_CATEGORY call function 'ISM_GET_VALUE_DATE_CATEGORY' exporting i_drerz = jkap-drerz i_pva = jkap-pva "note 789332 i_bezugstyp = jkap-bezugstyp "note 789332 i_termintyp = rjkperiod-termintyp i_bezper = jkep-bezper i_mark_date = datum importing e_select_value = conv_date exceptions no_selection = 1 others = 4.

ISP_REPLACING_VAS_GET * CALL FUNCTION 'ISP_REPLACING_VAS_GET' * EXPORTING * REPLACED_DRERZ = JKAP-DRERZ * REPLACED_PVA = JKAP-PVA * BEZTYP_REPL = JKAP-BEZUGSTYP * FROM_DATE = GUELTIGKEITSTAG * TO_DATE = GUELTIGKEITSTAG * REPLACING_DRERZ = ' ' * REPLACING_PVA = ' ' * TABLES * ALL_VAS = JDTVAUSGB_TAB * REPL_SUBSCRIPTIONS = DUMMY_BZUSTAB * EXCEPTIONS * INTERNAL_ERROR = 01 * INTERVALL_ERROR = 02.

ISP_SUBSCRIPTED_VAS_GET





call function 'ISP_SUBSCRIPTED_VAS_GET' "Rel.4.02

ISP_SUBSCRIPTION_CHECK_PERIOD call function 'ISP_SUBSCRIPTION_CHECK_PERIOD' exporting bezper = jkep-bezper jdvva_to_check = jdvva_day_tab importing xsubscription = flg_va_bezogen.

ISP_SUBSCRIPTION_CHECK_PERIOD call function 'ISP_SUBSCRIPTION_CHECK_PERIOD' exporting bezper = jkep-bezper jdvva_to_check = jdvva_day_tab importing xsubscription = flg_va_bezogen.

ISP_INVOICE_TO_ORDER_CHECK call function 'ISP_INVOICE_TO_ORDER_CHECK' "Rel. 3.00

ISP_POPUP_USERDATA call function 'ISP_POPUP_USERDATA' exporting tabname = tabname erfuser = userdata-erfuser erfdate = userdata-erfdate erftime = userdata-erftime aenuser = userdata-aenuser aendate = userdata-aendate aentime = userdata-aentime.



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