cancel
Showing results for 
Search instead for 
Did you mean: 

Table control on ITS need to design

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

dennis_bruder
Employee
Employee
0 Kudos

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

Former Member
0 Kudos

Hi,

Here i am getting only rows which can be display without scrolling .

Actually there are 25 rows but initially can see only five rest of these can be seen

on scrolling .

So there are only visible five, rows total table contol is not visible there .

Any idea for that ?

Thanks,

SS

Former Member
0 Kudos

Hi SS,

If you have developed a module pool in SAP GUI increase the height of the table control. Did you try it?

Regards,

Manish

Former Member
0 Kudos

Hi Manish,

Exactly it has been developed in SAP gui .

But I cann't increase the height ?And also data comming in table control may vary .

Any idea for the issue ?

Thanks,

SS

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Manish ,

I have already use roof lines for mine table control .

I tick off the vertical resizing even though it's not working .

any idea for this ?

Thanks,

SS

Former Member
0 Kudos

Hi,

Is there any idea for this ?

Thanks,

SS

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can also refer to the internet service WS20000081within it the template

WS200000810100CORE.htm for e.g.

Hope it helps!!!!!!

Regards,

Manish