SAPWL_LCL_CUST1 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 SAPWL_LCL_CUST1 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.
INCLUDE SAPWL_LCL_CUSTOM.
No SAP DATABASE tables are accessed within this REPORT code!
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_bypassing_buffer = g_bypassing_buffer i_structure_name = 'SGLWLSLIST' CHANGING ct_fieldcat = fieldcatalog.
POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING no_value_check = ' ' popup_title = text-042 start_column = '5' start_row = '5' IMPORTING returncode = rc " 'A' (=abort) oder SPACE TABLES fields = l_tabfields EXCEPTIONS error_in_fields = 1 OTHERS = 99.
RFC_GET_SYSTEM_INFO CALL FUNCTION 'RFC_GET_SYSTEM_INFO' EXPORTING destination = l_destination IMPORTING rfcsi_export = l_rfc_result.
RFC_CONNECTION_CLOSE CALL FUNCTION 'RFC_CONNECTION_CLOSE' EXPORTING destination = rfc_dest EXCEPTIONS destination_not_open = 1 OTHERS = 2.
SAPWL_CHECK_FUGR_AVAILABLE CALL FUNCTION 'SAPWL_CHECK_FUGR_AVAILABLE' EXPORTING im_systems_to_check = l_system im_fugr = l_funcgr IMPORTING exp_systems_w_fugr = l_sapwlsys exp_return_errors = l_returnc EXCEPTIONS no_group_specified = 1 OTHERS = 2.
POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING no_value_check = ' ' popup_title = text-180 start_column = '5' start_row = '5' IMPORTING returncode = rc TABLES fields = l_tabfields EXCEPTIONS error_in_fields = 1 OTHERS = 99.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'SAPWLSOLLI' i_bypassing_buffer = g_bypassing_buffer CHANGING ct_fieldcat = fieldcatalog.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_bypassing_buffer = g_bypassing_buffer i_structure_name = 'SAPWLBPLI' CHANGING ct_fieldcat = fieldcatalog.
RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION destination IMPORTING rfcsi_export = rfcsi_export EXCEPTIONS communication_failure = 1 MESSAGE mess system_failure = 2 MESSAGE mess OTHERS = 3.
RFC_CONNECTION_CLOSE CALL FUNCTION 'RFC_CONNECTION_CLOSE' EXPORTING destination = destination EXCEPTIONS destination_not_open = 1 OTHERS = 2.
SAPWL_CHECK_FUGR_AVAILABLE CALL FUNCTION 'SAPWL_CHECK_FUGR_AVAILABLE' EXPORTING im_systems_to_check = t_systems im_fugr = fugr IMPORTING * EXP_SYSTEMS_W_FUGR = exp_return_errors = t_errors EXCEPTIONS no_group_specified = 1 OTHERS = 2.
SAPWL_CHECK_FUGR_AVAILABLE CALL FUNCTION 'SAPWL_CHECK_FUGR_AVAILABLE' DESTINATION
-inddest EXPORTING im_systems_to_check = t_systems im_fugr = fugr IMPORTING * EXP_SYSTEMS_W_FUGR = exp_return_errors = t_errors EXCEPTIONS no_group_specified = 1 OTHERS = 2.
RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' IMPORTING rfcsi_export = rfcsi_export EXCEPTIONS OTHERS = 1.
RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION
-mondest IMPORTING rfcsi_export = rfcsi_export EXCEPTIONS communication_failure = 1 MESSAGE mess system_failure = 2 MESSAGE mess OTHERS = 3.
RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION
-inddest IMPORTING rfcsi_export = rfcsi_export EXCEPTIONS communication_failure = 1 MESSAGE mess system_failure = 2 MESSAGE mess OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.