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

Fcode in Table Control

Former Member
0 Likes
638

Dear Friends,

I have developed a screen with table control with 1 column created pushbutton with function code PB%%.

But the problem when i click pageup or pagedown the fcode is reintialize with line number. For eg. for line 7th after page down is showing PB02 instead of PB07.

Kindly adivce.

Thanks

Praveen Lobo

5 REPLIES 5
Read only

Former Member
0 Likes
608

Dear Friends,

I have developed a screen with table control having one column created pushbutton with function code PB%%.

But the problem when i click pageup or pagedown the fcode is reintialize with line number. For eg. for line 7th after page down is showing PB02 instead of PB07.

Kindly adivce.

Thanks

Praveen Lobo

Read only

0 Likes
608

Hi Praveen,

post your program code here..so that we can have a look.

regards

shibu

Read only

Former Member
0 Likes
608

????

Read only

RaymondGiuseppi
Active Contributor
0 Likes
608

Why do you need a different function code for each line, couldn't you check the line selected when user press on pushbutton.

What do you do if more than 99 lines exists?

In all cases in your PBO in the LOOP WITH CONTROL do you use sy-loopc or <ctl>-current_line, that may be the cause.

Regards

Read only

Former Member
0 Likes
608

found other alternative