Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Dump error when clicked on text elements in smartforms

former_member291753
Participant
0 Kudos
2,714

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_formatTYPE 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.

7 REPLIES 7

Former Member
0 Kudos
1,345

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

Former Member
0 Kudos
1,345

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


0 Kudos
1,344

Hi sree,

I have used only budat as below unable to understand how 15 came in between.

Regards

Raghu Vamsi

0 Kudos
1,344

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

former_member186077
Active Participant
0 Kudos
1,344

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.

naveenkolathuru
Participant
0 Kudos
1,344

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.

Philipp_Trost
Newcomer
0 Kudos
1,010

Hi 

had the same Problem just now.

Check the following Note:
https://me.sap.com/notes/0002787506