Hi,
we are on WAS700, internal ITS.
during PBO of a dynpro I have filled an internal table (ig_quantity). I am not using a table control or any visualization on the dynpro layout for this table.
How is the easiest way to loop through the table on the corresponding html template? Is it possible at all if the internal table is not in the dynpro-element list? The point is, I need to insert an input-field on the html side, which needs to be added to an existing tablecontrol.
I am not really into htmlBusiness, but I assume, I need something like this:
`repeat with n from 1 to ig_sublist-quantity`
...<html coding>...
`end`ig_sublist is my internal table, quantity a field in the table
thanx, matthias
Message was edited by:
Matthias Kasig
Message was edited by:
Matthias Kasig
Request clarification before answering.
it would be something like
`repeat with j from ig_sublist.firstvisible
to ig_sublist.lastvisible`
....
to ge the value of the quantity field it will be
ig_sublist-quantity[j].value
`end`
http://help.sap.com/saphelp_nw04/helpdata/en/5f/1fb0f94aee11d189740000e8322d00/frameset.htm
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raja,
on my html template I wrote:
`repeat with j from ig_sublist.firstvisible to ig_sublist.lastvisible`
<input type="text" name="ig_sublist-QUANTITY[`j`]" VALUE="`ig_sublist-QUANTITY[j].value`" size="10">
`end`but this does not seem to have any effect - I don't get to see an html- inputfield...
do you have a clue why I can't see the html inputs derived from the internal table?
I checked the table in PBO of the dynpro - it is filled with two lines.
regards, matthias
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.