cancel
Showing results for 
Search instead for 
Did you mean: 

displaying different logos based on different stores

Former Member
0 Kudos

Hi,

i have to display different logos based on the different stores. Could any1 let me know as the best way of storing the images and retreiving them for display.

I might be wrong, but is it ok to create a custom table to store the images? and then retrieve those images based on the store number

Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

You could include the id of the store in the name of the logo. For example you have stores 001, 002 and 003, create logos ZLOGO_001, ZLOGO_002 and ZLOGO_003. Upload them using transaction SE78.

Create a piece of ABAP code to concatenate contstant ZLOGO_ and the store ID into a variable, then use this variable in your form to display the logo.

With this if you add new store you just have to upload the logo and not change the form.

Regards,

Nick

Former Member
0 Kudos

Hi Ahmed,

You can use simple IF....ELSEIF....ENDIF statements to display logos for different stores.

/: IF &V_STORE& = 'STORE1'.

/: INCLUDE 'LOGO-1' OBJECT TEXT ID ST

/:ELSEIF &V_STORE& = 'STORE2'.

/: INCLUDE 'LOGO-2' OBJECT TEXT ID ST

/: ELSE

/: INCLUDE 'LOGO-3' OBJECT TEXT ID ST

/: ENDIF

Thanks,

Vinay

paruchuri_nagesh
Active Contributor
0 Kudos

hi

create ztable as zlogo with required field

build select statement according to requirement

reward if u find useful

regards

Nagesh.Paruchuri

Former Member
0 Kudos

i would like to know as to what the field in which the image is going to be stored should be created as.... and how do we feed those fields with the image

paruchuri_nagesh
Active Contributor
0 Kudos

hi

create table with these following fields

zlogo-land1-land1_gp

zlogo-logoname with out dataelememt

insert records into that table like this

in -ides_logo

us-ides_logo

ge-mysap

after that write select statement according to ur requirement

reward if u find useful

regards

Nagesh.Paruchuri

Former Member
0 Kudos

Hello! Paruchuri

I used true / false alternative for displaying certified logos of sales organization.

I am upto the mark , but need some clarification to display this code in condition

but I am unable to display the logo02 is it is not equal to OMAN.

Where can I write the code so that 2 logos should display as per the code below

IF IS_DLV_DELNOTE-HD_ORG-SALESORG = 'OMAN'

LOGO1

ESLEIF IS_DLV_DELNOTE-HD_ORG-SALESORG # 'OMAN'

LOGO02

ENDIF.