Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Check Input Output Field

Former Member
0 Likes
602

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
498

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

3 REPLIES 3
Read only

Former Member
0 Likes
499

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.

Read only

Former Member
0 Likes
498

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

Read only

Former Member
0 Likes
498
     Read table ITab with key Mark = 'X'.
     if sy-subrc = 0.
        call screen 200.
     endif.

I do it via above code. Thanks all person