cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform Dump After specifying the output device anme

Former Member
0 Kudos

Hi Friends,

I created One Smartform for FI.. Its working fine develoment..

I Transported to Qulity,Its showing dump after specify the output device name..its from std Program only..

What we have to do for rectify this..

Its urgent..Please give some guidelines to resolve this issue...

Dump error analsys like this

Short text

Invalid partial field access: Length is too large

What happened?

Error in the ABAP Application Program

The current ABAP program "SAPLSTXBW" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

_Error analysis_

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS', was not

caught in

procedure "PREPARE_OTF_FOR_GUI_PREVIEWER" "(FUNCTION)", nor was it propagated

by a RAISING clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

In the executed program "SAPLSTXBW", the system attempted to access the field

"WA_OTF_PREVIEW-TDPRINTPAR" of the type "C" and with the length 70 using the

length 130.

However, a partial field access with a length specification that is

larger than the field length is not allowed.

_Missing RAISING Clause in Interface_

Program SAPLSTXBW

Include LSTXBWU06

Row 1

Module type (FUNCTION)

Module Name PREPARE_OTF_FOR_GUI_PREVIEWER

Trigger Location of Exception

Program SAPLSTXBW

Include LSTXBWU06

Row 574

Module type (FUNCTION)

Module Name PREPARE_OTF_FOR_GUI_PREVIEWER

_Source Code Extract_

572 hexstring = hstring2+stringoffset(hstringlength2).

573 stringlength = hstringlength2 * 2.

>>> wa_otf_preview-tdprintpar(stringlength) = hexstring.

575

576 APPEND wa_otf_preview TO otf_preview.

577 ENDIF.

578 ENDIF.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member184657
Active Contributor
0 Kudos

while calling the function module, are u calling it this way?

Data: g_fname type rs38l_fnam.

CALL FUNCTION g_fname" '/1BCDWB/SF00000029'

...

...

most times than never, it gives a dump if u dont do it this way.

as always

pk

Former Member
0 Kudos

Hi

I think you have hard coded the smartform name in

CALL FUNCTION FMNAME..

If you have done anychanges everytime it will create a new smartform..better do one thing execute the smartform and try to match the function module with the ones you hard coded in the call function statement.

Thanks and Regards

Arun Joseph

Former Member
0 Kudos

Hi

Try to check the SPAD Settings also in the server which you are woking and check whether all the output setting has been made or not??

Thanks and Regards

Arun Joseph

Former Member
0 Kudos

Hi,

check output type configuration and check printer settings for that .