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

Sapscript problem for payment notice

Former Member
0 Likes
831

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.

5 REPLIES 5
Read only

Former Member
0 Likes
712

Hi,

Switch on the script debugger and check the values returned from the script, this might give you some idea about the error,

Rgds,

Read only

0 Likes
712

Hi,

Where is the script debugger?

On which stage do I have to switch it on for debugging?

Thanks.

Read only

0 Likes
712

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

Read only

0 Likes
712

OK, Thanks.

I just wonder what problems are there.

As the printing program is delivered by standard SAP.

Has anyone faced this problem before?

Read only

0 Likes
712

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