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

/SAPSLL/PRE_VD_EXTEND_FOR SAP ABAP INCLUDE - Subroutines for /SAPSLL/PRE_VD_DEMAND







/SAPSLL/PRE_VD_EXTEND_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_EXTEND_FOR 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_EXTEND_FOR. "Basic submit
SUBMIT /SAPSLL/PRE_VD_EXTEND_FOR AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSLL/PRE_VD_EXTEND_FOR VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Subroutines for /SAPSLL/PRE_VD_DEMAND


INCLUDES used within this REPORT /SAPSLL/PRE_VD_EXTEND_FOR

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_maintain iv_extnumber = gc_appl_extid * IV_DELETE_MESS = ' ' * IV_DEFAULT_SET = 'X' iv_skip_search = gc_true * IV_READ_ARCHIVE = ' ' * IV_NO_CREATION = ' ' * IS_DEBUG = GS_DEBUG CHANGING cv_handle = ev_handle EXCEPTIONS invalid_call = 1 log_header_inconsistent = 2 internal_error = 3 OTHERS = 4.

/SAPSLL/APPLOG_APPEND CALL FUNCTION '/SAPSLL/APPLOG_APPEND' EXPORTING iv_lghdl = iv_handle iv_msgid = is_syst-msgid iv_msgty = is_syst-msgty iv_msgno = is_syst-msgno iv_msgv1 = is_syst-msgv1 iv_msgv2 = is_syst-msgv2 iv_msgv3 = is_syst-msgv3 iv_msgv4 = is_syst-msgv4 iv_probclass = ' ' iv_detlevel = lv_appl_level * is_debug = gs_debug EXCEPTIONS internal_error = 1 OTHERS = 2.

/SAPSLL/APPLOG_DISPLAY CALL FUNCTION '/SAPSLL/APPLOG_DISPLAY' EXPORTING iv_object = gc_applog_obj-preference iv_subobject = gc_applog_subobj-pref_vd_maintain iv_extnumber = gc_appl_extid iv_handle = iv_handle iv_funcname = '/SAPSLL/APPLOG_PROF_DET' * IS_LOG_FILTER = * IS_MSG_FILTER = * IS_DISPLAY_PROFILE = * IV_USE_GRID = iv_head_text = lv_title * IV_READ_ARCHIVE = ' ' * IS_DEBUG = EXCEPTIONS no_log_found = 1 OTHERS = 2.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = iv_tcode EXCEPTIONS ok = 1 not_ok = 2 OTHERS = 3.

ENQUEUE_/SAPSLL/EPREVD CALL FUNCTION 'ENQUEUE_/SAPSLL/EPREVD' EXPORTING * MODE_/SAPSLL/PREVD_SK_S = 'E' vdtyp = gc_vdtyp-preference rltyp = gc_rltyp-cbp_kred * GUID_PR = modelgrp = iv_modelgrp partner = iv_partner * DATBI = * X_VDTYP = ' ' * X_RLTYP = ' ' * X_GUID_PR = ' ' * X_MODELGRP = ' ' * X_PARTNER = ' ' * X_DATBI = ' ' _scope = '3' * _WAIT = ' ' * _COLLECT = ' ' 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 = iv_modelgrp partner = iv_partner * DATBI = * X_VDTYP = ' ' * X_RLTYP = ' ' * X_GUID_PR = ' ' * X_MODELGRP = ' ' * X_PARTNER = ' ' * X_DATBI = ' ' _scope = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .

/SAPSLL/PRE_VD_ORG_DATA_READ CALL FUNCTION '/SAPSLL/PRE_VD_ORG_DATA_READ' EXPORTING iv_modelgrp = iv_modelgr iv_pfony = iv_pfony IMPORTING ev_country = cs_vd_crit-modelgrp_land1 EXCEPTIONS internal_error = 1 country_rule_set_error = 2 OTHERS = 3.

/SAPSLL/PRE_VD_ORG_DATA_READ CALL FUNCTION '/SAPSLL/PRE_VD_ORG_DATA_READ' EXPORTING iv_modelgrp = cs_vd_crit-modelgrp IMPORTING ev_grvsy = cs_vd_crit-grvsy.

/SAPSLL/APPLOG_SAVE CALL FUNCTION '/SAPSLL/APPLOG_SAVE' EXPORTING iv_handle = cs_vd_crit-loghandle iv_extnumber = gc_appl_extid * IV_IN_UPDATE_TASK = ' ' * IT_LOG_HANDLE = * IS_DEBUG = * IMPORTING * ET_LOGNUMBERS = .

/SAPSLL/PRT_DB_SGL_READ CALL FUNCTION '/SAPSLL/PRT_DB_SGL_READ' EXPORTING iv_mandt = sy-mandt is_sk = ls_prt-sk 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_prt EXCEPTIONS no_data = 1 invalid_call = 2 OTHERS = 3.

/SAPSLL/PREVD_DB_WRITE CALL FUNCTION '/SAPSLL/PREVD_DB_WRITE' EXPORTING it_ins = lt_prevd_ins it_upd = lt_prevd_upd it_del = lt_prevd_del * IV_FLAG_UPDATE_TASK = 'X' is_debug = gs_debug.

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/PRE_VD_ORG_DATA_READ CALL FUNCTION '/SAPSLL/PRE_VD_ORG_DATA_READ' EXPORTING iv_modelgrp = iv_modgr iv_pfony = iv_pfony IMPORTING ev_grvsy = lv_grvsy EXCEPTIONS internal_error = 1 country_rule_set_error = 2 OTHERS = 3.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = lv_domval_prene text = gc_true langu = sy-langu bypass_buffer = gc_false TABLES dd07v_tab = st_prene_domval[] EXCEPTIONS wrong_textflag = 1 OTHERS = 2.

FIMA_DATE_CREATE CALL FUNCTION 'FIMA_DATE_CREATE' EXPORTING i_date = iv_date * I_FLG_END_OF_MONTH = ' ' i_years = iv_year * I_MONTHS = 0 * I_DAYS = 0 * I_CALENDAR_DAYS = 0 * I_SET_LAST_DAY_OF_MONTH = ' ' IMPORTING e_date = lv_fima_date * E_FLG_END_OF_MONTH = * E_DAYS_OF_I_DATE = .

/SAPSLL/VDM_SELECTION CALL FUNCTION '/SAPSLL/VDM_SELECTION' EXPORTING is_vdm_crit = ls_vdm_crit is_debug = gs_debug IMPORTING et_vdm_data = lt_vdm_data EXCEPTIONS no_data_selected = 1 invalid_call = 2 OTHERS = 3.

/SAPSLL/GUID_CREATE CALL FUNCTION '/SAPSLL/GUID_CREATE' IMPORTING ev_guid_16 = lv_guid.

/SAPSLL/GUID_CREATE CALL FUNCTION '/SAPSLL/GUID_CREATE' IMPORTING ev_guid_16 = ls_prevd_alv-guid_prevditm.

/SAPSLL/PRODUCT_CLASNUMBER_GET





CALL FUNCTION '/SAPSLL/PRODUCT_CLASNUMBER_GET' EXPORTING iv_guid_pr = ls_prevd_alv-guid_pr iv_stcts = ls_prevd_alv-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/APPLOG_SAVE CALL FUNCTION '/SAPSLL/APPLOG_SAVE' EXPORTING iv_handle = is_vd_crit-loghandle iv_extnumber = gc_appl_extid * IV_IN_UPDATE_TASK = ' ' * IT_LOG_HANDLE = iv_log_refresh = gc_false.

/SAPSLL/APPLOG_SAVE CALL FUNCTION '/SAPSLL/APPLOG_SAVE' EXPORTING iv_handle = is_vd_crit-loghandle iv_extnumber = gc_appl_extid * IV_IN_UPDATE_TASK = ' ' * IT_LOG_HANDLE = iv_log_refresh = gc_false.

/SAPSLL/APPLOG_SAVE CALL FUNCTION '/SAPSLL/APPLOG_SAVE' EXPORTING iv_handle = is_vd_crit-loghandle iv_extnumber = gc_appl_extid * IV_IN_UPDATE_TASK = ' ' * IT_LOG_HANDLE = iv_log_refresh = gc_false.

/SAPSLL/PRE_VD_ORG_DATA_READ CALL FUNCTION '/SAPSLL/PRE_VD_ORG_DATA_READ' EXPORTING iv_modelgrp = is_vd_crit-modelgrp IMPORTING ev_grvsy = lv_grvsy.

/SAPSLL/VDM_SELECTION CALL FUNCTION '/SAPSLL/VDM_SELECTION' EXPORTING is_vdm_crit = ls_vdm_crit is_debug = gs_debug * IMPORTING * et_vdm_data = EXCEPTIONS no_data_selected = 1 invalid_call = 2 OTHERS = 3.

/SAPSLL/VDM_POSTING CALL FUNCTION '/SAPSLL/VDM_POSTING' EXPORTING it_vdm_data = lt_vdm_data is_debug = gs_debug * IMPORTING * ev_data_changed = EXCEPTIONS invalid_call = 1 data_inconsistency = 2 internal_error = 3 OTHERS = 4.

/SAPSLL/VDM_SELECTION CALL FUNCTION '/SAPSLL/VDM_SELECTION' EXPORTING is_vdm_crit = ls_vdm_crit is_debug = gs_debug IMPORTING et_vdm_data = lt_vdm_data EXCEPTIONS no_data_selected = 1 invalid_call = 2 OTHERS = 3.

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = iv_value CHANGING ct_range = ct_range EXCEPTIONS invalid_range_structure = 1 OTHERS = 2.

/SAPSLL/PRE_VD_ORG_DATA_READ CALL FUNCTION '/SAPSLL/PRE_VD_ORG_DATA_READ' EXPORTING iv_modelgrp = is_vdm_crit-modelgrp IMPORTING ev_grvsy = lv_grvsy EXCEPTIONS internal_error = 1 country_rule_set_error = 2 OTHERS = 3.



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_EXTEND_FOR or its description.