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

/SAPSLL/CUHD_CSD_COMPLETE_FOR SAP ABAP INCLUDE - /SAPSLL/CUHDCSDCOMPLETEFOR







/SAPSLL/CUHD_CSD_COMPLETE_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/CUHD_CSD_COMPLETE_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/CUHD_CSD_COMPLETE_FOR. "Basic submit
SUBMIT /SAPSLL/CUHD_CSD_COMPLETE_FOR AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSLL/CUHD_CSD_COMPLETE_FOR 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/CUHD_CSD_COMPLETE_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/RANGE_PARNO_TO_GUID CALL FUNCTION '/SAPSLL/RANGE_PARNO_TO_GUID' EXPORTING ir_parno = ir_ftorg IMPORTING er_guid_prtn = cs_cuhd_obj_selcrit-cuhd-guid_ftorg EXCEPTIONS no_external_bp_number_found = 1 OTHERS = 2.

/SAPSLL/FTVBS_PAFCT_RANGE_GET CALL FUNCTION '/SAPSLL/FTVBS_PAFCT_RANGE_GET' IMPORTING er_pafct = cs_cuhd_obj_selcrit-corpar-pafct.

/SAPSLL/CUHD_GET_OBJECT CALL FUNCTION '/SAPSLL/CUHD_GET_OBJECT' EXPORTING is_sk = ls_cuhd_trp-sk iv_dbcgr = gc_access_group-customs iv_dbcfc = gc_access_function-cd_comp iv_archive_read = ' ' IMPORTING es_obj = ls_obj CHANGING cv_trtyp = lv_trtyp EXCEPTIONS entry_already_exists = 1 entry_does_not_exist = 2 foreign_lock = 3 OTHERS = 4.

/SAPSLL/CUHD_PREV_STATUS_SET CALL FUNCTION '/SAPSLL/CUHD_PREV_STATUS_SET' EXPORTING iv_prost = ls_cuhdsta-prost CHANGING cv_provo = ls_cuhdsta-provo EXCEPTIONS invalid_call = 1 OTHERS = 2.

/SAPSLL/CUHD_MAINTAIN_SUBOBJ CALL FUNCTION '/SAPSLL/CUHD_MAINTAIN_SUBOBJ' CHANGING ct_cuhdsta = lt_cuhdsta.

/SAPSLL/CUHD_GET_OBJECT CALL FUNCTION '/SAPSLL/CUHD_GET_OBJECT' EXPORTING is_sk = ls_cuhd_trp-sk iv_dbcgr = gc_access_group-customs iv_dbcfc = gc_access_function-cd_comp iv_archive_read = ' ' IMPORTING es_obj = ls_obj CHANGING cv_trtyp = lv_trtyp EXCEPTIONS entry_already_exists = 1 entry_does_not_exist = 2 foreign_lock = 3 OTHERS = 4.

/SAPSLL/CUHD_PREV_STATUS_SET CALL FUNCTION '/SAPSLL/CUHD_PREV_STATUS_SET' EXPORTING iv_prost = ls_cuhdsta-prost CHANGING cv_provo = ls_cuhdsta-provo EXCEPTIONS invalid_call = 1 OTHERS = 2.

/SAPSLL/CUHD_MAINTAIN_SUBOBJ CALL FUNCTION '/SAPSLL/CUHD_MAINTAIN_SUBOBJ' CHANGING ct_cuhdsta = lt_cuhdsta.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = iv_id text = gc_false info = iv_info add_stdinf = ' ' IMPORTING result = cv_icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

/SAPSLL/CUHD_GET_OBJECT CALL FUNCTION '/SAPSLL/CUHD_GET_OBJECT' EXPORTING is_sk = ls_cuhd_cus-sk iv_dbcgr = gc_access_group-customs iv_dbcfc = gc_access_function-cd_hdr_status iv_archive_read = ' ' IMPORTING es_obj = ls_obj CHANGING cv_trtyp = lv_trtyp EXCEPTIONS entry_already_exists = 1 entry_does_not_exist = 2 foreign_lock = 3 OTHERS = 4.

/SAPSLL/CUHD_PREV_STATUS_SET CALL FUNCTION '/SAPSLL/CUHD_PREV_STATUS_SET' EXPORTING iv_prost = ls_cuhdsta-prost CHANGING cv_provo = ls_cuhdsta-provo EXCEPTIONS invalid_call = 1 OTHERS = 2.

/SAPSLL/CUHD_MAINTAIN_SUBOBJ CALL FUNCTION '/SAPSLL/CUHD_MAINTAIN_SUBOBJ' CHANGING ct_cuhdsta = lt_cuhdsta.

/SAPSLL/CUHD_GET_OBJECT CALL FUNCTION '/SAPSLL/CUHD_GET_OBJECT' EXPORTING is_sk = ls_cuhd_cus-sk iv_dbcgr = gc_access_group-customs iv_dbcfc = gc_access_function-cd_hdr_status iv_archive_read = ' ' IMPORTING es_obj = ls_obj CHANGING cv_trtyp = lv_trtyp EXCEPTIONS entry_already_exists = 1 entry_does_not_exist = 2 foreign_lock = 3 OTHERS = 4.

/SAPSLL/CUHD_PREV_STATUS_SET CALL FUNCTION '/SAPSLL/CUHD_PREV_STATUS_SET' EXPORTING iv_prost = ls_cuhdsta-prost CHANGING cv_provo = ls_cuhdsta-provo EXCEPTIONS invalid_call = 1 OTHERS = 2.

/SAPSLL/CUHD_MAINTAIN_SUBOBJ CALL FUNCTION '/SAPSLL/CUHD_MAINTAIN_SUBOBJ' CHANGING ct_cuhdsta = lt_cuhdsta.

/SAPSLL/CUHD_GET_OBJECT CALL FUNCTION '/SAPSLL/CUHD_GET_OBJECT' EXPORTING is_sk = ls_cuhd_prot-sk iv_dbcgr = gc_access_group-customs iv_dbcfc = gc_access_function-cd_hdr_status iv_archive_read = ' ' IMPORTING es_obj = ls_obj CHANGING cv_trtyp = lv_trtyp EXCEPTIONS entry_already_exists = 1 entry_does_not_exist = 2 foreign_lock = 3 OTHERS = 4.

/SAPSLL/CUHD_PREV_STATUS_SET CALL FUNCTION '/SAPSLL/CUHD_PREV_STATUS_SET' EXPORTING iv_prost = ls_cuhdsta-prost CHANGING cv_provo = ls_cuhdsta-provo EXCEPTIONS invalid_call = 1 OTHERS = 2.

/SAPSLL/CUHD_MAINTAIN_SUBOBJ CALL FUNCTION '/SAPSLL/CUHD_MAINTAIN_SUBOBJ' CHANGING ct_cuhdsta = lt_cuhdsta.

/SAPSLL/CUHD_CSD_COMPL_DISPLAY





CALL FUNCTION '/SAPSLL/CUHD_CSD_COMPL_DISPLAY' EXPORTING it_cuhd_display = it_cuhd_display iv_log_handle = iv_log_handle iv_dvariant = is_variant-variant iv_dvariant_handle = is_variant-handle.

/SAPSLL/T606GT_DB_RNG_READ CALL FUNCTION '/SAPSLL/T606GT_DB_RNG_READ' EXPORTING is_crit = ls_crit_t606gt * IV_FLAG_FILL_BUFFER = 'X' is_debug = gs_debug IMPORTING et_result = lt_t606gt EXCEPTIONS no_data = 1 open_sql_error = 2 OTHERS = 3.

/SAPSLL/CONVERT_DATE_TO_STAMP CALL FUNCTION '/SAPSLL/CONVERT_DATE_TO_STAMP' EXPORTING * iv_timezone = iv_timezone iv_date = iv_date iv_time = iv_time IMPORTING ev_timestamp = cv_timestamp 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 = iv_sign iv_option = iv_option iv_value_low = iv_date_low iv_value_high = iv_date_high is_debug = gs_debug CHANGING ct_range = cr_chtsp EXCEPTIONS invalid_range_structure = 1 OTHERS = 2.

/SAPSLL/CUHDA_LGREG_PROFIL_GET CALL FUNCTION '/SAPSLL/CUHDA_LGREG_PROFIL_GET' EXPORTING iv_cuhda = is_obj-cuhda iv_lgreg = ls_legtpr-lgreg is_debug = gs_debug IMPORTING ev_cdppf = lv_cdppf.

/SAPSLL/CUHD_PPF_MSG_DETERMINE CALL FUNCTION '/SAPSLL/CUHD_PPF_MSG_DETERMINE' EXPORTING is_obj = is_obj iv_trtyp = gc_trtyp-display iv_cdppf = lv_cdppf iv_lgreg = ls_legtpr-lgreg iv_update_task = gc_false iv_create_log = gc_false is_obj_y = is_obj IMPORTING et_msg_if_alv = lt_msg_if_alv et_msg_if = lt_msg_if et_messages = lt_messages ev_msg_det_log_handle = lv_msg_det_handle CHANGING ct_legact = lt_dummy_legact.

/SAPSLL/CUHD_PREV_STATUS_SET CALL FUNCTION '/SAPSLL/CUHD_PREV_STATUS_SET' EXPORTING iv_prost = ls_cuhdsta-prost CHANGING cv_provo = ls_cuhdsta-provo EXCEPTIONS invalid_call = 1 OTHERS = 2.

/SAPSLL/CUHD_PREV_STATUS_SET CALL FUNCTION '/SAPSLL/CUHD_PREV_STATUS_SET' EXPORTING iv_prost = ls_cuhdsta-prost CHANGING cv_provo = ls_cuhdsta-provo EXCEPTIONS invalid_call = 1 OTHERS = 2.

/SAPSLL/CUHD_GET_OBJECT CALL FUNCTION '/SAPSLL/CUHD_GET_OBJECT' EXPORTING is_sk = -sk iv_dbcgr = gc_access_group-customs iv_dbcfc = '00000' iv_archive_read = ' ' CHANGING cv_trtyp = lv_trtyp EXCEPTIONS entry_already_exists = 1 entry_does_not_exist = 2 foreign_lock = 3 OTHERS = 4.

/SAPSLL/CUHD_MAINTAIN_SUBOBJ CALL FUNCTION '/SAPSLL/CUHD_MAINTAIN_SUBOBJ' CHANGING ct_cuhdsta = lt_cuhdsta.

/SAPSLL/PARTNER_GUID_GET CALL FUNCTION '/SAPSLL/PARTNER_GUID_GET' EXPORTING iv_parno = ls_ftorg-low IMPORTING ev_guid_prtn = lv_guid_ftorg.

/SAPSLL/CUHD_MASS_AUTH_CHECK CALL FUNCTION '/SAPSLL/CUHD_MASS_AUTH_CHECK' EXPORTING * IV_SRVLL = * IV_CD = 'X' iv_csd = gc_true * IV_CHECK_FTORG = 'X' * IV_CHECK_CUHDA = gc_false * IV_CHECK_LGREG = gc_false is_debug = gs_debug CHANGING cr_guid_ftorg = lr_guid_ftorg * CR_CUHDA = * CR_LGREG = EXCEPTIONS no_data_authority = 1 OTHERS = 1.

CONVERT_DATE_TO_EXTERNAL CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL' EXPORTING date_internal = iv_date IMPORTING date_external = lv_date EXCEPTIONS date_internal_is_invalid = 1 OTHERS = 2.

TIME_CHAR_CONVERSION CALL FUNCTION 'TIME_CHAR_CONVERSION' EXPORTING input = iv_uzeit IMPORTING timestr = lv_uzeit.

/SAPSLL/CUHD_IVM_CHECK CALL FUNCTION '/SAPSLL/CUHD_IVM_CHECK' EXPORTING is_cuhd = ls_cuhd it_cuit = lt_cuit it_legcon = lt_legcon it_corref = is_obj-corref IMPORTING ev_ivm_available = lv_ivm_available.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = '/SAPSLL/CDTYP' langu = sy-langu texts_only = gc_true TABLES dd07v_tab = ct_dd07v EXCEPTIONS illegal_input = 1 OTHERS = 2.

/SAPSLL/CUHD_GET_OBJECT CALL FUNCTION '/SAPSLL/CUHD_GET_OBJECT' EXPORTING is_sk = ls_cuhd_suma-sk iv_dbcgr = gc_access_group-customs iv_dbcfc = gc_access_function-cd_comp iv_archive_read = ' ' IMPORTING es_obj = ls_obj CHANGING cv_trtyp = lv_trtyp EXCEPTIONS entry_already_exists = 1 entry_does_not_exist = 2 foreign_lock = 3 OTHERS = 4.

/SAPSLL/CUHD_PREV_STATUS_SET CALL FUNCTION '/SAPSLL/CUHD_PREV_STATUS_SET' EXPORTING iv_prost = ls_cuhdsta-prost CHANGING cv_provo = ls_cuhdsta-provo EXCEPTIONS invalid_call = 1 OTHERS = 2.

/SAPSLL/CUHD_MAINTAIN_SUBOBJ CALL FUNCTION '/SAPSLL/CUHD_MAINTAIN_SUBOBJ' CHANGING ct_cuhdsta = lt_cuhdsta.

/SAPSLL/CUHD_GET_OBJECT CALL FUNCTION '/SAPSLL/CUHD_GET_OBJECT' EXPORTING is_sk = ls_cuhd_pcd-sk iv_dbcgr = gc_access_group-customs iv_dbcfc = gc_access_function-cd_comp iv_archive_read = ' ' IMPORTING es_obj = ls_obj CHANGING cv_trtyp = lv_trtyp EXCEPTIONS entry_already_exists = 1 entry_does_not_exist = 2 foreign_lock = 3 OTHERS = 4.




/SAPSLL/CUHD_PREV_STATUS_SET CALL FUNCTION '/SAPSLL/CUHD_PREV_STATUS_SET' EXPORTING iv_prost = ls_cuhdsta-prost CHANGING cv_provo = ls_cuhdsta-provo EXCEPTIONS invalid_call = 1 OTHERS = 2.

/SAPSLL/CUHD_MAINTAIN_SUBOBJ CALL FUNCTION '/SAPSLL/CUHD_MAINTAIN_SUBOBJ' CHANGING ct_cuhdsta = lt_cuhdsta.

/SAPSLL/CUHD_GET_OBJECT CALL FUNCTION '/SAPSLL/CUHD_GET_OBJECT' EXPORTING is_sk = ls_cuhd_cfb-sk iv_dbcgr = gc_access_group-customs iv_dbcfc = gc_access_function-cd_comp iv_archive_read = ' ' IMPORTING es_obj = ls_obj CHANGING cv_trtyp = lv_trtyp EXCEPTIONS entry_already_exists = 1 entry_does_not_exist = 2 foreign_lock = 3 OTHERS = 4.

/SAPSLL/CUHD_PREV_STATUS_SET CALL FUNCTION '/SAPSLL/CUHD_PREV_STATUS_SET' EXPORTING iv_prost = ls_cuhdsta-prost CHANGING cv_provo = ls_cuhdsta-provo EXCEPTIONS invalid_call = 1 OTHERS = 2.

/SAPSLL/CUHD_MAINTAIN_SUBOBJ CALL FUNCTION '/SAPSLL/CUHD_MAINTAIN_SUBOBJ' CHANGING ct_cuhdsta = lt_cuhdsta.

/SAPSLL/CUHD_GET_OBJECT CALL FUNCTION '/SAPSLL/CUHD_GET_OBJECT' EXPORTING is_sk = ls_cuhd_emc-sk iv_dbcgr = gc_access_group-customs iv_dbcfc = gc_access_function-cd_comp iv_archive_read = ' ' IMPORTING es_obj = ls_obj CHANGING cv_trtyp = lv_trtyp EXCEPTIONS entry_already_exists = 1 entry_does_not_exist = 2 foreign_lock = 3 OTHERS = 4.

/SAPSLL/CUHD_PREV_STATUS_SET CALL FUNCTION '/SAPSLL/CUHD_PREV_STATUS_SET' EXPORTING iv_prost = ls_cuhdsta-prost CHANGING cv_provo = ls_cuhdsta-provo EXCEPTIONS invalid_call = 1 OTHERS = 2.

/SAPSLL/CUHD_MAINTAIN_SUBOBJ CALL FUNCTION '/SAPSLL/CUHD_MAINTAIN_SUBOBJ' CHANGING ct_cuhdsta = lt_cuhdsta.



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