Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

smartforms dynamic logo

Former Member
0 Likes
2,833

hi all.

can anyone pls tell me how to create dynamic logo in smartforms

8 REPLIES 8
Read only

Former Member
0 Likes
1,829

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

Read only

Former Member
0 Likes
1,829

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

Read only

Former Member
0 Likes
1,829

hi hari,

chk this thread if it can help you

Read only

Former Member
0 Likes
1,829

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

Read only

0 Likes
1,829

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.

Read only

0 Likes
1,829

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

Read only

Former Member
0 Likes
1,829

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

Read only

Jeevitha
Participant
0 Likes
1,829

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