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

/SAPSLL/SCPBOD_CREATE_FORMS SAP ABAP INCLUDE - /SAPSLL/SCPBODCREATEFORMS







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

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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = cs_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.

/SAPSLL/T606S_DB_RNG_READ CALL FUNCTION '/SAPSLL/T606S_DB_RNG_READ' EXPORTING is_crit = ls_t606s_crit is_debug = gs_debug IMPORTING et_result = lt_t606s EXCEPTIONS no_data = 1 OTHERS = 2.

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

FIMA_DATE_CREATE CALL FUNCTION 'FIMA_DATE_CREATE' EXPORTING i_date = iv_boddt * I_FLG_END_OF_MONTH = ' ' * I_YEARS = 0 i_months = -1 * i_days = -1 * I_CALENDAR_DAYS = 0 i_set_last_day_of_month = gc_true IMPORTING e_date = cv_bodto * E_FLG_END_OF_MONTH = * E_DAYS_OF_I_DATE = .

FIMA_DATE_CREATE CALL FUNCTION 'FIMA_DATE_CREATE' EXPORTING i_date = cv_bodto * I_FLG_END_OF_MONTH = ' ' * I_YEARS = 0 i_months = lv_months * I_DAYS = 0 * I_CALENDAR_DAYS = 0 * I_SET_LAST_DAY_OF_MONTH = ' ' IMPORTING e_date = cv_bodfr * E_FLG_END_OF_MONTH = * E_DAYS_OF_I_DATE = .

FIMA_DATE_CREATE CALL FUNCTION 'FIMA_DATE_CREATE' EXPORTING i_date = iv_boddt * I_FLG_END_OF_MONTH = ' ' * I_YEARS = 0 * i_months = lv_months * i_days = -1 i_calendar_days = -1 * I_SET_LAST_DAY_OF_MONTH = ' ' IMPORTING e_date = cv_bodto * E_FLG_END_OF_MONTH = * E_DAYS_OF_I_DATE = .

FIMA_DATE_CREATE CALL FUNCTION 'FIMA_DATE_CREATE' EXPORTING i_date = iv_boddt * I_FLG_END_OF_MONTH = ' ' * I_YEARS = 0 i_months = lv_months * I_DAYS = 0 * I_CALENDAR_DAYS = 0 * I_SET_LAST_DAY_OF_MONTH = ' ' IMPORTING e_date = cv_bodfr * E_FLG_END_OF_MONTH = * E_DAYS_OF_I_DATE = .

FIMA_DATE_CREATE CALL FUNCTION 'FIMA_DATE_CREATE' EXPORTING i_date = iv_bodfr i_calendar_days = -1 IMPORTING e_date = lv_bodto_db.

FIMA_DATE_RECURRENCE_CREATE CALL FUNCTION 'FIMA_DATE_RECURRENCE_CREATE' EXPORTING i_date_from = ls_scpbod-bodto i_date_to = iv_bodfr i_frequency = 001 i_frequency_unit = 1 IMPORTING et_dates = lt_dates EXCEPTIONS period_invalid = 1 frequency_missing = 2 frequency_unit_invalid = 3 OTHERS = 4.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'SLL_SCPBOD' toyear = sy-datlo(4) IMPORTING number = cs_scpbod-bodno 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 buffer_overflow = 7 OTHERS = 8.

/SAPSLL/CONVERT_STAMP_TO_DATE CALL FUNCTION '/SAPSLL/CONVERT_STAMP_TO_DATE' EXPORTING iv_timestamp = is_cuitdat-dspts * IV_TIMEZONE = * IV_END_DATE = ' ' IMPORTING ev_date = ls_tlc_input-date_entry * EV_TIME = EXCEPTIONS no_time_stamp = 1 no_time_zone = 2 time_zone_notfound = 3 format_error = 4 OTHERS = 5.

/SAPSLL/LEG_TLC_CALC_INTEREST CALL FUNCTION '/SAPSLL/LEG_TLC_CALC_INTEREST' EXPORTING is_input = ls_tlc_input CHANGING cs_result = ls_tlc_result EXCEPTIONS no_rate_found = 1 calculation_error = 2 internal_error = 3 calculation_not_necessary = 4 OTHERS = 5.

/SAPSLL/LEG_TLC_CALC_TAX CALL FUNCTION '/SAPSLL/LEG_TLC_CALC_TAX' EXPORTING is_input = ls_tax_input IMPORTING es_legculc = ls_legculc * es_tlcvat = EXCEPTIONS no_tax_rate_found = 1 calculation_error = 2 internal_error = 3 product_error = 4 partner_error = 5 incorrect_call = 6 OTHERS = 7.

/SAPSLL/SCP_SCPBOD_UI_BUILD CALL FUNCTION '/SAPSLL/SCP_SCPBOD_UI_BUILD' EXPORTING it_cuit_in = it_cuit_in it_cuitdat_in = it_cuitdat it_legscp = it_legscp it_prboph = it_prboph it_prbopc = it_prbopc is_scpbod = is_scpbod is_lclic = is_lclic it_fcpeu_data = it_fcp_tobj IMPORTING et_scpbod_items = lt_scpbod_items EXCEPTIONS invalid_call = 1 OTHERS = 2.

/SAPSLL/SCP_SCPBOD_DISPLAY CALL FUNCTION '/SAPSLL/SCP_SCPBOD_DISPLAY' EXPORTING iv_batch = iv_batch iv_repid = iv_repid iv_trtyp = gc_trtyp-change is_scpbod = is_scpbod is_lclic = is_lclic is_variant = is_variant it_legscp = it_legscp it_fcpeu_data = it_fcp_tobj it_legscp_del = it_legscp_del CHANGING ct_scpbod_items = ct_scpbod_items.

/SAPSLL/LEGSCP_DB_INS CALL FUNCTION '/SAPSLL/LEGSCP_DB_INS' EXPORTING it_ins = lt_legscp_ins is_debug = gs_debug.

/SAPSLL/SCP_SCPBOD_CLO_PORT_DT





CALL FUNCTION '/SAPSLL/SCP_SCPBOD_CLO_PORT_DT' EXPORTING is_scpbod = is_scpbod it_scpbod_items = it_scpbod_items it_legscp = ct_legscp IMPORTING et_legscp_error = lt_legscp_error CHANGING ct_ivmc_post = lt_ivmc_post ct_ivms_post = lt_ivms_post ct_ivm_post = lt_ivm_post.

/SAPSLL/IVMC_STOCK_POST CALL FUNCTION '/SAPSLL/IVMC_STOCK_POST' EXPORTING is_post = ls_ivmc_post iv_flag_preselection = gc_false * IS_DEBUG = GS_DEBUG EXCEPTIONS bwhid_inactive = 1 no_authority = 2 invalid_call = 3 internal_error = 4 OTHERS = 5.

/SAPSLL/IVMS_STOCK_POST CALL FUNCTION '/SAPSLL/IVMS_STOCK_POST' EXPORTING is_post = ls_ivms_post iv_flag_preselection = gc_false * IS_DEBUG = GS_DEBUG EXCEPTIONS bwhid_inactive = 1 no_authority = 2 invalid_call = 3 internal_error = 4 OTHERS = 5.

/SAPSLL/IVM_STOCK_POST CALL FUNCTION '/SAPSLL/IVM_STOCK_POST' EXPORTING is_post = ls_ivm_post iv_flag_preselection = gc_false is_debug = gs_debug * IMPORTING * ES_POST = EXCEPTIONS bwhid_inactive = 1 no_authority = 2 invalid_call = 3 lime_error = 4 internal_error = 5 OTHERS = 6.

/SAPSLL/POST_FCPEU_DATA CALL FUNCTION '/SAPSLL/POST_FCPEU_DATA' EXPORTING it_fcpeu_data = it_fcp_tobj CHANGING ct_legscp = lt_legscp_ins EXCEPTIONS invalid_call = 1 internal_error = 2 customs_doc_create_error = 3 stock_posting_error = 4 OTHERS = 5.

/SAPSLL/LEGSCP_DB_INS CALL FUNCTION '/SAPSLL/LEGSCP_DB_INS' EXPORTING it_ins = lt_legscp_ins is_debug = gs_debug.

/SAPSLL/LEGSCP_DB_UPD CALL FUNCTION '/SAPSLL/LEGSCP_DB_UPD' EXPORTING it_upd = lt_legscp_upd is_debug = gs_debug.

/SAPSLL/LEGSCP_DB_DEL CALL FUNCTION '/SAPSLL/LEGSCP_DB_DEL' EXPORTING it_del = it_legscp_del is_debug = gs_debug.

/SAPSLL/LCLICM_DB_RNG_READ CALL FUNCTION '/SAPSLL/LCLICM_DB_RNG_READ' EXPORTING is_crit = ls_crit_lclicm * IV_FLAG_FILL_BUFFER = 'X' is_debug = gs_debug IMPORTING et_result = lt_lclicm EXCEPTIONS no_data = 1 open_sql_error = 2 OTHERS = 3.

/SAPSLL/PRECIP_DB_RNG_READ CALL FUNCTION '/SAPSLL/PRECIP_DB_RNG_READ' EXPORTING is_crit = ls_crit_precip * IV_FLAG_FILL_BUFFER = 'X' is_debug = gs_debug IMPORTING et_result = lt_precip EXCEPTIONS no_data = 1 open_sql_error = 2 OTHERS = 3.

/SAPSLL/PR_PROBC_MASS_GET CALL FUNCTION '/SAPSLL/PR_PROBC_MASS_GET' EXPORTING it_prboph = lt_prboph_input IMPORTING et_prboph = ct_prboph et_prbopc = ct_prbopc EXCEPTIONS no_data = 1 internal_error = 2 OTHERS = 3.

/SAPSLL/AUTH_CHECK_LMGM_SGL CALL FUNCTION '/SAPSLL/AUTH_CHECK_LMGM_SGL' EXPORTING iv_lgreg = ls_lclic-lgreg iv_licty = ls_lclic-licty iv_actvt = gc_actvt-change * IT_AC_ACTVT = * IV_LANGU = ' ' IMPORTING ev_auth_check_ok = cv_auth_ok EXCEPTIONS no_activity_provided = 1 no_authority = 2 OTHERS = 3.

/SAPSLL/ALV_GRID_BUTTON_REDUCE CALL FUNCTION '/SAPSLL/ALV_GRID_BUTTON_REDUCE' EXPORTING iv_flag_input = gc_false iv_flag_print = gc_true CHANGING ct_toolbar_excluding = lt_toolbar_excluding.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = lv_structure CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

/SAPSLL/ALV_GRID_FULLSCREEN CALL FUNCTION '/SAPSLL/ALV_GRID_FULLSCREEN' EXPORTING * it_finfo = lt_finfo it_toolbar_excluding = lt_toolbar_excluding * is_variant = is_variant * is_layout = ls_layout is_print = ls_print iv_save = gc_true iv_repid = iv_repid iv_structure = lv_structure iv_titlebar = lv_titlebar it_sort = lt_sort iv_flag_cwidth_opt = gc_true is_debug = gs_debug CHANGING ct_fieldcat = lt_fieldcat ct_data = lt_scpbod_result.

/SAPSLL/T606SV_DB_BUF_READ CALL FUNCTION '/SAPSLL/T606SV_DB_BUF_READ' EXPORTING is_crit = ls_t606sv_crit is_debug = gs_debug IMPORTING et_result = ct_t606sv EXCEPTIONS no_data = 1 OTHERS = 2.

/SAPSLL/T606SV_DB_RNG_READ CALL FUNCTION '/SAPSLL/T606SV_DB_RNG_READ' EXPORTING is_crit = ls_t606sv_crit is_debug = gs_debug IMPORTING et_result = ct_t606sv EXCEPTIONS no_data = 1 open_sql_error = 2 OTHERS = 3.

/SAPSLL/DET_ITEM_FCPEU_REL CALL FUNCTION '/SAPSLL/DET_ITEM_FCPEU_REL' EXPORTING is_cuit = is_cuit iv_lgreg = iv_lgreg iv_guid_ftorg = is_cuhd-guid_ftorg iv_maintain_legcon = gc_false iv_indei = gc_indei-import " Component IMPORTING ev_relevant = lv_relevant et_legcon = ct_legcon es_lclic = cs_lclic EXCEPTIONS invalid_call = 1 internal_error = 2 OTHERS = 3.

/SAPSLL/CUHD_DISCARD_OBJECT CALL FUNCTION '/SAPSLL/CUHD_DISCARD_OBJECT' EXPORTING is_cuhd_sk = cs_obj-sk is_debug = gs_debug.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = lv_corder_temp IMPORTING output = lv_corder_temp.




/SAPSLL/CUHD_GET_OBJECT CALL FUNCTION '/SAPSLL/CUHD_GET_OBJECT' EXPORTING is_sk = ls_cuhd_sk iv_dbcgr = gc_access_group-customs IMPORTING es_obj = cs_obj CHANGING cv_trtyp = lv_trtyp EXCEPTIONS entry_already_exists = 1 entry_does_not_exist = 2 foreign_lock = 3 OTHERS = 4.

/SAPSLL/CUHD_MAINTAIN_OBJECT CALL FUNCTION '/SAPSLL/CUHD_MAINTAIN_OBJECT' CHANGING cs_obj = cs_obj.

/SAPSLL/CUHD_MAINTAIN_OBJECT CALL FUNCTION '/SAPSLL/CUHD_MAINTAIN_OBJECT' EXPORTING is_debug = ls_debug CHANGING cs_obj = cs_obj.

/SAPSLL/CUHD_ITEM_CREATE CALL FUNCTION '/SAPSLL/CUHD_ITEM_CREATE' EXPORTING iv_prdes = iv_prdes it_tpafct = it_tpafct iv_guid_cuhd = iv_guid_cuhd iv_guid_ftorg = iv_guid_ftorg iv_guid_ftvbs = is_cuit_av-guid_ftvbs iv_srvll = iv_srvll iv_indei = iv_indei iv_lgreg = iv_lgreg iv_cuita = iv_cuita iv_creco = gc_creco-syst_manu_restr is_tlepaf_k = is_tlepaf-k is_debug = ls_debug IMPORTING es_cuit_sk = ls_cuit_sk ev_guid_cuit = cv_guid_cuit CHANGING ct_cuit = lt_cuit ct_legcus = lt_legcus ct_cuitsta = lt_cuitsta EXCEPTIONS item_already_exists = 1 wrong_item_number = 2 OTHERS = 3.

/SAPSLL/CUHD_LLNS_DETERMINE CALL FUNCTION '/SAPSLL/CUHD_LLNS_DETERMINE' EXPORTING it_srvll = lt_srvll is_cuit = ls_cuit iv_rptdt = lv_rptdt iv_lgreg = iv_lgreg is_debug = ls_debug CHANGING ct_corcts = lt_corcts ct_corctsc = lt_corctsc ct_corctz = lt_corctz EXCEPTIONS foreign_lock = 1 OTHERS = 2.

/SAPSLL/CUHD_MAINTAIN_SUBOBJ CALL FUNCTION '/SAPSLL/CUHD_MAINTAIN_SUBOBJ' EXPORTING is_cuit_sk = ls_cuit_sk CHANGING ct_cuit = lt_cuit ct_legcon = lt_legcon ct_legcus = lt_legcus ct_legculc = lt_legculc ct_cuitsta = lt_cuitsta ct_corcts = lt_corcts ct_corctsc = lt_corctsc ct_corctz = lt_corctz.

/SAPSLL/CUHDA_PARTNER_FCT_GET CALL FUNCTION '/SAPSLL/CUHDA_PARTNER_FCT_GET' EXPORTING iv_cuhda = iv_cuhda iv_lgreg = iv_lgreg iv_bypassing_buffer = gc_false IMPORTING et_tpafct = ct_tpafct EXCEPTIONS no_partner_functions_found = 1 OTHERS = 2.

/SAPSLL/CUHD_GET_OBJECT_PK CALL FUNCTION '/SAPSLL/CUHD_GET_OBJECT_PK' EXPORTING iv_guid_cuhd = iv_guid_cuhd iv_dbcgr = gc_access_group-customs iv_dbcfc = gc_access_function-cd_comp IMPORTING es_obj = cs_obj CHANGING cv_trtyp = cv_trtyp EXCEPTIONS entry_already_exists = 1 entry_does_not_exist = 2 foreign_lock = 3 OTHERS = 4.

/SAPSLL/LEGAL_TLC_CALCULATE_AL CALL FUNCTION '/SAPSLL/LEGAL_TLC_CALCULATE_AL' EXPORTING iv_lgreg = iv_lgreg iv_stcts = ls_tlegsu-ctsim iv_land1 = cs_obj-cuhd-ctypl CHANGING cs_obj = cs_obj EXCEPTIONS calculation_error = 1 OTHERS = 2.

/SAPSLL/CONVERT_DATE_TO_STAMP CALL FUNCTION '/SAPSLL/CONVERT_DATE_TO_STAMP' EXPORTING iv_date = iv_date iv_time = iv_time IMPORTING ev_timestamp = cv_rptdt EXCEPTIONS no_time_zone = 1 time_zone_notfound = 2 format_error = 3 OTHERS = 4.

/SAPSLL/T606G_DB_SGL_READ CALL FUNCTION '/SAPSLL/T606G_DB_SGL_READ' EXPORTING is_pk = ls_t606g_pk is_debug = gs_debug IMPORTING es_result = ls_t606g EXCEPTIONS no_data = 1 invalid_call = 2 OTHERS = 3.

/SAPSLL/TLEPR_DB_RNG_READ CALL FUNCTION '/SAPSLL/TLEPR_DB_RNG_READ' EXPORTING is_crit = ls_tlepr_crit is_debug = gs_debug IMPORTING et_result = lt_tlepr EXCEPTIONS no_data = 1 open_sql_error = 2 OTHERS = 3.

/SAPSLL/TLEPAF_DB_RNG_READ CALL FUNCTION '/SAPSLL/TLEPAF_DB_RNG_READ' EXPORTING is_crit = ls_tlepaf_crit is_debug = gs_debug IMPORTING et_result = lt_tlepaf EXCEPTIONS no_data = 1 open_sql_error = 2 OTHERS = 3.

/SAPSLL/CUHD_LLNS_SCHEME_DET CALL FUNCTION '/SAPSLL/CUHD_LLNS_SCHEME_DET' EXPORTING it_cuhddat = is_obj-cuhddat is_tlegsu_crit = ls_crit iv_crtsp = is_obj-crtsp IMPORTING et_tlegsu = lt_tlegsu EXCEPTIONS no_data = 1 invalid_call = 2 OTHERS = 3.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-p01 * DIAGNOSE_OBJECT = ' ' text_question = text-p04 text_button_1 = text-p02 * ICON_BUTTON_1 = ' ' text_button_2 = text-p03 * ICON_BUTTON_2 = ' ' * DEFAULT_BUTTON = '1' * DISPLAY_CANCEL_BUTTON = 'X' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = * IV_QUICKINFO_BUTTON_1 = ' ' * IV_QUICKINFO_BUTTON_2 = ' ' IMPORTING answer = lv_answer * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2.

/SAPSLL/SCPBOD_DB_INS CALL FUNCTION '/SAPSLL/SCPBOD_DB_INS' EXPORTING it_ins = lt_scpbod_ins is_debug = gs_debug.



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