cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Forms

Former Member
0 Kudos

Hi all.

please can anyone give me a script and a smartform In which Logoes are dynamically inserted based on company code done by u?

If company code is not there on what basis we will insert logoes dynamically compare to company code.

please help me.

Thanks & Regards.

Hari.

my mail id is : haric@hcl.in

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Normally, if we want to give a Enjoye logo , we will code like

/:  BITMAP 'ENJOY' OBJECT GRAPHICS ID BMAP TYPE BMON

If you want to use a Dynamic logo .....use the same code above but insted of giving the ENJOYE give a Dynamic variable

/: BITMAP &LOGO& OBJECT GRAPHICS ID BMAP TYPE BMON

before this one , you need to pass the Logo name based on the Company code, you can use a External perform for this to pass the logo name,

Hope you understnd my point

Regards

Sudheer

Former Member
0 Kudos

Hi

In the both cases you have to use a variable where you store the name of the logo in according to company code:

SAPSCRIPT:

BITMAP &V_LOGO& OBJECT GRAPHICS ID BMAP TYPE BCOL

SMARTFORM:

Create a GRAPHIC node and in general attribute insert:

Name &V_LOGO&

Object GRAPHICS

ID BMAP

Max