How I use Watermark in SAPScript.?????
Dear all,
how I use Watermark in SAPScript.
for draft copies.
Thanks in advance.
What I've done in the past is created an image using an image editor like MS Paint, then change the image to black/white instead of color, and used grey instead of black. Then upload the image via SE78. Then you can include the image in your sapscript using the BITMAP statement. Search for watermark in this forum and you should get some more info.
BITMAP ZIMAGE OBJECT GRAPHICS ID BMAP TYPE BCOL
Regards,
Rich Heilman
Similar Messages
-
How I use swf in swf (nested) ?
Flash is case-sensitive in naming(symbols,form
fields,components) ?
How I use ScrollPane ?
How I use swf in swf (nested) ?What I've done in the past is created an image using an image editor like MS Paint, then change the image to black/white instead of color, and used grey instead of black. Then upload the image via SE78. Then you can include the image in your sapscript using the BITMAP statement. Search for watermark in this forum and you should get some more info.
BITMAP ZIMAGE OBJECT GRAPHICS ID BMAP TYPE BCOL
Regards,
Rich Heilman -
Coded UI: How to verify watermark displayed in the fields and Data grid?
Hi,
I've an requirement to verify watermark in the fields say username field displays "Username" water mark when no data is available in the field and water mark in data grid saying "No data available".
Please observe the water mark displayed in screenshot below:
So how to verify watermark?
Thanks & Regards,
Sunil
Best Regards, Sunil Email: [email protected]Hello,
Depending on what form technology you are using, you can try posting to one of the following forums:
Windows Forms General
Windows Presentation Foundation (WPF)
ASP.Net forums
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
How to use perform statements in sap scripts
how to use perform statements in sap scripts . and pls send me one progam for this
thnaks
rajaHi Raja,
<b>PERFORM</b> key work is used to include subroutine in sapscript form...
But the processing is lttle bit different form the one we use in ABAP.
Here the paramters passed to form is stored in internal table of name-value table. there are two table one for inbound parameter and other for outbound parameters.
Check out the example below to see how this is used..
<b>Definition in the SAPscript form:</b>
/: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
/: USING &PAGE&
/: USING &NEXTPAGE&
/: CHANGING &BARCODE&
/: ENDPERFORM
/ &BARCODE&
<b>Coding of the calling ABAP program:</b>
REPORT QCJPERFO.
FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.
DATA: PAGNUM LIKE SY-TABIX, "page number
NEXTPAGE LIKE SY-TABIX. "number of next page
READ TABLE IN_PAR WITH KEY PAGE.
CHECK SY-SUBRC = 0.
PAGNUM = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY NEXTPAGE.
CHECK SY-SUBRC = 0.
NEXTPAGE = IN_PAR-VALUE.
READ TABLE OUT_PAR WITH KEY BARCODE.
CHECK SY-SUBRC = 0.
IF PAGNUM = 1.
OUT_PAR-VALUE = |. "First page
ELSE.
OUT_PAR-VALUE = ||. "Next page
ENDIF.
IF NEXTPAGE = 0.
OUT_PAR-VALUE+2 = L. "Flag: last page
ENDIF.
MODIFY OUT_PAR INDEX SY-TABIX.
ENDFORM.
Hope this is clear to understand...
Enjoy SAP.
Pankaj Singh. -
HOW TO USE PERFORM STATEMENT IN SMARTFORMS
Hi,
Can anyone tell me how to use call subroutine in smartform?
Thanks & Regards,
Gauarv.Hi,
Hope this helps you..
You can use the PERFORM command to call an ABAP subroutine
(form) from
any program, subject to the normal ABAP runtime
authorization
checking. You can use such calls to subroutines for
carrying out
calculations, for obtaining data from the database that is
needed at
display or print time, for formatting data, and so on.
PERFORM commands, like all control commands, are executed
when a
document is formatted for display or printing.
Communication between a
subroutine that you call and the document is by way of
symbols whose
values are set in the subroutine.
The system does not execute the PERFORM command within
SAPscript
replace modules, such as TEXT_SYMBOL_REPLACE or
TEXT_INCLUDE_REPLACE.
The replace modules can only replace symbol values or
resolve include
texts, but not interpret SAPscript control commands.
Syntax in a form window:
/: PERFORM <form> IN PROGRAM <prog>
/: 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.
The ABAP subroutine called via the command line stated
above must be
defined in the ABAP report prog as follows:
FORM <form> TABLES IN_TAB STRUCTURE ITCSY
OUT_TAB STRUCTURE ITCSY.
ENDFORM.
The values of the SAPscript symbols passed with /: USING...
are now
stored in the internal table IN_TAB . Note that the system
passes the
values as character string to the subroutine, since the
field Feld
VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR
80). See the
example below on how to access the variables.
The internal table OUT_TAB contains names and values of the
CHANGING
parameters in the PERFORM statement. These parameters are
local text
symbols, that is, character fields. See the example below
on how to
return the variables within the subroutine.
From within a SAPscript form, a subroutine GET_BARCODE in
the ABAP
program QCJPERFO is called. Then the simple barcode
contained there
('First page', 'Next page', 'Last page') is printed as
local variable
symbol. -
How to use print control in Sap script
I would like to use print control in Sap script.Actualy my problem I have security font Troy ECF. Using this font I would like to print amount field in Check printing.
we count download this font with sap .we talked to customer care they told we should hard code in sapscript. pls can any1 help on this how to do and how to use print control for this fonts.call this funcation. crate_text.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID =
FLANGUAGE =
FNAME =
FOBJECT =
SAVE_DIRECT = 'X'
FFORMAT = '*'
TABLES
FLINES =
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
How to disable debugger for sapscript forms.
How to disable debugger for sapscript forms.
Once activated in se71-Utilities-Activate debugger I do not know how to disable itThank you Rich
I assigned you points for good answer on my preavious mail)
. Actually my real problem is a transported the SAP script form znalepke2 , printer definition nale
and device type zststartsp of a thermal printer.
On original system (ak1) the printout is ok but on target system(ak2)
not.
Lateron I transported also :
R3TR SCPD 1403(as the device type uses this character set)
R3TR TABU TSP08 (All entries)
R3TR TABU TSP1D(All entries)
R3TR TABU TSP1T(All entries)
I used also report RSTXSCRP to traport form and device types. L
Lately I discovered that when I performe printout preview I get also eronneous printout If I ssue an printout preview in language "EN" on system "ak1"(only on system ak1 and form preview in "SL" is oK. What steps you suggest me to solve the prolem
Thank you in advance -
How to use PO message type to output 'Form' as PDF file
Dear experts,
I am working for a topic of how to use PO message type to output 'Form' as 'PDF file', and save to external file system automatically.
Any one familiar to this topic, please kindly give me some guide, thank you!
Regards,
JoyceHi,
Go through the program RSTXPDFT4 (Converting SAPscript (OTF) or ABAP List Spool Job to PDF), you will get some idea. Using this program you can convert spool into PDF file.
-Alpesh -
How to use Rstxt in smart forms
hi
how to use Rstxt in smart formsHi Ram,
Go through this hope u can understand.
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
Reward points if help ful.
http://www.sap-img.com/ts001.htm
Sorry i think for Scripts ..
better to go for above post . it definetly works
Thanks
Naveen khan
Message was edited by:
Pattan Naveen -
How to Draw table in SAPscript ???
Hi all Guru of SAPScript!
I want to draw a table with column and row in SAPscript. Who can help me step by step?
Thanks!
Edited by: kathy a on May 6, 2008 11:53 AMHi,
Use BOx Syantax How to Draw table in SAPscript ??? Pls Read the description
Syntax:
1. /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
2. /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
3. /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
BOX
Syntax:
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
Effect: draws a box of the specified size at the specified position.
Parameters: For each parameter (XPOS, YPOS, WIDTH, HEIGHT and FRAME), both a measurement and a unit of measure must be specified. The INTENSITY parameter should be entered as a percentage between 0 and 100.
XPOS, YPOS: Upper left corner of the box, relative to the values of the POSITION command.
Default: Values specified in the POSITION command.
The following calculation is performed internally to determine the absolute output position of a box on the page:
X(abs) = XORIGIN + XPOS
Y(abs) = YORIGIN + YPOS
WIDTH: Width of the box.
Default: WIDTH value of the SIZE command.
HEIGHT: Height of the box.
Default: HEIGHT value of the SIZE command.
FRAME: Thickness of frame.
Default: 0 (no frame).
INTENSITY: Grayscale of box contents as %.
Default: 100 (full black)
Measurements: Decimal numbers must be specified as literal values (like ABAP/4 numeric constants) by being enclosed in inverted commas. The period should be used as the decimal point character. See also the examples listed below.
Units of measure: The following units of measure may be used:
TW (twip)
PT (point)
IN (inch)
MM (millimeter)
CM (centimeter)
LN (line)
CH (character).
The following conversion factors apply:
1 TW = 1/20 PT
1 PT = 1/72 IN
1 IN = 2.54 CM
1 CM = 10 MM
1 CH = height of a character relative to the CPI specification in the layout set header
1 LN = height of a line relative to the LPI specification in the layout set header
Examples:
/: BOX FRAME 10 TW
Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
/: BOX INTENSITY 10
Fills the window background with shadowing having a gray scale of 10 %.
/: BOX HEIGHT 0 TW FRAME 10 TW
Draws a horizontal line across the complete top edge of the window.
/: BOX WIDTH 0 TW FRAME 10 TW
Draws a vertical line along the complete height of the left hand edge of the window.
/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
POSITION
Syntax:
/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
Effect: Sets the origin for the coordinate system used by the XPOS and YPOS parameters of the BOX command. When a window is first started the POSITION value is set to refer to the upper left corner of the window (default setting).
Parameters: If a parameter value does not have a leading sign, then its value is interpreted as an absolute value, in other words as a value which specifies an offset from the upper left corner of the output page. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value. If one of the parameter specifications is missing, then no change is made to this parameter.
XORIGIN, YORIGIN: Origin of the coordinate system.
WINDOW: Sets the values for the left and upper edges to be the same of those of the current window (default setting).
PAGE: Sets the values for the left and upper edges to be the same as those of the current output page (XORIGIN = 0 cm, YORIGIN = 0 cm).
Examples:
/: POSITION WINDOW
Sets the origin for the coordinate system to the upper left corner of the window.
/: POSITION XORIGIN 2 CM YORIGIN '2.5 CM'
Sets the origin for the coordinate system to a point 2 cm from the left edge and 2.5 cm from the upper edge of the output page.
/: POSITION XORIGIN '-1.5' CM YORIGIN -1 CM
Shifts the origin for the coordinates 1.5 cm to the left and 1 cm up.
SIZE
Syntax:
/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
Effect: Sets the values of the WIDTH and HEIGHT parameters used in the BOX command. When a window is first started the SIZE value is set to the same values as the window itself (default setting).
Parameters: If one of the parameter specifications is missing, then no change is made to the current value of this parameter. If a parameter value does not have a leading sign, then its value is interpreted as an absolute value. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value.
WIDTH, HEIGHT: Dimensions of the rectangle or line.
WINDOW: Sets the values for the width and height to the values of the current window (default setting).
PAGE: Sets the values for the width and height to the values of the current output page.
Examples:
/: SIZE WINDOW
Sets WIDTH and HEIGHT to the current window dimensions.
/: SIZE WIDTH '3.5' CM HEIGHT '7.6' CM
Sets WIDTH to 3.5 cm and HEIGHT to 7.6 cm.
/: POSITION WINDOW
/: POSITION XORIGIN -20 TW YORIGIN -20 TW
/: SIZE WIDTH +40 TW HEIGHT +40 TW
/: BOX FRAME 10 TW
A frame is added to the current window. The edges of the frame extend beyond the edges of the window itself, so as to avoid obscuring the leading and trailing text characters.
Reward Helpfull Answers
Regards
Fareedas -
How to use Keynote tuxtures in Pages
Hi All,
In keynote graphs you have different textures than in Pages. Does anyone know how to use the Keynotes textures in Pages?
Doest anyone know if I can download more textures for iWork on the Web?The three components of iWork '09 (as the iWork '08 ones) share the same folder of textures.
So, If Pages doesn't use all of them, it's a design choice.
If I made no error, here is a table of used textures.
Some are news and unused ?
I found no change in the use of textures for Pages and Numbers.
The changes apply only to Keynote.
I entered the program's resources and bingo, I found the way to allow more textures in the menus.
<startupVolume>:Applications:iWork '09:Keynote.app:Contents:Resources:SFCChartFills.plist
<startupVolume>:Applications:iWork '09:Numbers.app:Contents:Resources:SFCChartFills.plist
<startupVolume>:Applications:iWork '09:Pages.app:Contents:Resources:SFCChartFills.plist
are the files storing the list of allowed textures.
Artistic.sfctex
Blue.sfctex
Bright.sfctex
Brown.sfctex
Brushed Metal.sfctex
Car Paint.sfctex
Classic Silk.sfctex
Concrete.sfctex
Corrugated Paper.sfctex
Denim.sfctex
Etched Metal.sfctex
Fun.sfctex
Granite.sfctex
Gray.sfctex
Green.sfctex
Hardcover.sfctex
Linen.sfctex
Marble.sfctex
Metal.sfctex
Notebook Paper.sfctex
Portfolio Paper.sfctex
Precious Metals.sfctex
Retro.sfctex
Rough Paper.sfctex
Scrapbook Paper.sfctex
Showroom.sfctex
Slate.sfctex
Speckled Paper.sfctex
Spectrum.sfctex
Stained Wood.sfctex
Stock Paper.sfctex
Watermark.sfctex
Wood.sfctex
is the list of available textures.
With a property list editor, add the ones which you want.
Yvan KOENIG (from FRANCE dimanche 18 janvier 2009 17:53:09) -
How can I watermark 100 page documents without purchasing the full Photoshop program?
How can I watermark 100 page PDF documents without purchasing the whole Photoshop program for a MAC?
Surely you mean "the full Acrobat program". You can use the free trial version.
-
How do we debug a sapscript and a smartform
how do we debug a sapscript and a smartform.
hi,
1) DEBUG Smartform:
One way to debug smartform is to debug the Function Module of that smartforms. If you want to debug particular smartform node that the solution would be, insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint. So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
2). DEBUG SAPScript
They are two ways to debug the SAPScript.
1). Use Tools - Word Processing - Layout Set (SE71). Enter name of layout set and then Utilities - Activate Debugger.
It is of no consequence which layoutset you enter when selecting the SAPscript debugger. (Menu path: Tools-Wordprocessing - Forms, Utilities - Activate Debugger) The next layoutset called will invoke the debugger.
2). Another way to set the SAPScript debugger is to run program RSTXDBUG.
When you debug Print program it is same as you debug any other ABAP program.
While when you debug SAPScript, you actually debug the code ( scripting) you have written SAPScript Form.
rgds
anver
pls mark points if hlped -
How can I watermark in Aperture 3?
I was told by an employee at the Apple store that I can watermark in Aperture 3. I've looked and looked but the only thing I can find is exporting... nothing in the manual or online tells me how to create a watermark using Aperture 3. Anybody know how to do this?
You can apply a watermark file to an image on export using Aperture but you need to create the watermark using a program other than Aperture.
This video Aperture Quick Tip - Using Watermarks describes the process.
One other possibilty is to use a plugin in like BorderFx -
How can i watermark or embed paintings before puting on my website?
how can i watermark or embed paintings/art work before puting on my website? H E L P! Thank you.
That is not a feature of iPhoto - suggest to Apple - iPhoto Menu ==> provide iPhoto feedback.
Use a third party external editor, preview or a watermark program - <a href="http://web.me.com/larryhn/iPhoto_08_(version_7.x.x)_FAQ/Graphic_programs.html"> click here for links to some to consider.</a>
LN
Maybe you are looking for
-
How do you change the email address for sysman in DBConsole?
Hi, EM Alerts were originally setup to send to my email address. A new dba started and changed everything you can within dbconsole to have the alerts come to him. He is not getting any alerts, I am still getting them. The alerts are coming from sysma
-
Hello everybody, I've been spending a long time with this problem. I started use GeoRaster Loader - that demo tool provided by Oracle to load georaster objects into the bank - with a bank 10g and a client 9i. Because a problem with a program I change
-
Row.setAttribute generates Exception
Hi! I am trying to set an attribute of a new row. The ViewObject extends another ViewObject which is a default VO for that entity. The entity has a couple of associations. Now when I call setAttribute() I get: oracle.jbo.AttrSetValException: JBO-2702
-
Having problem with my vibration some times work some times not work
i am having issuse with my vibration ..... sometimes it works when i put it in vibration mode but sometimes vibration donot work..... and even during calls or during mesgs their is no vibration .....so plz help me out .... thankz....
-
How do get rid of the white option ball on home screen?
how do you get rid of the white option ball on home screen?