SAPMSL32 is a standard Module pool for a dialog screen ABAP Program available within your SAP system (depending on your version and release level). It is used for Maintaining Test Locations The TA SL32 is useful for creating the Locations(with or without HR System) and adding the test types to the location created...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter SAPMSL32 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
SL32 - PAW - Location Definitions
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.
Title: PAW - Test Catalog Definition
Text Symbol: 030 = Loc Type
Text Symbol: 029 = PAW - Region
Text Symbol: 028 = in use
Text Symbol: 027 = is editing
Text Symbol: 025 = Delete PAW Test Location
Text Symbol: 024 = Created
Text Symbol: 023 = The Container Control Could not be
Text Symbol: 022 = Exit PAW Test Type Catalog
Text Symbol: 021 = Save before leaving
Text Symbol: 020 = Data has been changed
Text Symbol: 019 = Delete PAW Test type
Text Symbol: 018 = Do you really want to delete Test Type?
Text Symbol: 017 = Country name
Text Symbol: 016 = Location Name
Text Symbol: 015 = Location Short
Text Symbol: 014 = Location ID
Text Symbol: 013 = PAW Test Catalog Definitions
Text Symbol: 012 = SLS_UTIL
Text Symbol: 008 = RFC-Destination for HR-System
Text Symbol: 007 = Test type
Text Symbol: 005 = Are you sure you want to delete Location?
Text Symbol: 004 = Location
Text Symbol: 003 = eCertification Location
Text Symbol: 002 = eAssessment Location
Text Symbol: 001 = Self Test Location
INCLUDE: SLSPEWI2,
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_E_LS_LOC CALL FUNCTION 'ENQUEUE_E_LS_LOC' EXPORTING locid = itab_loc-locid plvar = itab_loc-plvar EXCEPTIONS foreign_lock = 1 system_failure = 2.
SLS_MISC_INFO_POPUP CALL FUNCTION 'SLS_MISC_INFO_POPUP' EXPORTING titel = text-028 " in use txt1 = inuse_msg IMPORTING okey = okay.
DEQUEUE_E_LS_LOC CALL FUNCTION 'DEQUEUE_E_LS_LOC' EXPORTING locid = itab_loc-locid plvar = itab_loc-plvar.
SLS_IOA_INSERT_LOC CALL FUNCTION 'SLS_IOA_INSERT_LOC' EXPORTING p_loc = sls_loc EXCEPTIONS system_failure = 1.
POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-005 * textline2 = ' ' titel = text-025 IMPORTING answer = pop_answer.
SLS_IOA_DELETE_LOC CALL FUNCTION 'SLS_IOA_DELETE_LOC' EXPORTING p_loc = sls_loc EXCEPTIONS system_failure = 1.
F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = shlpname shlptype = shlptype IMPORTING shlp = shlp_descr_t EXCEPTIONS OTHERS = 0.
SLS_MISC_F4_VALUE_REQUEST CALL FUNCTION 'SLS_MISC_F4_VALUE_REQUEST' EXPORTING shlp = shlp_descr_t multisel = multisel maxrecords = maxrecords cucol = cucol curow = curow IMPORTING rc = rc TABLES return_values = ddshretval.
SLS_CUST_GET_HR_SYSTEM CALL FUNCTION 'SLS_CUST_GET_HR_SYSTEM' IMPORTING p_destination = lc_destination.
SLS_MISC_GET_RFC_INFO CALL FUNCTION 'SLS_MISC_GET_RFC_INFO' EXPORTING destination = lc_destination_check EXCEPTIONS * AUTHORITY_NOT_AVAILABLE = 1 destination_not_exist = 2 * INFORMATION_FAILURE = 3 * INTERNAL_FAILURE = 4 OTHERS = 5 .
BAPI_BUS_EVENT_LOCATION CALL FUNCTION 'BAPI_BUS_EVENT_LOCATION' DESTINATION lc_destination EXPORTING plvar = sls_loc-plvar objid = '00000000' begin_date = '00000000' end_date = '00000000' TABLES location_list = itab_locd.
SLS_IOA_GET_LOCTTY_LIST CALL FUNCTION 'SLS_IOA_GET_LOCTTY_LIST' EXPORTING p_locid = itab_loc0200-locid TABLES p_loctty = itab_ploctty.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-020 "Data has been changed textline2 = text-021 "Save Before leaving titel = text-022 "Exit PAW Test Type Catalog cancel_display = 'X' IMPORTING answer = okay.
F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = shlpname shlptype = shlptype IMPORTING shlp = shlp_descr_t EXCEPTIONS OTHERS = 0.
SLS_MISC_F4_VALUE_REQUEST CALL FUNCTION 'SLS_MISC_F4_VALUE_REQUEST' EXPORTING shlp = shlp_descr_t multisel = multisel maxrecords = maxrecords cucol = cucol curow = curow IMPORTING rc = rc TABLES return_values = ddshretval.
CONVERSION_EXIT_ISOLA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ISOLA_INPUT' EXPORTING input = ddshretval-fieldval IMPORTING output = output.
ENQUEUE_E_LS_LOCTT * CALL FUNCTION 'ENQUEUE_E_LS_LOCTT' * EXPORTING * locid = itab_loctty_old-locid * ttyid = itab_loctty_old-ttyid * class = itab_loctty_old-class * guid = itab_loctty_old-guid * var4 = itab_loctty_old-var4 * begda = itab_loctty_old-begda * EXCEPTIONS * foreign_lock = 1 * system_failure = 2.
SLS_MISC_INFO_POPUP * CALL FUNCTION 'SLS_MISC_INFO_POPUP' * EXPORTING * titel = text-028 " in use * txt1 = inuse_msg * IMPORTING * okey = okay.
* CALL FUNCTION 'DEQUEUE_E_LS_LOCTT' * EXPORTING * locid = itab_loctty_old-locid * ttyid = itab_loctty_old-ttyid * class = itab_loctty_old-class * guid = itab_loctty_old-guid * var4 = itab_loctty_old-var4 * begda = itab_loctty_old-begda.
SLS_IOA_DELETE_LOCTTY CALL FUNCTION 'SLS_IOA_DELETE_LOCTTY' EXPORTING p_loctty = sls_loctty EXCEPTIONS system_failure = 1.
SLS_IOA_UPDATE_LOCTTY CALL FUNCTION 'SLS_IOA_UPDATE_LOCTTY' EXPORTING p_loctty = sls_loctty EXCEPTIONS system_failure = 1.
SLS_IOA_INSERT_LOCTTY CALL FUNCTION 'SLS_IOA_INSERT_LOCTTY' EXPORTING p_loctty = sls_loctty EXCEPTIONS system_failure = 1.
SLS_CUST_GET_PLAN_VARIANT CALL FUNCTION 'SLS_CUST_GET_PLAN_VARIANT' IMPORTING p_plvar = lc_plvar.
POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-018 "'Do you really want to "delete Test type?' titel = text-019 "'Delete PAW Test Type
IMPORTING answer = okay.
SLS_MISC_GET_NEXT_ID CALL FUNCTION 'SLS_MISC_GET_NEXT_ID' EXPORTING p_type = '7' " loc_id = 7 IMPORTING p_id = id EXCEPTIONS id_not_valid = 1 OTHERS = 2.
SLS_GET_LOOKUP_VALUE CALL FUNCTION 'SLS_GET_LOOKUP_VALUE' EXPORTING luname = 'TEST_TYPE_CHANGE' TABLES p_lookv = itab_lookv EXCEPTIONS OTHERS = 0.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt1 = text-023 "'The Container Control Could not be txt2 = text-024. " created'
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt1 = text-022 "'The ALV Grid Control could not be txt2 = sy-subrc. "created'
SLS_GET_LOOKUP_VALUE CALL FUNCTION 'SLS_GET_LOOKUP_VALUE' EXPORTING luname = 'PLAN VARIANT' TABLES p_lookv = itab_lookv.
SLS_IOA_UPDATE_LOC1 CALL FUNCTION 'SLS_IOA_UPDATE_LOC1' EXPORTING p_loc = sls_loc EXCEPTIONS system_failure = 1.
SDOK_LOIO_PROPERTIES_GET * CALL FUNCTION 'SDOK_LOIO_PROPERTIES_GET' * EXPORTING * object_id = obj_tab-obj_id * TABLES * properties = prop_tab.
SDOK_LOIO_PROPERTIES_GET CALL FUNCTION 'SDOK_LOIO_PROPERTIES_GET' EXPORTING object_id = obj_tab-obj_id TABLES properties = prop_tab EXCEPTIONS not_existing = 1 not_authorized = 2 exception_in_exit = 3 OTHERS = 4.
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 SAPMSL32 or its description.