on 03-23-2007 10:47 AM
Hi,
Can anybody let me know how to create Table Control on ITS Template ?
I need to create one Table control in ITS template in internet service .
With this i also need to transfer OK code in SAPGUI .
I have created Table contol in SAP gui and want to display on ITS Template .
I have internal table which i want to show on ITS .
any help will be appreciated .
Thanks,
SS
Hi,
here a short example how to display a table control on a ITS template:
`repeat with j from MY_TC.firstvisible to MY_TC.lastvisible`
<tr>
<td> <input type=text
name="`myField[j].name`"
value="`myField1[j].value`">
</td>
</tr>
`end`
MY_TC is the name of the table control.
Best regards
Dennis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
In your table control of your module pool make the scrollable tick off.
And if you have defined your tablecontrol with name 'tablecontrol' then one can define the noof lines of the tablecontrol depending on the no. of lines of your internal table.
Describe it_table lines l1.
Tablecontrol-lines = l1.
Try this and let me know if it works i dont think you have to modify the templates of the ITS.
Regards,
Manish
hi,
what is the version of the its and sap that you are using.
i think your approach to generating the template is fine.
you can generate the template for the screen and then do the programming the the template using html business language.
you can find documentation and help for the same using tag browser-> html business language in se80.
Regards,
Manish
Hi,
You can also refer to the internet service WS20000081within it the template
WS200000810100CORE.htm for e.g.
Hope it helps!!!!!!
Regards,
Manish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.