SAP Reports / Programs | Knowledge Management | Knowledge Warehouse | Performance Assessment Workbench(KM-KW-PAW) SAP KM

SAPMSL311 SAP ABAP dialog Program - PAW - Test Type Definition







SAPMSL311 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 PAW - Test Type Definitions 1...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 SAPMSL311 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

SL31 - PAW - Test type definitions


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


Text pool values


Title: PAW - Test Type Definition
Text Symbol: 028 = in Use
Text Symbol: 027 = is editing
Text Symbol: 026 = Certificate Name
Text Symbol: 025 = Certificate Type
Text Symbol: 023 = The Container Control could not be created.
Text Symbol: 022 = The ALV Grid Control could not be created.
Text Symbol: 021 = PAW Test Type Definitions
Text Symbol: 020 = ID
Text Symbol: 019 = Type
Text Symbol: 018 = Scenario
Text Symbol: 017 = Description
Text Symbol: 016 = Do You really want to delete the data?
Text Symbol: 015 = Exit PAW Test Type Details
Text Symbol: 014 = Save before leaving?
Text Symbol: 013 = Data has been changed
Text Symbol: 012 = Corresponding entry in table
Text Symbol: 011 = RFC-Destination for KW-System
Text Symbol: 010 = qualification
Text Symbol: 009 = Would you like to save ?
Text Symbol: 007 = Are you sure you want to delete ?
Text Symbol: 004 = info object
Text Symbol: 003 = Selftest
Text Symbol: 001 = Certification


INCLUDES used within this REPORT SAPMSL311

INCLUDE: SLSPEWI2, .


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:

SLS_GET_LOOKUP_VALUE CALL FUNCTION 'SLS_GET_LOOKUP_VALUE' EXPORTING luname = 'TEST_TYPE_CHANGE' TABLES p_lookv = itab_lookv EXCEPTIONS OTHERS = 0.

ENQUEUE_E_LS_TTYPE CALL FUNCTION 'ENQUEUE_E_LS_TTYPE' EXPORTING ttyid = itab_ttype-ttyid EXCEPTIONS foreign_lock = 1 system_failure = 2.

SLS_MISC_INFO_POPUP CALL FUNCTION 'SLS_MISC_INFO_POPUP' EXPORTING titel = text-028 txt1 = inuse_msg IMPORTING okey = okay.

SLS_IOA_UPDATE_TTYPE CALL FUNCTION 'SLS_IOA_UPDATE_TTYPE' EXPORTING p_ttype = sls_ttype EXCEPTIONS system_failure = 1.

DEQUEUE_E_LS_TTYPE CALL FUNCTION 'DEQUEUE_E_LS_TTYPE' EXPORTING ttyid = itab_ttype-ttyid.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-007 textline2 = ' ' titel = c_paw_title IMPORTING answer = pop_answer.

SLS_IOA_DELETE_TTYPE CALL FUNCTION 'SLS_IOA_DELETE_TTYPE' EXPORTING p_ttype = sls_ttype EXCEPTIONS system_failure = 1.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-013 "Data has been changed textline2 = text-014 "Save Before leaving titel = text-015 "Exit PAW Test Type Details cancel_display = 'X' IMPORTING answer = okay.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-009 titel = c_paw_title IMPORTING answer = okay.

SLS_IOA_UPDATE_TTYPE CALL FUNCTION 'SLS_IOA_UPDATE_TTYPE' EXPORTING p_ttype = sls_ttype EXCEPTIONS system_failure = 1.

RPY_FUNCTIONMODULE_READ * CALL FUNCTION 'RPY_FUNCTIONMODULE_READ' * DESTINATION lc_destination * EXPORTING * functionname = 'Y_STRUC_GET' * EXCEPTIONS * OTHERS = 1.

Y_STRUC_GET * CALL FUNCTION 'Y_STRUC_GET' * DESTINATION lc_destination * EXPORTING * act_otype = 'QK' * act_objid = '00005610' * act_wegid = 'QUALCATA' * TABLES * result_tab = itab_tcode * result_objec = itab_objec * result_struc = itab_struc * EXCEPTIONS * no_plvar_found = 1 * no_entry_found = 2 * OTHERS = 3.

RPY_FUNCTIONMODULE_READ CALL FUNCTION 'RPY_FUNCTIONMODULE_READ' DESTINATION lc_destination EXPORTING functionname = 'BAPI_BUS_EVENTTYPE_LIST' EXCEPTIONS OTHERS = 1.

BAPI_BUS_EVENTTYPE_LIST CALL FUNCTION 'BAPI_BUS_EVENTTYPE_LIST' DESTINATION lc_destination EXPORTING plvar = lc_plvar objid = itab_egroup-egrid IMPORTING return = lstruc_return TABLES eventtype_list = itab_etype EXCEPTIONS no_eventtypes = 1 no_active_plvar = 2 root_not_found = 3 wegid_not_found = 4 unknown_exception = 5.

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_IOA_INSERT_TTYPE CALL FUNCTION 'SLS_IOA_INSERT_TTYPE' EXPORTING p_ttype = sls_ttype EXCEPTIONS system_failure = 1.

SLS_MISC_GET_NEXT_ID CALL FUNCTION 'SLS_MISC_GET_NEXT_ID' EXPORTING p_type = '6' " test type = 6 IMPORTING p_id = itab_ttype-ttyid EXCEPTIONS id_not_valid = 1 OTHERS = 2.

SLS_IOA_GET_TTYIO_LIST





CALL FUNCTION 'SLS_IOA_GET_TTYIO_LIST' EXPORTING p_ttyid = itab_ttype0200-ttyid TABLES p_ttyio = itab_ttyio.

SLS_IOA_GET_TTYPE_LIST CALL FUNCTION 'SLS_IOA_GET_TTYPE_LIST' EXPORTING p_ttyid = l_ttyid TABLES p_ttype = itab_ttype0200.

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.

SLS_MISC_SIW_INFO_OBJECT_QUERY CALL FUNCTION 'SLS_MISC_SIW_INFO_OBJECT_QUERY' DESTINATION lc_kw_system EXPORTING area = local_area with_dialog = 'X' multi_select = 'X' no_context_change = '' IMPORTING action = lc_ucomm error_msg = local_error TABLES query = local_query context = context requested_properties = local_reqprop info_objects = info_objects properties = local_propert valid_info_classes = info_class.

SLS_MISC_SIW_INFO_OBJECT_QUERY CALL FUNCTION 'SLS_MISC_SIW_INFO_OBJECT_QUERY' DESTINATION lc_kw_system EXPORTING area = local_area with_dialog = 'X' multi_select = 'X' no_context_change = '' IMPORTING action = lc_ucomm error_msg = local_error TABLES query = local_query context = context requested_properties = local_reqprop info_objects = info_objects properties = local_propert valid_info_classes = info_class.

DEQUEUE_E_LS_TTYIO CALL FUNCTION 'DEQUEUE_E_LS_TTYIO' EXPORTING ttyid = itab_ttyio_old-ttyid class = itab_ttyio_old-class guid = itab_ttyio_old-guid var4 = itab_ttyio_old-var4 begda = itab_ttyio_old-begda.

ENQUEUE_E_LS_TTYIO CALL FUNCTION 'ENQUEUE_E_LS_TTYIO' EXPORTING ttyid = itab_ttyio_old-ttyid class = itab_ttyio_old-class guid = itab_ttyio_old-guid var4 = itab_ttyio_old-var4 begda = itab_ttyio_old-begda EXCEPTIONS foreign_lock = 1 system_failure = 2.

SLS_MISC_INFO_POPUP CALL FUNCTION 'SLS_MISC_INFO_POPUP' EXPORTING titel = text-028 txt1 = inuse_msg IMPORTING okey = okay.

SLS_IOA_DELETE_TTYIO CALL FUNCTION 'SLS_IOA_DELETE_TTYIO' EXPORTING p_ttyio = sls_ttyio EXCEPTIONS system_failure = 1.

SLS_IOA_UPDATE_TTYIO CALL FUNCTION 'SLS_IOA_UPDATE_TTYIO' EXPORTING p_ttyio = sls_ttyio EXCEPTIONS system_failure = 1.

SLS_IOA_INSERT_TTYIO CALL FUNCTION 'SLS_IOA_INSERT_TTYIO' EXPORTING p_ttyio = sls_ttyio EXCEPTIONS system_failure = 1.

SLS_IOA_GET_TTYQU_LIST CALL FUNCTION 'SLS_IOA_GET_TTYQU_LIST' EXPORTING p_ttyid = itab_ttype0200-ttyid TABLES p_ttyqu = itab_ttyqu.

SLS_CUST_GET_HR_SYSTEM CALL FUNCTION 'SLS_CUST_GET_HR_SYSTEM' IMPORTING p_destination = lc_destination.

SLS_CUST_GET_HR_PE_SYSTEM CALL FUNCTION 'SLS_CUST_GET_HR_PE_SYSTEM' IMPORTING p_hr_pe_dest = lc_hr_pe_dest.

SLS_CUST_GET_PLAN_VARIANT CALL FUNCTION 'SLS_CUST_GET_PLAN_VARIANT' IMPORTING p_plvar = lc_plvar.

SLS_CUST_GET_EG_CERTIFY1 CALL FUNCTION 'SLS_CUST_GET_EG_CERTIFY1' TABLES event_group_certify = it_event_group_certify.

SLS_CUST_GET_EG_ONLINE CALL FUNCTION 'SLS_CUST_GET_EG_ONLINE' IMPORTING p_event_group_online = lc_eg_online.

SLS_CUST_GET_KW_SYSTEM CALL FUNCTION 'SLS_CUST_GET_KW_SYSTEM' IMPORTING p_kw_system = lc_kw_system.

SLS_CUST_GET_KLINK_AREA CALL FUNCTION 'SLS_CUST_GET_KLINK_AREA' IMPORTING p_klink_area = lc_klink_area.

SLS_CUST_GET_TTYPE_IO_RESTRICT CALL FUNCTION 'SLS_CUST_GET_TTYPE_IO_RESTRICT' IMPORTING p_ttype_io_restrict = lc_ttype_io_restrict.




RHPE_QCAT_READ CALL FUNCTION 'RHPE_QCAT_READ' DESTINATION lc_hr_pe_dest EXPORTING plvar = lc_plvar TABLES qcat_tab = itab_qcat EXCEPTIONS root_not_found = 1 wegid_not_valid = 2.

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.

ENQUEUE_E_LS_TTYQU CALL FUNCTION 'ENQUEUE_E_LS_TTYQU' EXPORTING ttyid = itab_ttyqu_old-ttyid otype = itab_ttyqu_old-otype objid = itab_ttyqu_old-objid begda = itab_ttyqu_old-begda EXCEPTIONS foreign_lock = 1 system_failure = 2.

SLS_MISC_INFO_POPUP CALL FUNCTION 'SLS_MISC_INFO_POPUP' EXPORTING titel = text-028 txt1 = inuse_msg IMPORTING okey = okay.

DEQUEUE_E_LS_TTYQU CALL FUNCTION 'DEQUEUE_E_LS_TTYQU' EXPORTING ttyid = itab_ttyqu_old-ttyid otype = itab_ttyqu_old-otype objid = itab_ttyqu_old-objid begda = itab_ttyqu_old-begda.

SLS_IOA_DELETE_TTYQU CALL FUNCTION 'SLS_IOA_DELETE_TTYQU' EXPORTING p_ttyqu = sls_ttyqu EXCEPTIONS system_failure = 1.

SLS_IOA_UPDATE_TTYQU CALL FUNCTION 'SLS_IOA_UPDATE_TTYQU' EXPORTING p_ttyqu = sls_ttyqu EXCEPTIONS system_failure = 1.

SLS_IOA_INSERT_TTYQU CALL FUNCTION 'SLS_IOA_INSERT_TTYQU' EXPORTING p_ttyqu = sls_ttyqu EXCEPTIONS system_failure = 1.

BAPI_PDOTYPE_Q_GETDETAIL CALL FUNCTION 'BAPI_PDOTYPE_Q_GETDETAIL' DESTINATION lc_hr_pe_dest EXPORTING plvar = lc_plvar objid = lc_qual_objid IMPORTING scale_id = lc_qual_scaleid scaletxt = lc_qual_scaletxt return = itab_return TABLES proficencies = itab_quali_prof.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'RATING' value_org = 'S' TABLES value_tab = values_tab return_tab = return_tab.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-013 "Data Will Be Lost' textline2 = text-016 "Do you really want "to delete?' titel = text-015 "Exit PAW Test Type "Details' IMPORTING answer = okay.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-013 "'Data Will Be Lost' textline2 = text-016 "'Do you really want to "delete?' titel = text-015 "'Exit PAW Test Type "Details' IMPORTING answer = okay.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt1 = text-023 "'The Container Control Could not be txt2 = sy-subrc. " 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 = 'TEST_TYPE_CHANGE' * TABLES * p_lookv = itab_lookv * EXCEPTIONS * no_lookup = 1 * unknown_exceptions = 2 * OTHERS = 3.



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