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

OPEN_FORM

Former Member
0 Likes
606

Hi,

I want to know the use of DIALOG parameter in OPEN_FORM ?

Is it used for print preview whenever we try to print form from some transaction.

CALL FUNCTION 'OPEN_FORM'

EXPORTING

DEVICE = 'PRINTER'

  • DIALOG = 'X'

  • FORM = 'ZTDPEP'

EXCEPTIONS

OTHERS = 12.

And one thing what if I cahnge thew number for others parameter say from 12 to any other? I know that the others parameter under exception tab ? Can someone focus some more light on it ?

Regards,

Tushar.

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
481

Yes, dialog parameter will trigger the print preview.

Regards,

Rich Heilman

Read only

0 Likes
481

Yes, you can change the OTHERS exception to what ever you want. The value will set sy-subrc to your value.

Regards,

Rich Heilman

Read only

0 Likes
481

Please remember to award points accordingly. Thanks.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
481

Hello,

Check out the FM documentation.

Also this link:

http://help.sap.com/saphelp_erp2004/helpdata/en/d6/0dba1a494511d182b70000e829fbfe/content.htm

Regards, Murugesh AS