Application Development and Automation 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: 
Read only

print preview not triggering

former_member574106
Participant
0 Likes
1,594

Hi friends,

I am designing a smartform in which i need to pass IT_FIN1 from my program to the smartform and display the output in PDF. IT_FIN1 contains the data which has been selected by the checkbox. Then i am passing the data IT_FIN1 along with other variables to the smartform.  My issue is that after testing the smartform separately in the smartform tcode, the print preview is not showing output even after 1 hour of waiting. What is the issue ? In debugging, the data is getting passed to the smartform . Please check the code and the smartform. I am not getting any hint from current posts regarding smartform

Regards,

Saurav Lahiry

1 ACCEPTED SOLUTION
Read only

former_member201275
Active Contributor
0 Likes
1,322

add the following line:
st_control_parameters-preview = 'X'.

and change the following line:

st_control_parameters-getotf = 'X'.

to

st_control_parameters-getotf = space.

5 REPLIES 5
Read only

former_member201275
Active Contributor
0 Likes
1,323

add the following line:
st_control_parameters-preview = 'X'.

and change the following line:

st_control_parameters-getotf = 'X'.

to

st_control_parameters-getotf = space.

Read only

deepan_v_s
Active Participant
0 Likes
1,322

Hi Saurav,

Is the control going to the smart form ???

Please debug the Smart form element by element and find where it's taking long time. And the data  which you have provided is  not sufficient to analyse the issue.

Regards,

Deepan Swaminathan.

Read only

0 Likes
1,322

Hi Friends,

Thanks a lot for the inputs. I have solved the issue by myself.

Regards,

Saurav Lahiry

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
1,322

Glad to hear it's solved. Kindly post the solution and close the discussion - see this blog.

Read only

0 Likes
1,322

Hi friends,

The solution turned out to be quite simple. In the smartform, I did LOOP IT_FIN1 into WA_FIN1 and then i made some changes in the structure ZTY_FINAL and changed the order of the fields in ZTY_FINAL. The print preview error went way.

Regards,

Saurav Lahiry