cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Script doubt

Former Member
0 Kudos

Hi,

I am modifying the standard sapscript MEDRUCK. There are details in the main tab regarding thepayment terms. My requirement is to print this at the end of the main window. Even though i place the block of code at the end of the main window, it is getting printed at first. What should i do...

Accepted Solutions (1)

Accepted Solutions (1)

JozsefSzikszai
Active Contributor
0 Kudos

hi,

the problem will be in the print program. Check the payment term to which element does belong to, I guess that element is printed "early". Either search for the element, which is printed last in the MAIN window and place the payment term there, or create a new element and print at the end (if you go this way, you'll need to change the print program as well)

hope this helps

ec

Former Member
0 Kudos

Hi ,.. i tried the folowing options.....

1. Created a new element ,.. it did not work,.. still it comes on top of the main window,,,

2. created a new window , but nothing is getting displayed in the window

former_member585060
Active Contributor
0 Kudos

Hi,

Try to Put your code in BOTTOM and ENDBOTTOM, as this will trigger at the end of every Main window, just like END-OF-PAGE in Reports.

/: BOTTOM

P1 <details of Payment terms>

/: ENDBOTTOM

Hope this will work for you,

Regards

Bala Krishna

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

In the MAIN window there should be a LAST element. Put your text in there and it should be at the end.