on 08-12-2008 10:40 AM
Hi ,
I am developing a customized smartform. There in the end of main window , I have to display total for field netwr, which is the last column in the table. For this what to do?
Rgds,
khadeer.
Hi,
use program lines and pass the field which has to be added and use a new variable declared in the Global Definitions of the same type as of the field.
then display the field after the loop wherever required.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you have to create in main window table type
this is for PAGE total
in that table you options like TABLE
DATA
CALCULATIONS
OUTPUT OPTIONS
CONDITIONS
in CACULATIONS tab u need to give
operation--->total
Field name-->wa_final-total_amt
Target field name-->l_total_amt
Time--->afterloop.
l_total_amt declared in global declarations
For total amount
in FOOTER window you create program lines
give input parameters and output parameters
L_TOTAL_AMT V_TOT_EXCL
L_CONS_AMT V_TOT_CONS
L_TOTAL_AMT V_TOT_TOTAL
in total cell create pragram lines in that give like
V_TOT_EXCL = V_TOT_EXCL + L_EXCL_AMT.
V_TOT_CONS = V_TOT_CONS + L_CONS_AMT.
V_TOT_TOTAL = V_TOT_TOTAL + L_TOTAL_AMT.
CLEAR:L_EXCL_AMT,
L_CONS_AMT,
L_TOTAL_AMT.
in text generak attributes
give v_tot_excl like same another two
Regards,
Bhupal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Khadeer,
search for SF_EXAMPLE_* in Transaction Code SMARTFORMS . these will helps u lot in Becoming familiar with Smartforms.
check this link ..
http://saptechnical.com/Tutorials/Smartforms/Loop/Create.htm
Reagrds.
Eshwar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.