‎2007 Jun 13 9:43 PM
Hi all i am novice on this script thing. I have this script form which is called OperationControlTicket. any how the problem is when it prints even the first page got huge blank space it prints the signature thing on the 2nd. can anyone please help me where to look for. many many thanks in advance
Here is the code:
well can't copy the code either...
Message was edited by:
Anwarul Kabir
‎2007 Jun 13 9:47 PM
Look at Form Main window ,some of the text elements triggering with blank ,
Activate debugger and see the main window operation.
‎2007 Jun 13 9:54 PM
I think you shoude be delete the page window on first page.
Page window can be inserted on each page.
If you don't want to write page window on first page then you can delete
the page window on first page.
But you are carefule that is not delete it on second page.
Do you inserte the page window on first page and 2'nd page.
I wish that will be solved.
‎2007 Jun 13 10:05 PM
HI,
check once the declared variables in the script page.
Remove,if any blank line between variable declaration to another variable.
check are u passing the business data to varibale in proper manner or not.
remove if any &SKIP&, sytem variable exisisting in script editor.
ragards,
Ashokreddy.
‎2007 Jun 13 10:08 PM
I have checked for the all the things you guys mentioned here.. I couldn't find any. Unfortunately i don't know which program uses this script.
The way it uses is there r bunch of CLASS in there by using /E and then the program calls it.
I can't find the debugger option here can anyone tell me how to do debug in script?
‎2007 Jun 14 5:40 AM
Hi,
you can verify which print program is using your sapscript program by checking either table TNAPR or T001F. Else , you may verify this in transaction NACE provided that you know the output type.
Debugging: Goto SE71 , put your form name , gotot Utilities and click activate debugger. Then run your tests normally, it will trigger sapscript debugger automatically.
Reegards,
Sooness
‎2007 Jun 14 6:06 PM
thanks for the help I couldn't find the program from the tables you mentioned but i was able to debug it and found the following code when it execudes it calls a function for a new page...
/E External_work
And then when it returns to the script it starts with the title and then it puts that signeture thing there.
I tried to comment that line out but it stops the second page but i don't see my signute thing in the first page.
Any Idea how I can edit that function to do nothing or instead of doing a new oage call the line where i have the signutre thing...
My signutre line strats like this
/E END_OF_REPORT
T2
/ ................................._________________________ ______________
/................................... Customer Signature..................Date
/ <IB> End of report </>