on 09-07-2009 11:21 AM
Hi all,
I am sure this had been answered many times. I am sorry that I couldnt find right thread.
My question is, how could I enhance the below program in such a way, i input parameter A and parameter B. Once these two parameters are filled, the program will immediately calculate A + B = C into p_total without click on the execute button?
selection-screen begin of block b1 with frame title text-001.
parameters: p_a type i,
p_b type i,
p_total type i.
selection-screen end of block b1.
Thanks in advance.
Hi,
Try like below:
selection-screen begin of block b1 with frame title text-001.
parameters: p_a type i,
p_b type i,
p_total type i.
selection-screen end of block b1.
at selection-screen output.
p_total = p_a + p_b.
hitting enter would populate the value in p_total
Regards,
Himanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
U need to insert in the AT SELECTION-SCREEN event:
AT SELECTION-SCREEN.
P_TOTAL = P_A + P_B.
Anyway the use has to press enter
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Administrator,
I am sorry that I posted into the wrong thread. Could you please redirect this into ABAP general?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.