‎2006 Sep 26 7:13 AM
can any one tell me how i need to change the logos in sap script according to the logic, e.g. i have written a logic states that if this option is true display logo1 else display logo2, and how can i do it with 2 logos, if i uploaded the logo again its overlapping the previous one and how can i add two logos, and run according to the logic
‎2006 Sep 26 7:16 AM
EX--
already logo is priting using the statement
INCLUDE ZUS_BHI_LOGO_PO OBJECT TEXT ID ST
above this statement in kept like this BASED ON CONDITION IN SAME WINDOW..
IF &EKPO-WERKS& ='0982' OR &EKPO-WERKS& ='1027'
INCLUDE ZHCC_LOGO OBJECT TEXT ID ST LANGUAGE EN
else
INCLUDE ZUS_BHI_LOGO_PO OBJECT TEXT ID ST
endif.
‎2006 Sep 26 7:18 AM
Hello,
Changing logo can be done in Imaging option in window.
These are the steps to be followed for uploading graphics in R/3 system
1. First save the file as BMP
2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and
make it Zoom as 100% and save as *.TIFF
3. Open SE38 and execute program RSTXLDMC
4. Give your TIFF file path name
5. Select Bcol (for Color)
6. TEXT ID will be ZHEX-MACRO-*.
7. Inplace of * write your own logo name (ZCOMPANYLOGO)
8. Execute the program
9. Now Goto SE71 create your ZFORM
10. Create logo window
11. Goto text element of logo window
or
In 4.6x :-
1. Goto SE71 Change the mode to GRAPHICAL
2. Choose the Graph Tabstrips
3. Now type in some name for the LOGO WINDOW
4. Press the IMPORT BUTTON and then IMPORT the BMP file from your DESKTOP
5. The code will be written automatically. You just need to drag and drop wherever you want
the graphics to be.
Please note that in 4.6c onwards, you can also used Windows Bitmap file ( .BMP).
Please check and let me know if u face any problem.
Regards
‎2006 Sep 26 7:18 AM
Hi
you can do it in two ways.
1. use text elements .
/E : ELE_ONE
/:BITMAP LOGO_1 OBJECT GRAPHICS ID BMAP TYPE BCOL
/E : ELE_TWO
/:BITMAP LOGO_2 OBJECT GRAPHICS ID BMAP TYPE BCOL
2. or you can use if -else condition.
/: IF cond1 = 'X'
/:BITMAP LOGO_1 OBJECT GRAPHICS ID BMAP TYPE BCOL
/: ELSE
/:BITMAP LOGO_2 OBJECT GRAPHICS ID BMAP TYPE BCOL
/:ENDIF
Thanks and Regards,
Sumit.
‎2006 Sep 26 7:33 AM
i got the logic but how can i upload 2 logs , when i use rstxldmc to upload the first logo its ok, its fine but when i upload the next logo its overlapping the first one can u plz give me the suggestion to this
‎2006 Sep 26 7:35 AM
R U CHANGE THE TEXT NAME (LOGO NAME ) when u upload 2nd logo both have diffrent name.
‎2006 Sep 26 7:37 AM
‎2006 Sep 26 7:37 AM
yes both logos have different name but its over lapping first one when i upload 2nd tiff file
‎2006 Sep 26 7:46 AM
Hi,
U should give the different text name,
<u>Text Name for first logo</u>
ZHEX-MACRO-LOGO1
<u>Text Name for second logo</u>
ZHEX-MACRO-LOGO2
use if condition like
IF PLANT = ' '
INCLUDE ZHEX-MACRO-LOGO1 OBJECT TEXT ID ST.
ELSE.
INCLUDE ZHEX-MACRO-LOGO2 OBJECT TEXT ID ST.
ENDIF.
‎2006 Sep 26 7:51 AM