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

MJVSOIAF01 SAP ABAP INCLUDE - documentation and ABAP source code







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

INCLUDE LBTCHDEF.
INCLUDE LBTCHDEF.


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:

ENQUEUE_EJVSOH CALL FUNCTION 'ENQUEUE_EJVSOH' EXPORTING ordnbr = pv_ordnbr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EJVSOH CALL FUNCTION 'DEQUEUE_EJVSOH' EXPORTING ordnbr = pv_ordnbr.

POPUP_TO_CONFIRM_DATA_LOSS CALL FUNCTION 'POPUP_TO_CONFIRM_DATA_LOSS' EXPORTING titel = text-001 IMPORTING answer = answer.

ISM_SHIPORD_GETDETAIL CALL FUNCTION 'ISM_SHIPORD_GETDETAIL' EXPORTING shipordnbr = ps_select-ordnbr IMPORTING shipord = gs_shipord TABLES return = lt_return EXCEPTIONS not_found = 1 not_authorized = 2 OTHERS = 3.

ISM_SHIPORD_IMPORTJOB_PLAN CALL FUNCTION 'ISM_SHIPORD_IMPORTJOB_PLAN' EXPORTING shipordnbr = ps_select-ordnbr importfile = ps_header-importfile nbrjob = ps_header-nbrjob targetserver = ps_header-targetserver lines_per_commit = ps_header-lines_per_commit deltaimport = lx_delta shipdate = ps_select-shipdate delta_nbr = ps_select-delta_nbr TABLES return = lt_return EXCEPTIONS not_found = 1 file_error = 2 not_authorized = 3 insert_error = 4 header_locked = 5 OTHERS = 6.

ISM_SHIPORD_IMPORTJOB_REPLAN CALL FUNCTION 'ISM_SHIPORD_IMPORTJOB_REPLAN' EXPORTING shipordnbr = ps_select-ordnbr TABLES return = lt_return EXCEPTIONS not_found = 1 update_error = 2 insert_error = 3 header_locked = 4 OTHERS = 5.

TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' TABLES list = lt_server EXCEPTIONS no_server_list = 1 OTHERS = 2.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-002 textline2 = text-003 titel = titel IMPORTING answer = answer.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = ps_importjob-jobcount job_read_jobname = ps_importjob-jobname job_read_opcode = btc_read_jobhead_only IMPORTING job_read_jobhead = ls_jobhead EXCEPTIONS OTHERS = 1.

BP_JOBLOG_SHOW_SM37B CALL FUNCTION 'BP_JOBLOG_SHOW_SM37B' EXPORTING jobcount = ls_jobhead-jobcount joblogid = ls_jobhead-joblog jobname = ls_jobhead-jobname EXCEPTIONS OTHERS = 1.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = ps_importjob-jobcount job_read_jobname = ps_importjob-jobname job_read_opcode = btc_read_all_jobdata IMPORTING job_read_jobhead = ls_jobhead TABLES job_read_steplist = lt_step EXCEPTIONS OTHERS = 1.

RSPO_RID_SPOOLREQ_LIST CALL FUNCTION 'RSPO_RID_SPOOLREQ_LIST' EXPORTING id_list = lt_spool[] EXCEPTIONS OTHERS = 1.



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