cancel
Showing results for 
Search instead for 
Did you mean: 

smartform not opening

former_member508696
Participant
0 Kudos

Hi experts,

i have one small prblm in smart form . while executing the smartform i am getting the print preview page but it is not opening. if i debug sy-subrc = 1 for that smart form FM . kindly help me wht could be the issue , the same smartform which is executing properly in production . Any idea would be great.

Thanks & regards...

Venki

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member508696
Participant
0 Kudos

formatting issue...resolved

Former Member
0 Kudos

hi,

what was the exact problem and how did you resolve.

Please share it with others.

Former Member
0 Kudos

hi,

Sy-subrc = 1 is because of formatting_error.

either the data you are passing is not correct or the spacing of the windows is not proper.

it is one of the above issues.

for more help please provide the exact message that you get.

former_member508696
Participant
0 Kudos

Hi All,

Thank you for all , fo4rmatting error only one particular field is unknown in format , i made it as Quantity filed in smartform issue resolved , thank you for selva ..

Regards,

Venki

Former Member
0 Kudos

Hi Venki,

Could you please provide the points for the useful answers ?

Regards,

Selva K.

Former Member
0 Kudos

Hi Venki,

sy-subrc = 1 indicates formatting error. Could you please also check the below field value also in the debugging?

syst-msgid, syst-msgno, syst-msgv1, syst-msgv2, syst-msgv3, syst-msgv4.

From the above message details, hope you will get the exact location where the formatting error happens.

Please check and let me know any more help is required.

Regards,

Selva K.

Former Member
0 Kudos

hi ,

data not there ,

For Exp

call function 'ZTEST'

exceptions

not_found = 1

not_here = 2

not_there = 3.

case sy-subrc.

when '1'.

when '2'.

when '3'.

endcase.

Regards,

Ansari