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

New forms with smartforms/sapscript

Former Member
0 Likes
1,571

Hi,

I have the honourable job to recreate some sapscript forms. They are all in DINA4 and they have many dynamic boxes...

Now, everything should be new! All forms should be in A5 landscape and some other layout changes...

Up to now, the programs are quite big and hard to see through because of the box-size-calculations, different window callings and so on.

What should I do? Recreate the forms with smartforms? Then I only have to give some structures and tables to the form and loop the data in smartforms. I think, I have to change many things in the programs beside the data selection.

Or should I use sapscript and recreate the forms there? Then I have to change all window/element-calls in the program and also the box-size calculations. And of course, I have to change the fixed layout box and set it all to DINA5...

I need an advice!

The other thing I´m thinking about is, how to make dynamic windows/boxes in smartforms? I have to create some fixed ones on the top of the page and then one bigger one (main) with smaller ones inside. But the problem is, there can be up to 6 records in the table (for each record, I need some boxes), but the number of records is various!

How can I do that?

Can I set windows in something like a loop?

One more question is, can I print a barcode vertical?

Cheers and thank you!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,547

Ok, thank You! I´ll do it with Smartforms now. One main-window for all data and some smaller windows for the frames for each line.

Now I need to write a word in big letters and in a light gray behind all windows. I´ve put the window as the first one at the beginning of the page. The text of the main window is in front of the big letters, but all the lines are behind...

How can I show the letters behind all?

Cheers

Message was edited by: Arne Hein

12 REPLIES 12
Read only

FredericGirod
Active Contributor
0 Likes
1,547

Hi,

first thing : Good luck

second : In smartforms you can't create dynamic box, you can only set condition of display or not the box. You could set the box size with the TABLE management.

Rgd

Frédéric

Read only

Former Member
0 Likes
1,547

Hi Arne,

1. its better to go with smartforms.. just my suggestion.. hope its always less time consuming than the latter..

2. Boxes can never be dynamic in a smartForm ..

regards

satesh

Read only

Former Member
0 Likes
1,547

Hello,

If the main goal of your calculation with dynamic box is to make table with grid and nice box, I think you'd better go to smartforms. You can also use edition mask for editing a finished number of data.

But the main difficulty you'll have is to keep a readable document in half the size of paper ( if i understand well you're job is to shrink the size).

You can't put a windows into a loop. For vertical barcode, it is possible check standard text sapscript-barcodetest2

(heplfull advice are on OSS sorry i haven't got the number of the note ).

Sincerely

Christophe Blineau

Read only

0 Likes
1,547

Thank You all for Your answers! (I´ll give the points afterwards...)

Now, I´m thinking about using smartforms instead of sapscript. Then I have to use fixed windows but with different content.

For example:

I have a page with header windows. After that I need to write the content of an internal table line by line in the windows below the head. (If there are only 3 lines, I will draw the remaining windows anyway, but without any content)

If there are more lines, than fitting on the page, I need to show a second page. I thought to do that by using a main window with a table (The height of the main window should be as big as the total height of all the line-windows for the line content). Then I would loop over the table and draw some free lines to let the records fit into the next line-windows.

When the main window is full, it would continue on the next page.

Is that the right way?

In some cases, I need to call the next page manually. How can I do that in smartforms?

Thank You very much for Your help!

Read only

0 Likes
1,547

Hi,

have a look to this link :

Rgd

Frédéric

Read only

0 Likes
1,547

Thanks... But what is the command to switch to the next page in smartforms?

Read only

0 Likes
1,547

Hi Arne,

just give the next page in the general Attributes tab of the page NODE..

you can also use the NEW-PAGE Command.. but t o give a command ..you cannot just type it in the editor..

click on the pen like icon and then use goto->change editor and then use /: NEW-PAGE..

regards

satesh

Read only

Former Member
0 Likes
1,548

Ok, thank You! I´ll do it with Smartforms now. One main-window for all data and some smaller windows for the frames for each line.

Now I need to write a word in big letters and in a light gray behind all windows. I´ve put the window as the first one at the beginning of the page. The text of the main window is in front of the big letters, but all the lines are behind...

How can I show the letters behind all?

Cheers

Message was edited by: Arne Hein

Read only

0 Likes
1,547

Hi,

please, could you open a thread by question an not by personnal project

Rgd

Frédéric

Read only

0 Likes
1,547

Hi,

You know, I opened this thread, because I wanted to know, if it´s better to realize the new forms with smartforms or sapscript and how to do the frames with smartforms. I´ve got some answers...

But one more point was my question to the barcode and now for the big letters behind all windows. I´ve not thought, that I need a new thread for that question, sorry.

And remember, I gave the people here points for their answers... ;o)

Cheers

Read only

0 Likes
1,547

Yep I know, but it's more easy for somebody that search for the same problem to have a correct title ...

For your problem, I'm not sure how to manage the text order print. But you could set your text in a picture and print this picture in background.

Fred

Read only

0 Likes
1,547

Ok, thank You.

I´ll do that the next time.

Cheers