cancel
Showing results for 
Search instead for 
Did you mean: 

picking the wrong logo

Former Member
0 Kudos

hi guys

i got a requirement like the logo has to be changed based on company code and loaded the logos into se78, and in the script i coded like this

IF &T001-BUKRS& = '0609'

BITMAP 'ZKC_INIDA-LOGO609' OBJECT GRAPHICS ID BMAP TYPE BMON

ELSEIF &T001-BUKRS& = '0610'

BITMAP 'ZKC_INDIA-610LOGO' OBJECT GRAPHICS ID BMAP TYPE BMON

ENDIF

its activated but when i am testing it its picking a wrong logo.

i checked it by going into the debugging and still i couldnt figure out where the prob is.

i need some advice from u guys......plz

sumanth

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

I have tried the same based on this logic.

create a table and import all the logos to the table.

Based on the company code, write a select query to fetch the value from the table.

u can pass this value to the smartforms.

this works..

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Try this way go by /n (fresh execution).

See if the logos are displaying correctly. If not, check the values of BUKRS.

BTW, if its only IF...ELSE...why dont you go by ELSE instead of ELSEIF?

Regards,

Raj

dev_parbutteea
Active Contributor
0 Kudos

Hi,

check the value of field &T001-BUKRS& in debugging mode.

Also, check that you uploaded the right logo with the name

'ZKC_INIDA-LOGO609'

Regards,

Sooness.