/SAPSLL/CUSWLN_DISPLAY_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/CUSWLN_DISPLAY_FOR into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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/CUSWLN_GET_DATA CALL FUNCTION '/SAPSLL/CUSWLN_GET_DATA' EXPORTING is_crit_cuswln = is_cuswln_crit iv_enqueue = gc_false * IV_ENQUEUE_MODE = 'E' iv_read_archive = gc_true gs_debug = gs_debug IMPORTING et_cuswln = ct_cuswln ev_locking_userid = cv_locking_userid EXCEPTIONS no_data = 1 partial_foreign_lock = 2 complete_foreign_lock = 3 OTHERS = 4.
/SAPSLL/CUSWLN_DISPLAY_RESULT CALL FUNCTION '/SAPSLL/CUSWLN_DISPLAY_RESULT' EXPORTING it_cuswln = it_cuswln iv_trtyp = gc_trtyp-display iv_cwalv = gc_cwalv-n03 iv_variant = is_variant-variant iv_variant_handle = is_variant-handle iv_report = sy-repid.
/SAPSLL/APPLOG_INIT CALL FUNCTION '/SAPSLL/APPLOG_INIT' EXPORTING iv_object = gc_applog_obj-worklist iv_subobject = gc_applog_subobj-wl_quant_diff iv_extnumber = cv_extnr * IV_DELETE_MESS = ' ' * IV_DEFAULT_SET = 'X' * IV_SKIP_SEARCH = ' ' * IV_READ_ARCHIVE = ' ' * IV_NO_CREATION = ' ' is_debug = gs_debug * IV_ALDATE_DEL = * IV_DEL_BEFORE = * IS_TCOPAP = CHANGING cv_handle = cv_lghdl EXCEPTIONS invalid_call = 1 log_header_inconsistent = 2 internal_error = 3 OTHERS = 4.
/SAPSLL/CUSWLN_DEQUEUE * CALL FUNCTION '/SAPSLL/CUSWLN_DEQUEUE' * EXPORTING ** IV_ENQUEUE_MODE = 'E' ** IV_SYNCHRON = ' ' * it_CUSWLN = lt_CUSWLN.
/SAPSLL/CUSWLN_IFACE_BUILD CALL FUNCTION '/SAPSLL/CUSWLN_IFACE_BUILD' EXPORTING it_cuswln = it_cuswln IMPORTING et_cuswln_ui = ct_cuswln_display.
/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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/SAPSLL/CUSWLN_DISPLAY_FOR - /SAPSLL/CUSWLNDISPLAYFOR /SAPSLL/CUSWLN_ARCH_WRITE_SEL - /SAPSLL/CUSWLNARCHWRITESEL /SAPSLL/CUSWLN_ARCH_WRITE_F01 - /SAPSLL/CUSWLNARCHWRITEF01 /SAPSLL/CUSWLN_ARCH_DELETE_SEL - /SAPSLL/CUSWLNARCHDELETESEL /SAPSLL/CUSWLN_ARCH_DELETE_F01 - /SAPSLL/CUSWLNARCHDELETEF01 /SAPSLL/CUSWLN_ARCHIVE_WRITE - Write Program for WL Qty Diff. Customs Declaration / Goods Receipt