SAP Reports / Programs | Media Product Sales and Distribution | SAP Media | Media Product Sales and Distribution(IS-M-SD-MS) SAP IS

MJVSDPACKRULEF01 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

POPUP_TO_CONFIRM_DATA_LOSS CALL FUNCTION 'POPUP_TO_CONFIRM_DATA_LOSS' EXPORTING titel = 'Beenden ohne Sichern'(001) IMPORTING answer = answer.

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act = p_top_line entry_to = p_nbr_lines loops = p_nbr_loops ok_code = p_ok_code IMPORTING entry_new = p_new_top_line EXCEPTIONS OTHERS = 0.

ENQUEUE_EMMARAE CALL FUNCTION 'ENQUEUE_EMMARAE' EXPORTING matnr = lv_matnr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EMMARAE CALL FUNCTION 'DEQUEUE_EMMARAE' EXPORTING matnr = lv_matnr.

ISM_PACKRULE_CONTROL_CHANGE CALL FUNCTION 'ISM_PACKRULE_CONTROL_CHANGE' EXPORTING medprodfam = gs_medprodfam-matnr ismxprperdt = gs_medprodfam-ismxprperdt ismxprpersplit = gs_medprodfam-ismxprpersplit EXCEPTIONS not_found = 1 OTHERS = 2.

ISM_MEDIA_FAMILY_SINGLE_READ CALL FUNCTION 'ISM_MEDIA_FAMILY_SINGLE_READ' EXPORTING pvi_matnr = ls_selection-medprodfam IMPORTING pse_mara = gs_medprodfam EXCEPTIONS read_not_possible = 1 no_family = 2 OTHERS = 3.

ISM_MEDIA_ISSUE_SINGLE_READ CALL FUNCTION 'ISM_MEDIA_ISSUE_SINGLE_READ' EXPORTING pvi_matnr = ls_selection-issue IMPORTING pse_mara = ls_issue EXCEPTIONS read_not_possible = 1 no_issue = 2 OTHERS = 3.

ISM_MEDIA_PRODUCT_SINGLE_READ CALL FUNCTION 'ISM_MEDIA_PRODUCT_SINGLE_READ' EXPORTING pvi_matnr = ls_issue-ismrefmdprod IMPORTING pse_mara = ls_product EXCEPTIONS read_not_possible = 1 no_product = 2 OTHERS = 3.

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING matnr = ls_selection-matnr IMPORTING wmara = ls_mara EXCEPTIONS lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.

ISM_MEDIA_ISSUE_SINGLE_READ CALL FUNCTION 'ISM_MEDIA_ISSUE_SINGLE_READ' EXPORTING pvi_matnr = lv_issue IMPORTING pse_mara = ls_issue EXCEPTIONS read_not_possible = 1 no_issue = 2 OTHERS = 3.

MARA_AUTHORITY_CHECK CALL FUNCTION 'MARA_AUTHORITY_CHECK' EXPORTING aktyp = aktypv EXCEPTIONS only_display = 1 no_authority = 2 OTHERS = 3.

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING matnr = ls_jvsdpackrule-issue IMPORTING wmara = ls_mara EXCEPTIONS lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.

MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING matnr = lv_matnr spras = sy-langu IMPORTING wmakt = ls_makt EXCEPTIONS OTHERS = 1.

ISP_SELECT_SINGLE_T006A CALL FUNCTION 'ISP_SELECT_SINGLE_T006A' EXPORTING msehi = lv_meins IMPORTING t006a_i = ls_t006a EXCEPTIONS no_entry_found = 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 MJVSDPACKRULEF01 or its description.