2014 Dec 12 6:32 AM
Hi Experts,
I am getting dump when clicked on text element in smartform.i have searched for SAP note but couldn't find any thing.
let me know the solution for this.
Category | ABAP Programming Error |
Runtime Errors | CONVT_NO_NUMBER |
Except. | CX_SY_CONVERSION_NO_NUMBER |
ABAP Program | SAPLSTXK |
Application Component BC-SRV-SCR
Date and Time | 12.12.2014 11:50:58 |
Short text
Unable to interpret "15&BUDAT1&" as a number. |
What happened?
Error in the ABAP Application Program |
The current ABAP program "SAPLSTXK" had to be terminated because it has | |
come across a statement that unfortunately cannot be executed. |
What can you do?
Note down which actions and inputs caused the error. |
To process the problem further, contact you SAP system | |
administrator. |
Using Transaction ST22 for ABAP Dump Analysis, you can look | |
at and manage termination messages, and you can also | |
keep them for a long time. |
source code where dump occured.
Include name: LSTXKFRI
3167 * | text |
3168 *----------------------------------------------------------------------*
3169 * | -->P_RTF_TOKEN text |
3170 *----------------------------------------------------------------------*
3171 FORM rtf_set_pattern TABLES p_itflines STRUCTURE tline
3172 | USING p_rtf_token TYPE string | |
3173 | p_format | TYPE string |
3174 | p_rtf_key type c. |
3175
3176 DATA: i | TYPE i, | |
3177 | l_colour TYPE ty_colour, | |
3178 | off | TYPE i, |
3179 | moff | TYPE i, |
3180 | mlen | TYPE i, |
3181 | l_lines TYPE i, | |
3182 | l_line TYPE tline, | |
3183 | l_format TYPE tdline, | |
3184 | l_code_char TYPE c. |
3185
3186 data: l_cs_line type t_cs_line,
3187 | l_tline type tline. |
3188
3189 CHECK g_compose = true.
3190
>>>>> i = p_rtf_token.
3192 READ TABLE rtf_colour INTO l_colour INDEX i.
3193 CASE l_colour-code.
2014 Dec 12 6:39 AM
Hi ,
From the error message, you are assign a string to integer type variable.
You should 'MOVE p_rtf_token TO i', and make sure p_rtf_token is a digital text.
regards,
Archer
2014 Dec 12 6:42 AM
Hi,
in short text its showing as
Short text
Unable to interpret "15&BUDAT1&" as a number |
please check 15&BUDAT1&" field whever you are displaying in the form.
Thanks,
Sree
2014 Dec 12 6:48 AM
Hi sree,
I have used only budat as below unable to understand how 15 came in between.
Regards
Raghu Vamsi
2014 Dec 12 7:00 AM
Hi Raghu,
you are using BUDAT1 right not BUDAT. and check all the text elements or program lines might be by mistake you are using 15&budat1& in any one of the text elements or in program lines.
Thanks,
Sree
2014 Dec 12 7:08 AM
Hi,
Go to the FM that is generated for smartform and search for the field "15&BUDAT1&" to check where exactly it is used.
Also check the data type used for 15&BUDAT1&.
Thanks and Regards,
Sriranjani Chimakurthy.
2019 Jun 15 11:50 AM
Hi, I got this error when MS Word was expired/required product code on my laptop. When I tried with licensed MS word it worked. I think this error is nothing to do with the smart form.
2024 May 24 7:56 AM