SAP Reports / Programs

/SAPSLL/CWSINF_DISPLAY SAP ABAP Report - Stock Information - Customs Warehouse







/SAPSLL/CWSINF_DISPLAY is a standard Executable ABAP Report 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/CWSINF_DISPLAY into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

/SAPSLL/CWS_DISPLAY - Display Customs WH Stock Information


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/CWSINF_DISPLAY. "Basic submit
SUBMIT /SAPSLL/CWSINF_DISPLAY AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSLL/CWSINF_DISPLAY VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: S_CUTID = Customs Number
Selection Text: S_EDINR = Message Number
Selection Text: S_EXTNO = Authorization Number
Title: Stock Information - Customs Warehouse
Text Symbol: F00 = to
Text Symbol: F01 = Receipt Date from
Text Symbol: F02 = Message Date from
Text Symbol: T01 = Select Messages


INCLUDES used within this REPORT /SAPSLL/CWSINF_DISPLAY

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:

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING program = sy-repid restriction = gs_restriction.

/SAPSLL/MDMES_DB_RNG_READ CALL FUNCTION '/SAPSLL/MDMES_DB_RNG_READ' EXPORTING is_crit = gs_mdmes_crit is_debug = gs_debug IMPORTING et_result = gt_mdmes EXCEPTIONS no_data = 1 open_sql_error = 2 OTHERS = 3.

EDI_DOCUMENT_OPEN_FOR_READ CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_READ' EXPORTING document_number = gs_mdmes-docnum IMPORTING idoc_control = gs_edidc EXCEPTIONS document_foreign_lock = 1 document_not_exist = 2 document_number_invalid = 3 OTHERS = 4.

EDI_SEGMENT_GET CALL FUNCTION 'EDI_SEGMENT_GET' EXPORTING document_number = gs_mdmes-docnum segment_name = '/SAPSLL/E2CCEHD' IMPORTING idoc_container = gs_edidd EXCEPTIONS document_number_invalid = 1 segment_not_exist = 2 OTHERS = 3.

EDI_SEGMENT_GET CALL FUNCTION 'EDI_SEGMENT_GET' EXPORTING document_number = gs_mdmes-docnum segment_name = '/SAPSLL/E2CCEHD_TPR' IMPORTING idoc_container = gs_edidd EXCEPTIONS document_number_invalid = 1 segment_not_exist = 2 OTHERS = 3.

EDI_SEGMENT_GET CALL FUNCTION 'EDI_SEGMENT_GET' EXPORTING document_number = gs_mdmes-docnum segment_name = '/SAPSLL/E2CCEHPA' IMPORTING idoc_container = gs_edidd EXCEPTIONS document_number_invalid = 1 segment_not_exist = 2 OTHERS = 3.

EDI_SEGMENT_GET CALL FUNCTION 'EDI_SEGMENT_GET' EXPORTING document_number = gs_mdmes-docnum segment_name = '/SAPSLL/E2CCEHD_DAT' IMPORTING idoc_container = gs_edidd EXCEPTIONS document_number_invalid = 1 segment_not_exist = 2 OTHERS = 3.

EDI_DOCUMENT_CLOSE_READ CALL FUNCTION 'EDI_DOCUMENT_CLOSE_READ' "#EC * EXPORTING document_number = gs_mdmes-docnum EXCEPTIONS document_not_open = 1 parameter_error = 2 OTHERS = 3.

/SAPSLL/CWSINF_DISPLAY CALL FUNCTION '/SAPSLL/CWSINF_DISPLAY' EXPORTING it_mdmes = gt_mdmes it_edidc = gt_edidc it_edidd = gt_edidd.



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