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

INST_SET_CODEPAGE SAP ABAP Report - Setting the code page







INST_SET_CODEPAGE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Set the Code Page The report INST_SET_CODEPAGE is called as part of a Smart Implementation or via the transaction INST_CUSTOM...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 INST_SET_CODEPAGE 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_SET_CODEPAGE. "Basic submit
SUBMIT INST_SET_CODEPAGE AND RETURN. "Return to original report after report execution complete
SUBMIT INST_SET_CODEPAGE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: SYST_LAN = System language
Selection Text: INST_LAN = Installable languages
Selection Text: COUNTRY = Country
Selection Text: CODEPAGE = Code page
Title: Setting the code page
Text Symbol: P01 = Parameter CODEPAGE is not in table INSTPARA
Text Symbol: DEF = You cannot execute this report program
Text Symbol: 011 = No country for 'language, code page' found
Text Symbol: 010 = Combination of 'language, code page' not permitted
Text Symbol: 009 = Combination of 'country, code page' not permitted
Text Symbol: 008 = Defective function
Text Symbol: 007 = Invalid language vector
Text Symbol: 006 = Error when writing to table TCPDB/TCP0D
Text Symbol: 005 = Invalid system language
Text Symbol: 004 = Invalid country
Text Symbol: 003 = Invalid code page
Text Symbol: 002 = Code page set
Text Symbol: 001 = No authorization to run report


INCLUDES used within this REPORT INST_SET_CODEPAGE

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:

SCP_LANGUAGES_IN_INSTANCE CALL FUNCTION 'SCP_LANGUAGES_IN_INSTANCE' IMPORTING LANGUAGES = ALLOWED_LANGUAGES.

STRN_LIST_LANG_STAT CALL FUNCTION 'STRN_LIST_LANG_STAT' TABLES LANGTAB = LANGTAB.

SCP_INIT_NLS CALL FUNCTION 'SCP_INIT_NLS' EXPORTING DB_CODEPAGE = CODEPAGE COUNTRY = COUNTRY DB_LANG = SYSTLANG LANGUAGES = INSTLANG ENFORCE_INSERT = 'X' IMPORTING TABLES_CONSISTENT = CONSISTENT TABLES PROFILE_HINTS = PROFILE_HINTS TCP0C_EXTRACT = TCP0C_EXTRACT EXCEPTIONS DATABASE_NOT_EMPTY = 1 BAD_CODEPAGE = 2 BAD_COUNTRY = 3 BAD_LANGUAGE = 4 INSERT_ERROR = 5 BAD_LANGUAGES = 6 OTHERS = 7.



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