cancel
Showing results for 
Search instead for 
Did you mean: 

Company-based Logo on SMARTFORMS/Sapscript

Former Member
0 Kudos

Dear SAP Experts,

Is there a way to assign a logo dynamically depending on the company where the document was created?

Please advise and thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

Yes dynamic logos can be displayed based on the company code.

The better solution will be maintain a Z table which will contain all the fiels you need to do the validation and also the logo name.

Eg table

table z_logo.

fields

company code

logo name

and now maintain the logo in the sap system, so now write an select query with where clause company code and get the logo name.

Now pass the logo name as &ZXYZ& in the graphic window.

please note that &ZXYZ& is the value that had been retrieved from Z-table that you had created, and field is logo name.

Former Member
0 Kudos

Hi,

Let me address this in the context of smartforms, but the concept can be applied to SAPscript as well.

The graphic node can accept a variable for the graphic name. Before the graphic node use an ABAP node to combine the company code (or whatever field identifies the logo needed) and combine this with a text.

For example, graphics are called 1000_logo, 2000_logo etc, where the number is the company code.

Then you just need to create the required graphics with the correct name.

Regards,

Nick