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

Table control

Former Member
0 Likes
355

Hi friends,

am working on modulepool table control.here want to save the data into ztable when i press save.want to select and deselect row in the table control and want to delete the selected row from ztable and internal table.how to get the selected value and how to do select and deselect through coding can any one please provide the code if poosible.i have already tried to get in the forums was unable to get the correct answer.

thanks In advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
324
2 REPLIES 2
Read only

Former Member
0 Likes
324

hi,

here in PAI section u have to modify internal table from screen structure.

at the time of save u have to update database table.

MODIFY IT_ZMATDISPCERT FROM WA_ZMATDISPCERT

TRANSPORTING PROJECT

SUBJECT

YOUREF

LINE1

LINE2

REMARK1

REMARK2

REMARK3

WHERE REFNO = WA_ZMATDISPCERT-REFNO.

when ok_code = 'save'.

modify table ztab from it_tab.

for deletion ,

when ok_code 'delete'.

READ TABLE IT_ZMATDISPCERT INTO WA_ZMATDISPCERT WITH KEY SRLNO = WA_ZMATDISPCERT-SRLNO.

DELETE TABLE IT_ZMATDISPCERT FROM WA_ZMATDISPCERT .

Read only

Former Member
0 Likes
325