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

SAPScript: multiple Logos in same layout??

Former Member
0 Likes
606

Hi all,

I want to use multiple logo on same layout. I want to choose logo depending upon Company Code wise.But at one time one logo will get dispaly at layout.

How this can be possible as i am getting Graphic window non-editable. How can i put if condition for this statement.

BITMAP 'ZLOGO' OBJECT GRAPHICS ID BMAP TYPE BCOL.

Any ideas??

Thanks in Advance.

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
507

My colleague had to do the same thing last week. All he had to do was an IF statement in the sapscript.

IF companycode = '0010'
BITMAP 'ZLOGO' OBJECT GRAPHICS ID BMAP TYPE BCOL.
ELSEIF companycode = '0020'
BITMAP 'ZLOGO2' OBJECT GRAPHICS ID BMAP TYPE BCOL.
ENDIF

Regards,

Rich Heilman

Read only

0 Likes
507

Where should I put the following code? As Graphic Window Text Editor is non-editable.

Read only

0 Likes
507

Thanks,

It is working fine, I have created a New Window for logo and putting the code in the Text editor of logo window.