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

/SAPSLL/PRE_VD_F01 SAP ABAP INCLUDE - /SAPSLL/PREVDF01







/SAPSLL/PRE_VD_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_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_F01. "Basic submit
SUBMIT /SAPSLL/PRE_VD_F01 AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSLL/PRE_VD_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_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:

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

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

BUPA_DESCRIPTION_GET CALL FUNCTION 'BUPA_DESCRIPTION_GET' EXPORTING iv_partner = lv_partner iv_valdt = sy-datlo IMPORTING ev_description = lv_description TABLES et_return = lt_return[].

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = sy-mandt is_debug = gs_debug CHANGING ct_range = ls_modgrobj_crit-mandt EXCEPTIONS invalid_range_structure = 0 OTHERS = 0.

/SAPSLL/APPEND_RANGE CALL FUNCTION '/SAPSLL/APPEND_RANGE' EXPORTING iv_value_low = iv_modgr is_debug = gs_debug CHANGING ct_range = ls_modgrobj_crit-modelgrp EXCEPTIONS invalid_range_structure = 0 OTHERS = 0.

/SAPSLL/MODGROBJ_DB_RNG_READ CALL FUNCTION '/SAPSLL/MODGROBJ_DB_RNG_READ' EXPORTING is_crit = ls_modgrobj_crit iv_flag_fill_buffer = gc_true is_debug = gs_debug EXCEPTIONS no_data = 1 open_sql_error = 2 OTHERS = 3.

/SAPSLL/PRE_VD_ORG_DATA_READ CALL FUNCTION '/SAPSLL/PRE_VD_ORG_DATA_READ' EXPORTING iv_modelgrp = iv_modgr iv_qaldoc = ev_qaldoc iv_pfony = iv_pfony IMPORTING ev_grvsy = ev_grvsy ev_stcts = ev_stcts es_topafor = es_topafor es_tvdfrm = es_tvdfrm ev_country = ev_country er_lgreg = er_lgreg EXCEPTIONS internal_error = 1 country_rule_set_error = 2 OTHERS = 3.

/SAPSLL/ADMIN_UNIT_ORG_CHECK CALL FUNCTION '/SAPSLL/ADMIN_UNIT_ORG_CHECK' EXPORTING iv_admin_unit = iv_modgr iv_pfony = iv_pfony is_debug = gs_debug EXCEPTIONS no_admin_unit = 1 incomplete_customizing = 2 multi_preference_zone = 3 invalid_call = 4 internal_error = 5 OTHERS = 6.

/SAPSLL/DDUT_TEXT_FOR_VALUE CALL FUNCTION '/SAPSLL/DDUT_TEXT_FOR_VALUE' EXPORTING iv_tablename = gc_tablename-prevd iv_fieldname = gc_fieldname-status iv_value = cv_status iv_value_is_external = gc_false IMPORTING ev_text = ev_text EXCEPTIONS no_ddic_field = 1 illegal_value = 2 internal_error = 3 OTHERS = 4.

/SAPSLL/PRE_VD_ORG_DATA_READ CALL FUNCTION '/SAPSLL/PRE_VD_ORG_DATA_READ' EXPORTING iv_modelgrp = lv_modgr iv_pfony = iv_pfony IMPORTING ev_grvsy = ev_grvsy EXCEPTIONS internal_error = 1 country_rule_set_error = 2 OTHERS = 3.

/SAPSLL/PRE_STCTS_GET CALL FUNCTION '/SAPSLL/PRE_STCTS_GET' EXPORTING iv_pfony = iv_pfony IMPORTING ev_stcts = ev_stcts EXCEPTIONS no_data = 1 not_unique = 2 OTHERS = 3.

/SAPSLL/PRE_STCTS_GET CALL FUNCTION '/SAPSLL/PRE_STCTS_GET' EXPORTING iv_pfony = iv_pfony iv_land1 = iv_land1 IMPORTING ev_stcts = cv_stcts EXCEPTIONS no_data = 1 not_unique = 2 OTHERS = 3.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = es_variant EXCEPTIONS not_found = 4.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = cs_variant i_save = 'A' IMPORTING e_exit = lv_exit es_variant = cs_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = ls_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

SUSR_USER_READ CALL FUNCTION 'SUSR_USER_READ' EXPORTING user_name = iv_uname EXCEPTIONS user_name_not_exists = 1 internal_error = 2 OTHERS = 3.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING mode = 'CURRENT' no_dialog = 'X' IMPORTING out_parameters = ls_out_parameters EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 OTHERS = 4.

/SAPSLL/PARTNER_RLTYP_CHECK CALL FUNCTION '/SAPSLL/PARTNER_RLTYP_CHECK' EXPORTING iv_parno = cv_modelgrp iv_rltyp = gc_rltyp-admin_unit iv_issue_message = gc_true iv_message_type = gc_msgty-error iv_language = syst-langu EXCEPTIONS no_role_provided = 1 partner_not_maintained = 2 message_type_wrong = 3 OTHERS = 4.

/SAPSLL/AUTH_CHECK_ADMUNIT_SGL





CALL FUNCTION '/SAPSLL/AUTH_CHECK_ADMUNIT_SGL' EXPORTING iv_admunit = cv_modelgrp iv_actvt = gc_actvt-create EXCEPTIONS no_activity_provided = 1 no_authority = 2 OTHERS = 3.

/SAPSLL/ADMIN_UNIT_PFONY_CHECK CALL FUNCTION '/SAPSLL/ADMIN_UNIT_PFONY_CHECK' EXPORTING iv_modelgrp = cv_modelgrp iv_pfony = iv_pfony IMPORTING ev_rcode = lv_rcode 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 = iv_modelgrp IMPORTING ev_grvsy = ev_grvsy EXCEPTIONS internal_error = 1 OTHERS = 2.

SUSR_USER_ADDRESS_READ CALL FUNCTION 'SUSR_USER_ADDRESS_READ' EXPORTING user_name = iv_uname IMPORTING user_address = ls_user_address EXCEPTIONS user_address_not_found = 1 OTHERS = 2.

CONVERT_DATE_TO_EXTERNAL CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL' EXPORTING date_internal = sy-datum IMPORTING date_external = lv_datum EXCEPTIONS date_internal_is_invalid = 0 OTHERS = 0.



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