‎2006 Oct 05 3:06 PM
hi all.
can anyone pls tell me how to create dynamic logo in smartforms
‎2006 Oct 05 3:16 PM
Hi
What does "Dynamic Logo" mean for you?
All LOGOs you need to use have to loaded in SAP, so u can only use a variable where you store the name of the logo to be printed at run time.
So when u define the GRAPHIC node:
Name &V_LOGO&
Object GRAPHICS
ID BMAP
Max
‎2006 Oct 05 3:20 PM
Hi,
Instead of calling the Logo Dynamically, why don't you call the logo based on some conditions, so that the logo will displayd if that satisfies the condition..
Regards
Sudheer
‎2006 Oct 05 3:22 PM
‎2006 Oct 05 3:22 PM
I HAVE 2 LOGOS. DEPENDING UPON THE COMPANY NAME OR COMPANY CODE THE LOGOS SHOULD CHANGE IN THE SMART FORMS.
FOR INSTANCE COMPANY A: ABC LOGO.
COMPANY B : XYZ LOGO.
HOW DO U DO THAT IN SMART FORMS.
I KNOW HOW TO UPLOAD LOGOS IN SMARTFORMS.
URGENT HELP
‎2006 Oct 05 3:38 PM
Hi Hari,
Create two logos in Smartform in single window. There we can find out conditions, there you give Bukrs = company1 & 2 conditions related to company logos. if you have still doubts please give me mail ID i'll send u with screen shots.
If helpful please award points.
Thanks
Rani.
‎2006 Oct 05 4:07 PM
Hi
Just as I said before you can create a GRAPHIC node where the name of the node is a variable:
Name &V_LOGO&
Object GRAPHICS
ID BMAP
So before of GRAPHIC node you have to insert an ABAP node where u insert the name of the LOGO in according the company code:
CASE BUKRS = ....
WHEN '....'. V_LOGO = .....
WHEN '....'.
ENDCASE.
You can insert two GRAPHIC nodes for the two logo of the two company and insert a condition for the company code in the nodes.
Max
‎2006 Oct 05 4:49 PM
Hi
Send to you (to both mail addresses) the screens shot
Don't forget to close this post and assing the points to helpfull answers.
Max
‎2023 May 25 5:53 AM
Hi,
You can create a dynamic logo in smart form by using two ways:
1. Using the "Condition" tab in smart form.
2. Writing code in the Program using variables.
The first one is good when you use limited logos. Otherwise, I prefer to go for the second one. by using this you can control 'n' number of logos in your Smart form. Check the below blog for setting dynamic logos in your smart form by using variables.
Blog: Dynamic logo in smart form using variables
Regards,
Jeevitha