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

Dynamic Box in script

Former Member
0 Likes
354

Hi,

I have a script which currently prints a number of item details.

Users want to change the layout so that the result is given in tabular format,i.e, the item details need to be displayed in rows and column format. As the number of items can vary, could you please help me with the logic of displaying this using script?

Thanks in advance,

Neethu

1 REPLY 1
Read only

Former Member
0 Likes
326

Hi,

Creating dynamic boxes in script is possible but formatting and getting proper allignment is very tedious job. I had similar requirement for creating dynamic boxes in SAP Script, but getting right allignment of those boxes was not possible and hence I switched to smartform. So I would advise you the same to use smartform for such type of requirement. In smartforms it becomes very easy.

Still try the following syntax:

/:POSITION XORIGIN '5' CM YORIGIN '5'CM

/:SIZE HEIGHT '0' CM WIDTH '0' CM

/:BOX FRAME 10 TW INTENSITY 10

Hope this helps.

Reragds,

Abhijeet