Application Development 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: 

Sapscript: logo

Former Member
0 Kudos

hi,

In two different sapscript forms we try to print a logo in the header window.

The content in both sapscripts looks like this:

include &T001G-TXTKO& OBJECT TEXT ID ADRS LANGUAGE &T001-SPRAS&

When doing a print preview ( SE71 --> Utilities --> Printing Test --> Print preview ), the logo appears, but when running the applications that trigger the output of the form, only on one of the sapscript the logo appears, instead of on both...

Any idea what could be the reason for this ?

Thank you,

Rolf

9 REPLIES 9

Former Member
0 Kudos

Usually, to print the logo, we use following statment:

For .e.g:

INCLUDE Z_LOGO OBJECT TEXT ID ZZZZ

So make sure u have similar statement. Otherwise, i am not sure.

Thanks,

SKJ

Former Member
0 Kudos

Hi ,

Check the window size and the printed document size and adjust accordingly.

Regards,

Vind.

Former Member
0 Kudos

Hi,

Resize the window dimentions according to logo size.

Regards,

Bhaskar

0 Kudos

thanks for all the replies.

None of the proposed solutions worked ( hardcoding the logo name and resizing the window) . In print preview everything works fine, but in the spool the logo doesn't show up.

regards,

Rolf

0 Kudos

Hi,

Do both the logo's have the same file extension ? If not try to use the same file format logo's.

Sometimes printers do not support all file types.

Regards.

Former Member
0 Kudos

hi Rolf,

try to take its print once .......n see if both r printing

ravi

Former Member
0 Kudos

Hi Rolf,

Just do one thing, Just try to debugg the form and check whether the values are T001G-TXTKO and T001-SPRAS are filling or not... if so it will surely trigger. if not then check with the resolutions and window sizes...

because this values will fill dyanmically... just check in the debugging, if the values or not filling check with the driver program...

hope this will solve ur problem...

Former Member
0 Kudos

Sorry, didn't find it. Thanks for all suggestions...

0 Kudos

so when you create the text for the logo in S010 with the name Z_LOGO

and you put in you're form

/: INCLUDE Z_LOGO OBJECT TEXT ID ST

it doesn't work ??