How can i print currency symbol in smart form?
how can i print currency symbol in smart form?
i want to print the currency symbol with grant total based on the vendor currency.
pls hepl............
Hi,
think You can't print the symbols for currency like $ and Pound etc
see this doc if needed
A variable in SAPscript is called a symbol. There are the following types.
System symbol (e.g. the number of the current page)
Standard symbol (usable in any document)
Program symbol (value from the print program)
Text symbol (local variable)
The value of a symbol is text for using within SAPscript code and is represented by the symbol-name enclosed by ampersands. On seeing the tell-tale ampersands in SAPscript code, you sometimes need to figure out the symbol type.
goto any PAGEWINDOW's Text elements in Script (SE71)
from the Menu-> INSERT-> Symbols
you find all symbols here
System symbols
System symbols in a SAPscript form are comparable to system fields like SY-UZEIT in an ABAP program, and include these. The graphical editor offers three types of system symbol.
1. General system symbols
See the table TTSXY. PAGE is the most widely used. The list given in our BC460 training manuals is out of date.
2. SAPscript system symbols
See the dictionary structure SAPSCRIPT. SAPSCRIPT-FORMPAGES is the most widely used.
3. ABAP system symbols
For the ABAP system field SY-UNAME, say, the symbol is SYST-UNAME. http://SYST is the dictionary structure for ABAP system fields.
Sample code:
User: &SYST-UNAME&
Page &PAGE& of &SAPSCRIPT-FORMPAGES(C3)&
Standard symbols
Standard symbols are maintained centrally (in the table TTDTG via transaction SE75) for use in any document. Menu path:
Tools
Form Printout
Administration
Settings
Some standard symbols are SAP-standard and others are custom. Curiously, table TTDTG is cross-client although SAPscript forms are not.
The value of a standard symbol has to be defined for each language used. This gives a way to make a single SAPscript form multi-lingual.
We can take advantage to an extent of the central maintenance, though there is no guarantee that the available standard symbols will used in every appropriate context.
Standard symbols complicate searching a SAPscript form, since text like Charity registration 211581 may be hiding in a standard symbol.
Text symbols
A text symbol is declared and assigned to within the SAPscript code, and so obviously applies only to the current document. The command DEFINE is used, requiring /: in the tag column, as in the following examples.
/: DEFINE &COMP_NAME& = University of Warwick
/: DEFINE &WS_RATE& = &TAX_SUMM_C&
Reward points for useful Answers
Regards
Shiva Kumar
Similar Messages
-
How Can I get Currency Symbol?
Hi again ,
My new probles is the following :
I would like to get the Currency Symbol, I mean , Symbols like that $ , s/. EUR , etc.
That information is stored in some special table ?
Please Help me , I'll apreciate your help!!!!!Check out the below related thread
Re: country specific currency symbol has to be dispalyed plz tell me the if any
Regards,
Santosh -
How can i print the serial no: and total in smart form?
how can i print the serial no: and total in smart form?
i have two fields Quantity and Price; so i want to display the total for each item and
atlast the grand total. also the serial no: for each line item.
how it is possible?Hi
You can do it by two ways
By making table node or by making simple loop node
ex
loop node
command line node
total = total + itab-quantity.
text node
&total&
Regards
Aditya -
Printing currency symbols(like $ for dollar)for all countries in smartforms
Hi friends,
I have to print currency symbols (like $ for dollar) for all countries in SRM PO Smartform.
Is there any character set which has all the currency symbols in it?
If so, how to print those in Smartforms?Hi
There are two ways to maintain format of Currency,
1. Transaction : OY01 Customize: set up countries
2. Menu->System->User profile-> Own data -> Defualt
Just check the country seeting as well as user setting
before run the smart form.
U can use SET COUNTRY command to set country format which is specified into OY01.
Use Write stament to convert into required currency format.
... CURRENCY w
Effect
Correct format for currency specified in the field w.
Treats the contents of f as a currency amount. The currency specified in w determines how many decimal places this amount should have.
The contents of w are used as a currency key for the table TCURX; if there is no entry for w, the system assumes that the currency amount has 2 decimal places.
Regard ,
Vinod -
How can i print data in smartforms from ABAP program.
Dear gurus:
in my abap program i process require data, and saved in a internal table.
how can l print the data in smartforms.?
who can give me a code sample is better:)
reward all helpful advise.Try this....
1) Tcode --> SmartForms
2) Form name --> Z_SF_TEST Create
3) Under Global settings
a) Form Interface
Table Tab
ITAB LIKE EKPO
b) GLOBAL Definitions
WA_NETPR LIKE EKPO-NETPR
In smart forms if we want to display quantity and currency fields. We can't directly display currency field and quantity fields
For that we have to create an extra variable in global definitions
Ex: netpr FIELD of EKPO
CREATE program lines and specify WA_NETWR = itab-netpr.
4) RT CLick on main Window
CREATE --> TABLE
Click Table painter
DEFAULT %LTYPE will be Created
a) If you want more like Header footer etc add by rt click on %LTYPE1
Table (Tab)
%LTYPE Radio(SELECT) 5 CM 5 CM 6 CM
CLICK on DATA (Tab)
INTERNAL TABLE ITAB LIKE ITAB
5)RT click on table control and create --> program lines
General attribute (Tab)
INPUT PARAMETER OUTPUT PARAMETER
itab WA_NETPR
Code Area
WA_NETWR = ITAB-NETPR.
6) RT CLcick on table ctl and create 3 text to display the fields
a) % text1 +button(insert field)
FIELD name &itab-ebeln&
Output options (tab)
Check New line LINETYPE %Ltype1
check new cell
b) % text2
& itab-ebelp&
output options
check new cell
c) % text2
& wa_netpr&
output options
check new cell
<b>Report ac
Tables ekpo.
Data: itab1 like ekpo occurs 0 with header line.
select * into table itab1 from ekpo.
Call function module --> smart form function module and pass your internal table</b>
Regards,
SaiRam -
How can I print out the contents of my hardrive
I have a hardrive with about 200 video clips and need to print the titles for cross refrerencing. I was just going to "grab" screenshots but this will take about ten sheets of paper. How can I print out a list of all the files on the drive?
I tried this Finder drag method & discovered that it is very important to set the blank TextEdit document to plain text before the drag (from the format menu or with Cmd-shift-t). If you don't, TextEdit attempts to load the content of the files!
Once I discovered this, I tried the method with Find (Cmd-F) results & it works for that, too. This means that by choosing the right combination of search location(s) & search criteria, you can extend the method to filter the list to just about any files you want, which could be very handy.
For instance, set the "Kind" criteria to "QuickTime Movie" & location to "Computer" & you get a list of every QT movie. Or set the search location to the folder containing the movies of interest & you get all of them, including ones in subfolders. You could also use the 'date created' or other search criteria to filter the list to a specific subset of movies (or whatever).
If you need to do this often, you could create one or more 'Smart Folders' with the criteria preloaded for each search.
The only drawback I see for either Finder based method is the full path one. If you are getting results from just one or a few folders, Find & Replace can delete any of the path name fairly easily, but it becomes a chore if there are a lot of different ones. Some other text editor, like TexEdit Pro, that supports grep searches would be handy here, but since I'm not up to speed on grep, someone else will have to explain how to use it for this, if they want. -
How to know no of pages in smart forms to be printed ?
Hi,
How to know no of pages in smart forms to be printed ?
though i got SFSY structure during run time of smartform , even that was not useful.
&SFSY-FORMPAGES&
Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
for that Page &SFSY-PAGE& of &SFSY-FORMPAGES&
during debug of smart form i don't understand how it is calculating no of pages ,as i kept break point before printing page no in smart form.
please check my two screen shots, sfsy-formpage still contains current page no only but not total no of pages.
Help Required.
Thanks In advance.Hi Prakash,
You will not get these values during debugging.. Let the program execute completely, you will get the right values.
As Manish said, the value for &SFSY-FORMPAGES& will be known only after all the pages are processed, though it is not necessary that you use them in the final window only. It can be a text node in a window of any type.
You will get the desired output, just cant see them during debugging within the program. At the time of printing or in the print review, output would be as expected.
Also, FYI, it would be better to give total pages as &SFSY-FORMPAGES(3ZC)& as there can be error if the total number of pages exceeds 9, due to lack of sufficient space to print more digits -
) how can we print the bar code in SAP_SCRIPTS?
) how can we print the bar code in SAP_SCRIPTS?
hi Pavan,
barcodes wil be generated in the printer itself, if you give <BC>&HD_GEN-MATERIAL_NUMBER&<> then you have a value for "Barcode" .
Adding Your Own Bar Code:-
http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94fc51ea11d189570000e829fbbd/content.htm
barcodes in SAP
http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm
Print Unique Indicator as a Barcode
The printing of unique indicators of elements (reference numbers of records, case indicators, or document numbers) as barcodes is controlled by SAPscript forms.
SAP delivers a common SAPscript form based on the SAP barcode type AUFNR for records, cases, documents and incoming post items.
To create another SAP barcode type, you can copy the SAPscript form RMPS_BARCODE and then adjust it to your own requirements. Then you have to define the new form using the following attribute names in the table SCMGPARAM:
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.
Definition in the SAPscript form:
/: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
/: USING &PAGE&
/: USING &NEXTPAGE&
/: CHANGING &BARCODE&
/: ENDPERFORM
/ &BARCODE&
Coding of the calling ABAP program:
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 helps you
Regards,
Jayant -
How can I print some pages from multipage report
Hello,
I have created a multipage report in word. I would like the user to be able to print the pages selected (as in word printing: pages: 1, 2-3);
I am using Office 2007 pro, the LabVIEW Report Gen Toolkit, LabVIEW 2009, and Windows XP.
I used the suggestion in thread:
http://forums.ni.com/t5/LabVIEW/How-can-you-print-a-single-page-of-a-multipage-report/m-p/155233 , modifying the print VI that comes shipped with LabVIEW: NI_ReportGenerationToolkit.lvlib:Word_Print.VI.
first of all I put two integer constants on "From" and "To" in the Invoke node (PrintOut), but Labview return an error:
Error 1015 occurred at NI_ReportGenerationToolkit.lvlib:Word_Print.vi -> NI_Word.lvclassrint Report.vi -> print2.vi
Then I searched for PrintOut Method in word 2007 Reference guide, and I saw that for using From and To the Range field must have the string wdPrintFromTo;
I insert wdPrintFromTo string in RANGE Field and tryed.... same error......
After that I change approach; removed all constants and used the field Pages; I put a string "1-2" connected to this field and now the printer respond, but all pages was printed!
What's wrong?
many thanks
Attachments:
print2.vi 18 KB
parte comune.doc 43 KBThanks, Alex!
ok, I try first approach in print4.vi, but Labview return an error (view jpg); if I cut From, To controls, the VI print all pages. The same things happen also if I trasform I32 in Variant.
I don't try second approach, because at this time I have only one report
I try also with VB macro: this is better (print3.vi) but.....if I use:
Sub Print_Pages_From_To()
ActiveDocument.ActiveWindow.PrintOut Range:=wdPrintFromTo, From:="2", To:="3"
End Sub
is ok; print the pages selected; if I use:
Sub PrintPages()
ActiveDocument.ActiveWindow.PrintOut Pages:="2-3"
End Sub
printer print all pages.
what do you think?
regards,
Italo
Attachments:
print Problem.jpg 39 KB
print4.vi 19 KB
print3.vi 19 KB -
How can I print to hp photosmart all in one 7280 from ipad
How can I print to hp photosmart all in one 7280 from ipad
This question was solved.
View Solution.Hi,
Although the C7280 is not AirPrint enabled, you may still print through the local network using the HP ePrint mobile app.
you may find the steps to get and use the app in the following document:
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02775166&cc=us&dlc=en&lc=en&product=3204785&tmp...
Say thanks by clicking the Kudos thumb up in the post.
If my post resolve your problem please mark it as an Accepted Solution -
How can I print ONLY the active document?
Whenever I go to File/Print the darn PSE 9 program sends all of the working files in the bin to the printer. I've searched online for 2 hours now looking for an answer.
I like to work with having several to many files in the 'bin' and prefer to only print the active file I'm currently working on without having to close the 'working files' before I can print. How can I print ONLY the active document or file in the project bin? Please help, I've upgraded from PSE 3 to PSE 9 and really like the updated features, but this one pain in the neck default is getting the best of me.Thanks for your help, that works nicely. It is good to have control of the printer again.
-
How can i print out the waveform chart?
hello everybody,
how can i print out the "waveform chart". can i do it just push the button. ( example; stop button is stop the program etc..)
i checked the NI examples but i can't understand. i'm new to the Labview.
pls help me.
i added the my program
look forward your reply
regards from turkey...
Message Edited by hknmkt on 05-29-2008 04:15 AM
Attachments:
29.05.2008_11.vi 37 KBhi jim,
i tried the program but it's not running. When i run the program, it's print out without run the program
i added the printed file.
look forward your reply
hakan
Attachments:
error8.JPG 8 KB -
How can I print with the black and white cartridge only?
I am trying to print using the black and white cartridge only because magenta is out of ink but I'm getting the following error message in HP Photosmart C7200 series print dialog:
The printer is out of ink.
The following ink cartridges are empty: Magenta. Replace these ink cartridges to resume printing.
How can I print with the black and white cartridge only?
Mac OSX 10.7.3
HP Photosmart C7280 (7200 series)
This question was solved.
View Solution.I am absolutely disgusted by this; clearly a scam from HP to make more money by selling extra ink cartridges!! I will make sure to never buy any products from the shoddy rip off merchants at HP ever again!!
You should be ashamed!! -
using Vista, sometimes after creating and saving an excel file, the document is not visible when the file is reopened.
selecting full screen mode makes the document visible, but the toolbars disappear and the print option does not show up on a right click. How can i print the document and see the document in some other mode than full screen?In order to print, you can click the CTRL+P keys to launch the print dialog,
Regarding the missing toolbar, try clicking the ALT key to shouw the software menu, then look around under the view option for any available toolbar settings,
If you cannot find it, i would recommend you to try the Microsoft support forums, as they have some more knowledge with their software features
Say thanks by clicking the Kudos thumb up in the post.
If my post resolve your problem please mark it as an Accepted Solution -
How can i print all the contect of the code in sapscript window ? ?
how can i print all the contect of the code in sapscript window ? ?
Hi,
Do you mean that you want to print the ABAP code to SAPscrip form ?
Svetlin
Maybe you are looking for
-
ITunes 8 and Windows Vista "sound effect"
So ever since iTunes 8 came out, I get that stupid annoying sound effect whenever doing anything in iTunes. I can turn off the sidebar and it will stop for the most part, but I still get it when going to the iTunes Store or going to my iPod list. I w
-
Hi, Can anybody please guide- How the setings for returns (for free goods) be changed so that return delivery will not need to show up in vf04 for billing. Points will surely be rewarded. Regards
-
Mass reallocation of payment methods in APP
How to make a mass reallocation of payment methods in APP?
-
Using Jdeveloper 10.1.3.3., ADF BC application. Here is the problem... I have created master view and 4 detail views. In application module, I've created instances of this master and it's details. Now...I've created panel's for detail views and panel
-
Sync Entourage Projects between computers?
I'm running OS 10.4.8 and Entourage 11.2.5 and I'd like to be able to sync/share the Entourage Projects I create with my laptop. I haven't seen any specific instructions on how to do this. I have a .Mac account, too. I know that might come in handy.