Application Development 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: 

OPEN_FORM

Former Member
0 Kudos
164

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

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
39

Yes, dialog parameter will trigger the print preview.

Regards,

Rich Heilman

0 Kudos
39

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

Regards,

Rich Heilman

0 Kudos
39

Please remember to award points accordingly. Thanks.

Regards,

Rich Heilman

former_member214131
Active Contributor
0 Kudos
39

Hello,

Check out the FM documentation.

Also this link:

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

Regards, Murugesh AS