2013 Dec 23 9:51 AM
Hello.
I have following problem in SapScripts.
During the printing user form some pages are not fully filled in.
There are some pages which have only several lines.
There are also some pages which are filled in completely.
In the SapScript form I have many statements IF ... ELSE ... ENDIF.
Probably this is the problem. How to controll current line in SapScript.
Is it possible decrease or increase current line in SapScript?
Is there any system variable which control current line in SapScript?
How to solve this problem? I would like to fill in completely every page.
I do not use PROTECT /ENDPROTECT statements in SapScript.
Regards
Bogdan Bieganski
Hello.
I have following problem in SapScripts.
During the printing user form some pages are not fully filled in.
There are some pages which have only several lines.
There are also some pages which are filled in completely.
In the SapScript form I have many statements IF ... ELSE ... ENDIF.
Probably this is the problem. How to controll current line in SapScript.
Is it possible decrease or increase current line in SapScript?
Is there any system variable which control current line in SapScript?
How to solve this problem? I would like to fill in completely every page.
I do not use PROTECT /ENDPROTECT statements in SapScript.
Regards
Bogdan Bieganski
2013 Dec 23 9:54 AM
Hi
Can you please rephrase your problem may be with screen shots it will help in better understanding your issue. Seconldy you can control whant to print and what not to using driver program as well as sap script code.
Nabheet
2013 Dec 23 12:13 PM
Hi.
During the printing a report based on the SapScript form I have plenty of free lines. Sometime I have almoust entire blank page - only 2 or 3 lines on a page and after that the next page.
In the SapScript it is used SapScript command IF...ENDIF many times.
I suppose that if this statement is FALSE - it increase line counter but not print the line.
So I am looking for variable which control this line counter (if exist).
Or maybe there is another reason.
Regards
Bogdan
2013 Dec 23 12:15 PM
Hi Bogdan
I believe the reason is something else. I will suggest you to activate the debugger via SE71 and check what is actually happening in your script. It may have blank lines insides
Nabheet
2013 Dec 23 2:57 PM
Hi
You are right. The problem was in stearing program.
It was using FM CONTROL_FORM in not a proper way.
To many PROTECT calls and not enough ENDPROTECT calls.
Thanks for help.
Regards
Bogdan
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |