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

/SAPSLL/PRE_VD_MAINTAIN_FOR SAP ABAP INCLUDE - Subroutines for /SAPSLL/PRE_VD_MAINTAIN







/SAPSLL/PRE_VD_MAINTAIN_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_MAINTAIN_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_MAINTAIN_FOR. "Basic submit
SUBMIT /SAPSLL/PRE_VD_MAINTAIN_FOR AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSLL/PRE_VD_MAINTAIN_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_MAINTAIN


INCLUDES used within this REPORT /SAPSLL/PRE_VD_MAINTAIN_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:

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_struc_name_itm i_client_never_display = gc_true i_bypassing_buffer = gc_true CHANGING ct_fieldcat = ct_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_struc_name_neg i_client_never_display = gc_true i_bypassing_buffer = gc_true CHANGING ct_fieldcat = ct_fieldcat[] 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 IMPORTING ev_grvsy = lv_grvsy.

/SAPSLL/GUID_CREATE CALL FUNCTION '/SAPSLL/GUID_CREATE' IMPORTING EV_GUID_16 = cs_prevd_ui-guid_prevd.

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = ls_t606g-lgreg * IS_DEBUG = GS_DEBUG CHANGING ct_range = lr_lgreg EXCEPTIONS invalid_range_structure = 1 OTHERS = 2 .

ENQUEUE_/SAPSLL/EPREVD CALL FUNCTION 'ENQUEUE_/SAPSLL/EPREVD' EXPORTING * MODE_/SAPSLL/PREVD_SK_S = 'E' * MANDT = SY-MANDT vdtyp = is_prevd_ui-vdtyp rltyp = is_prevd_ui-rltyp guid_pr = is_prevd_ui-guid_pr modelgrp = is_prevd_ui-modelgrp partner = is_prevd_ui-partner * DATBI = * X_VDTYP = ' ' * X_RLTYP = ' ' * X_GUID_PR = ' ' * X_MODELGRP = ' ' * X_PARTNER = ' ' * X_DATBI = ' ' * _SCOPE = '2' * _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 = is_prevd_ui-vdtyp rltyp = is_prevd_ui-rltyp guid_pr = is_prevd_ui-guid_pr modelgrp = is_prevd_ui-modelgrp partner = is_prevd_ui-partner * DATBI = * X_VDTYP = ' ' * X_RLTYP = ' ' * X_GUID_PR = ' ' * X_MODELGRP = ' ' * X_PARTNER = ' ' * X_DATBI = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = text-006 * DIAGNOSE_OBJECT = ' ' TEXT_QUESTION = lv_text * TEXT_BUTTON_1 = 'Ja'(001) ICON_BUTTON_1 = '@0V@' * TEXT_BUTTON_2 = 'Nein'(002) ICON_BUTTON_2 = '@0W@' DEFAULT_BUTTON = '2' DISPLAY_CANCEL_BUTTON = ' ' START_COLUMN = 36 START_ROW = 13 IMPORTING ANSWER = lv_answer * TABLES * PARAMETER = EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2 .

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = cs_prevd_ui-prnum IMPORTING output = cs_prevd_ui-prnum.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = cs_prevd_ui-partner IMPORTING output = cs_prevd_ui-partner.

/SAPSLL/LLNS_GET_NUMBER CALL FUNCTION '/SAPSLL/LLNS_GET_NUMBER' EXPORTING iv_guid_ctsxxx = iv_guid_ctsxxx IMPORTING * EV_CTSXXX_SK = * EV_CCNGN = cv_ccngn es_ctsxxx = ls_ctsxxx.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = gc_struc_name_itm state = 'A' langu = sy-langu TABLES dd03p_tab = st_dd03p_itm EXCEPTIONS illegal_input = 1 OTHERS = 2.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = '/SAPSLL/PRENE' * langu = * texts_only = TABLES dd07v_tab = st_dd07v[].

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = '/SAPSLL/PRENE' langu = sy-langu texts_only = gc_true TABLES dd07v_tab = st_dd07v[].

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = '/SAPSLL/PREVDITM_UI_ALV_S' fieldname = 'LGREG' searchhelp = lv_shlpname * SHLPPARAM = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * VALUE = ' ' * MULTIPLE_CHOICE = ' ' display = iv_disp * SUPPRESS_RECORDLIST = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' * SELECTION_SCREEN = ' ' TABLES return_tab = lt_return EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5 .

/SAPSLL/CONVERT_DATE_TO_STAMP CALL FUNCTION '/SAPSLL/CONVERT_DATE_TO_STAMP' EXPORTING * IV_TIMEZONE = iv_date = is_prevditm_ui-datbi * IV_TIME = '000000' IMPORTING ev_timestamp = lv_stamp EXCEPTIONS no_time_zone = 1 time_zone_notfound = 2 format_error = 3 OTHERS = 4 .

/SAPSLL/APPEND_RANGE_EXT CALL FUNCTION '/SAPSLL/APPEND_RANGE_EXT' EXPORTING iv_sign = 'I' iv_option = 'GE' iv_value_low = lv_stamp is_debug = gs_debug CHANGING ct_range = lr_datbi[].

/SAPSLL/CONVERT_DATE_TO_STAMP CALL FUNCTION '/SAPSLL/CONVERT_DATE_TO_STAMP' EXPORTING * IV_TIMEZONE = iv_date = is_prevditm_ui-datab * IV_TIME = '000000' IMPORTING ev_timestamp = lv_stamp EXCEPTIONS no_time_zone = 1 time_zone_notfound = 2 format_error = 3 OTHERS = 4 .

/SAPSLL/APPEND_RANGE_EXT





CALL FUNCTION '/SAPSLL/APPEND_RANGE_EXT' EXPORTING iv_sign = 'I' iv_option = 'LE' iv_value_low = lv_stamp is_debug = gs_debug CHANGING ct_range = lr_datab[].

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = 'A' is_debug = gs_debug CHANGING ct_range = lr_ctstt[].

/SAPSLL/LLNS_MATCH_CODE CALL FUNCTION '/SAPSLL/LLNS_MATCH_CODE' EXPORTING iv_stcts = is_prevditm_ui-stcts ir_datbi = lr_datbi[] ir_datab = lr_datab[] ir_ctstt = lr_ctstt[] iv_popup = gc_false IMPORTING es_ctsxxx = ls_ctsxxx EXCEPTIONS stcts_not_found = 1 OTHERS = 2.

/SAPSLL/LLNS_GET_TEXT CALL FUNCTION '/SAPSLL/LLNS_GET_TEXT' EXPORTING iv_guid_ctsxxx = iv_guid_cts iv_langu = sy-langu iv_ctsta = 'X' IMPORTING et_ctsgent = lt_ctsgent[] et_ctsnumt = lt_ctsnumt[] et_ctsnumct = lt_ctsnumct[] EXCEPTIONS no_texts_found = 1 OTHERS = 2.

/SAPSLL/LC_CUSB_HS_GUID_GET CALL FUNCTION '/SAPSLL/LC_CUSB_HS_GUID_GET' EXPORTING iv_hsnum = iv_ccngn iv_stcts = iv_stcts iv_datab = iv_datab iv_datbi = iv_datbi CHANGING cv_hguid = cv_guid_cts * CV_CTYAR = EXCEPTIONS invalid_time_interval = 1 no_data_found = 2 OTHERS = 3 .

/SAPSLL/GUID_CREATE CALL FUNCTION '/SAPSLL/GUID_CREATE' IMPORTING EV_GUID_16 = ls_prevdneg_ui_backend-guid_prevdneg.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = gc_struc_name_neg state = 'A' langu = sy-langu TABLES dd03p_tab = st_dd03p_neg EXCEPTIONS illegal_input = 1 OTHERS = 2.

/SAPSLL/PREVD_DB_WRITE CALL FUNCTION '/SAPSLL/PREVD_DB_WRITE' EXPORTING it_ins = it_prevd_ins[] it_upd = it_prevd_upd[] it_del = it_prevd_del[] iv_flag_update_task = gc_true is_debug = gs_debug.

/SAPSLL/PREVDITM_DB_WRITE CALL FUNCTION '/SAPSLL/PREVDITM_DB_WRITE' EXPORTING it_ins = it_prevditm_ins[] it_upd = it_prevditm_upd[] it_del = it_prevditm_del[] iv_flag_update_task = gc_true is_debug = gs_debug.

/SAPSLL/PREVDNEG_DB_WRITE CALL FUNCTION '/SAPSLL/PREVDNEG_DB_WRITE' EXPORTING it_ins = it_prevdneg_ins it_upd = it_prevdneg_upd it_del = it_prevdneg_del iv_flag_update_task = gc_true is_debug = gs_debug.

/SAPSLL/PRE_MODGR_GET CALL FUNCTION '/SAPSLL/PRE_MODGR_GET' IMPORTING ev_modgr = cv_modelgrp EXCEPTIONS no_data = 1 not_unique = 2 OTHERS = 3.

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

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

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING *Transaktion beenden titlebar = text-c01 * DIAGNOSE_OBJECT = ' ' text_question = lv_question * text_button_1 = * ICON_BUTTON_1 = ' ' * text_button_2 = * ICON_BUTTON_2 = ' ' default_button = gc_answer-button_2 display_cancel_button = gc_false * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING answer = lv_answer * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2.

/SAPSLL/GUID_CREATE CALL FUNCTION '/SAPSLL/GUID_CREATE' IMPORTING EV_GUID_16 = ls_prevditm_ui-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_MAINTAIN_FOR or its description.