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: 

how to center a logo in a sapscript

Former Member
0 Kudos

hi,

The code below let me display a company logo in a sapscript, the logo is displayed but out of the page.

i already reduce the size of the box that displays the logo and locate it in the center of the page, and despite of this it is always displayed out of the page.

What can i do to get te logo centered in the sapscript.

The code.

DEFINE &LOGO& =: ' '

DEFINE &WERKS& = &TCJ_C_JOURNALS-COMP_CODE&

PERFORM CHANGE_LOGO_NAME IN PROGRAM ZZ_MEDRUCK

USING &WERKS&

CHANGING &LOGO&

ENDPERFORM

INCLUDE &LOGO& OBJECT TEXT ID ST LANGUAGE 'ES'

1 ACCEPTED SOLUTION

Former Member
0 Kudos

SAPSCRIPT es muy puñetero.

Para centrar el logo tienes que jugar con las ventanas y con el tamaño de la imagen . Necesitas cambiar la resolucion del logo subiendo y bajandola hasta que des con la solucion. Quizas necesites volver a subir la imagen al sistema alguna otra vez y retocarla

1 REPLY 1

Former Member
0 Kudos

SAPSCRIPT es muy puñetero.

Para centrar el logo tienes que jugar con las ventanas y con el tamaño de la imagen . Necesitas cambiar la resolucion del logo subiendo y bajandola hasta que des con la solucion. Quizas necesites volver a subir la imagen al sistema alguna otra vez y retocarla