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 top - endtop

Former Member
0 Likes
1,584

Hi all,

I am working on a script.I have two pages designed.The windows on first page are header,footer,main and logo.The windows on page 2 are main and footer. This is the code in the editor of main window for top an endtop.

/: TOP

/: POSITION XORIGIN '0' CM YORIGIN '0' CM WINDOW MAIN

/: BOX FRAME 10 TW

/: BOX XPOS '0' CM YPOS '1' CM HEIGHT '0' CM FRAME 10 TW

p1 Carrid Connid Fldate

/: ENDTOP

I expect a box for the whole window . In the box I have list headings Carrid,Connid,Fldate.And then an underline (box) .I want the same in every subsequent page. but it is not displayed. Can anyone please explain me what is wrong in the code.I want the top-endtop to be triggered for every page.

Regards,

Varun

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,191

Hi

You should insert the definition of a box in a window it overwrite to the main, not in main.

Max

Hi all,

I am working on a script.I have two pages designed.The windows on first page are header,footer,main and logo.The windows on page 2 are main and footer. This is the code in the editor of main window for top an endtop.

/: TOP

/: POSITION XORIGIN '0' CM YORIGIN '0' CM WINDOW MAIN

/: BOX FRAME 10 TW

/: BOX XPOS '0' CM YPOS '1' CM HEIGHT '0' CM FRAME 10 TW

p1 Carrid Connid Fldate

/: ENDTOP

I expect a box for the whole window . In the box I have list headings Carrid,Connid,Fldate.And then an underline (box) .I want the same in every subsequent page. but it is not displayed. Can anyone please explain me what is wrong in the code.I want the top-endtop to be triggered for every page.

Regards,

Varun

5 REPLIES 5
Read only

Former Member
0 Likes
1,191

Hi

Box will not work in between top and end top.

remove it.

and place out side the top and endtop.

<b>/: BOX FRAME 10 TW</b>

/: TOP

/: POSITION XORIGIN '0' CM YORIGIN '0' CM WINDOW MAIN

/: BOX XPOS '0' CM YPOS '1' CM HEIGHT '0' CM FRAME 10 TW

p1 Carrid Connid Fldate

/: ENDTOP

regards

vijay

Read only

0 Likes
1,191

HI,

Now I have more than one pages. If I say box outside top it will not be triggered for subsequent pages. because nontext elements of main will be effective only for the first page.If I want box for the subsequent pages how should I do ? PLease explain me.

Regards,

Varun

Read only

Former Member
0 Likes
1,192

Hi

You should insert the definition of a box in a window it overwrite to the main, not in main.

Max

Read only

0 Likes
1,191

Hi Max,

I did not understand your answer can you explain me in detail please.

Regards,

Varun

Read only

0 Likes
1,191

Hi Varun,

Create another small window just for header for you Carrid Connid Fldate & place it just above the main window,so that the header will fire for all the pages.

😕 BOX FRAME 10 TW

p1 Carrid Connid Fldate

Then create you main window & write

😕 BOX FRAME 10 TW

Message was edited by: Phani Kiran Nudurupati

Message was edited by: Phani Kiran Nudurupati