SDDEMANDCOPYF01 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 SDDEMANDCOPYF01 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Include SDDEMANDCOPY_STOPPALLF01
INCLUDE RJKSDDEMANDCOPYFOG.
No SAP DATABASE tables are accessed within this REPORT code!
ISM_SD_SEQUENCE_TAB_CLEAR call function 'ISM_SD_SEQUENCE_TAB_CLEAR'.
ISM_SD_SELECT_CONTRACTS call function 'ISM_SD_SELECT_CONTRACTS' exporting in_valid_from = startdate " in_valid_until = stopdate tables in_vkorg = s_vkorg in_vtweg = s_vtweg in_spart = s_spart in_contract = s_vbeln in_vkbur = s_vkbur in_vkgrp = s_vkgrp in_product = s_prod in_doc_type_contract = s_ctyp out_contract = out_contracttab.
ISM_SD_IS_CONTRACT_CANCELED call function 'ISM_SD_IS_CONTRACT_CANCELED' exporting in_vbeln = lcontract-vbeln in_posnr = lcontract-posnr exceptions pos_not_found = 1 canceled = 2 others = 3.
ISM_DELIVERYSEQUENCE_GET call function 'ISM_DELIVERYSEQUENCE_GET' exporting in_issue_from = in_fromissue in_issue_to = in_toissue in_mediaproduct = in_productnr importing out_sequencetab = out_issueseqtab exceptions issue_not_assigned = 1 missing_sequence = 2 copynr_not_assigned = 3 others = 4.
ISM_SD_DEMAND_REFRESH_BUFFER call function 'ISM_SD_DEMAND_REFRESH_BUFFER'.
ISM_SD_DELETE_DEMAND_CONTRACT * call function 'ISM_SD_DELETE_DEMAND_CONTRACT' * exporting * in_version = in_version * in_vbeln = in_contract-vbeln * in_posnr = in_contract-posnr * in_no_lock = lv_no_lock * in_flag_horizont = lv_flag_horizont * exceptions * issue_not_assigned = 1 * missing_sequence = 2 * enqueue_failed = 3 * error = 4 * error_reading_contract = 5 * others = 6.
ISM_CONTRACTDEMAND_GET call function 'ISM_CONTRACTDEMAND_GET' exporting in_document = in_contract-vbeln in_item = in_contract-posnr in_mediaissue = issue-issue in_version = in_version importing out_quantity = ldemand-demand-quantity out_quantity_fixed = ldemand-demand-quantity_fixed "4.71
ISM_CONTRACTDEMAND_NEXT_CREATE call function 'ISM_CONTRACTDEMAND_NEXT_CREATE' exporting in_vbeln = in_contract-vbeln in_posnr = in_contract-posnr in_version = in_version in_flag_horizont = lv_flag_horizont importing out_newdemandtab = createddemandtab exceptions no_contract = 1 db_insert_failed = 2 error_contract_item = 3 enqueue_failed = 4 issue_not_assigned = 5 missing_sequence = 6 canceled = 7 no_planning_for_contract = 8 error_reading_contract = 9 others = 99.
ISM_CONTRACTDEMAND_MAP2NEW call function 'ISM_CONTRACTDEMAND_MAP2NEW' exporting in_product = in_product in_copyfromdemandtab = in_sourcedemand in_copytodemandtab = in_targetdemand importing out_demandtab = out_demandtab exceptions error = 1 no_mapping_possible = 2 others = 3.
ISM_CONTRACTDEMAND_SET call function 'ISM_CONTRACTDEMAND_SET' exporting in_document = ldemand-demand-vbeln in_item = ldemand-demand-posnr in_mediaissue = ldemand-demand-issue in_quantity = ldemand-demand-quantity in_salesunit = ldemand-demand-unit in_updatetask = jydb_update_dialog in_originofdata = '2' in_version = ldemand-demand-version in_quantityextension = q_extensionfields in_updateflags = updateflags tables return = lreturntab exceptions error = 1 others = 2.
ISM_MEDIAISSUE_GET_PRODUCT call function 'ISM_MEDIAISSUE_GET_PRODUCT' exporting in_mediaissue = in_issue importing out_producttab = lprodttab exceptions no_product = 1 others = 2.
ISM_MEDIA_ISSUE_SINGLE_READ call function 'ISM_MEDIA_ISSUE_SINGLE_READ' exporting pvi_matnr = ldemand-demand-issue importing pse_mara = lissue exceptions read_not_possible = 1 no_issue = 2 others = 3.
ISM_CONTRACTDEMAND_ENQUEUE call function 'ISM_CONTRACTDEMAND_ENQUEUE' exporting in_vbeln = in_vbeln in_posnr = in_posnr in_version = in_version in_scope = '1' exceptions foreign_lock = 1 system_failure = 2 others = 3.
DEQUEUE_ALL call function 'DEQUEUE_ALL'.
ISM_SD_SELECT_JKSECONTRINDEX call function 'ISM_SD_SELECT_JKSECONTRINDEX' exporting in_vbeln =
-demand-vbeln in_posnr = -demand-posnr importing out_jksecontrindex = ls_jksecontrindex exceptions not_found = 1 others = 2.
ISM_CONTRACTDEMAND_ISSUESTATUS call function 'ISM_CONTRACTDEMAND_ISSUESTATUS' exporting in_issue =
-demand-issue in_vkorg = ls_jksecontrindex-vkorg in_vtweg = ls_jksecontrindex-vtweg exceptions not_found = 1 blocked_error = 2 blocked_warning = 3 invalid = 4 others = 5.
ISM_MSG_ADD_TO_APPL_LOG call function 'ISM_MSG_ADD_TO_APPL_LOG' exporting pvi_log_handle = ghandle exceptions abend = 1 error = 2 info = 3 status = 4 warning = 5 exit = 6 others = 7.
ISM_MEDIA_ISSUE_SINGLE_READ call function 'ISM_MEDIA_ISSUE_SINGLE_READ' exporting pvi_matnr = in_issue importing pse_mara = lissue exceptions read_not_possible = 1 no_issue = 2 others = 3.
ISM_ISSUE_SEQUENCE_DATEGETNEXT
call function 'ISM_ISSUE_SEQUENCE_DATEGETNEXT' "4.72MF151202
ISM_ISSUE_SEQUENCE_DATEGETPREV call function 'ISM_ISSUE_SEQUENCE_DATEGETPREV' "4.72MF151202
ISM_CONTRACTDEMAND_BLOCKED call function 'ISM_CONTRACTDEMAND_BLOCKED' exporting in_mediaissue = lissue-issue in_document = in_contract-vbeln in_item = in_contract-posnr importing out_isblocked = blocked exceptions error_in_calender = 1 error_missing_date = 2 error_no_product_found = 3 error_issue_notfound = 4 error_suspend_type = 5 error_interrupt_not_allowed = 6 others = 7.
ISM_SD_SELECT_JKSECONTRINDEX call function 'ISM_SD_SELECT_JKSECONTRINDEX' exporting in_vbeln = p_contract-vbeln in_posnr = p_contract-posnr importing out_jksecontrindex = ls_jksecontrindex exceptions not_found = 1 others = 2.
MVKE_ARRAY_READ call function 'MVKE_ARRAY_READ' tables ipre10 = lt_mvke_key exceptions enqueue_mode_changed = 1 others = 2.
MARA_ARRAY_READ call function 'MARA_ARRAY_READ' tables ipre03 = lt_mara_key exceptions enqueue_mode_changed = 1 others = 2.
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 SDDEMANDCOPYF01 or its description.
SDDEMANDCOPYF01 - Include SDDEMANDCOPY_STOPPALLF01 SDDELORDALE - Test report for generating a DELORD-IDOC (delivery order) SDDELORDALE - Test report for generating a DELORD-IDOC (delivery order) SDDELDUB - Deletes duplicated VBBE records with same document, item, sched. line SDDELDUB - Deletes duplicated VBBE records with same document, item, sched. line SDDCC_CHECK_BACKGROUND_JOBF01 - Include SDDCC_CHECK_BACKGROUND_JOBF01