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

Box in SAP Script

Former Member
0 Likes
724

Hi ,

I am working on MEDRUCK (Sap Script) for PO ,

I want the item details to be in a box , to get it done i have added the command <b>BOX FRAME 10 TW</b> in the event <b>ITEM_HEADER_F</b>.

But what is happening is that the box is displayed only on the first page and no where else , and the box also encloses the terms and payment terms, which is not what i actually require , i just want the item details to be in box.

Please suggest what is to be done.

Thanks

Arun

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
672

I would suggest creating a separated window, make it as big as you want, then put the BOX statement in that window. It will then appear on every page.

Regards,

Rich Heilman

5 REPLIES 5
Read only

Former Member
0 Likes
672

Hi,

U can set the X origin and Y origin of box using POSITION command...

Sreedhar

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
673

I would suggest creating a separated window, make it as big as you want, then put the BOX statement in that window. It will then appear on every page.

Regards,

Rich Heilman

Read only

0 Likes
672

create a seperate window place it where u need and use position command to place the box where u want to be in layout.

hope it works fine.

Read only

Former Member
0 Likes
672

Hi,

Add next page also to your layout.

Regards

Amole

Read only

Former Member
0 Likes
672

Hi Arun,

From my understanding, u need to display only the item header deatils on every page. This is my assumption.

First create a variable window say window1 with one text element as HEADER,

/E HEADER

/: POSITION XORIGIN '-.2' CM YORIGIN '-.2' CM

/: SIZE WIDTH '.2' CM HEIGHT '.2' CM

/: BOX FRAME 10 TW

P1 ITEM_No ITEM_Desc

/: &itab-num& &itab-desc&

Write ur variables here and adjust it properly, Use the same window on next page also and use the same text element HEADER in "OPEN_FORM" on next page also.

And if u say simply,

BOX FRAME 10 TW

It will draw box which fits whole window and it covers all the data whatever u write after box command.

If found helpful, please do reward.