cancel
Showing results for 
Search instead for 
Did you mean: 

How to count lines of the "INFO" window in form RVORDER01?

Former Member
0 Kudos

hey everybody,

i want to print a box with dynamic length for the window "INFO" in the form RVORDER01.

can anybody help me with this question?

in some threads in this board i've found that i have to get a variable for the the number of lines. but this is my problem. i don't have an idea where to get the number of lines that are printed in the window "INFO" in the form RVORDER01.

would be great if anybody could help me!

TIA!

strobbel

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Nasty problem you have.

But it is possible with a lot of calculating.

Determine how many lines you will print.

Determine how much vertical space a line will use.

Now you can calculate the vertical length of your box.

Use this variable inyour box command.

So the greatest effort you have to do is inside your print programm.

success.

Gr., Frank

PS: There is a form. I mean the shopfloorpapers in which there is done a very lot withdynamic boxes.

Take a look at that.

Former Member
0 Kudos

Hi,

you may try using PENDING_LINES in WRITE_FORM Fm. This is set as 'X' in case the window size is less and text you tried to print is more...So May be you can try calling the FM in loop to Print your Dynamic Text.

Thanks

Raj