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

SAP SCRIPT

Former Member
0 Likes
1,022

Where we generally use more then one main window in sap-script?

11 REPLIES 11
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
992

I have never had to use more than one MAIN window in a SAPscript.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
992

You use more than one main window when you want continuous ( dynamic ) text to be printed in more than one column on same page i.e. a newspaper kind of output.

Cheers.

Read only

Former Member
0 Likes
992

Hi,

I think you can use multiple pages by defining it in general attributes.

Use of Multiple page formats :for covering introduction and the details that follow.

Thanx,

Ashish.

Read only

Former Member
0 Likes
992

Hi,

you can use the multiple windows in SAP SCRIPTS when you want the different layouts in the a sigle SCRIPT output. normally if we have 5 pages output, then the same main window will applicable for all the pages, if you want different structure in the second page then you can use the second main window

Thanks

Sudheer

Read only

0 Likes
992

Hi,

You can also use multiple main windows when u want to display item level data of different kinds.

For example if you want to display the line items for a particular sales order in one window and say, material details in another window. You can display all the line items in one main window and material details in another main window. Since both are internal tables and dynamic you will have to use 2 main windows in this case.

How many ever main windows you create, they all refer to the same main window. You can use different text elements and 'WRITE FORMS' to change the content displayed in the main windows.

Thanks,

Rashmi.

Message was edited by: Rashmi Joshi

Read only

Former Member
0 Likes
992

Hi ,

More then one instance of the main window is generally used for layout similar to News paper printing. Similar to a small vertical areas as we have in news paper printing.

I have come across many such layouts especially in KANBAN implementations where the data is printed as a newspaper.

Cheers

VJ

Read only

Former Member
0 Likes
992

Hi Rahul,

I'm not getting your question.

Actually main window is only one. You can assign this same main window to several pages if you want to print contijuous text.

Regs,

Venkat Ramanan

Read only

Former Member
0 Likes
992

HI

GOOD

ITS ALL DEPENDS UPON ON YOUR REQUIREMENTS WHICH MAY NEED MORE THAN ONE MAIN WINDOW THERE IS NO SPECIFIC KIND OF THING WHERE WE NEED MORE THAN ONE MAIN WINDOW.BASICALLY WE CAN CREATE 0 TO 98 MAIN WINDOWS IN SAP SCRIPT.

SO IT ALL DEPENDS UPON YOUR KIND OF REQUIREMENTS.

THANKS

MRUTYUN

Read only

Former Member
0 Likes
992

Hi,

Refer this thread:

Regards,

Gayathri

Read only

Former Member
0 Likes
992

hi,

In SAP SCript only one main window is possible

Read only

Former Member
0 Likes
992

Hi Rahul

There can not be more than one main window in a form as text in the main window can exceed/comtinue on several pages, the same window can continue over several pages.

but if you want to display same main window with same contents you can display it up to 99 times on the same page. For eg, if you want to display lables, you can use this. The lines from SAP Help are

"You can create each window only once on each page, except the main window, which may appear up to 99 times on each page (for example, for printing labels)"

Thanks