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

SAP SCRIPT output Error

Former Member
0 Likes
1,003

Hi All,

I have created and executed sap script for Invoice printing. During that time in the Top left of my output it display some text like "%SAPWIN%".

I checked throughly but cant findout these line in my code.

Please assist me.

Please see the attachment for wrong input

Regards,

Florian.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
948

Are you using a Output device with SWIN as the device type? Check in Spool Administration.

Tools ® CCMS ® Spool ® Spool administration and then Full administration.

6 REPLIES 6
Read only

former_member209818
Active Contributor
0 Likes
948

Need some more details of the problem. As far as I remember, SAPWIN is related to some Windows Printer setting in SPAD. But that should not get printed in yout Script outptu

Read only

Former Member
0 Likes
948

Hi Florian,

There is no attachment Please Fix the attachment .

Just follow my steps ok

Which window this text ("%SAPWIN%".) is displaying,go to that window and for that one text element editor is there check that position which purpose that was used.

if  you have any q's let me know.

Regards,

Mahesh.

Read only

0 Likes
948

Please check this.

Actually There is no window in that position. I checked all windows and Text Elements.

Regards,

Florian

Read only

Former Member
0 Likes
949

Are you using a Output device with SWIN as the device type? Check in Spool Administration.

Tools ® CCMS ® Spool ® Spool administration and then Full administration.

Read only

0 Likes
948

This is Spool administration output devices

                                                                                                                            

Dev.                            K       Dev. type  Spool servers        Location or message

C3220                          G      CANC32                              Canon IRC3200

LOCL                           G      SWIN                                  Local Default Printer

LP01                            G      SAPWIN                             SAPWINJ

LQ1170                         G     EPESCP                             Epson LQ1170 ESC/P 2

LQ2170                         G     EPESCP                             Epson LQ2170

LQ2180                         G     EPESCP                             LQ2180

LX300+                         G     EPESCP                              Epson LX-300+

PSGRAPHICS               G     POSTGRAP

                                                                                                                               

Regards,

Florian

Read only

0 Likes
948

Go to Basic setting in SAP Script... and check default page format.