TEXTENV_CODEPAGE_NOT_ALLOWED is an ABAP runtime error which you may come across when using or developing within an SAP system. See below for the standard details explaining what it means and how you can avoid or fix this runtime error.
Short Dump Classification: A - ABAP Programming Error
You can view further information about a runtme error by using transaction code ST22 which will show you this and all runtime erros that have happen in your SAP system.
Also check out the Comments section below to view or add related contributions and example screen shots.
Try to find ouit why language <runtime parameter> was set. There are several
possibilities (language <runtime parameter> should not actually be used):
1. The language was selected mistakenly by an individual user. The
users should be informed of which languages they can select.
2. The language switch was triggered automatically by a system
function. Find out what actions caused the problem to occur. Take a
look at the "List of Current Calls" in the dump. Are there traces in
your system of a language that should not be used any more (SAPscript
forms for example)?
3. Language <runtime parameter> should not be usable.
Use report RSCP0020 to check the setting for table TCP0D. Use
transaction SM30 to check for corrupt values in table TCP0C. Find out
more about languages and code pages by reading SAP Note 45619. SAP
Notes 42305 and 39766 provide information about tables TCP0C and TCP0D.
If you need to use more than one code page at a time, see SAP Notes
31280 and 38001 too.
Please see search hints for more details about the possible cause of this runtime error and how it could be avoided.
Please see send to sap for more details about the possible cause of this runtime error and how it could be avoided.
Code page <runtime parameter> has not been released.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
Please see textenv for more details about the possible cause of this runtime error and how it could be avoided.
An attempt was made here to use operation <runtime parameter> to switch to language
<runtime parameter>.
After analysis of tables Tabellen TCP0D and <runtime parameter>, code page <runtime parameter> was
detected for language <runtime parameter>.
Table TCPDB contains a list of the code pages that are allowed in this
system. <runtime parameter> is not included.
Additional Information
Language <runtime parameter>
Country (Territory) <runtime parameter>
Subselection <runtime parameter>
Code page <runtime parameter>
Local for operating system <runtime parameter>
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.