on 07-13-2007 10:57 AM
Hi Experts,
How to refer currency and quantity fields , in my form i am using FAKING and NETWR fields,
in global definitions one tab is there currency and quantity fields in that in filed name column what i have to give and reference filed , PLease can u you give some examples, so that i can understand easily...
Useful answers are awarded.
Thanks
Hai
in global definitions , in currency/quantity tab
give ur field name in first column and in third column click the symbol to the right, and select QUAN or CURR.
no need to give reference field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The 'Currency/Quant. Fields' tab in the Global definitions allows you to link the field containing a value to the field containing its unit of measure.
For example, my purchase order has two line items, one is for 6 eggs (which have unit of measure PC) and 2.5 kilogramms of flour (UOM is KG). When these are written on the output the eggs have no decimal places, the flour has 2 (this is defined in configuration). So;
Eggs 6 PC
Flour 2.50 KG
This happens only if I specify in the 'Currency/Quant. Fields' tab the field that holds my quantity and the reference field that hold the UOM, and specify data type QUAN. Same concept applies for currency where they have different numbers of decimal places (for example Japanese Yen is always expressed as a whole number with no decimals).
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
GLOBAL Definitions
WA_NETPR LIKE EKPO-NETPR
Ex: netpr FIELD of EKPO
CREATE program lines and specify WA_NETWR = itab-netpr.
Reward points!!!
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Declare the Qty and Currency fields in Global definitions TYPE similar to their data element
v_menge TYPE MENGE_D
v_NETWR TYPE NETWR
But if you wants to display them as Left justified , provided the space is not sufficient declare another CHAR fields of length 15 and move into them and use in the display.
<b>Reward points for useful Answers</b>
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.