cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Logos in Smart forms

Former Member
0 Kudos

We have a business case to choose different logos based on a condition. This invloves significatn effort from Change mangement point of view.

Is there any solution by which I don't need to change any thing in smart forms but able to derive the graphic dynamically.

any help in this regard is appreciated.

regards,

Sadam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

I don't believe you can do it without to change the smartform.

U should use a variable where you save the logo name or create a logic node where decide which logo has to be printed, but u need to manage it in the sf and so u should modify it.

Max

Answers (5)

Answers (5)

Jeevitha
Participant
0 Kudos

Hi.

You are trying to create multiple logos in your smart form. My suggestions are:

1. If you are familiar with Smart form then go for the "Condition" tab.

2. Otherwise, I advise you to write code in your report program.

Blog: Create a dynamic logo in smart form.

Former Member
0 Kudos

Hi Harpit,

I did as follow in my requirement... i have to print logo based the company code.. for this

i have created 1 graphic window, then given the name as<b> &V_LOGO& then press the Button right arrow (looks like ">").</b> so that system will understand the name will comes form vareiable V_LOGO(is type char20. rest is same.

but some how we need to pass the logo name for this i have written code in GOBALDIFINATION-->INITIALIZATION tab...

if xxx-BUKRS = 1008.
 V_LOGO = 'xxxxxxxx'.
elseif xxx-BUKRS = 1011.
 V_LOGO = 'yyyyyy'.
elseif xxx-BUKRS = 1152.
 V_LOGO = 'zzzzzzzz'.
endif.

Please Close this thread.. when u r problem is solved

<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>

Regards

Naresh Reddy K

Edited by: Alvaro Tejada Galindo on Oct 1, 2008 3:25 PM

Former Member
0 Kudos

Hi Harprit,

We can able print logo based on condition. For this we to we Program lines . In this , write condition

Ex:

var1 = '1' logo---A

var2 = '2' logo ---B

In program line u write condition and take var3 and pass it graphical node 'Conditions' tab and compare value. Its work.

<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>

Regards,

Vishvesh. K

Edited by: Alvaro Tejada Galindo on Oct 1, 2008 3:24 PM

Former Member
0 Kudos

Hi,

You create required number of logos individually.

Create Program lines add code like below logic.

If Company code = 1.

Logo 1.

elseif comp code = 2.

Logo2.

elseif......etc.

Endif.

Then in logo Conditions tab add conditions.

Definately u'll get logos dynamically.

Thanks.

<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>

Edited by: Alvaro Tejada Galindo on Oct 1, 2008 3:23 PM

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please check this reply from other thread.

In case of smartforms, you can use the condition tab in graphic node for selective display.

For example:

If you want to display a logo in header window, Create 3(for 3 company codes) graphic nodes under it. and in each node's conkdition tab specify the condition.

For first Graphic Node:

Field Name - ITAB-BUKRS

Comparison Value - '001'.

For second Graphic Node:

Field Name - ITAB-BUKRS

Comparison Value - '002'.

For third Graphic Node:

Field Name - ITAB-BUKRS

Comparison Value - '003'.

Regards,

Ferry Lianto