‎2007 May 07 2:11 PM
hi friends,
Can you help to know how we can achieve to automatically calculate the field value and assign when all other fields were inserted...
Consider num1,num2,num3 are three fields
I am calculating the num1 and num2 values and putting to num3.
I have written a code in ABAP to calculate and the result is modified in DB.
But i need to calculate it automaticall this program want to run when the two fields(num1 and num2) are entered.
‎2007 May 07 2:15 PM
Hi Mahesh,
You can do this like.
if not num1 and num2 is intial.
SUBMIT REPORT01
VIA SELECTION-SCREEN
USING SELECTION-SET 'VARIANT1'
USING SELECTION-SETS OF PROGRAM 'REPORT00'
AND RETURN.
endif.
Try this out... may trun into result for you.
Regards,
Jayant
‎2007 May 07 2:15 PM
Hi Mahesh,
You can do this like.
if not num1 and num2 is intial.
SUBMIT REPORT01
VIA SELECTION-SCREEN
USING SELECTION-SET 'VARIANT1'
USING SELECTION-SETS OF PROGRAM 'REPORT00'
AND RETURN.
endif.
Try this out... may trun into result for you.
Regards,
Jayant
‎2007 May 07 2:16 PM
Hello,
Try to do it with a field exit, or try to find a user exit or badi for the tcode. It can be also done doing a substitution if available.
Dont forget to reward.
Gabriel.
‎2007 May 07 2:31 PM
HI mahesh,
Can you be more specific. Are you talking about updating a database table while a input is given at selection screen.
If that is the case i dont think u can.
Regards
Gowri shankar
‎2007 May 11 2:04 PM