Skip to Content
0
Former Member
Oct 26, 2005 at 12:18 PM

data type of variable in smartform

259 Views

Hi folks

iam displaying the currency fields as acolum in the main widow , now i want to display the sum of these items i have coded like this:

data: cu-sum type f default '0'..

loop at itab into w_iatab.

cu_sum = cu_cusum + w_itab-curr

endloop.

now its claculating the sum but its not showing in layoutest

could u tell me the data type of cu_sum should be P or C OR F. because here 'curr' is the currency field.

tahnks in adavace

priyavasuki srinivas