SAP Reports / Programs | Global Trade Services | Global Trade Services(SLL-LEG) SAP SLL

/SAPSLL/PRE_VD_AGG_F01 SAP ABAP INCLUDE - /SAPSLL/PREVDAGGF01







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

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:

/SAPSLL/APPLOG_INIT call function '/SAPSLL/APPLOG_INIT' exporting iv_object = gc_applog_obj-preference iv_subobject = gc_applog_subobj-pref_vd_demand iv_extnumber = cs_vd_crit-applog_nrext iv_delete_mess = gc_false iv_default_set = gc_true iv_skip_search = gc_true * IV_READ_ARCHIVE = ' ' * IV_NO_CREATION = ' ' is_debug = gs_debug changing cv_handle = cs_vd_crit-loghandle exceptions invalid_call = 1 log_header_inconsistent = 2 internal_error = 3 others = 4.

/SAPSLL/APPLOG_DISPLAY call function '/SAPSLL/APPLOG_DISPLAY' exporting * iv_object = * iv_subobject = * iv_extnumber = iv_handle = iv_loghandle iv_funcname = '/SAPSLL/APPLOG_PROF_POPUP_DET' * is_log_filter = * IS_MSG_FILTER = * IV_USE_GRID = * IS_DEBUG = exceptions no_log_found = 1 others = 2.

ENQUEUE_/SAPSLL/EPREVD call function 'ENQUEUE_/SAPSLL/EPREVD' exporting mode_/sapsll/prevd_enq_s = 'E' mandt = sy-mandt vdtyp = gc_vdtyp-preference rltyp = gc_rltyp-cbp_kred * GUID_PR = modelgrp = cs_vd_crit-modelgrp partner = ls_pntbp-partner _scope = '3' exceptions foreign_lock = 1 system_failure = 2 others = 3.

DEQUEUE_/SAPSLL/EPREVD call function 'DEQUEUE_/SAPSLL/EPREVD' exporting mode_/sapsll/prevd_enq_s = 'E' mandt = sy-mandt vdtyp = gc_vdtyp-preference rltyp = gc_rltyp-cbp_kred * GUID_PR = modelgrp = is_vd_crit-modelgrp partner = ls_pntbp-partner _scope = '3'.

/SAPSLL/PRE_VD_ORG_DATA_READ call function '/SAPSLL/PRE_VD_ORG_DATA_READ' exporting iv_modelgrp = cs_vd_crit-modelgrp ir_lgreg_in = cs_vd_crit-lgreg_in[] ir_indei = cs_vd_crit-indei[] iv_vdvab = cs_vd_crit-vdvab iv_vdvbi = cs_vd_crit-vdvbi importing ev_grvsy = cs_vd_crit-grvsy ev_stcts = cs_vd_crit-stcts ev_adrnr = cs_vd_crit-modelgrp_adrnr ev_country = cs_vd_crit-modelgrp_land1 er_lgreg = cs_vd_crit-lgreg[] et_t606gt = cs_vd_crit-t606gt[] et_lrgcgp = cs_vd_crit-lrgcgp[] et_ctygpt = cs_vd_crit-ctygpt[] et_ctygpa = cs_vd_crit-ctygpa[] et_t005t = cs_vd_crit-t005t[] ev_rcode = cv_rcode exceptions internal_error = 1 others = 2.

/SAPSLL/PRE_VD_ADD_DATA_READ call function '/SAPSLL/PRE_VD_ADD_DATA_READ' exporting it_prevdwli = cs_vd_crit-prevdwli[] it_prevd = cs_vd_crit-prevd[] iv_modelgrp_country = cs_vd_crit-modelgrp_land1 importing et_pntpr = cs_vd_crit-pntpr[] et_pntbp = cs_vd_crit-pntbp[] et_prpar = cs_vd_crit-prpar[] et_prt = cs_vd_crit-prt[] et_but000 = cs_vd_crit-but000[] et_bp_address = cs_vd_crit-bp_address[].

/SAPSLL/PREVDWL_PARTNER_CHECK call function '/SAPSLL/PREVDWL_PARTNER_CHECK' exporting iv_modelgrp = is_vd_crit-modelgrp iv_rltyp1 = gc_rltyp-cus_mgr iv_parno = ls_partner-partner iv_rltyp2 = gc_rltyp-cbp_kred importing es_parma = ls_parma ev_vd_relevant = lv_vd_relevant.

/SAPSLL/APPEND_RANGE_EXT call function '/SAPSLL/APPEND_RANGE_EXT' exporting iv_sign = gc_sign-inclusive iv_option = gc_option-greater_equal iv_value_low = cs_vd_crit-vdvab is_debug = gs_debug changing ct_range = ls_prevd_crit-datbi[] exceptions invalid_range_structure = 0 others = 0.

/SAPSLL/APPEND_RANGE_EXT call function '/SAPSLL/APPEND_RANGE_EXT' exporting iv_sign = gc_sign-inclusive iv_option = gc_option-less_equal iv_value_low = cs_vd_crit-vdvbi is_debug = gs_debug changing ct_range = ls_prevd_crit-datab[] exceptions invalid_range_structure = 0 others = 0.

/SAPSLL/PREVD_REFRESH call function '/SAPSLL/PREVD_REFRESH' exporting is_debug = gs_debug exceptions internal_error = 1 others = 2.

/SAPSLL/PREVD_PUT_SELECTED_DAT call function '/SAPSLL/PREVD_PUT_SELECTED_DAT' exporting iv_flag_read_dep_tables = gc_true iv_flag_keep_guid = gc_false is_debug = gs_debug changing cs_prevd_db = ls_prevd_db exceptions invalid_call = 1 internal_error = 2 others = 3.

/SAPSLL/GUID_CREATE call function '/SAPSLL/GUID_CREATE' importing ev_guid_16 = ls_prevd-guid_prevd.

/SAPSLL/GUID_CREATE call function '/SAPSLL/GUID_CREATE' importing ev_guid_16 = ls_prevditm-guid_prevditm.

/SAPSLL/GUID_CREATE call function '/SAPSLL/GUID_CREATE' importing ev_guid_16 = ls_prevd-guid_prevd.

/SAPSLL/GUID_CREATE call function '/SAPSLL/GUID_CREATE' importing ev_guid_16 = ls_prevditm-guid_prevditm.

DD_DOMA_GET call function 'DD_DOMA_GET' exporting domain_name = lv_doma_name * GET_STATE = 'M ' * LANGU = SY-LANGU * PRID = 0 * WITHTEXT = 'X' * IMPORTING * DD01V_WA_A = * DD01V_WA_N = * GOT_STATE = tables dd07v_tab_a = lt_prene_dd07va dd07v_tab_n = lt_prene_dd07vn exceptions illegal_value = 1 op_failure = 2 others = 3 .

/SAPSLL/PRODUCT_CLASNUMBER_GET call function '/SAPSLL/PRODUCT_CLASNUMBER_GET' exporting iv_guid_pr = -guid_pr iv_stcts = is_vd_crit-stcts iv_cntry = is_vd_crit-modelgrp_land1 iv_enduse = gc_tariff_enduse-standard is_validity_date = ls_validity_date iv_ctstt = gc_cts_text-official_description importing es_ctsnumx = ls_ctsnumx et_ctsnumx = lt_ctsnumx exceptions non_unique = 1 no_number_found = 2 others = 3.

/SAPSLL/ALV_GRID_FULLSCREEN call function '/SAPSLL/ALV_GRID_FULLSCREEN' exporting * IT_FINFO = * IT_TOOLBAR_EXCLUDING = it_add_functions = lt_button * IT_F4_FIELDS = * IS_VARIANT = * IS_LAYOUT = iv_save = gc_true iv_repid = sy-repid iv_structure = gc_output_struc * IV_GRID_ID = * IV_DBL_CLK_CALLBACK = * IV_BEFORE_UCOMM_CALLBACK = iv_ucomm_callback = gc_fcallback * IV_ENTER_CALLBACK = * IV_CHECK_CALLBACK = * IV_BUTTON_CALLBACK = * IV_MENU_BUTTON_CALLBACK = * IV_APPL_EVENT = * IV_FLAG_STYLE = iv_titlebar = lv_titlebar it_sort = lt_sort * IT_FILTER = * IV_FLAG_INPUT = 'X' iv_flag_reduce_buttons = gc_true iv_flag_cwidth_opt = gc_true iv_flag_zebra = gc_true iv_guid_display = gc_false * IV_PF_STATUS = * IT_EXCL_FCODE = * IV_PF_CALLBACK = * IS_DEBUG = changing ct_fieldcat = lt_fldcat[] ct_data = it_prevd_alv[].

LVC_FIELDCATALOG_MERGE





call function 'LVC_FIELDCATALOG_MERGE' exporting * I_BUFFER_ACTIVE = i_structure_name = gc_output_struc * I_CLIENT_NEVER_DISPLAY = 'X' * I_BYPASSING_BUFFER = * I_INTERNAL_TABNAME = changing ct_fieldcat = et_fld_cat exceptions inconsistent_interface = 1 program_error = 2 others = 3.

/SAPSLL/PREVDWLI_DB_WRITE call function '/SAPSLL/PREVDWLI_DB_WRITE' exporting it_ins = lt_prevdwli_ins it_upd = lt_prevdwli_upd it_del = lt_prevdwli_del iv_flag_update_task = gc_true is_debug = gs_debug.

/SAPSLL/PREVD_INIT call function '/SAPSLL/PREVD_INIT' exporting * IV_FLAG_KEEP_GUID = is_debug = gs_debug * IV_SWITCH_UPDATE_BEFORE_INSERT = exceptions internal_error = 1 others = 2.

/SAPSLL/PREVD_REFRESH call function '/SAPSLL/PREVD_REFRESH' exporting is_debug = gs_debug exceptions internal_error = 1 others = 2.

/SAPSLL/PREVD_PUT_SELECTED_DAT call function '/SAPSLL/PREVD_PUT_SELECTED_DAT' exporting iv_flag_read_dep_tables = gc_true iv_flag_keep_guid = gc_false is_debug = gs_debug changing cs_prevd_db = ls_prevd_db exceptions invalid_call = 1 internal_error = 2 others = 3.

/SAPSLL/PREVD_PUT_DATA call function '/SAPSLL/PREVD_PUT_DATA' exporting iv_flag_check_input = gc_false iv_flag_aggregate = gc_false is_debug = gs_debug * IMPORTING * ev_flag_adjustments = changing cs_prevd_db = ls_prevd_db cs_prevd_db_del = ls_prevd_db_del exceptions invalid_call = 1 internal_error = 2 others = 3.

/SAPSLL/PREVD_PUT_DATA call function '/SAPSLL/PREVD_PUT_DATA' exporting iv_flag_check_input = gc_false iv_flag_aggregate = gc_false is_debug = gs_debug * IMPORTING * ev_flag_adjustments = changing cs_prevd_db = ls_prevd_db cs_prevd_db_del = ls_prevd_db_del exceptions invalid_call = 1 internal_error = 2 others = 3.

/SAPSLL/PREVD_CHECK_CHANGE call function '/SAPSLL/PREVD_CHECK_CHANGE' exporting is_debug = gs_debug changing cv_change = lv_data_change exceptions internal_error = 1 others = 2.

/SAPSLL/PREVD_DB_UPDATE_SWITCH call function '/SAPSLL/PREVD_DB_UPDATE_SWITCH' exporting iv_switch_update_before_insert = gc_true.

/SAPSLL/PREVD_SAVE_DATA call function '/SAPSLL/PREVD_SAVE_DATA' exporting iv_flag_update_task = gc_true is_debug = gs_debug exceptions internal_error = 1 others = 2.

/SAPSLL/APPEND_RANGE_EXT call function '/SAPSLL/APPEND_RANGE_EXT' exporting iv_sign = gc_sign-inclusive iv_option = gc_option-greater_equal iv_value_low = gc_date-alpha is_debug = gs_debug changing ct_range = ls_prevd_crit-datab_org[] exceptions invalid_range_structure = 0 others = 0.

/SAPSLL/APPEND_RANGE_EXT call function '/SAPSLL/APPEND_RANGE_EXT' exporting iv_sign = gc_sign-inclusive iv_option = gc_option-less_equal iv_value_low = cs_vd_crit-vdvbi is_debug = gs_debug changing ct_range = ls_prevd_crit-datbi_org[] exceptions invalid_range_structure = 0 others = 0.

/SAPSLL/PRE_VD_ADD_DATA_READ call function '/SAPSLL/PRE_VD_ADD_DATA_READ' exporting it_prevdwli = cs_vd_crit-prevdwli[] it_prevd = cs_vd_crit-prevd[] iv_modelgrp_country = cs_vd_crit-modelgrp_land1 importing et_pntpr = cs_vd_crit-pntpr[] * et_pntbp = cs_vd_crit-pntbp[] * et_prpar = cs_vd_crit-prpar[] et_prt = cs_vd_crit-prt[] et_but000 = cs_vd_crit-but000[] et_bp_address = cs_vd_crit-bp_address[].

/SAPSLL/PREVD_DB_RNG_READ call function '/SAPSLL/PREVD_DB_RNG_READ' exporting is_crit = is_prevd_crit iv_flag_fill_buffer = ' ' is_debug = gs_debug importing et_result = es_prevd_db-prevd[] exceptions no_data = 1 open_sql_error = 2 others = 3.

/SAPSLL/PREVD_REFRESH call function '/SAPSLL/PREVD_REFRESH' exporting is_debug = gs_debug exceptions internal_error = 1 others = 2.

/SAPSLL/PREVD_PUT_SELECTED_DAT call function '/SAPSLL/PREVD_PUT_SELECTED_DAT' exporting iv_flag_read_dep_tables = gc_true iv_flag_keep_guid = gc_false is_debug = gs_debug changing cs_prevd_db = es_prevd_db exceptions invalid_call = 1 internal_error = 2 others = 3.

/SAPSLL/APPEND_RANGE_EXT call function '/SAPSLL/APPEND_RANGE_EXT' exporting iv_sign = gc_sign-inclusive iv_option = gc_option-greater_equal iv_value_low = ls_prevd-datab_org is_debug = gs_debug changing ct_range = ls_prevd_crit-datbi[] exceptions invalid_range_structure = 0 others = 0.

/SAPSLL/APPEND_RANGE_EXT call function '/SAPSLL/APPEND_RANGE_EXT' exporting iv_sign = gc_sign-inclusive iv_option = gc_option-less_equal iv_value_low = ls_prevd-datbi_org is_debug = gs_debug changing ct_range = ls_prevd_crit-datab[] exceptions invalid_range_structure = 0 others = 0.

/SAPSLL/GUID_CREATE call function '/SAPSLL/GUID_CREATE' importing ev_guid_16 = ls_prevditm-guid_prevditm.

/SAPSLL/GUID_CREATE call function '/SAPSLL/GUID_CREATE' importing ev_guid_16 = ls_prevditm-guid_prevditm.






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 /SAPSLL/PRE_VD_AGG_F01 or its description.