Regarding Logo in Script
Hi Abapers,
Now i am doing a sapscript.In that script i uploaded one logo.That logo is appeared in spool request but not coming in actuval(paper) print out.Can you please give me the proper solution for this one.I uploaded that logo in tiff file formate.
Thanks & Regards,
Bujji.
Hi,
Check the window size that image is fitted or not.
Check your include statement.
If not do it again.create GRAPHIC window and include logo again.
UP ur logo through SE78 into ur graphic window.
make sure that ur image must be saved in .bmp or .tiff
thats all.
Thanks.
If this helps u reward with points.
Similar Messages
-
hi,
I want to upload logo in script.
I tried to import from t.code:se78 but it's showing the error
'Graphic /BEV2/ED_SFRET_DEBI_P2_BMON already exists.Overwrite?'
if i say Yes giving the error: 'File C:\Documents and Settings\anitha\SapWorkD has an invalid format'.
and i unable to find ?
Can u suggest me on this.
Thank you,
Anu.
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Dec 23, 2008 11:41 AMCommand in your Sapscript
/: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E
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
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 (third button from left) 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.
/: INCLUDE Z_COMPANY_LOGO OBJECT GRAPHICS ID BMON LANGUAGE EN -
hi ,
i want to replace the existing logo with new one for my customised script please let me know the procedure.
i stored the the logo on desktop and changed it to tiff file format whe i executed the rstxldmc.i t is telling uploading the file
and also there is a message
Uploading TIFF Files to SAPscript Texts 1
Load File
C:\Documents and Settings\sivak\Desktop\FRC New Logo_3.TIF
The file contains 23,016 bytes
This is a TIFF file with INTEL byte order
First IFD offset: 22,830
Reading IFD from offset 22,830 Number of Tags 15
ImageWidth: 516
ImageLength: 248
BitsPerSample levels: 3
BitsPerSample - level 1: 8
BitsPerSample - level 2: 8
BitsPerSample - level 3: 8
Compression: 5
Photometric Interpretation: 2
Number of StripOffsets: 36
SamplesPerPixel: 3
RowsPerStrip: 7
Number of StripByteCounts: 36
XResolution: 96 / 1
YResolution: 96 / 1
ResolutionUnit: 2
TIFF format error: No baseline TIFF 6.0 file
please guideHi,
You can follow below procedure..
1. The logo should be of Bitmap Image.
2. Goto SE78-> Graphics-> Import.
Give filename as the location where your logo is present.
In save as:
Name - your desired name for the logo
Description - description of your logo
type- either Black& White or Color according to ur Requirement.
In print attributes
Check both Reserve high automatically and compression and press ENTER.
After that Transport this Bitmap image.
And in Form u can directly use the name of the Logo with which u have saved it.
Regards,
Vachana -
How to create and upload logo into script
hi guys,
can you help me how to create logo and upload the logo into sap script please...Hi
Welcome to SDN forum
SAP SCRIPT
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.
SMARTFORM
1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
4) Select any picture and set its Resolution in DPI
5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
6) Set any other parameters if required, save and activate.
7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
8) Use TCode SE78 to upload new pictures and logos.
look at Thread Dynamic Graph in smartforms
Refer the links also -
Re: Dinamic Graph in smartforms
How to get file perperties in Unix server
regards
Anji -
Hello All,
Now that I have found the form, (thanks for helping on that) - further.
I have to find why a wrong logo is being printed on the form.
Where are the logo files stored?
There is a Logo Window which has this code :
IF &T001-BUKRS& = 'BDC'
INCLUDE ZHEX-MACRO-BEEB-300-BMON OBJECT TEXT ID ST
ELSE
INCLUDE ZHEX-MACRO-300BMON OBJECT TEXT ID ST
ENDIFHi
For Scripts Logos can be on desktop or anywhere on your SAP system, we convert them to .tiff files.
for smartforms check the Transaction SE78 for
Graphics .
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
Message was edited by:
Anji Reddy Vangala -
Urgent Regarding the SAP Script
Hi all,
I am developing a SAP-Script in which there is table like
Description Resuts Parameters
uline
values values values
My doubt is using the driver program the values has to be printed. Can anybody provide the piece of code for these requirement.
Another doubt is in this script there 2 pages . But in the print preview i can see only 1 page . In the page setting i have given the next page as page2 . But still i m facing the same problem. In page there is no main page only footer, page no, and some std descptn window is available.
Depending on the 1 field i want to print the send field value i have change these things in the driver program so that the correct can be printed in the form.
With Regards,
Srinivas.hi,
How to Upload graphics (IMAGE) to your Sapscript?
Command in your Sapscript
/: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E
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 (third button from left) 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.
/: INCLUDE Z_COMPANY_LOGO OBJECT GRAPHICS ID BMON LANGUAGE EN
Message Edited By ,
Vani -
Problems printing logo in script
Hi all,
When displaying script-forms (e.g. dunning letters) in the system, the company logo is just fine. When printing, however, the logo is turned up-side down and inverted.
What can cause this to occur?
The system version is SAP ECC 6.0, and the SAPLPD version is 6.28 for Windows/NT.
All helpful answers will be rewarded!
Regards,
M.V.If the logo is displayed correctly during print pre-view then it is none other then the printer setting problem. Inform your basis team they will help to close the issue.
Regards,
Sairam -
Hi Everyone,
I want to print a logo in the alv grid display.
I have used the "reuse_alv_commentary_write" fm.
The logo is also displaying at the right top corner.
But I want to get it printed at the left top corner.
please give me a solution. this is urgent
With Thanks and Best Regards
V.RavishankarHi Ravi,
You can do that. Try like this,
Concatenate the Logo name with ASCII values of the Spaces following it(LOGO NAME) and put it in an Field which you are going to pass to that function Module <b>reuse_alv_commentary_write[\b]. ASCII Value for Space can be entered as ALT+255. place around five to 10 spaces and then try it must work i hope.
Thanks and Regards,
Prashanth -
Photoshop Logo Resizing Script
Im trying to build a script that is slightly complex. In short, the script will take logo images of any given dimensions and create eight different output files with a combination of horizontal/vertical dimensions and four different Layer Styles. Anyway, I don't have much experience with Photoshop scripting, and I've been looking through the official reference, but there are a few things I can't find.
How to resize either a layer or a selection with constrained proportions (ie, I only specify the height or width, and the object retains its original aspect ratio)
How to center a layer with a script. Without a script I would; select the whole document, Layers>Align Layers to Selection>Vertical Centers, Horizontal Centers.The ability to move a layer or a selection would work as another option, but, suprisingly, I couldnt find how to do that either.
How to apply Layer Styles with specific parameters, How to Remove Layer Styles
If anyone can help me with any of these, I would appreciate it! Thanks!I think all of what you want to do can be done in an action which would be much easier then writing a script.
However there are script that you can download that can help you learn to order layers and add layer styles in a scripts for example http://morris-photographics.com/photoshop/scripts/sort-layers.html. Have not seen any that transforms layers or selections you may want to install the ScriptListener plugin and do some transforms to see if you can come up with a function to do the transforms you want, You may need to enter both width and height you should have no problem constraining the transform to the origimal aspevt ratio for you can get canvas size and layer size in a script.
I think I may have done a major portion of what you want to do in an action. My crafting actions package contains a sample action that add three watermarks to any size document and sizes the watermarks for the document size. The three sample watermarks include a custom colored logo a custom shape and a custom text layer.
Package
http://www.mouseprints.net/old/dpr/JJMacksCraftingActions.zip
Contains:
Action Actions Palette Tips.txt
Action Creation Guidelines.txt
Action Dealing with Image Size.txt
Action Enhanced via Scripted Photoshop Functions.txt
CraftedActions.atn Sample Action set includes an example Watermarking action
Sample Actions.txt Photoshop CraftedActions set saved as a text file. This file has some additional comments I inserted describing how the actions work.
12 Scripts for actions -
Regarding translations in scripts
Hi All,
I am facing a problem while translating a script from EN lang to say FR lang in se76 T-code.
In the main window, there are many elements to be translated and each element will have its own texts to be translated. During translation, we get the english text in teh non editable mode and the text that is to be translated into other lang in editable mode.
All the elements are getting translated except one Element. I am not able to understnad why that particular element is not getting translated. The editable window for that particular element is not getting displayed even when i want to translate it.
Can anybody help me out reg this problem. I want to translate the text presen tin taht particular element whichis not happening.. Pl let m e know what the problem might be and the solution to this as this is v important...
Regards,
PriyaHey bharath,
Thanks for the reply. But, can uplz help me out in doing the translation using se63 in ECC6.0? I had tried it out but as i could not know how to proceed with, i started translating it using se76.
Can u plz let me know the same process using se63 in 6.0?
Regards,
Priya -
hi,
Iam uploading logo using RSTXLDMC prg and iam selecting BCOL option.
(for color)
when I execute and check ....the logo is in black and white.
why is it not appearing in colour??
regards
ArjunHi
i had not uploaded through RSTXLDMC but through se78 so many times
what ever it may be what you uploaded it should display
check the priview there itself after uploading in se78 this option there but
i don't know where the option is there in RSTXLDMC or not
then check in your form whether you assigned the same logo or not
check the size also if you increase the size it decreases the logo vice versa
i never face problem with colour check it once whether you properly uploaded & assigned
Regards,
Phani -
Hi all,
I want to insert my company logo in SAP SCRIPT.
Am newbie to SAPSCript .
I am facing prob's in the foll areas.
1)While running the pgm 'RSTXLDMC' and give the path of my TIF File ,the foll error is thrown...
"Load File
c:\dsf.tif
The file contains 22,380 bytes
This is not a TIFF file byte order <> 11 /MM
Only TIFF files can be uploaded for type BCOL"
I tried to chage the extension of my logo from tif to tiff,but that ext type is not supported in my system.
Wht is the problem
2) If uploaded successfully,Where this files will get stored .I mean in which table ?
3) Can we insert this in my std text i.e) SO10 trans
Valuable pts will be awarded.
Advance thanks,
JHi,
How to Upload graphics (IMAGE) to your Sapscript?
Command in your Sapscript
/: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E
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).
http://www.sap-img.com/ts001.htm
http://www.sap-img.com/sapscripts.htm
Refer the above links.
Hope this helps. -
Regarding Main Windowin scripts
Hi to all abap gurus
iam new to abap and my querry is as follows pls dont try to give the links . and i feel so happy if u give exact anwers ?
Querry1:
i have one page( named "page1" )in my script with three windows(logo,adress,main windows) my requirement is to display some dynamic data in the script that is list of orders of the customer whn u give the customer number in selction-screen .then we can go for main window only to dispaly dynamic data ? or is there any other option ? then what should we give as apage number in the next page attribute in the header information. suppose if i dont give "page1" in the next page attribute as anext page what will happen ? i mean that dynamic data will be displayed or not ?
Querry2:
one one more querry incase if we have two pages in my layout .in page1 (3 windows as said above ) and page2 ( only logo and address window ) and no main window in page2. now if we give "page2" as next page in the next page attribute of page1 then that dynamic data will be displayed or not ?
Thanks in Advance
Sunil
Moderator message: please get some basic training on SAPScript, also try things yourself before asking and use correct forum when posting.
Edited by: Thomas Zloch on Jul 13, 2010 2:39 PMHi,
/* (s1p&XDIM&,&YDIM&,&MODHEIGHT&,0s24670T
is a commented line.
/* signifies comment.
Kindly reward points by clicking the star on the left of reply,if it helps.
Check this link for more about Barcodes.
http://www.sap-img.com/abap/details-information-about-sap-barcodes.htm
Message was edited by: Jayanthi Jayaraman -
Hi All,
I need to diplay one field in script to barcode.I got some code regarding this through some internet site.May i know the meaning of this code.Specially for
(s1p&XDIM&,&YDIM&,&MODHEIGHT&,0s24670T
(s1p40v10,30b10,30s24670T
these two lines.what does this code do.
Actual Code is:
/: DEFINE &XDIM& = 2
/: DEFINE &YDIM& = 3
/: DEFINE &MODHEIGHT& = 3
<FS><32>
/: PRINT-CONTROL SESCP
/* (s1p&XDIM&,&YDIM&,&MODHEIGHT&,0s24670T
= (s1p40v10,30b10,30s24670T
&VBLKK-VBELN&
/: PRINT-CONTROL SBS01
HI Delivery Number:,,&VBLKK-VBELN&
Bye
BujjiHi,
/* (s1p&XDIM&,&YDIM&,&MODHEIGHT&,0s24670T
is a commented line.
/* signifies comment.
Kindly reward points by clicking the star on the left of reply,if it helps.
Check this link for more about Barcodes.
http://www.sap-img.com/abap/details-information-about-sap-barcodes.htm
Message was edited by: Jayanthi Jayaraman -
Detatching logo from script.
Presently one logo is associated with SAP script, in the header window. I dont want that logo to be printed. Please let me know any methods.
just go to that header window ... goto the editor ... go for F4 for the comment symbol ( it is just /) .... give / in the command field .. thats it ... ur logo wont come ...
reward points if it is useful
Thanks,
Manjunath MS
Maybe you are looking for
-
Illustrator slowing down after creating a pattern swatch
I am creating pattern swatches in Illustrator and every time I do my computer slows down to the speed of tar in winter. Anyone have a solution? Anyone else had this problem before? Please help me!!! Muffin )
-
I press the power button but no respond. Please help
-
How to escape apostrophe in Oracle PL/SQL dynamic queries
I have an script that receives an string as a parameter, for example: @C:/myScript.sql "AXEL"; @C:/myScript.sql "AXEL DAVID"; @C:/myScript.sql "o'neal"; my scripts basically constructs a Parameterized query an execute it. That's all. It works most of
-
Cannot extract user statuses for Opportunity items
Hi, Standard SAP Extractor does not extract User statuses for the Opportunity Items, Data Source name 0CRM_OPPT_I for 0CRM_C04 icube. According the OSS note We have to prepare our own enhancement of the extract structure to include the mapping of the
-
Can't I install Logic or FCP on external FW 800?
Both programs are huge and I get a RED ! and the external HD was recently formatted for OSX journalized.....Or at least put all the samples and garage band and EX libraries and Drum module samples there. Is there a way to install LOGIC onto external