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

doubt in scripts

Former Member
0 Likes
487

Hi

i m sending my script output through mail. my doubt is that whenever i execute the program ,it is displaying the screen asking for input ( where we select to display print preview). i want to skip this screen and send the mail derectly to the specified mail ID.

could you plz send me the solution..your answers will be more helpful..

thanks & Regards

ravindra

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
467

Hi Ravindra,

Pass the parameters to ITCPO of OPEN_FORM or START_FORM function module.

Set ITCPO-TDPREVIEW = ' ' or ITCPO-TDNOPREV = 'X' and this ITCPO to the function module and this prevents the preview.

Thanks,

Vinay

3 REPLIES 3
Read only

Former Member
0 Likes
468

Hi Ravindra,

Pass the parameters to ITCPO of OPEN_FORM or START_FORM function module.

Set ITCPO-TDPREVIEW = ' ' or ITCPO-TDNOPREV = 'X' and this ITCPO to the function module and this prevents the preview.

Thanks,

Vinay

Read only

varma_narayana
Active Contributor
0 Likes
467

Hi..

To avoid the Display of input Screen.

You have to Pass the Parameter called OPTIONS in the OPEN_FORM FM.

OPTIONS is of Structure ITCPO

Data : WA_OPTIONS type ITCPO.

WA_OPTIONS-TDPREVIEW = ' '.

or

WA_OPTIONS-TDNOPREVIEW = 'X'.

Then pass WA_OPTIONS to the Format parameter OPTIONS.

<b>Reward if Helpful</b>

Read only

Former Member
0 Likes
467

Hi,

You can set the ITCPO-TDNOPREV= 'X' then this Popup wil suppress

Regards

Sudheer