2007 Sep 14 7:55 AM
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
2007 Sep 14 8:06 AM
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
2007 Sep 18 8:20 AM
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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |