Skip to Content
avatar image
Former Member

Multiple Logos in the Smart forms

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...

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Jan 24, 2009 at 08:23 AM

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

    кu03B1ятu03B9к

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 24, 2009 at 08:54 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 24, 2009 at 09:48 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 25, 2009 at 12:38 PM

    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....

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 27, 2009 at 11:01 AM

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

    Regards,

    Joan

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 27, 2009 at 01:31 PM

    Create different logos, assign conditions to each logo.

    Add comment
    10|10000 characters needed characters exceeded