SAP Reports / Programs | Basis Components | Use Subcomponents | Print and Output Management(BC-CCM-PRN) SAP BC

MSPADF30 SAP ABAP INCLUDE - List Processing and Generic Screen Routines







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


Text pool values


Title: List Processing and Generic Screen Routines


INCLUDES used within this REPORT MSPADF30

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:

STRC_SELECT_LOADMASK CALL FUNCTION 'STRC_SELECT_LOADMASK' EXPORTING update = 'X' loadmask = load_mask displaymask = display_mask IMPORTING loadmask = load_mask displaymask = display_mask EXCEPTIONS OTHERS = 1.

STRC_SELECT_DISPLAYMASK CALL FUNCTION 'STRC_SELECT_DISPLAYMASK' EXPORTING update = 'X' loadmask = load_mask displaymask = display_mask IMPORTING loadmask = load_mask displaymask = display_mask EXCEPTIONS OTHERS = 1.

RSPO_IS_CENTRAL_PRINTER CALL FUNCTION 'RSPO_IS_CENTRAL_PRINTER' EXPORTING printer_name = prtname-name IMPORTING answer = cflag.

SCP_SHOW_TEXTS_FROM_TCP08 CALL FUNCTION 'SCP_SHOW_TEXTS_FROM_TCP08' EXPORTING charno = chartab-cpcharno EXCEPTIONS not_found = 1.

SCP_SHOW_BITMAP_FROM_TCP08 CALL FUNCTION 'SCP_SHOW_BITMAP_FROM_TCP08' EXPORTING charno = chartab-cpcharno "NUMBER + ..

RSPO_SERVER_UPDATE_ACTIVE CALL FUNCTION 'RSPO_SERVER_UPDATE_ACTIVE' EXCEPTIONS call_error = 1 operation_failed = 2 OTHERS = 3.

TH_DISPLAY_SERVER_LIST CALL FUNCTION 'TH_DISPLAY_SERVER_LIST'.

TH_DISPLAY_WORKPROCESS_LIST CALL FUNCTION 'TH_DISPLAY_WORKPROCESS_LIST' EXPORTING server = spserver-spoolsrv EXCEPTIONS server_not_active = 1 communication_failure = 2 OTHERS = 3.

RSPO_DEVICE_CHECK_HOSTSPOOL CALL FUNCTION 'RSPO_DEVICE_CHECK_HOSTSPOOL' EXPORTING name = prtname-name IMPORTING reachable = answer EXCEPTIONS name_missing = 1 name_twice = 2 not_found = 3 call_error = 4 device_type_problem = 5 OTHERS = 6.

RSPO_DEVICE_CHECK_HOSTSPOOL CALL FUNCTION 'RSPO_DEVICE_CHECK_HOSTSPOOL' EXPORTING name = prtname-name IMPORTING reachable = answer EXCEPTIONS name_missing = 1 name_twice = 2 not_found = 3 call_error = 4 device_type_problem = 5 OTHERS = 6.

STRC_DISPLAY_SPOOLWP_TRACE CALL FUNCTION 'STRC_DISPLAY_SPOOLWP_TRACE' EXPORTING server = prtname-pamsserver update = 'X' loadmask = load_mask displaymask = display_mask IMPORTING loadmask = load_mask displaymask = display_mask EXCEPTIONS OTHERS = 1.

STRC_DISPLAY_SPOOLWP_TRACE CALL FUNCTION 'STRC_DISPLAY_SPOOLWP_TRACE' EXPORTING server = spserver-server update = 'X' loadmask = load_mask displaymask = display_mask IMPORTING loadmask = load_mask displaymask = display_mask EXCEPTIONS OTHERS = 1.

RSPO_USER_SELECTION_SET CALL FUNCTION 'RSPO_USER_SELECTION_SET' EXPORTING object = 'SPDV' objname = tsp03d-name.

RSPO_USER_SELECTION_SET CALL FUNCTION 'RSPO_USER_SELECTION_SET' EXPORTING object = 'PRIN' objname = tsp0a-patype.

RSPO_USER_SELECTION_SET CALL FUNCTION 'RSPO_USER_SELECTION_SET' EXPORTING object = 'SPCS' objname = tcp00-cpcodepage.

POPUP_TO_GET_ONE_VALUE CALL FUNCTION 'POPUP_TO_GET_ONE_VALUE' EXPORTING textline1 = ' ' textline2 = 'Name des neuen Gerätetyps'(407) titel = 'Neuen Gerätetyp anlegen'(408) valuelength = length IMPORTING value1 = value.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Spool Admin.: Löschen'(151)

RSPO_DESCRIBE_JOBSTATE CALL FUNCTION 'RSPO_DESCRIBE_JOBSTATE' EXPORTING job = tsp02 IMPORTING description = desc.

SPCPC_IS_IT_IN_USE





CALL FUNCTION 'SPCPC_IS_IT_IN_USE' EXPORTING printer_name = tsp03d-name * TARGET_SYSTEM_NAME = IMPORTING in_use = in_use in_group = in_group * IN_DIST_STATUS = .

RSPO_DEVICE_DELETE CALL FUNCTION 'RSPO_DEVICE_DELETE' EXPORTING name = tsp03d-name EXCEPTIONS OTHERS = 5.

RSPO_USER_SELECTION_DELETE CALL FUNCTION 'RSPO_USER_SELECTION_DELETE' EXPORTING object = 'PRIN' objname = tsp0a-patype for_all_users = 'X'.

RSPO_USER_SELECTION_DELETE * call function 'RSPO_USER_SELECTION_DELETE' * exporting object = 'SPCS' * objname = tcp00-cpcodepage * for_all_users = 'X'.

RSPO_LIST_DRIVER_POSSIBLE CALL FUNCTION 'RSPO_LIST_DRIVER_POSSIBLE' EXPORTING device_type = tsp03d-patype IMPORTING answer = list_driver_possible.

SCP_CODEPAGE_INFO CALL FUNCTION 'SCP_CODEPAGE_INFO' EXPORTING codepage = tcp00-cpcodepage IMPORTING * NAME = * ENTRY00 = cpisinf1 = rscptype-cpisinf1 cpusedbyf1 = used_cp cpisinf4 = rscptype-cpisinf4 * CPENCODING_TEXT = * CPBYTEIND_TEXT = * CPEXTMETH_TEXT = * CPNLSMAJOR_TEXT = * CPSOURCE_TEXT = EXCEPTIONS * invalid_codepage = 1 * internal_error = 2 OTHERS = 3.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Spool Admin.: Abbruch'(156)

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Spool Admin.: Zurück'(164)

RSPO_DEVICE_CHECK_HOSTSPOOL CALL FUNCTION 'RSPO_DEVICE_CHECK_HOSTSPOOL' EXPORTING name = tsp03d-name IMPORTING reachable = answer EXCEPTIONS name_missing = 1 name_twice = 2 not_found = 3 call_error = 4 device_type_problem = 5 OTHERS = 6.

RSPO_DELETE_LOMS_EVENTS CALL FUNCTION 'RSPO_DELETE_LOMS_EVENTS' EXPORTING loms = tsploms-name * DAYS = EXCEPTIONS unknown_loms = 1 OTHERS = 2.

RSPOLST_INPUT_FORMATINFO CALL FUNCTION 'RSPOLST_INPUT_FORMATINFO' EXPORTING display = action_readonly lst_att_format = attm * USER_MRG_VALID = ' ' IMPORTING lst_att_format = attm EXCEPTIONS user_cancelled = 1 OTHERS = 2.

RSPO_SERVER_UPDATE_ACTIVE CALL FUNCTION 'RSPO_SERVER_UPDATE_ACTIVE' EXCEPTIONS call_error = 1 operation_failed = 2 OTHERS = 3.

TH_DISPLAY_SERVER_LIST CALL FUNCTION 'TH_DISPLAY_SERVER_LIST'.

TH_DISPLAY_WORKPROCESS_LIST CALL FUNCTION 'TH_DISPLAY_WORKPROCESS_LIST' EXPORTING server = rsposerver-spoolsrv EXCEPTIONS server_not_active = 1 communication_failure = 2 OTHERS = 3.

STRC_DISPLAY_SPOOLWP_TRACE CALL FUNCTION 'STRC_DISPLAY_SPOOLWP_TRACE' EXPORTING server = tsp03d-pamsserver update = 'X' loadmask = load_mask displaymask = display_mask IMPORTING loadmask = load_mask displaymask = display_mask EXCEPTIONS OTHERS = 1.

STRC_DISPLAY_SPOOLWP_TRACE CALL FUNCTION 'STRC_DISPLAY_SPOOLWP_TRACE' EXPORTING server = tspsv-server update = 'X' loadmask = load_mask displaymask = display_mask IMPORTING loadmask = load_mask displaymask = display_mask EXCEPTIONS OTHERS = 1.

STRC_SELECT_LOADMASK CALL FUNCTION 'STRC_SELECT_LOADMASK' EXPORTING update = 'X' loadmask = load_mask displaymask = display_mask IMPORTING loadmask = load_mask displaymask = display_mask EXCEPTIONS OTHERS = 1.

STRC_SELECT_DISPLAYMASK CALL FUNCTION 'STRC_SELECT_DISPLAYMASK' EXPORTING update = 'X' loadmask = load_mask displaymask = display_mask IMPORTING loadmask = load_mask displaymask = display_mask EXCEPTIONS OTHERS = 1.

SCP_SHOW_TEXTS_FROM_TCP08 CALL FUNCTION 'SCP_SHOW_TEXTS_FROM_TCP08' EXPORTING charno = tcp01-cpcharno EXCEPTIONS not_found = 1.

SCP_SHOW_BITMAP_FROM_TCP08 CALL FUNCTION 'SCP_SHOW_BITMAP_FROM_TCP08' EXPORTING charno = tcp01-cpcharno "NUMBER + ..




POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Spool Admin.: Zurück'(157)

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Spool Admin.: Zurück'(160)

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Spool Admin.: Zurück'(163)

ADS_GET_DEVTYPE_ATTRIBUTES CALL FUNCTION 'ADS_GET_DEVTYPE_ATTRIBUTES' EXPORTING prtype = tsp03d-patype color = tsp03d-colorprt IMPORTING xdcname = l_s owner = l_owner.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Spool Admin.: Sichern'(248)

RSPO_BUILD_DEVICE CALL FUNCTION 'RSPO_BUILD_DEVICE' EXPORTING name = tsp03d-name import = ' ' EXCEPTIONS illegal_device = 1 failed = 2 aborted = 3 OTHERS = 4.

SPCPC_MARK_CPC_PRINTER_AS_MOD CALL FUNCTION 'SPCPC_MARK_CPC_PRINTER_AS_MOD' EXPORTING pname = tsp03d-name.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-248 text_question = text_question IMPORTING answer = popup_answer EXCEPTIONS OTHERS = 22.

RSPO_USER_SELECTION_SET CALL FUNCTION 'RSPO_USER_SELECTION_SET' EXPORTING object = 'SPDV' objname = tsp03d-name.

RSPO_BUILD_DEVICE CALL FUNCTION 'RSPO_BUILD_DEVICE' EXPORTING name = tsp03d-name EXCEPTIONS illegal_device = 1 failed = 2 aborted = 3 OTHERS = 4.

RSPO_USER_SELECTION_SET CALL FUNCTION 'RSPO_USER_SELECTION_SET' EXPORTING object = 'PRIN' objname = tsp0a-patype.

RSPO_USER_SELECTION_SET * call function 'RSPO_USER_SELECTION_SET' * exporting * object = 'SPCS' * objname = tcp00-cpcodepage.

RSPO_REDIRECT_JOBS_FOR_DEVICE CALL FUNCTION 'RSPO_REDIRECT_JOBS_FOR_DEVICE' EXPORTING name = tsp03d-name * DEST = IMPORTING count = count server = server EXCEPTIONS busy = 4 OTHERS = 5.

RSPO_REDIRECT_JOBS CALL FUNCTION 'RSPO_REDIRECT_JOBS' IMPORTING count = count EXCEPTIONS busy = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Spool Admin.: Seitenformat'(169)

RSPO_SERVER_GET_LIST CALL FUNCTION 'RSPO_SERVER_GET_LIST' EXPORTING active = 'X' mapping = 'X' TABLES entries = srvlist.

RSPO_SERVER_GET CALL FUNCTION 'RSPO_SERVER_GET' EXPORTING server = server mapping = 'X' IMPORTING entry = entry.

RSPO_SERVER_MAP CALL FUNCTION 'RSPO_SERVER_MAP' EXPORTING server = server active = 'X' spool = 'X' force = 'X' IMPORTING entry = entry EXCEPTIONS operation_failed = 1.

RSPO_MAP_SERVERNAME CALL FUNCTION 'RSPO_MAP_SERVERNAME' EXPORTING lname = server IMPORTING pname = pserver EXCEPTIONS OTHERS = 1.

TH_RESET_NI_BUFFER CALL FUNCTION 'TH_RESET_NI_BUFFER' DESTINATION pserver EXCEPTIONS OTHERS = 1.



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