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

In scripts

Former Member
0 Likes
570

Hi,

In Scripts is there any possibility to give the Page one has PORTRAIT format and Second page has LANDSCAPE format.

Please give the clear inforamtion

Thanks & Regards

Raghavendra

5 REPLIES 5
Read only

Former Member
0 Likes
549

Hi,

In Scripts the page format is defined at the header level and hence can not have two types. You can only have one format.

For your requirement you need to create two Scripts. One with Potrait and one with landscape. Then using the START_FORM call the second script.

So the sequence will be

OPEN_FORM

START_FORM

WRITE_FORM

END_FORM

CLOSE_FORM

http://www.sap-img.com/sapscripts/a-sample-sap-scripts-reports.htm

Hope this helps.

Regards,

Raj.

Read only

Former Member
0 Likes
549

Hi,

It is definitely possible in smartfroms,I don't think it's possible in scripts(multiple page formats are not allowed).

Thanks

Read only

Former Member
0 Likes
549

Hi

In SAP Scripts, you could not assign , one page one format and other page another format, because, in SAP Scripts, these are global settings for entire layout..

award points if usefull.

Regards,

vinesh.

Read only

Former Member
0 Likes
549

Damn sure multiple page formats are not possible in scripts...only possible in smartforms.

Close your thread.

Dara.

Read only

mahaboob_pathan
Contributor
0 Likes
549

hi,

in scripts

at header level we will mention the page format.

but i think it is not possible to change the page format

while printing it will automatically takes

if the setting are done in printer.

no need to handle in program.