on 06-03-2008 10:40 AM
Hi,
I am trying to display the values in the table control in my dialog module into table control in my internet service, EWT. The problem is that it displays correctly at times or an empty table intermittently. The later is incorrect.
In my dialog module, I did populate the internal table SEL_APPROVER (of table control TC_SEL_APPROVER) and use FIELD-SET/FIELD-TRANSPORT to transport the values to ITS.
I am using the SAP_TemplateTableBegin to loop through the table control.
`repeat with j from 1 to TC_SEL_APPROVER.rowCount`
`SAP_TemplateTableRowBegin(isSelectable="X")`
`SAP_TemplateTableCellBegin(subtype=TYPUS)` `SEL_APPROVER-MARK[j]` `SAP_TemplateTableCellEnd()`
`SAP_TemplateTableCellBegin(subtype=TYPUS)` `SEL_APPROVER-ZNAMEOFORGUNIT[j]` `SAP_TemplateTableCellEnd()`
`end`
:
:
Any advice is much appreciated. Thanks.
Regards
Kir Chern
Hi Kir Chern,
when the internal table SEL_APPROVER is empty this might not be an issue of the table control and its rendering but of the application inserting data into the internal table. Try to find out why the internal table is empty.
Best Regards,
Simon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Simon,
Thanks for your reply. The SEL_APPROVER.rowCount is correct sometimes, but sometimes it is 0. That is where the table content (cell) is empty :=( I did loop through the SEL_APPROVER internal table in my dialog module and use FIELD-SET/FIELD-TRANSPORT to transport the values to ITS.
Thanks.
Regards
Kir Chern
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kir Chern,
are the table cells visible but empty or not rendered? What is the value of SEL_APPROVER.rowCount in case of display correctly/incorrectly?
However, I would assume that the problem is rather in the contents of the internal table!?
Best Regards,
Simon
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.