WTPR_ADDI_ORDERS 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 WTPR_ADDI_ORDERS 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = 'Prüfung der Kandidaten für die Bestellgenerierung'(002).
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = 'Zusammenstellung der Daten für die Bestellgenerierung'(003).
EXIT_ADDI_ORDER_FORMS_001 call function 'EXIT_ADDI_ORDER_FORMS_001' tables fxt_wtadab = iwtadab.
MARA_SINGLE_READ call function 'MARA_SINGLE_READ' exporting matnr = iwtadab-addimat importing wmara = smara exceptions lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 others = 5.
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = 'Generierung der Bestellungen'(004).
VWWS_STORD_DISPATCHER call function 'VWWS_STORD_DISPATCHER' exporting call_from = corder_dispatch_for_addis * STEP = * SORT_STEP_2 = * STORNO_BELEG = * I_PR_REQUESTOR = * NO_WF = * ITEM_DOCU_LOG_ON = 'X' tables faults_found = pet_faults_found order_positions = pxt_addi_orders head_conditions = pet_head_conditions item_conditions = pet_item_conditions tekpo_data_for_po = pit_ekpo_flags * CHANGING * E_BELEG_TYP = * E_BELEG_NR = * E_BELEG_POS_NR = exceptions error_in_application = 1 no_order_positions = 2 no_document_written = 3 no_external_vendor_given = 4 no_unique_source_of_supply = 5 appl_errors_exist = 6 others = 7.
DOMAIN_VALUE_GET call function 'DOMAIN_VALUE_GET' exporting i_domname = 'ADDI_OPER' i_domvalue = domvalue importing e_ddtext = domtext exceptions not_exist = 1 others = 2.
WTAD_APPEND_MESSAGE call function 'WTAD_APPEND_MESSAGE' exporting fi_addibelnr = pi_wtadab-addibelnr fi_addiposnr = pi_wtadab-addiposnr fi_addistunr = pi_wtadab-addistunr fi_lfdnr = pi_wtadab-lfdnr fi_msgid = addi_message_class fi_msgty = addi_message_type_warning fi_msgno = '211' fi_msgv1 = msgv1_tmp fi_msgv2 = msgv2_tmp tables fxt_messages = pxt_messages exceptions message_not_found = 1 others = 2.
WTAD_TWTFMA_READ call function 'WTAD_TWTFMA_READ' tables i_fb_twtfma = itwtfma exceptions not_found = 1 others = 2.
WTAD_APPEND_MESSAGE call function 'WTAD_APPEND_MESSAGE' exporting fi_addibelnr = pit_links-addibelnr fi_addiposnr = pit_links-addiposnr fi_addistunr = pit_links-addistunr fi_lfdnr = pit_links-lfdnr fi_msgid = pit_faults_found-msgid fi_msgty = pit_faults_found-msgty fi_msgno = pit_faults_found-msgno fi_msgv1 = pit_faults_found-parameter1 fi_msgv2 = pit_faults_found-parameter2 fi_msgv3 = pit_faults_found-parameter3 fi_msgv4 = pit_faults_found-parameter4 tables fxt_messages = pxt_messages exceptions message_not_found = 1 others = 2.
WTAD_APPEND_MESSAGE call function 'WTAD_APPEND_MESSAGE' exporting fi_addibelnr = pi_wtadab-addibelnr fi_addiposnr = pi_wtadab-addiposnr fi_addistunr = pi_wtadab-addistunr fi_lfdnr = pi_wtadab-lfdnr fi_msgid = addi_message_class fi_msgty = addi_message_type_success fi_msgno = '212' fi_msgv1 = msgv1 fi_msgv2 = msgv2 fi_msgv3 = msgv3 tables fxt_messages = pxt_messages exceptions message_not_found = 1 others = 2.
ENQUEUE_EMEKKOS call function 'ENQUEUE_EMEKKOS' exporting mode_ekko = 'S' ebeln = ebeln exceptions foreign_lock = 1 system_failure = 2 others = 3.
WTAD_APPEND_MESSAGE call function 'WTAD_APPEND_MESSAGE' exporting fi_addibelnr = pi_addibelnr fi_addiposnr = pi_addiposnr fi_addistunr = pi_addistunr fi_lfdnr = pi_lfdnr fi_msgid = addi_message_class fi_msgty = addi_message_type_warning fi_msgno = '213' fi_msgv1 = msgv1 tables fxt_messages = pxt_messages exceptions message_not_found = 1 others = 2.
ENQUEUE_EMMKPF call function 'ENQUEUE_EMMKPF' exporting mode_mkpf = 'S' mblnr = mblnr exceptions foreign_lock = 1 system_failure = 2 others = 3.
WTAD_APPEND_MESSAGE call function 'WTAD_APPEND_MESSAGE' exporting fi_addibelnr = pi_addibelnr fi_addiposnr = pi_addiposnr fi_addistunr = pi_addistunr fi_lfdnr = pi_lfdnr fi_msgid = addi_message_class fi_msgty = addi_message_type_warning fi_msgno = '214' fi_msgv1 = msgv1 tables fxt_messages = pxt_messages exceptions message_not_found = 1 others = 2.
ENQUEUE_EVVBLKE call function 'ENQUEUE_EVVBLKE' exporting mode_likp = 'S' vbeln = vbeln exceptions foreign_lock = 1 system_failure = 2 others = 3.
WTAD_APPEND_MESSAGE call function 'WTAD_APPEND_MESSAGE' exporting fi_addibelnr = pi_addibelnr fi_addiposnr = pi_addiposnr fi_addistunr = pi_addistunr fi_lfdnr = pi_lfdnr fi_msgid = addi_message_class fi_msgty = addi_message_type_warning fi_msgno = '215' fi_msgv1 = msgv1 tables fxt_messages = pxt_messages exceptions message_not_found = 1 others = 2.
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = 'Erzeugung der zugehörigen VKHM-IDocs'(006).
call function 'WTAD_APPEND_MESSAGE' exporting fi_addibelnr = pxt_wtadab-addibelnr fi_addiposnr = pxt_wtadab-addiposnr fi_addistunr = pxt_wtadab-addistunr fi_lfdnr = pxt_wtadab-lfdnr fi_msgid = addi_message_class fi_msgty = addi_message_type_success fi_msgno = '218' tables fxt_messages = pxt_messages exceptions message_not_found = 1 others = 2.
WTAD_COMPILE_IDOC_KEY_ENTRIES call function 'WTAD_COMPILE_IDOC_KEY_ENTRIES' exporting fi_retrieve_ref_data = 'X' tables fit_wtadab = iwtadab fit_wtadabt = pit_wtadabt fet_addi_info = iaddi_info fet_addi_idoc_keys = iaddi_keys fxt_ekko = iekko fxt_uekpo = iekpo fxt_ueket = ieket fxt_mkpf = imkpf fxt_mseg = imseg fxt_likp = ilikpvb fxt_lips = ilips fxt_vbuk = ivbuk fxt_vbup = ivbup.
MASTERIDOC_CREATE_WTADDI call function 'MASTERIDOC_CREATE_WTADDI' exporting application = '99' tables pit_addi_idoc_keys = iaddi_keys pit_addi_info = iaddi_info.
MASTERIDOC_CREATE_WTADDI call function idoc_create_fb "'MASTERIDOC_CREATE_WTADDI' exporting application = addi_appl_order_creation * EVENT = '1' * VERBOSITY_LEVEL = 1 * NUMBER_OF_ADDIS_PER_LOCNR = 0 * DESTINATION_LOCNR = '' destination_supplier = pi_supplier * CREATE_IDOC_IN_UPDATE_TASK = 'X' * IMPORTING * SEGMENT_COUNTER = tables pit_addi_idoc_keys = iaddi_keys pit_addi_info = iaddi_info * PET_IDOC_DATA = * PET_IDOC_COM_CTRL = pit_mkpf = imkpf pit_mseg = imseg pit_ekko_old = iekko pit_ekpo_old = iekpo pit_eket_old = ieket pit_likp_old = ilikp pit_lips_old = ilips pit_vbuk_old = ivbuk pit_vbup_old = ivbup exceptions no_key_data_provided = 1 no_additionals_provided = 2 others = 3.
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = 'Änderung existierender Bestellungen'(005).
ME_PURCHASE_DOCU_DATA_REFRESH call function 'ME_PURCHASE_DOCU_DATA_REFRESH'.
ME_PURCHASE_DOCUMENT_DATA_SAVE call function 'ME_PURCHASE_DOCUMENT_DATA_SAVE' * EXPORTING * I_NO_DOCUMENT_CHECK = ' ' * I_COMMIT_WAIT = ' ' * I_NO_COMMIT = ' ' exceptions invalid_call_of_fb = 1 others = 2.
WTAD_APPEND_MESSAGE call function 'WTAD_APPEND_MESSAGE' exporting fi_addibelnr = pxt_wtadab-addibelnr fi_addiposnr = pxt_wtadab-addiposnr fi_addistunr = pxt_wtadab-addistunr fi_lfdnr = pxt_wtadab-lfdnr fi_msgid = addi_message_class fi_msgty = addi_message_type_warning fi_msgno = '223' fi_msgv1 = msgv1_tmp fi_msgv2 = msgv2_tmp tables fxt_messages = pxt_messages exceptions message_not_found = 1 others = 2.
ME_PURCHASE_DOCUMENT_DATA_SAVE call function 'ME_PURCHASE_DOCUMENT_DATA_SAVE' * EXPORTING * I_NO_DOCUMENT_CHECK = ' ' * I_COMMIT_WAIT = ' ' * I_NO_COMMIT = ' ' exceptions invalid_call_of_fb = 1 others = 2.
ME_PURCHASE_DOCUMENT_DATA_READ call function 'ME_PURCHASE_DOCUMENT_DATA_READ' exporting i_ebeln = px_wtadab-addiebeln i_tcode = addi_order_change_tcode * I_NO_COMMIT = ' ' i_trtyp = addi_buying_update * I_NO_MESSAGING = * I_NO_MESSAGE_REQ = * I_NO_AUTHORITY_CHECK = * I_VORGA = exceptions no_eblnr = 1 eblnr_not_found = 2 no_tcode = 3 tcode_not_allowed = 4 no_trtyp = 5 invalid_call_of_fb = 6 others = 7.
ME_PUR_DOCU_POSITION_CHANGE call function 'ME_PUR_DOCU_POSITION_CHANGE' exporting i_field_name = addi_order_field_quantity i_field_value = quantity importing e_ekbel = s_ekbel tables ebelp_ran = position_id exceptions invalid_call_of_fb = 1 others = 2.
ME_PUR_DOCU_POSITION_CHANGE call function 'ME_PUR_DOCU_POSITION_CHANGE' exporting i_field_name = addi_order_field_delivery_date i_field_value = delivery_date importing e_ekbel = s_ekbel tables ebelp_ran = position_id exceptions invalid_call_of_fb = 1 others = 2.
WTAD_APPEND_MESSAGE call function 'WTAD_APPEND_MESSAGE' exporting fi_addibelnr = px_wtadab-addibelnr fi_addiposnr = px_wtadab-addiposnr fi_addistunr = px_wtadab-addistunr fi_lfdnr = px_wtadab-lfdnr fi_msgid = addi_message_class fi_msgty = addi_message_type_success fi_msgno = '224' fi_msgv1 = msgv1_tmp fi_msgv2 = msgv2_tmp fi_msgv3 = msgv3_tmp * FI_MSGV4 = tables fxt_messages = pxt_messages exceptions message_not_found = 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 WTPR_ADDI_ORDERS or its description.