/SAPSLL/PRE_VD_CANCEL_FOR 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 /SAPSLL/PRE_VD_CANCEL_FOR 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!
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = iv_tcode EXCEPTIONS ok = 1 not_ok = 2 OTHERS = 3.
/SAPSLL/AUTH_CHECK_CD_FTO_SGL CALL FUNCTION '/SAPSLL/AUTH_CHECK_CD_FTO_SGL' EXPORTING iv_ftorg = iv_modgr iv_actvt = '2' * IT_AC_ACTVT = '' * IV_LANGU = ' ' IMPORTING ev_auth_check_ok = lv_check EXCEPTIONS no_activity_provided = 1 no_authority = 2 OTHERS = 3.
/SAPSLL/MONITOR_DISP_PREPARE CALL FUNCTION '/SAPSLL/MONITOR_DISP_PREPARE' EXPORTING it_monitor = it_monitor it_pntbp = it_pntbp it_prevdwlo = it_prevdwlo it_prpref = it_prpref it_prcts = it_prcts IMPORTING et_monitor_ui = ct_display.
/SAPSLL/NUMBER_GET_NEXT CALL FUNCTION '/SAPSLL/NUMBER_GET_NEXT' EXPORTING iv_nr_range_nr = '01' iv_object = 'SLL_PREVD' * IV_QUANTITY = '1' * IV_SUBOBJECT = ' ' iv_toyear = sy-datlo(4) * IV_IGNORE_BUFFER = ' ' is_debug = gs_debug IMPORTING ev_number = ls_vd_input_ui-vdno * EV_QUANTITY = * EV_RETURNCODE = EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 internal_error = 7 OTHERS = 8.
/SAPSLL/TVDFRM_DB_SGL_READ CALL FUNCTION '/SAPSLL/TVDFRM_DB_SGL_READ' EXPORTING is_pk = ls_pk_tvdfrm iv_flag_bypass_buffer = gc_false iv_flag_no_db_access = gc_false iv_flag_fill_buffer = gc_true is_debug = gs_debug IMPORTING es_result = ls_tvdfrm EXCEPTIONS no_data = 1 invalid_call = 2 OTHERS = 3.
/SAPSLL/PREPARE_OUTPUT_VDO CALL FUNCTION '/SAPSLL/PREPARE_OUTPUT_VDO' EXPORTING it_data = lt_vd_input_ui iv_qaldoc = gc_qaldoc-rev_vd CHANGING cs_input = ls_prn. "#EC *
/SAPSLL/PRINT_VDO CALL FUNCTION '/SAPSLL/PRINT_VDO' EXPORTING is_prn = ls_prn iv_qaldoc = gc_qaldoc-rev_vd IMPORTING es_output_info = ls_job_info.
/SAPSLL/PREVD_SAVE CALL FUNCTION '/SAPSLL/PREVD_SAVE' EXPORTING is_prn = ls_prn CHANGING cv_subrc = lv_subrc ct_prevd = lt_prevd.
/SAPSLL/PREVDITM_SAVE CALL FUNCTION '/SAPSLL/PREVDITM_SAVE' EXPORTING it_prevd = lt_prevd is_prn = ls_prn CHANGING cv_subrc = lv_subrc ct_prevditm = lt_prevditm.
/SAPSLL/PREVDNEG_SAVE CALL FUNCTION '/SAPSLL/PREVDNEG_SAVE' EXPORTING is_prn = ls_prn it_prevditm = lt_prevditm it_prevd = lt_prevd CHANGING cv_subrc = lv_subrc.
/SAPSLL/PREVDCHG_DB_DEL CALL FUNCTION '/SAPSLL/PREVDCHG_DB_DEL' EXPORTING it_del = ct_prevdchg_del is_debug = gs_debug.
/SAPSLL/PRE_VD_ORG_DATA_READ CALL FUNCTION '/SAPSLL/PRE_VD_ORG_DATA_READ' EXPORTING iv_modelgrp = iv_modgr iv_pfony = iv_pfony IMPORTING ev_country = lv_country ev_rcode = gv_rcode EXCEPTIONS internal_error = 1 OTHERS = 2.
/SAPSLL/PRE_VD_ADD_DATA_READ CALL FUNCTION '/SAPSLL/PRE_VD_ADD_DATA_READ' EXPORTING it_prevd = it_prevd it_pntpr = it_pntpr iv_stcts = iv_stcts iv_modelgrp_country = lv_country IMPORTING et_prcts = ct_prcts et_prpar = ct_prpar et_prt = ct_prt.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/SAPSLL/PRE_VD_CANCEL_FOR - /SAPSLL/PREVDCANCELFOR /SAPSLL/PRE_VD_CANCEL_ASS - /SAPSLL/PREVDCANCELASS /SAPSLL/PRE_VD_ARCHIVE - Go to Transaction 'SARA' /SAPSLL/PRE_VD_ARCHIVE - Go to Transaction 'SARA' /SAPSLL/PRE_VD_ANALYZE_WL_TOP - Top Include for /SAPSLL/PRE_VD_ANALYZE_WL /SAPSLL/PRE_VD_ANALYZE_WL_PRO - Main Program for /SAPSLL/PRE_VD_ANALYZE_WL