cancel
Showing results for 
Search instead for 
Did you mean: 

regarding the logo printing depending on the company

Former Member
0 Kudos

hi friends ,the actual requirement is the company codes has two companies .

the logo is distinguished by the branch(plant level).so depending on the plant the

logo should be displayed.can any body help me to acheive this.

Accepted Solutions (0)

Answers (4)

Answers (4)

jaideeps
Advisor
Advisor
0 Kudos

hi,

first you should import your company logos to the sap...by using RSTXLDMC procedur..

you can add a condition like..

if plant-val1 = 'abc'.

include (logo function);

endif.

if plant-val2 = bcd'.

include (logo function);

endif.

thanks

jaideep

former_member196280
Active Contributor
0 Kudos

It is easy to acheive.

For example,

/: IF CC = 'IN11'.

LOGO 1.

/: ENDIF.

/: IF CC = 'IN12'.

LOGO2

/: ENDIF

Reward points to all useful answers.

Regards,

SaiRam

Former Member
0 Kudos

Hi

See that the value of that Plant is available in the LOGO WINDOW

and keep the condition

/: IF &ITAB-WERKS& = '1000'

/: INCLUDE....TEXT

/: ELSEIF &ITAB-WERKS& = '2000'

/: INCLUDE....

/:ENDIF

To create a logo in SAP printouts just do the following

1. Save a Logo using Imaging, Paint shop Pro or Corel Draw as Tiff file.

2. Run program RSTXLDMC and enter the following parameters

Enter file name C:\COMPLOGO.TIF

UOM CM

Line width for text 132

Text name ZHEX-MACRO-COMPLOGO

Text ID ST

Text language = E

Number of Tiff gray levels (2,4,9) 2

3. Then Create a new window 'COMP' with attributes;

Window COMP description Company Logo

Left margin 7.00 CH window width 10.00 CH

Upper margin LN window height 8.00 LN

Finally in the text element, mention

/: INCLUDE 'ZHEX-MACRO-COMPLOGO' OBJECT TEXT ID ST LANGUAGE 'E'.

Please note that if object name is not indicated as 'ZHEX...’ the logo may not be printed!

You will not be able to see the logo in a test print. The same will be printed in actual printout.

Reward points for useful Answers

Regards

Anji

Former Member
0 Kudos

Hi,

You can use IF statement to upload correct Logo as per branch.

Eg:

IF ws_branch eq 'XX'.

INCLUDE LOGO1..........

ELSEIF ws_branch eq 'YY'.

INCLUDE LOGO1..........

endif.

Reward points if this helps.