Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Runtime Error in Total ammount calculations in smartforms.

Dear Friends,

In my PO smartform i am calculating TOTAL AMOUNT in the CODE .

INPUT PARAMETER -


OUT PARAMETER

I_EKPO-MENGE V_BASICAMT(like ekpo-netpr)

I_EKPO-NETPR

in the editor.

v_basicamt = i_ekpo-menge + i_ekpo-netpr.

while executing its goes for a shart dump saying :-

"the result field of typr p is too small for the result."

Please advice...

thanks.

Former Member
replied

I generally use floating point value

data: lv_f type f. for total value... and then use Float to character convert FM and use that for display.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question