WRITE_INVALID_STYLE 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.
Probably the only way to eliminate the error is to correct the program.
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.
Output style <runtime parameter> is not permitted in the current context.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
DDIC domains with a DECFLOAT type have an attribute "output style". An
output style can be also specified in a WRITE statement with the STYLE
addition. The current program is trying to use output style <runtime parameter>. An
error has occurred with code <runtime parameter>. The meaning of the codes is:
17: The STYLE specified is generally not permitted.
18: The CURRENCY addition cannot be used in Netweaver Release 70x for
DECFLOAT types.
19: The "MONETARY" and "EXTENDED_MONETARY" styles are not permitted in
Netweaver Release 70x.
21: The STYLE addition can only be used for numerical types.
22: If the STYLE addition is to be used, only conversion routines are
permitted as "EDIT MASK".
The output styles that are supported are constants of class
CL_ABAP_FORMAT that begin with the prefix "O_".
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
WRITE_INVALID_STYLE - write invalid style WRITE_INVALID_DECIMALS - write invalid decimals WRITE_INVALID_CURRENCY - write invalid currency WRITE_CURRENCY_ILLEGAL_TYPE - write currency illegal type WAIT_ILLEGAL_TIME_LIMIT - wait illegal time limit WAIT_ILLEGAL_CONTROL_BLOCK - wait illegal control block