on 06-15-2007 1:31 AM
Hi all,
pls tell me the following questions
1. how can we handle currency,quantity in smart forms and scripts pls send the code as example.
2. how can we do sub totals and grand totals in smart forms and scripts pls send the code as example.
hi nagendra,
try this,
in loop at the calculation tab define like this
Operation Field Name Target Field Name Time
Total L_WA_ITAB-FKIMG L_WA_TOT After Loop
this l_wa_tot u can define in global definations like this at the global data tab for the target field name,
Variable Name Type assignment Associated Type
L_WA_TOT TYPE FKIMG
and at the currency/quntity tab you should define like this for the itab filed,
Field Name Reference Field Data Type
L_WA_ITAB-FKIMG VRKME QUAN
just do this carefuly then your problem get solved,
reward points if helpful.
regards,
seshu.
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
GLOBAL Definitions
WA_NETPR LIKE EKPO-NETPR
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.
Reward points if useful.
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,
For cureency calculation you can use <b>Charcter field.</b>
<b>Reward points</b>
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For currency and quantity fields..Move them to a character data type field and use the character field to display variable..
Thanks
Naren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are using smartforms, then there is a option to do summation for the fiedls you want inside the table
else
you can declare a variable and add the value to it
regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.