2008 Feb 11 9:04 AM
Hi evryone
I have an input screen.Where in if i am giving values it is not getting executed but if i come back and execute it is getting executed orelse if i pres "ENTER" then it is execting the first time itself.How to over come this problem...Please help...
With regards
Vijay
2008 Feb 11 9:08 AM
Hi vijay krishna,
When pressing Enter PAI event will triggering so it is executing..
Could give me your code for more clarity then only we are able to solve your problem.
Hi evryone
I have an input screen.Where in if i am giving values it is not getting executed but if i come back and execute it is getting executed orelse if i pres "ENTER" then it is execting the first time itself.How to over come this problem...Please help...
With regards
Vijay
2008 Feb 11 9:07 AM
2008 Feb 11 9:08 AM
Hi vijay krishna,
When pressing Enter PAI event will triggering so it is executing..
Could give me your code for more clarity then only we are able to solve your problem.
2008 Feb 11 9:22 AM
Hi
Here is the code...Sorry for late reply
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS : p_werks TYPE werks_d OBLIGATORY, " Plant
p_gjahr TYPE mjahr OBLIGATORY. " Fiscal year
SELECT-OPTIONS: p1 FOR v_p1 OBLIGATORY.
RANGES:r1 for v_p1.
SELECTION-SCREEN END OF BLOCK b1.
At selection-screen output.
read table p1 index 1.
r1-sign = 'I'.
r1-option = 'EQ'.
while p1-low LE p1-high.
r1-low = p1-low.
append r1.
p1-low = p1-low + 1.
endwhile.
2008 Feb 11 9:30 AM
Hi,
Use start-of-selection instead of at selection-screen output.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS : p_werks TYPE werks_d OBLIGATORY, " Plant
p_gjahr TYPE mjahr OBLIGATORY. " Fiscal year
SELECT-OPTIONS: p1 FOR v_p1 OBLIGATORY.
RANGES:r1 for v_p1.
SELECTION-SCREEN END OF BLOCK b1.
Start-of-selection
read table p1 index 1.
r1-sign = 'I'.
r1-option = 'EQ'.
while p1-low LE p1-high.
r1-low = p1-low.
append r1.
p1-low = p1-low + 1.
endwhile.
Regards,
Soumya.
2008 Feb 11 9:33 AM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |