Application Development 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: 

Table control

Former Member
0 Kudos
61

Hi Experts,

am doing table control w/selcolumn name = flag.

code:

flag type c.

data cursr type i.

PAI:

loop with control TAB1.

MODULE i_qa.

ENDLOOP.

module i_qa input.

if flag = 'X'.

GET CURSOR LINE CURSR.

SELECT ques FROM zfaqoi_ques INTO CORRESPONDING FIELDS OF TABLE it_ques WHERE ques = zfaqoi_ques-ques.

CALL METHOD : editor->set_text_as_r3table EXPORTING table = it_ques .

SELECT ans FROM zfaqoi_ans INTO CORRESPONDING FIELDS OF TABLE it_ans WHERE ans = zfaqoi_ans-ans.

CALL METHOD : editor1->set_text_as_r3table EXPORTING table = it_ans.

endif.

endmodule.

I press first row drag goto see display data then i press second row drag first row should be released!!

how is change pgm?

Reply me soon,

S.Suresh.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos
44

Just CLEAR flag. in one module of the LOOP WITH CONTROL of the PBO.

Regards.

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos
45

Just CLEAR flag. in one module of the LOOP WITH CONTROL of the PBO.

Regards.

0 Kudos
44

Hi,

I could not get output..

plz reply me soon..

Regards.

0 Kudos
44

you could as well restict the selection mode of your table control to single selection.