SAP Reports / Programs | Basis Components | Installation Tools(BC-INS) SAP BC

INST_SAMPLE_PRINTER SAP ABAP Report - Installation: Creating Sample Printers







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


Text pool values


Title: Installation: Creating Sample Printers
Text Symbol: 102 = Cannot read instance number
Text Symbol: 103 = Sample printer created successfully
Text Symbol: 104 = Cannot delete printer: &
Text Symbol: 105 = Cannot create printer: &
Text Symbol: 106 = Error reading zcsa/installed_languages
Text Symbol: 107 = Error reading SAPGLOBALHOST
Text Symbol: 000 = Sample printer for frontend printing
Text Symbol: 002 = Sample printer AS/400
Text Symbol: 003 = Sample printer direct to host spooler
Text Symbol: 004 = Sample printer through output processor SAPLPD
Text Symbol: 005 = Sample printer through SAPLPD/Berkley Server
Text Symbol: 100 = Report runs only during installation
Text Symbol: 101 = Parameter & not found


INCLUDES used within this REPORT INST_SAMPLE_PRINTER

INCLUDE INST_FUNC_MODULES.
INCLUDE INST_CONST.
INCLUDE INST_SAMPLE_PRINTER_PARAM.
INCLUDE INST_SAMPLE_PRINTER_DEF.


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:

SXPG_PROFILE_PARAMETER_GET call function 'SXPG_PROFILE_PARAMETER_GET' EXPORTING parameter_name = 'SAPSYSTEM' IMPORTING parameter_value = parameter_value EXCEPTIONS others = 1.

RSPO_DEVICE_GET call function 'RSPO_DEVICE_GET' EXPORTING name = printer_desc-paname TABLES description = prndesc EXCEPTIONS not_found = 1 others = 99.

RSPO_DEVICE_DELETE call function 'RSPO_DEVICE_DELETE' EXPORTING name = printer_desc-paname EXCEPTIONS not_found = 1 others = 99.

RSPO_DEVICE_UPDATE call function 'RSPO_DEVICE_UPDATE' TABLES description = prndesc EXCEPTIONS others = 99.

SXPG_PROFILE_PARAMETER_GET call function 'SXPG_PROFILE_PARAMETER_GET' EXPORTING parameter_name = 'ZCSA/INSTALLED_LANGUAGES' IMPORTING parameter_value = parameter_value EXCEPTIONS others = 1.

SXPG_PROFILE_PARAMETER_GET call function 'SXPG_PROFILE_PARAMETER_GET' EXPORTING parameter_name = 'SAPGLOBALHOST' IMPORTING parameter_value = parameter_value 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 INST_SAMPLE_PRINTER or its description.