cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime error when executing smarforms.

Former Member
0 Kudos

Dear All,

I am getting the runtime error while executing a smartfrom which I have prepared for payslip display.

After the completion of smartform, I have tested by using print program, it was working fine. But, when I got the print of the same and I found, little modification it requires to enlarge the views.So, I increased the width of templates, tables and windows which has been used in this smartform.

After that modification, it is going to reuntime error.

Please sugget....to rectify this.

Thanks & Regards

Nrusingha.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Experts,

Thanks to all for responding my questions.

I got my problem solved and I would like to share you all why it happened ?

As I mentioned in my question, I have modified the length of the window, templates and tables in smartforms. As I have used some of the field values in tables main area in the Right alligned, the position of the fields was not matching with the current position. So, I delete the rows in the main area of the table and created once again. After the creation, it picked the correct position of the table . Now, it is working fine.

thnx....

Nrusingha

Former Member
0 Kudos

Hi ,

As you said after the modifications its going for the run time error.

In the output options of the main window check the dimensions accordingly mention the same dimensions that fit the template into the main window..

Regards,

Sravanthi

Former Member
0 Kudos

Hi,

Check the main window width and that of the changed templates, tables widths in all pages.

Keep the widths same for all the templates, tables and for the Main window.

Regards,

Ram

Edited by: Ramakrishna Peri on May 13, 2009 9:23 AM

former_member205763
Active Contributor
0 Kudos

Very carefully check the dimensions, changing of dimensions creates a lot of problems in smartforms,

use tcode sftrace switch on the trace and then execute the smartform and now analyze the error message tht would come.

Former Member
0 Kudos

Hi,

Please try to decrease atleast 0.1cm width of the template and table comapre to window width .

Please check window width is with in page.

Please check that all columns width is equal to template width and similarly check in table also.

Thanks,

Suma.

Former Member
0 Kudos

Hi,

Make sure that the width of the template, table should not exceed the window size.

if it exceeds it will go for dump..

Rgds,

Pavan

Former Member
0 Kudos

Hi Pavan,

The window width and the width of templates/tables are same. Still it is going to dump.

Regards,

Nrusingha

Former Member
0 Kudos

can you tell what the dump its giving?

Rgds,

Pavan

Former Member
0 Kudos

Please find the below details fr dump.

Short text

Exception condition "ERROR" raised.

What happened?

The current ABAP/4 program encountered an unexpected

situation.

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.

Error analysis

A RAISE statement in the program "SAPLSTXBC" raised the exception

condition "ERROR".

Since the exception was not intercepted by a superior

program, processing was terminated.

Short description of exception condition:

For detailed documentation of the exception condition, use

Transaction SE37 (Function Library). You can take the called

function module from the display of active calls.

-

How to correct the error

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"RAISE_EXCEPTION" " "

"SAPLSTXBC" or "LSTXBCU19"

"SSFCOMP_GENERATE_SMART_FORM"

or

"SAPLSTXBC" "ERROR"

or

"RS_TESTFRAME_CALL " "ERROR"

If you cannot solve the problem yourself and want to send an error

notification to SAP, include the following information:

1. The description of the current problem (short dump)

To save the description, choose "System->List->Save->Local File

(Unconverted)".

2. Corresponding system log

Display the system log by calling transaction SM21.

Restrict the time interval to 10 minutes before and five minutes

after the short dump. Then choose "System->List->Save->Local File

(Unconverted)".

3. If the problem occurs in a problem of your own or a modified SAP

program: The source code of the program

In the editor, choose "Utilities->More

Utilities->Upload/Download->Download".

4. Details about the conditions under which the error occurred or which

actions and input led to the error.

Former Member
0 Kudos

goto tcode SMARTFROMS and enter your form name and press the F8 3 times , here you can find the exact error.