‎2005 Dec 13 9:33 AM
Hi all,
I'm creating a sapscripts for a payment notice using the form Z140_PAY_CONF_01 which is copied from standard one F140_PAY_CONF_01.
On the FIRST page of my sapscripts, (INFO window), I'd like to display the payment notice no. and date with &BKPF-BELNR& and &BKPF-BUDAT&. The values returned are wrong while the that returned on the Next page, INFO2 window are correct. The variables used are the same.
The only difference is that there are 2 text elements in the FIRST page INFO window, but I've commented out their details with /E 505 , /E 506 remained.
Could someone tell me what made the FIRST page values wrong?
Thanks.
‎2005 Dec 13 9:37 AM
Hi,
Switch on the script debugger and check the values returned from the script, this might give you some idea about the error,
Rgds,
‎2005 Dec 13 9:41 AM
Hi,
Where is the script debugger?
On which stage do I have to switch it on for debugging?
Thanks.
‎2005 Dec 13 9:47 AM
Hi,
Script:In SE71 give your form name and in Utilities-->Active debugger.
Then put a break point in your print prog where ever you want to stop it.
After that you need to go to your transaction like VF03/../..etc for Invoice you need to execute it by giving Output type.
Then your print prog and form will get debugg step by step.
Thanks.
If this helps u reward with points.
************
In Debugging you can can find what are the values are populationg into your i-table so that you can proceed accordingly.
If your issue is solved kindly reward points and close the thread.
****************
Message was edited by: Deepak333 k
Message was edited by: Deepak333 k
‎2005 Dec 13 9:53 AM
OK, Thanks.
I just wonder what problems are there.
As the printing program is delivered by standard SAP.
Has anyone faced this problem before?
‎2005 Dec 13 10:12 AM
HI MACO,
U can only trace out the problem as u have got the problem in hand!!
activate the debugger and check the value that is coming!!
looking at the value u'll def b able to trace out the root cause!!
did u make any change in the script??
it can be anything from data upload to wrong logic!!
so happy debuggin!!
plz reward points if it helped!!
Regards
Gunjan