on 01-24-2009 8:04 AM
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...
Create different logos, assign conditions to each logo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create 5 Graphical Pictures for five different company logos. In their Conditions Tab specify the appropriate condition for each logo.
Regards,
Joan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
create 5 different graphic nodes inside ur window and then in the conditions tab give ur condition
кu03B1ятu03B9к
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.