on 07-05-2007 5:53 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.