Skip to Content
0
Former Member
Feb 25, 2009 at 12:28 PM

Sum calculation

64 Views

Hi Experts,

Please advice,

I am having three fields in output 1 is directly fetched from table and other two are variables.

ITAB-MENGE = fetched data.

ITAB-UCOMM = input on ( user command )

when the user press ENTER

ITAB-SUM = ITAB-MENGE + ITAB-UCOMM.

For eq:

Suppose if ITAB-MENGE which is fetched from table = 100

and if the user enters the value in ITAB-UCOMM = 200

and when the user press enter the sum should display on the other field ITAB-SUM

Note: I am using normal write statement ( not ALV ) & there is no need of saving option.

Thanks

R.Karthik