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

Transfer data from Table control to internal table

naimkhans_babi
Active Participant
0 Likes
619

Dear firends

How are you!

I wish to know How we could transfer the table control data to Internal table. please help me to understand this.. any code will help me better way. any help will be appreciated.

Regards

naeem

Dear firends

How are you!

I wish to know How we could transfer the table control data to Internal table. please help me to understand this.. any code will help me better way. any help will be appreciated.

Regards

naeem

2 REPLIES 2
Read only

Former Member
0 Likes
400

Hi,

Transferring of table control data to internal table will be automatically taken care of by SAP.

Only thing is we need to follow the following three rules/steps.

i) Should declare a table control of type tableview in the code .

ii) Internal table should have same name and structure as that of table control.

iii) PBO and PAI of the screen which contains the table control should have Loop ...Endloop statement.

NOTE:

-


To get better understanding of the table control,explore the standard SAP program DEMO_DYNPRO_TABLE_CONTROL_1.

Reward if helpful...

Regards,

Dilli

Read only

naimkhans_babi
Active Participant
0 Likes
400

loop at IT_ITEM.

chain.

field WA_ITEM-ZEILE.

field WA_ITEM-MATNR.

field WA_ITEM-MAKTX.

field WA_ITEM-MEINS.

field WA_ITEM-MENGE.

field WA_ITEM-RFLAG.

module MY_TAB_modify on chain-request.

endchain.

endloop.