Logo : SAP Script
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,
J
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 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.
Similar Messages
-
How to insert a logo in sap script?
How to insert a logo in sap script?
Steps to insert a logo,
I
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
II
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.
III
1 ) create a bmp file in local system
2 )RSTXLDMC FM to upload image in tiff format.
Also check these links...
Logo in SAP SCRIPT
Re: Uploading a (Image) Logo in your Sap Script
Need Urgent Help for Logo Uploading the Sap Script
sap script logo
http://www.sap-img.com/ts001.htm
Regards,
Sakthi Sri. -
Hi Experts
My logo is too big for my Form Window in SAP script.
How do I restrict the logo size to fit the size of the window.
Regards,Hi
IF you have imported it as graphic:
BITMAP 'LOGO' OBJECT GRAPHICS ID BMAP TYPE BCOL DPI <XXX>
Where XXX is the resolution:
Resolution with which a graphic is printed, specified in dots per inch, (dpi).
The graphic resolution controls the size of a graphic when it is printed. High resolutions produce small graphics while low resolutions produce large graphics.
If you choose default value 0, the original resolution of the imported graphic file is used.
Most printer drivers and printers support the following resolutions:
75 dpi
100 dpi
200 dpi
150 dpi
300 dpi
600 dpi
If you have imported it as std text I believe you've to re-imported it whit new resolution you need
Vasanth -
Sap Script - How to show two logos consecutive in a row.
Hi All,
If in a window I insert two lines:
/: INCLUDE ZHEX-MACRO-ZLOGO001 OBJECT TEXT ID ST
/: INCLUDE ZHEX-MACRO-ZLOGO002 OBJECT TEXT ID ST
the Sap Script shows two logos not consecutive in a row.
I'd like to show the two logos in the same row and if it is possible, separated by blanks.
Any idea?
Thanks in advance for your kind support.
Regards,
GiovanniThis is because of your page size limitation. IF you will create two windows then it will work.Aline these windows properly in layout of page.
-
Hi all,
I am trying to insert my company logo to the certification letter generated in SAP Script .
By running the program RXTLXDMC i have uploaded my logo and inserted that in my standard text say "zabc"
and i have called that std text in my se38 report .
and it's working fine .
But i want to move my logo to right .
How to do that?
I hav tried to do that in SE71 . but no result .
Do u hav any good tutorial ?
Advance thanks,
JHi J,
What version of SAP are you on? If you are on 4.6C or higher, you shouldload your graphic in via SE78 and store it on the Document Server.
Then in your SAPscript (SE71), in the relevant winder put in "/:" in the Tag Column, and in the Text Line enter "include 'ZABC' object 'GRAPHICS' id 'BMAP'".
The /: identified the line as a "Command Line" (ie regular ABAP). Then you use the INCLUDE command to identify your graphic.
Hope this points you in the right direction.
Cheers,
Pat. -
Hi,
Can you please let me know the steps to upload the logo and to call it from SAP Script. I have the logo in the Word Document.
Thanks in advance,
Ishaq.Hi,
Use TCode SE78 and import logo to R/3.
Select GRAPHICS> BMP, select ur logo on Legacy sys.> Transport.
Now ur logo has been transfrred to R/3 which is on desktop/legacy.
NOw in logo window, in script editor, under menu options, INSERT--> LOGO.
Activate and execute.
Revert back if any issues.
Reward with points if helpful
Regards
Naveen -
Problems while uploading company logo into sap script
Hi Experts,
When i am inserting company logo into sap scripts, i successfully uploaded, but the problem is i am getting black and white image instead of color,but in RSTXLDMC i am giving parameter as BCOL only, could anybody help to get my problem resolved. it is very urgent. The logo which i am inserting is colored.
bye
M.Rajendra SinghHI
GOOD
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).
THANKS
MRUTYUN -
IS IT POSSIBLE TO PRINT ANY LOGO AS A WATERMARK IN SAP SCRIPT
In SAP Script ,is it possible to print a logo in the back of retrived data as a watermark & our data would not be overlapped . If yes then tell me how.......?
we wanna print customer id & place id on page one as a tittle & the concern data below them so for this what we have to do give me a reasonable logic ...?hi,
Yes, we can print logo as water mark in scripts
Just do as like this....
Upload your logo via SE78.
- Select 'Import' button from application toolbar of SE78, and perform upload.
and write this code in scripts
BITMAP 'COMPANY_LOGO' OBJECT GRAPHICS ID BMAP TYPE BCOL
regards
Sankar -
Hi Gems,
I have an SAP Script layout where in the LOGO in the output appears to be inverted.
But for some of us we are seeing the LOGO properly.
Can any one suggest me where it is going wrong?
Thanks
DanHi,
Two things:
1) Upload the logo again using SE78
2) If you are seeing the Print preview and not Print out take a print out and see the same..
Raghav -
hi ,
i do sap script and i include logo and i see it inverse
what can be the problem
regardsCheck your printer & its make and load additional drivers for image printing & SAP. Like HP has specified the suppoorted printers for SAP .
we have faced the same issue and it got resolved only by loading the drivers. No program.scripts modification is required .
hope it helps.
anya -
How to insert a condition in the Graphic Window of a SAP Script ?
Hi,
I need to give a condition inside the Graphic Window for printing the Logo in the SAP Script. Now, my problem is that the Graphic window is only opening in Display mode. How to make it editable and insert a condition in it?
OR
Is there any other way to do it?
Please Help.
Thanks in Advance.
-VRUHi
I got your point. I'll provide you solution
In the logo window goto coding part by pressing F9 and give your coding as
IF &BKPF-BUKRS& = 'COM1'
INCLUDE GSPL OBJECT GRAPHICS ID BCOL LANGUAGE DE
BITMAP 'LOGO1' OBJECT GRAPHICS ID BMAP TYPE BCOL
ELSEIF &BKPF-BUKRS& = 'COM2'
BITMAP 'LOGO2' OBJECT GRAPHICS ID BMAP TYPE BCOL
ELSEIF &BKPF-BUKRS& = 'COM3'
BITMAP 'LOGO3' OBJECT GRAPHICS ID BMAP TYPE BCOL
ELSEIF &BKPF-BUKRS& = 'COM3'
BITMAP 'LOGO4' OBJECT GRAPHICS ID BMAP TYPE BCOL
ELSEIF &BKPF-BUKRS& = 'COM4'
BITMAP 'LOGO5' OBJECT GRAPHICS ID BMAP TYPE BCOL
ENDIF
<b>Note:</b>But you have to upload all your logos in se78 then only you can upload and give conditions for this
Regards
Pavan -
How to upload Graphics Image in SAP script
Hi
I have a new porblem in SAP script can anyone help me how to upload an graphic imageHi Pavan,
Give the same name and upload the graphics, u get a popup saying do u want to overite the existing one, click yes and the old logo will be replaced by the new one.
Cheers..
Santosh.
P.S. Mark usefull answers -
Urgent - Not able to Print back page for Last Page in SAP Script.
Hello All,
I need to Print back page in SAP Script, I am able to do it by setting print mode as D, but now the problem is, it does not print back page for last page.
For eg. if there are 3 pages it prints back page for first two. If there is only one page then it does not print back page.
Please Help.
Thanks.hi,
Yes, we can print logo as water mark in scripts
Just do as like this....
Upload your logo via SE78.
- Select 'Import' button from application toolbar of SE78, and perform upload.
and write this code in scripts
BITMAP 'COMPANY_LOGO' OBJECT GRAPHICS ID BMAP TYPE BCOL
regards
Sankar -
How to print different pages of sap script from diff. trays of printer
Hi All,
I have the requirement in SAP script. How to print different pages from different trays in the printer.
For example page 1 logo and address has to print from tray-1,
page 2 main data print from tray-2,
page 3 footer data print from tray-3.
will appreciate if u come up with solutions asap.
Thanks in advance.Hi,
May be the links given below might help you,
SAPScript:Selecting Different Tray in SAPscript
Print to different output tray in SAPscript/Print Workbench
Regards,
Hema.
Reward points if it is useful. -
How can i update regup-sgtxt field in sap script
Hi experts,
I have created sap script for payment print prog. In that one field is amount discription "REGUP-SGTXT". i want to use field "REGUP-SGTXT" as a discription. for sap script payment print i use T-Code f-43, fb03,f-58... now in whic T-code i fiiled the value of "REGUP-SGTXT"?? how can i update value in my sap script?? cause i ceateed so many doc no but "REGUP-SGTXT" its blank... so how can i fill this fiels???
Give me suggetion
ZenithiHi
Most of the times this text won't get populated
So better write an external PERFORM subroutine in the SCRIPT and fetch it from BSEG/BKPF tables using BELNR field and use in the cheque printing.
see the sample code for subroutines
How to call a subroutine form SAPscripts
The Form :
/:PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
/:USING &EKKO-EBELN&
/:CHANGING &CDECENT&
/:ENDPERFORM
The report :
REPORT zkrpmm_perform_z1medruck .
DATA : BEGIN OF it_input_table OCCURS 10.
INCLUDE STRUCTURE itcsy.
DATA : END OF it_input_table.
déclaration de la table output_table contenant les
variables exportées
DATA : BEGIN OF it_output_table OCCURS 0.
INCLUDE STRUCTURE itcsy.
DATA : END OF it_output_table.
DATA : w_ebeln LIKE ekko-ebeln,
w_vbeln LIKE vbak-vbeln,
w_zcdffa LIKE vbak-zcdffa.
FORM CDE_CENT
FORM cde_cent TABLES input output.
it_input_table[] = input[].
it_output_table[] = output[].
READ TABLE it_input_table INDEX 1.
MOVE it_input_table-value TO w_ebeln.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = w_ebeln
IMPORTING
output = w_ebeln.
SELECT SINGLE zcdffa FROM ekko
INTO w_zcdffa
WHERE ebeln = w_ebeln.
it_output_table-name = 'CDECENT'.
MOVE w_zcdffa TO it_output_table-value.
MODIFY it_output_table INDEX 1.
output[] = it_output_table[].
ENDFORM.
/: PERFORM
/: USING &INVAR1&
/: USING &INVAR2&
/: CHANGING &OUTVAR1&
/: CHANGING &OUTVAR2&
/: ENDPERFORM
INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
Example:
In script form
/: PERFORM READ_TEXTS IN PROGRAM 'Z08M1_FORM_EKFORM1'
/: USING &EKKO-EKORG&
/: USING &EKPO-WERKS&
/: USING &EKKO-EKGRP&
/: USING &EKKO-BSTYP&
/: CHANGING &COMPNAME&
/: CHANGING &SENDADR&
/: CHANGING &INVCADR&
/: CHANGING &COMPADR&
/: CHANGING &COVERLTR&
/: CHANGING &SHIPADR&
/: CHANGING &REMINDER&
/: CHANGING &REJECTION&
/: CHANGING &POSTADR&
/: CHANGING &LOGO&
/: ENDPERFORM
In program
FORM Read_texts - To extract the standard texts from the table *
FORM READ_TEXTS TABLES IN_PAR STRUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.
DATA : L_EKORG TYPE EKORG,
L_WERKS TYPE WERKS_D,
L_BSTYP TYPE BSTYP,
L_EKGRP TYPE BKGRP.
READ TABLE IN_PAR WITH KEY 'EKKO-EKORG' .
CHECK SY-SUBRC = 0.
L_EKORG = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY 'EKPO-WERKS' .
CHECK SY-SUBRC = 0.
L_WERKS = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY 'EKKO-EKGRP' .
CHECK SY-SUBRC = 0.
L_EKGRP = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY 'EKKO-BSTYP' .
CHECK SY-SUBRC = 0.
L_BSTYP = IN_PAR-VALUE.
CLEAR Z08M1_ORG_TEXTS.
SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
AND WERKS = L_WERKS
AND EKGRP = L_EKGRP
AND BSTYP = L_BSTYP.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
AND WERKS = L_WERKS
AND EKGRP = L_EKGRP
AND BSTYP = SPACE.
ENDIF.
READ TABLE OUT_PAR WITH KEY 'COMPNAME'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COMP.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'SENDADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_ADRS.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'INVCADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_INVC.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'COMPADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_CPAD.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'COVERLTR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COVR.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'SHIPADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_SHIP.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'REMINDER'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RMDR.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'REJECTION'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RJCT.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'POSTADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_POST.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'LOGO'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_LOGO.
MODIFY OUT_PAR INDEX SY-TABIX.
ENDFORM.
REPORT ZMPO1 .
form get_freight tables in_par structure itcsy out_par structure itcsy.
tables: ekko,konv,t685t.
data: begin of itab occurs 0,
ebeln like ekko-ebeln,
knumv like ekko-knumv,
end of itab.
data: begin of itab1 occurs 0,
knumv like konv-knumv,
kposn like konv-kposn,
kschl like konv-kschl,
kbetr like konv-kbetr,
waers like konv-waers,
kwert like konv-kwert,
end of itab1.
data: begin of iout occurs 0,
kschl like konv-kschl,
vtext like t685t-vtext,
kbetr like konv-kbetr,
kwert like konv-kwert,
end of iout.
data v_po like ekko-ebeln.
read table in_par with key 'EKKO-EBELN'.
if sy-subrc = 0.
v_po = in_par-value.
select
ebeln
knumv
from ekko
into table itab
where ebeln = v_po.
if sy-subrc = 0.
loop at itab.
select
knumv
kposn
kschl
kbetr
waers
kwert
into table itab1
from konv
where knumv = itab-knumv and
kappl = 'M'.
endloop.
loop at itab1.
if itab1-kposn <> 0.
select single * from t685t
where kschl = itab1-kschl
and kappl = 'M'
and spras = 'EN'.
iout-vtext = t685t-vtext.
iout-kschl = itab1-kschl.
iout-kbetr = itab1-kbetr.
iout-kwert = itab1-kwert.
append iout.
clear iout.
endif.
endloop.
sort itab1 by kposn.
loop at iout.
sort iout by kschl.
if ( iout-kschl eq 'GSDC' OR
iout-kschl eq 'GSFR' OR
iout-kschl eq 'GSIR' ).
at end of kschl.
read table iout index sy-tabix.
sum.
write:/ iout-kschl,iout-vtext,iout-kwert.
out_par-name = 'A1'.
out_par-value = iout-vtext.
append out_par.
out_par-name = 'A2'.
out_par-value = iout-kwert.
append out_par.
endat.
endif.
endloop.
endif.
endif.
endform.
IN THE FORM I AM WRITING THIS CODE.
/:DEFINE &A1& = ' '
/:DEFINE &A2& = ' '
/:PERFORM GET_FREIGHT IN PROGRAM ZMFORM_PO1
/:USING &EKKO-EBELN&
/:CHANGING &A1&
/:CHANGING &A2&
/:ENDPERFORM
&A1&
&A2&
This Code is to be written in the PO form under ADDRESS window.
/:DEFINE &A1& = ' '
/:DEFINE &A2& = ' '
/:DEFINE &A3& = ' '
/:DEFINE &A4& = ' '
/:DEFINE &A5& = ' '
/:DEFINE &A6& = ' '
/:PERFORM GET_VENDOR IN PROGRAM ZMFORM_PO
/:USING &EKKO-EBELN&
/:CHANGING &A1&
/:CHANGING &A2&
/:CHANGING &A3&
/:CHANGING &A4&
/:CHANGING &A5&
/:CHANGING &A6&
/:ENDPERFORM
&A1&
&A2&
&A3&
&A4&
&A5&
&A6&
Regards
Anji
Maybe you are looking for
-
Cash Journal - Process in Other Organizations
Hi All, Iu2019m a bit confused in our current business process so thought to share with experts to get input for optimizing the process. Cash Journal (txn: FBCJ) is used for managing cash transactions that could be posting of cash receipts and paymen
-
This question was posted in response to the following article: http://help.adobe.com/en_US/acrobat/pro/using/WS58a04a822e3e50102bd615109794195ff-7f6f.w.h tml
-
TS3988 More detail steps about iCloud.
when i trying to login into iCloud with my Apple Id it says "cannont sign in-the maximum number of free accounts have been activated on this iPad." what should i do now..list the steps please
-
HT1498 Is it typical for a rented movie through iTunes to take hours to download?
I rented a movie through iTunes which was paid for without trouble. Now, whenever I go to start the movie, it says it needs at least 4 hours to load. I'm just trying to make sure that this is typical for Apple TV and nothing to do with any problems w
-
Hi all, I am trying to access a Data Base Table . In one record there are 6 field in which one is the name field and other is the Authorisation fields. Suppose in all area he is not having rights. I have to get the rights in which area he is having.