Skip to Content

SAPscript - Dynamic Logo alignment

Hi guys,

I have a requirement to implement a SAPscript form where different logos can be displayed based on a number of factors. I have uploaded the logos I will be using as bitmaps to SE78 and so far I have a PERFORM in my SAPscript used to bring back the logo name from a custom table to populate the below statement.

BITMAP &LOGO& OBJECT GRAPHICS ID BMAP TYPE BCOL

The problem I have is that the logos are of different widths and sizes and I need the logo to be displayed in the upper right hand corner of the form. This means XPOS will not work and as far as I am aware there is no right align command I can use.

Do you guys know a way around this?

Thanks,

Thinh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Nov 07, 2014 at 02:12 PM

    Hi,

    create n windows how many are the logo (with different sizes) and condition these windows.

    let me know,

    AI

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      yes, this indicate that you need create more windows how many are the logos.

      if you not want to create many windows, you could create only one windows with size of the logo more big and condition the call of the logo.

      if .....

      BITMAP &LOGO1& OBJECT GRAPHICS ID BMAP TYPE BCOL

      elseif......

      BITMAP &LOGO2& OBJECT GRAPHICS ID BMAP TYPE BCOL

      elseif......

      BITMAP &LOGO3& OBJECT GRAPHICS ID BMAP TYPE BCOL

      endif.


      if other logos will be managed in the future, however, we must change the SAPscript.


      AI

  • author's profile photo Former Member
    Former Member
    Posted on Dec 09, 2014 at 01:27 PM

    Why you don't upload the logos in one size? Even if they have different shapes you can add some space to the logos so all have the same shape.

    If there will be more logos in the future you could use SO10 Text Elements, so its easier to update them.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.