WISPL_INC_EW012 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 WISPL_INC_EW012 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!
RFC_CREATE_ALLOC_ITEM CALL FUNCTION 'RFC_CREATE_ALLOC_ITEM' EXPORTING fbi_alloc_item = p_alloc_position FBI_QTY_BOTTOM_UP = bottom_up * FBI_RESET_MSG_NB = ' ' FBI_KNA1_CHECK = space IMPORTING FBE_ALLOC_ITEM = p_alloc_position FBE_RETURN_CODE = pos_subrc tables fbt_alloc_plants = t_alloc_plant fbt_alloc_plant_dp = t_alloc_plant_deliv fbt_alloc_dc = t_alloc_dc fbt_alloc_dc_dp = t_alloc_dc_deliv fbt_msg_tbl = t_mesg.
RFC_CREATE_ALLOC_ITEM CALL FUNCTION 'RFC_CREATE_ALLOC_ITEM' DESTINATION p_int_alloc-rfcdest EXPORTING fbi_alloc_item = p_alloc_position FBI_QTY_BOTTOM_UP = bottom_up * FBI_RESET_MSG_NB = ' ' FBI_KNA1_CHECK = space IMPORTING FBE_ALLOC_ITEM = p_alloc_position FBE_RETURN_CODE = pos_subrc tables fbt_alloc_plants = t_alloc_plant fbt_alloc_plant_dp = t_alloc_plant_deliv fbt_alloc_dc = t_alloc_dc fbt_alloc_dc_dp = t_alloc_dc_deliv fbt_msg_tbl = t_mesg.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = t_mesg-arbgb msgty = t_mesg-msgty msgv1 = t_mesg-msgv1 msgv2 = t_mesg-msgv2 msgv3 = t_mesg-msgv3 msgv4 = t_mesg-msgv4 txtnr = t_mesg-txtnr zeile = zeile_interface_von.
WAUF_T001W_LESEN call function 'WAUF_T001W_LESEN' exporting im_werks = werks IMPORTING EX_T001W = wa_t001w EXCEPTIONS NO_VALID_INPUT = 1 NO_RECORD_FOUND = 2 OTHERS = 3.
WAUF_KNA1_READ call function 'WAUF_KNA1_READ' exporting im_kunnr = filnr IMPORTING EX_KNA1 = wa_kna1 EXCEPTIONS NO_KUNNR = 1 NO_RECORD_FOUND = 2 OTHERS = 3 .
WAUF_T001W_LESEN call function 'WAUF_T001W_LESEN' exporting im_werks = wa_kna1-werks IMPORTING EX_T001W = wa_t001w EXCEPTIONS NO_VALID_INPUT = 1 NO_RECORD_FOUND = 2 OTHERS = 3.
WAUF_T024W_LESEN CALL FUNCTION 'WAUF_T024W_LESEN' EXPORTING IM_WERKS = wa_t001w-werks IM_EKORG = alloc_header-ekorg EXCEPTIONS NO_RECORD_FOUND = 1 OTHERS = 2.
RFC_REFRESH_BUFFER_ALLOC_TBL CALL FUNCTION 'RFC_REFRESH_BUFFER_ALLOC_TBL'.
RFC_CREATE_ALLOC_HEADER CALL FUNCTION 'RFC_CREATE_ALLOC_HEADER' EXPORTING fbi_alloc_header = alloc_header * FBI_RESET_MSG_NB = ' ' IMPORTING FBE_ALLOC_HEADER = alloc_header FBE_RETURN_CODE = kopf_subrc tables fbt_msg_tbl = it_mesg.
RFC_REFRESH_BUFFER_ALLOC_TBL CALL FUNCTION 'RFC_REFRESH_BUFFER_ALLOC_TBL' DESTINATION p_int_allo-rfcdest.
RFC_CREATE_ALLOC_HEADER CALL FUNCTION 'RFC_CREATE_ALLOC_HEADER' DESTINATION p_int_allo-rfcdest EXPORTING fbi_alloc_header = alloc_header * FBI_RESET_MSG_NB = ' ' IMPORTING FBE_ALLOC_HEADER = alloc_header FBE_RETURN_CODE = kopf_subrc tables fbt_msg_tbl = it_mesg.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = it_mesg-arbgb msgty = it_mesg-msgty msgv1 = it_mesg-msgv1 msgv2 = it_mesg-msgv2 msgv3 = it_mesg-msgv3 msgv4 = it_mesg-msgv4 txtnr = it_mesg-txtnr zeile = zeile_interface_von.
WIS_PLAN_POPUP_ALLOC CALL FUNCTION 'WIS_PLAN_POPUP_ALLOC' exporting i_zeile_von = zeile_interface_von i_zeile_bis = zeile_interface_bis IMPORTING E_continue = cont_feld.
RFC_POST_ALLOC_TABLE CALL FUNCTION 'RFC_POST_ALLOC_TABLE' EXPORTING FBI_COMMIT = true * FBI_RESET_MSG_NB = ' ' IMPORTING FBE_ALLOC_TABLE = p_alloc_number FBE_RETURN_CODE = alloc_subrc TABLES fbt_msg_tbl = it_mesg.
RFC_POST_ALLOC_TABLE CALL FUNCTION 'RFC_POST_ALLOC_TABLE' DESTINATION p_int_allo-rfcdest EXPORTING FBI_COMMIT = true * FBI_RESET_MSG_NB = ' ' IMPORTING FBE_ALLOC_TABLE = p_alloc_number FBE_RETURN_CODE = alloc_subrc TABLES fbt_msg_tbl = it_mesg.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = it_mesg-arbgb msgty = it_mesg-msgty msgv1 = it_mesg-msgv1 msgv2 = it_mesg-msgv2 msgv3 = it_mesg-msgv3 msgv4 = it_mesg-msgv4 txtnr = it_mesg-txtnr zeile = zeile_interface_von.
WIS_PLAN_FINAL_PROC_ALLOC call function 'WIS_PLAN_FINAL_PROC_ALLOC' exporting i_int_allo = p_int_allo i_plint = p_plint i_bezch = alloc_bezch i_abeln = p_alloc_number EXCEPTIONS ERROR_IN_LOG_CREATE = 1 OTHERS = 2.
CKML_F_GET_NEXT_PERIOD call function 'CKML_F_GET_NEXT_PERIOD' exporting input_period = p_perio_min+4(3) input_year = p_perio_min(4) input_periv = twispc_plsch-plgjv IMPORTING NEXT_PERIOD = prev_peri NEXT_YEAR = prev_year.
call function 'CKML_F_GET_NEXT_PERIOD' exporting input_period = prev_peri input_year = prev_year input_periv = twispc_plsch-plgjv IMPORTING NEXT_PERIOD = prev_peri NEXT_YEAR = prev_year.
FIRST_DAY_IN_PERIOD_GET call function 'FIRST_DAY_IN_PERIOD_GET' exporting i_gjahr = prev_year i_periv = twispc_plsch-plgjv i_poper = prev_peri IMPORTING E_DATE = perio_start EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4.
CKML_F_GET_NEXT_PERIOD call function 'CKML_F_GET_NEXT_PERIOD' exporting input_period = p_perio_min+4(3) input_year = p_perio_min(4) input_periv = twispc_plsch-plgjv IMPORTING NEXT_PERIOD = prev_peri NEXT_YEAR = prev_year.
FIRST_DAY_IN_PERIOD_GET call function 'FIRST_DAY_IN_PERIOD_GET' exporting i_gjahr = prev_year i_periv = twispc_plsch-plgjv i_poper = prev_peri IMPORTING E_DATE = perio_start EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4.
WIS_PLAN_DIALOG_BEFORE_ALLOC call function 'WIS_PLAN_DIALOG_BEFORE_ALLOC' exporting i_t621_bstge = at_t621-bstge i_t621_bzqfi = at_t621-bzqfi i_ekorgflg = pl_ekorg i_ekgrpflg = pl_ekgrp i_vzwrkflg = pl_vzwrk i_lifnrflg = pl_lifnr i_klapla = alloc_filklasse tables t_alloc_dc_deliv = t_alloc_dc_deliv t_alloc_plant_deliv = t_alloc_plant_deliv changing c_int_alloc = p_int_allo c_bezch = alloc_bezch EXCEPTIONS USER_CANCEL = 1 OTHERS = 2 .
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = p_merkmal ALL_TYPES = true IMPORTING DFIES_WA = df_wa EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.
WAUF_T001K_LESEN call function 'WAUF_T001K_LESEN' exporting im_bwkey = p_t001w-bwkey IMPORTING EX_T001K = w_t001k EXCEPTIONS NO_VALID_INPUT = 1 NO_RECORD_FOUND = 2 OTHERS = 3.
WAUF_T024W_LESEN CALL FUNCTION 'WAUF_T024W_LESEN' EXPORTING IM_WERKS = vz_t001w-werks IM_EKORG = p_int_allo-ekorg EXCEPTIONS NO_RECORD_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 WISPL_INC_EW012 or its description.