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
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
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
INST_SET_CODEPAGE - Setting the code page INST_SET_CODEPAGE - Setting the code page INST_SETCURRENCY - SAP Installation: Setting Global Currency for All Clients INST_SETCURRENCY - SAP Installation: Setting Global Currency for All Clients INST_SAMPLE_PRINTER_PARAM - INSTSAMPLEPRINTERPARAM INST_SAMPLE_PRINTER_DEF - INSTSAMPLEPRINTERDEF