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

RJKSDDEMANDCHANGE_FORM SAP ABAP INCLUDE - RJKSDDEMANDCHANGEFORM







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

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:

ICON_CREATE call function 'ICON_CREATE' exporting name = lv_icon_name info = lv_icon_quick importing result = lv_icon exceptions icon_not_found = 1 outputfield_too_short = 2 others = 3.

ISM_SD_DATE_BETWEEN_TO_RANGE call function 'ISM_SD_DATE_BETWEEN_TO_RANGE' exporting in_date_from = ps_change_rule-date_from in_date_to = ps_change_rule-date_to importing range_tab = lr_date[].

ISM_SD_GET_SEQUENCE_TAB call function 'ISM_SD_GET_SEQUENCE_TAB' exporting im_publdate_range_tab = lr_date[] im_check_horizon = abap_true importing ex_seq_tab = lt_seq.

F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' exporting window_title = pv_title retfield = lv_retfield value_org = 'S' tables value_tab = pt_issue field_tab = lt_field return_tab = lt_return.

F4IF_INT_TABLE_VALUE_REQUEST * call function 'F4IF_INT_TABLE_VALUE_REQUEST' * exporting * retfield = lv_retfield * dynpprog = dynpprog * dynpnr = dynpnr * dynprofield = pv_field * value_org = 'S' * tables * value_tab = * field_tab = lt_field.

F4IF_FIELD_VALUE_REQUEST call function 'F4IF_FIELD_VALUE_REQUEST' exporting tabname = 'MARA' fieldname = 'MATNR' searchhelp = 'MJP_MAT_DELIVSEQU' shlpparam = lv_shlpparam dynpprog = dynpprog dynpnr = dynpnr dynprofield = pv_field exceptions field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 others = 5.

VIEW_MAINTENANCE_CALL call function 'VIEW_MAINTENANCE_CALL' exporting action = 'U' view_name = con_view_lock * NO_WARNING_FOR_CLIENTINDEP = ' ' * RFC_DESTINATION_FOR_UPGRADE = ' ' * CLIENT_FOR_UPGRADE = ' ' * VARIANT_FOR_SELECTION = ' ' * COMPLEX_SELCONDS_USED = ' ' * CHECK_DDIC_MAINFLAG = ' ' * SUPPRESS_WA_POPUP = ' ' tables dba_sellist = lt_selection excl_cua_funct = lt_excl_cua exceptions client_reference = 1 foreign_lock = 2 invalid_action = 3 no_clientindependent_auth = 4 no_database_function = 5 no_editor_function = 6 no_show_auth = 7 no_tvdir_entry = 8 no_upd_auth = 9 only_show_allowed = 10 system_failure = 11 unknown_field_in_dba_sellist = 12 view_not_found = 13 maintenance_prohibited = 14 others = 15.

VIEW_MAINTENANCE_CALL call function 'VIEW_MAINTENANCE_CALL' exporting action = 'U' view_name = con_view_date * NO_WARNING_FOR_CLIENTINDEP = ' ' * RFC_DESTINATION_FOR_UPGRADE = ' ' * CLIENT_FOR_UPGRADE = ' ' * VARIANT_FOR_SELECTION = ' ' * COMPLEX_SELCONDS_USED = ' ' * CHECK_DDIC_MAINFLAG = ' ' * SUPPRESS_WA_POPUP = ' ' tables dba_sellist = lt_selection excl_cua_funct = lt_excl_cua exceptions client_reference = 1 foreign_lock = 2 invalid_action = 3 no_clientindependent_auth = 4 no_database_function = 5 no_editor_function = 6 no_show_auth = 7 no_tvdir_entry = 8 no_upd_auth = 9 only_show_allowed = 10 system_failure = 11 unknown_field_in_dba_sellist = 12 view_not_found = 13 maintenance_prohibited = 14 others = 15.

POPUP_TO_CONFIRM_DATA_LOSS call function 'POPUP_TO_CONFIRM_DATA_LOSS' exporting titel = text-001 importing answer = answer.

CONVERSION_EXIT_MATN1_INPUT call function 'CONVERSION_EXIT_MATN1_INPUT' exporting input = ps_subdel-issue importing output = ps_subdel-issue exceptions length_error = 1 others = 2.

ISM_PHASE_MODEL_CREATE_FROMSUB call function 'ISM_PHASE_MODEL_CREATE_FROMSUB' exporting im_phasemdl = ps_subdel-phasemdl im_vkorg = pv_vkorg im_vtweg = pv_vtweg im_spart = pv_spart im_mediaissue = ps_subdel-issue im_deliv_date = ps_subdel-deliv_date im_contractpos_tab = pt_contract im_percent = ps_subdel-percent im_generate = lv_xgenorder im_auart = lv_auart importing ex_phasenbr = pv_phasenbr changing return = lv_return exceptions create_error = 1 change_error = 2 generate_error = 3 others = 4.

ISM_SD_SELECT_JKSECONTRINDEX call function 'ISM_SD_SELECT_JKSECONTRINDEX' exporting in_vbeln = ls_genline-vbeln in_posnr = ls_genline-posnr importing out_jksecontrindex = ls_contrindex exceptions not_found = 1 others = 2.

SD_VBAK_ARRAY_READ * call function 'SD_VBAK_ARRAY_READ' * tables * it_vbak_key = lt_sales_key * exceptions * records_not_found = 1 * records_not_requested = 2 * others = 3.

ISM_SD_SELECT_JKSECONTRINDEX call function 'ISM_SD_SELECT_JKSECONTRINDEX' exporting in_vbeln = ls_genline-vbeln in_posnr = ls_genline-posnr importing out_jksecontrindex = ls_contrindex exceptions not_found = 1 others = 2.

ISM_SD_SALESAREA_TO_RANGE call function 'ISM_SD_SALESAREA_TO_RANGE' exporting in_vkorg = ls_contrindex-vkorg in_vtweg = ls_contrindex-vtweg in_spart = ls_contrindex-spart importing out_vkorg_tab = lr_vkorg[] out_vtweg_tab = lr_vtweg[] out_spart_tab = lr_spart[].

ISM_SD_VBELN_TO_RANGE call function 'ISM_SD_VBELN_TO_RANGE' exporting in_vbeln = ls_genline-vbeln importing out_vbeln_tab = lr_vbeln[].

ISM_SD_MATERIAL_TO_RANGE call function 'ISM_SD_MATERIAL_TO_RANGE' exporting in_matnr = ls_genline-issue changing range_tab = lr_matnr[].

ISM_SD_POSNR_TO_RANGE call function 'ISM_SD_POSNR_TO_RANGE' exporting in_posnr = ls_genline-posnr importing out_posnr_tab = lr_posnr[].

DEQUEUE_E_JKSDORDERGEN





call function 'DEQUEUE_E_JKSDORDERGEN' exporting mandt = sy-mandt vbeln = ls_genline_old-vbeln product = ls_genline_old-medprod.

ISM_SD_GEN_ORDER_FROM_CONTRACT * call function 'ISM_SD_GEN_ORDER_FROM_CONTRACT' * exporting * in_doc_type_order = ps_genord-auart * in_wish_del_date = lv_wishdate * in_phasemdl = ls_genline-phasemdl * in_phasenbr = ls_genline-phasenbr * in_flag_no_lock = lv_no_lock * tables * in_vkorg = lr_vkorg * in_vtweg = lr_vtweg * in_spart = lr_spart * in_contract = lr_vbeln * in_posnr = lr_posnr * in_issue = lr_matnr.

SD_VBAK_SINGLE_READ * call function 'SD_VBAK_SINGLE_READ' * exporting * i_vbeln = ls_genline-vbeln * importing * e_vbak = ls_vbak * exceptions * record_not_found = 1 * others = 2.

DEQUEUE_E_JKSDORDERGEN call function 'DEQUEUE_E_JKSDORDERGEN' exporting mandt = sy-mandt vbeln = ls_genline_old-vbeln product = ls_genline_old-medprod.

JOB_OPEN call function 'JOB_OPEN' exporting jobname = pv_jobname importing jobcount = pv_jobcount exceptions cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 others = 4.

BP_JOB_DELETE call function 'BP_JOB_DELETE' exporting forcedmode = 'X' jobcount = pv_jobcount jobname = pv_jobname.

JOB_CLOSE call function 'JOB_CLOSE' exporting jobcount = pv_jobcount jobname = pv_jobname strtimmed = pv_btcimmed sdlstrtdt = lv_btcsdate sdlstrttm = lv_btcstime exceptions cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 others = 8.

ISM_CONTRACTDEMAND_ISSUESTATUS * call function 'ISM_CONTRACTDEMAND_ISSUESTATUS' * exporting * in_issue = ls_issue-matnr * in_vkorg = lv_vkorg * in_vtweg = lv_vtweg * importing * out_sal_status = lv_sal_status * exceptions * not_found = 1 * blocked_error = 2 * blocked_warning = 3 * invalid = 4 * others = 5.

ISM_CONTRACTDEMAND_PURCH_QUAN call function 'ISM_CONTRACTDEMAND_PURCH_QUAN' exporting in_issue_tab = lt_issue in_version = ps_change_rule-version exceptions input_not_valid = 1 others = 2.

ISM_SD_MATERIAL_TO_RANGE call function 'ISM_SD_MATERIAL_TO_RANGE' exporting in_matnr = ps_rule-issue changing range_tab = gr_issue[].

ISM_SD_MATERIAL_TO_RANGE call function 'ISM_SD_MATERIAL_TO_RANGE' exporting in_matnr = ps_rule-ref_issue changing range_tab = gr_rissu[].

ISM_SD_DATE_TO_RANGE call function 'ISM_SD_DATE_TO_RANGE' exporting in_date = ps_rule-publdate importing range_tab = gr_pdate[].

ISM_SD_DATE_TO_RANGE call function 'ISM_SD_DATE_TO_RANGE' exporting in_date = ps_rule-ref_publdate importing range_tab = gr_rpdat[].

ISM_SD_COPYNUMBER_TO_RANGE call function 'ISM_SD_COPYNUMBER_TO_RANGE' exporting in_copynumber = ps_rule-copynr importing range_tab = gr_copyn[].

ISM_SD_COPYNUMBER_TO_RANGE call function 'ISM_SD_COPYNUMBER_TO_RANGE' exporting in_copynumber = ps_rule-ref_copynr importing range_tab = gr_rcopy[].

ISM_SD_DATE_BETWEEN_TO_RANGE call function 'ISM_SD_DATE_BETWEEN_TO_RANGE' exporting in_date_from = ps_rule-date_from in_date_to = ps_rule-date_to importing range_tab = pdate_i[].

BAL_LOG_CREATE call function 'BAL_LOG_CREATE' exporting i_s_log = ls_log importing e_log_handle = pv_log_handle exceptions log_header_inconsistent = 1 others = 2.

BAL_DSP_PROFILE_NO_TREE_GET call function 'BAL_DSP_PROFILE_NO_TREE_GET' importing e_s_display_profile = ps_display_profile.

BAL_CNTL_FREE call function 'BAL_CNTL_FREE' changing c_control_handle = control_log_handle exceptions others = 1.

BAL_GLB_SEARCH_MSG call function 'BAL_GLB_SEARCH_MSG' exporting i_t_log_handle = log_handle_tab importing e_t_msg_handle = lt_msg exceptions msg_not_found = 1 others = 2.




BAL_CNTL_CREATE call function 'BAL_CNTL_CREATE' exporting i_container = container_bal i_s_display_profile = display_profile i_t_log_handle = log_handle_tab importing e_control_handle = control_log_handle exceptions profile_inconsistent = 1 internal_error = 2 others = 3.

BAL_CNTL_REFRESH call function 'BAL_CNTL_REFRESH' exporting i_control_handle = control_log_handle i_t_log_handle = log_handle_tab exceptions control_not_found = 1 internal_error = 2 others = 3.

BAL_LOG_MSG_ADD call function 'BAL_LOG_MSG_ADD' exporting i_log_handle = log_handle i_s_msg = ls_msg exceptions log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 others = 4.

BAL_LOG_MSG_ADD call function 'BAL_LOG_MSG_ADD' exporting i_log_handle = pv_log_handle i_s_msg = ls_msg exceptions log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 others = 4.

ISM_CONTRACTDEMAND_ISSUESTATUS call function 'ISM_CONTRACTDEMAND_ISSUESTATUS' exporting in_issue = -matnr in_vkorg = lv_vkorg in_vtweg = lv_vtweg importing out_sal_status = lv_sal_status exceptions not_found = 1 blocked_error = 2 blocked_warning = 3 invalid = 4 others = 5.

ISM_CONTRACTDEMAND_ISSUESTATUS call function 'ISM_CONTRACTDEMAND_ISSUESTATUS' exporting in_issue = -matnr in_vkorg = lv_vkorg in_vtweg = lv_vtweg importing out_sal_status = lv_sal_status exceptions not_found = 1 blocked_error = 2 blocked_warning = 3 invalid = 4 others = 5.

ISM_CONTRACTDEMAND_ISSUESTATUS call function 'ISM_CONTRACTDEMAND_ISSUESTATUS' exporting in_issue = -matnr in_vkorg = lv_vkorg in_vtweg = lv_vtweg importing out_sal_status = lv_sal_status exceptions not_found = 1 blocked_error = 2 blocked_warning = 3 invalid = 4 others = 5.



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