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

/SAPSLL/CUSWLM_CONSOLIDATE_FOR SAP ABAP INCLUDE - /SAPSLL/CUSWLMCONSOLIDATEFOR







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

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/CONVERT_DATE_STAMP_RNG CALL FUNCTION '/SAPSLL/CONVERT_DATE_STAMP_RNG' EXPORTING ir_date = ir_erdat IMPORTING ir_time_stamp = cs_cuswlm_crit-crtsp.

/SAPSLL/CUSWLM_GET_DATA CALL FUNCTION '/SAPSLL/CUSWLM_GET_DATA' EXPORTING is_crit_cuswlm = is_cuswlm_crit iv_enqueue = gc_false * IV_ENQUEUE_MODE = 'E' gs_debug = gs_debug IMPORTING et_cuswlm = lt_cuswlm ev_locking_userid = cv_locking_userid EXCEPTIONS no_data = 1 partial_foreign_lock = 2 complete_foreign_lock = 3 OTHERS = 4.

/SAPSLL/CUSWLM_CONSOLIDATE CALL FUNCTION '/SAPSLL/CUSWLM_CONSOLIDATE' EXPORTING it_cuswlm = lt_cuswlm IMPORTING et_cuswlm_obs = ct_cuswlm_obs.

/SAPSLL/CUSWLM_ENQUEUE CALL FUNCTION '/SAPSLL/CUSWLM_ENQUEUE' EXPORTING * IV_ENQUEUE_MODE = 'E' * IV_SCOPE = '3' it_cuswlm = ct_cuswlm_obs IMPORTING ev_locking_userid = cv_locking_userid et_cuswlm_enq = lt_cuswlm_enq EXCEPTIONS partial_foreign_lock = 1 complete_foreign_lock = 2 OTHERS = 3.

/SAPSLL/CUSWLM_DISPLAY_RESULT CALL FUNCTION '/SAPSLL/CUSWLM_DISPLAY_RESULT' EXPORTING it_cuswlm = it_cuswlm iv_trtyp = gc_trtyp-display iv_cwalv = gc_cwalv-m02 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/CUSWLM_DEQUEUE CALL FUNCTION '/SAPSLL/CUSWLM_DEQUEUE' EXPORTING * IV_ENQUEUE_MODE = 'E' * IV_SYNCHRON = ' ' it_cuswlm = lt_cuswlm.

/SAPSLL/CUSWLM_IFACE_BUILD CALL FUNCTION '/SAPSLL/CUSWLM_IFACE_BUILD' EXPORTING it_cuswlm = it_cuswlm IMPORTING et_cuswlm_ui = ct_cuswlm_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.

/SAPSLL/CUSWLM_TO_CUSWLN_POST CALL FUNCTION '/SAPSLL/CUSWLM_TO_CUSWLN_POST' EXPORTING it_cuswlm = it_cuswlm_obs iv_update_task = gc_false iv_commit = gc_true.



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