2007 Jan 24 5:54 AM
Hello Abapers
I have a query in ABAP Table controls
where i have a need to add in tbc dynamical one row and suprees that one this is my task.I have tried all possible ways.\
Plz suggest me any solution
Thank Q
Priya
Hello Abapers
I have a query in ABAP Table controls
where i have a need to add in tbc dynamical one row and suprees that one this is my task.I have tried all possible ways.\
Plz suggest me any solution
Thank Q
Priya
2007 Jan 24 6:00 AM
u need to add a button and write code that when u press the button, add a row to the table control. Check in <b>ABAPDOCU</b> for better examples.
2007 Jan 24 1:01 PM
Hi,
Adding a row means you have to append the internal table. Which you are looping in PBO and PAI.
it's possible to add a module in BOTH PBO as well as PAI to do this append task.
PROCESS BEFORE OUTPUT.
LOOP AT IT_TAB_CTRL into WA_TAB_CTRL with control ZTCL.
cursor ZTCL-current_line.
" You can place a module here also to modify or append.
ENDLOOP.
MODULE STATUS_0100.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
LOOP AT IT_TAB_CTRL into WA_TAB_CTRL.
" You can place a module here also to modify or append.
ENDLOOP.
MODULE APPEND_IT. "to append internal table.
2007 Jan 24 1:02 PM
Hi,
Adding a row means you have to append the internal table. Which you are looping in PBO and PAI.
it's possible to add a module in BOTH PBO as well as PAI to do this append task.
PROCESS BEFORE OUTPUT.
LOOP AT IT_TAB_CTRL into WA_TAB_CTRL with control ZTCL.
cursor ZTCL-current_line.
" You can place a module here also to modify or append.
ENDLOOP.
MODULE STATUS_0100.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
LOOP AT IT_TAB_CTRL into WA_TAB_CTRL.
" You can place a module here also to modify or append.
ENDLOOP.
MODULE APPEND_IT. "to append internal table.
Darshan Patel.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |