on 06-12-2007 6:48 AM
in table node im printing item ,amount etc
for eg: item amount
A 1000
B 2000
_________
3000
if there are only two items for that invoice no,total amount should get after the two items.If there are three items,total amount should get after the three items immediatly.how can i do that using CALCULATIONS option in table node.what are the parameters i should give?please help.
hi srinivas,
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.
Hi Srinivas,
First use Footer area in the Table for Printing Total, so that it displays aftet all
the line items.
To get totals using Calculation option,
In CALCULATIONS Tab,
select "TOTAL" under Operation ,
Give the Internal field name (for which u want to find the Total) under Field name.
Give the Variable name )in which ur storing the value) under Target Field Name.
Under Time, U can select at which point the operation should be executed,
depends on ur requirement.
See the F1 help for more clarification..
Thanks
Dinakar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
The best way is to calculate the total amount in the print program itself then append the field to the final table and move it to the smart form table.
regards
arul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanku for ur reply.i did in the same manner.but for passing the value from printprogram to smartform i declared a variable in IMPORT option.but for that field it's displaying warning message 'field xxxx has no defined value'.even i gave the default value as 0.but it's displaying the same message.
thanks®ards
srinivas k
User | Count |
---|---|
87 | |
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.