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

/SAPSLL/CUHD_REPORT_GEN_FORMS SAP ABAP INCLUDE - /SAPSLL/CUHDREPORTGENFORMS







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

/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/APPEND_RANGE_ONCE CALL FUNCTION '/SAPSLL/APPEND_RANGE_ONCE' EXPORTING iv_value_low = iv_value CHANGING ct_range = ct_range EXCEPTIONS invalid_range_structure = 1 OTHERS = 2.

/SAPSLL/CONVERT_DATE_STAMP_RNG CALL FUNCTION '/SAPSLL/CONVERT_DATE_STAMP_RNG' EXPORTING ir_date = ir_erdat IMPORTING ir_time_stamp = cr_crtsp.

/SAPSLL/PARTNER_GUID_GET CALL FUNCTION '/SAPSLL/PARTNER_GUID_GET' EXPORTING iv_parno = ls_but100-partner IMPORTING ev_guid_prtn = lv_guid_fto.

/SAPSLL/CUHDA_RNG_BY_SPLAM_GET CALL FUNCTION '/SAPSLL/CUHDA_RNG_BY_SPLAM_GET' EXPORTING iv_splam = gc_splam-logistics ir_cuhda = ls_cuhd_crit-cuhd-cuhda iv_indei = iv_indei IMPORTING er_cuhda = ls_cuhd_crit-cuhd-cuhda.

/SAPSLL/CUHD_CUHDA_AUTH_PROV CALL FUNCTION '/SAPSLL/CUHD_CUHDA_AUTH_PROV' EXPORTING iv_cd = gc_true iv_wl = gc_true CHANGING cr_cuhda = ls_cuhd_crit-cuhd-cuhda EXCEPTIONS no_authority = 1 subset_authority_only = 2 OTHERS = 3.

/SAPSLL/CUHD_FTORG_AUTH_PROV CALL FUNCTION '/SAPSLL/CUHD_FTORG_AUTH_PROV' CHANGING cr_guid_ftorg = ls_cuhd_crit-cuhd-guid_ftorg EXCEPTIONS no_authority = 1 subset_authority_only = 2 OTHERS = 3.

/SAPSLL/CUHD_SELECTION * CALL FUNCTION '/SAPSLL/CUHD_SELECTION' * EXPORTING * is_obj_crit = ls_cuhd_crit * is_debug = gs_debug * IMPORTING * et_result = lt_cuhd * EXCEPTIONS * internal_error = 1 * OTHERS = 2.

/SAPSLL/CASE_MGMT_ACTIVE_CHECK CALL FUNCTION '/SAPSLL/CASE_MGMT_ACTIVE_CHECK' EXPORTING iv_cmobj = gc_case_object-customs_document IMPORTING ev_cmact = lv_cmact.

/SAPSLL/EXT_PRODUCT_NUMBER_GET CALL FUNCTION '/SAPSLL/EXT_PRODUCT_NUMBER_GET' EXPORTING iv_guid_pr = ls_cuit-guid_pr IMPORTING ev_prvsy = ls_item-prvsy EXCEPTIONS invalid_call = 1 OTHERS = 2.

/SAPSLL/CUHDA_RNG_BY_SPLAM_GET CALL FUNCTION '/SAPSLL/CUHDA_RNG_BY_SPLAM_GET' EXPORTING iv_splam = gc_splam-financial_services IMPORTING er_cuhda = ls_cuhd_crit-cuhd-cuhda.

/SAPSLL/CUHD_CUHDA_AUTH_PROV CALL FUNCTION '/SAPSLL/CUHD_CUHDA_AUTH_PROV' EXPORTING iv_cd = gc_true CHANGING cr_cuhda = ls_cuhd_crit-cuhd-cuhda EXCEPTIONS no_authority = 1 subset_authority_only = 2 OTHERS = 3.

/SAPSLL/CUHD_FTORG_AUTH_PROV CALL FUNCTION '/SAPSLL/CUHD_FTORG_AUTH_PROV' CHANGING cr_guid_ftorg = ls_cuhd_crit-cuhd-guid_ftorg EXCEPTIONS no_authority = 1 subset_authority_only = 2 OTHERS = 3.

/SAPSLL/CASE_MGMT_ACTIVE_CHECK CALL FUNCTION '/SAPSLL/CASE_MGMT_ACTIVE_CHECK' EXPORTING iv_cmobj = gc_case_object-customs_document IMPORTING ev_cmact = lv_cmact.

/SAPSLL/PARTNER_NUMBER_GET CALL FUNCTION '/SAPSLL/PARTNER_NUMBER_GET' EXPORTING iv_guid_prtn = ls_cuhd-guid_ftorg IMPORTING ev_parno = ls_cuhd_fi-ftorg.

/SAPSLL/CUHD_STATUS_ICON_GET CALL FUNCTION '/SAPSLL/CUHD_STATUS_ICON_GET' EXPORTING iv_prost = ls_cuhdsta-prost iv_sticr = ls_cuhdsta-sticm iv_icon_create = gc_true IMPORTING ev_icon_prost = ls_cuhd_fi-icon_prost ev_icon_sticr = ls_cuhd_fi-icon_sticm.

/SAPSLL/CASE_RNG_READ CALL FUNCTION '/SAPSLL/CASE_RNG_READ' EXPORTING iv_cmobj = gc_case_object-customs_document it_cm_cd_key = lt_cm_key iv_icon_create = gc_false IMPORTING et_cm_cd = ct_cm_cd.

/SAPSLL/CUHD_CUHDA_AUTH_PROV CALL FUNCTION '/SAPSLL/CUHD_CUHDA_AUTH_PROV' EXPORTING iv_cd = gc_true CHANGING cr_cuhda = ls_cuhd_crit-cuhd-cuhda EXCEPTIONS no_authority = 1 subset_authority_only = 2 OTHERS = 3.

/SAPSLL/CUHD_FTORG_AUTH_PROV





CALL FUNCTION '/SAPSLL/CUHD_FTORG_AUTH_PROV' CHANGING cr_guid_ftorg = ls_cuhd_crit-cuhd-guid_ftorg EXCEPTIONS no_authority = 1 subset_authority_only = 2 OTHERS = 3.

/SAPSLL/PNTPR_DB_RNG_READ CALL FUNCTION '/SAPSLL/PNTPR_DB_RNG_READ' EXPORTING is_crit = ls_crit_pntpr * IV_FLAG_FILL_BUFFER = 'X' is_debug = gs_debug IMPORTING et_result = lt_pntpr EXCEPTIONS no_data = 1 open_sql_error = 2 OTHERS = 3.

/SAPSLL/CIBD_GET_DATA CALL FUNCTION '/SAPSLL/CIBD_GET_DATA' EXPORTING is_cibd_crit = ls_cibd_crit IMPORTING et_cibd_wl = lt_cibd_wl EXCEPTIONS no_data_authority = 1 no_data_found = 2 OTHERS = 3.

/SAPSLL/CUHD_PO_CUS_SELECTION CALL FUNCTION '/SAPSLL/CUHD_PO_CUS_SELECTION' EXPORTING is_crit = ls_cuhd_crit it_corref = lt_corref IMPORTING et_cuhd_po = ct_cuhd_po EXCEPTIONS no_data_found = 1 OTHERS = 2.

/SAPSLL/RANGE_PARNO_TO_GUID CALL FUNCTION '/SAPSLL/RANGE_PARNO_TO_GUID' EXPORTING ir_parno = ir_parno IMPORTING er_guid_prtn = cr_guid EXCEPTIONS no_external_bp_number_found = 1 OTHERS = 2.

/SAPSLL/TPAFCT_DB_RNG_READ CALL FUNCTION '/SAPSLL/TPAFCT_DB_RNG_READ' EXPORTING is_crit = ls_crit is_debug = gs_debug IMPORTING et_result = lt_tpafct EXCEPTIONS no_data = 1 open_sql_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/CUHD_REPORT_GEN_FORMS or its description.