2006 Dec 20 1:46 PM
I have an table control. When user select one of line user can go next screen. But don't select any line user cann't change currenct screen.
I want do it.Via below code
If not Itab is initial.
Leave To Screen 100. " Current screen
else.
Leave to screen 200. " next screen
endif.I have been writing this lines PAI module. What is wrong? Please help me
2006 Dec 20 1:55 PM
what u do is...in ur TC add a checkbox from properties and in internal table define flag.
Now, when user checks this checkbox and record is not empty...write code as go to screen 200. else dont do anything.
Award points and close duplicate threads.
I have an table control. When user select one of line user can go next screen. But don't select any line user cann't change currenct screen.
I want do it.Via below code
If not Itab is initial.
Leave To Screen 100. " Current screen
else.
Leave to screen 200. " next screen
endif.I have been writing this lines PAI module. What is wrong? Please help me
2006 Dec 20 1:55 PM
what u do is...in ur TC add a checkbox from properties and in internal table define flag.
Now, when user checks this checkbox and record is not empty...write code as go to screen 200. else dont do anything.
Award points and close duplicate threads.
2006 Dec 20 1:58 PM
hi give in attributes next screen is 100
and then
If not Itab is initial.
Leave to screen 200. " next screen
endif.
in pai
santhosh
2006 Dec 20 2:24 PM
Read table ITab with key Mark = 'X'.
if sy-subrc = 0.
call screen 200.
endif.I do it via above code. Thanks all person
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |