cancel
Showing results for 
Search instead for 
Did you mean: 

internal_error in smartforms

Former Member
0 Kudos

Hi All,

I am getting sy-subrc = 2 i.e. internal_error whil i execute the smartforms print program.

Can anyone let me know why this error usually comes.

Thanks for your help.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

do you have any address window

if yes check adrnr number is filling or not

next check do you have any standard text calling

like include text

if yes tick the error check box in smartform

Former Member
0 Kudos

thanks for the reply.

no, i dont have any of those fields. through debugging i found out that the error is raised by the standard FM SSFRT_READ_ERROR. The error occurred in a certain field (NETPR, record 15), in which this field has just the same data and type with the rest of the lines. I really don't know why this occurred. Please help if you had experience with this. thanks a lot!

Former Member
0 Kudos

HI,

The field NETPR is a currency field and that creates the problem.

Declare it in smartform as CURR.

Thanks

Sumi

Former Member
0 Kudos

Hi!

Thanks for the reply.

Yes, NETWR and NETPR in the form are declared with CURR.

Still the same error.

Regards,

Rhea

Former Member
0 Kudos

do you use any quantity or currency field in Smart form ,if so Please maintain reference field

Former Member
0 Kudos

No, i am not using any currency or quantity fields. The error comes after function module get executed. sy-subrc becomes 2. I wonder why this is coming.

Former Member
0 Kudos

hi all, i am also getting the same error. even after debugging, i still dont understand which is causing the error. I am sure it is in the form, but after checking, I found nothing erroneous. Please help. Thanks

Former Member
0 Kudos

Remove ur Smart function module in abap editor and call that one again editor.