cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Logos in the Smart forms

Former Member
0 Kudos

Hi all

My Query is I have developed a Layout in Smartform ( Delivery Challan )

I have Inserted my company Logo..

There are 5 plants in the Layout...

I should get the Logo according to the Plant..

So Anyone Please give me the Answer ..

IF &EKPO-WERKS& EQ '1001'

BITMAP 'COMPANY_LOGO' OBJECT GRAPHICS ID BMAP TYPE BCOL

ELSEIF &EKPO-WERKS& EQ '3001'

BITMAP 'FMC_LOGO' OBJECT GRAPHICS ID BMAP TYPE BCOL

ELSEIF &EKPO-WERKS& EQ '2001'

BITMAP 'SMPL' OBJECT GRAPHICS ID BMAP TYPE BCOL

ELSEIF &EKPO-WERKS& EQ '7201'

BITMAP 'SS' OBJECT GRAPHICS ID BMAP TYPE BCOL

ENDIF

Please help me on the above code...

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member559067
Participant
0 Kudos

Create different logos, assign conditions to each logo.

Former Member
0 Kudos

Create 5 Graphical Pictures for five different company logos. In their Conditions Tab specify the appropriate condition for each logo.

Regards,

Joan

Former Member
0 Kudos

one more way is you have tpo create 5 text elements , and pass the different plants and different logos and put the condtion in text element --> condtions tab....

Former Member
0 Kudos

Hi,

Initially you will be creating a window either main window or secondary window. Create program lines to write your coding part inside that window. Give the below lines in that program lines:

IF &EKPO-WERKS& EQ '1001'

Flag1 = 'X'

ELSEIF &EKPO-WERKS& EQ '3001'

Flag2 = 'X'

ELSEIF &EKPO-WERKS& EQ '2001'

Flag3 = 'X'

ELSEIF &EKPO-WERKS& EQ '7201'

Flag4 = 'X'

ENDIF

After that create 4 Graphic nodes. In that you will find three tabs : General Attributes, Output Options and Conditions. Click on the condition tab and give the first condition (Flag1 = X). Likewise mention each condition in each Graphic node.For e.g if ekpo-werks = 1001, only flag1 will be set, hence only that corresponding logo will be displayed in the layout.

Former Member
0 Kudos

Hi,

Please try with this:

IF &EKPO-WERKS& EQ '1001'

Flag1 = 'X'

ELSEIF &EKPO-WERKS& EQ '3001'

Flag2 = 'X'

ELSEIF &EKPO-WERKS& EQ '2001'

Flag3 = 'X'

ELSEIF &EKPO-WERKS& EQ '7201'

Flag4 = 'X'

ENDIF

Now create 4 Graphics for four different company logos and in the conditions tab give the appropriate condition like for e.g Flag1 = X.

Note: After creating program lines, create Graphic nodes.

Former Member
0 Kudos

CAN YOU EXPLAIN ME IN DETAIL !!!

Former Member
0 Kudos

create 5 different graphic nodes inside ur window and then in the conditions tab give ur condition

кu03B1ятu03B9к