on 07-19-2007 9:39 AM
Hi experts,
In webdynpro abap i can able to insert a single row in a table control, but how i can able to insert multiple lines in the webdynpro. If possible send me a piece of code to implement this. It will be very helpful for me.
Regards...
Arun.
Hi,
Let you internal table be lt_user , LV_USERNODE be the corresponding context node where you want the binding.You need to append empty rows if you need to have multiple rows where user can enter values.
Like follows
DO 5 TIMES.
Append ls_user to lt_user. ( here ls_user in initial )
ENDDO
CALL METHOD LV_USERNODE->BIND_TABLE
EXPORTING
NEW_ITEMS = lt_user
SET_INITIAL_ELEMENTS = ABAP_TRUE
INDEX =
.
Thanks
Anzy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun,
When you want to insert one row, you will append an empty row to the internal table and bind it to the context again. If you want to insert say 5 rows, append 5 empty rows and bind it to the context. The code will be similar to inserting one row only.
Regards
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.