2012 Jun 29 8:22 AM
Hi,
The requirement is to copy an HTML table (or excel tables which will have dynamic number of columns and rows) in a Z field in any Z transaction. this table need not be saved as fields and rows in SAP database. It can be saved in just one field. customer wants to copy & paste details given in excel or word in table form in SAP. we are able to copy the text in Z field but the border lines of table does not appear. How can we do this?
Thanks,
Binita
Hi,
The requirement is to copy an HTML table (or excel tables which will have dynamic number of columns and rows) in a Z field in any Z transaction. this table need not be saved as fields and rows in SAP database. It can be saved in just one field. customer wants to copy & paste details given in excel or word in table form in SAP. we are able to copy the text in Z field but the border lines of table does not appear. How can we do this?
Thanks,
Binita
2012 Jun 29 8:36 AM
Hi,
you can you table control wizard in module pool for displaying table format.
or
You can use alv grid display .
Regards,
madhumahesh.
2012 Jun 29 3:32 PM
So I guess you want to display a simple XLS file or word file in a Z-transaction? Let me know if you have a different requirement.
You will need an ALV grid coupled with a dynamic internal table to hold xls/word data. The number of fields in the internal table will depend on the number of fields in the XLS (You can get this by counting the number of tabs +1 ). For word it can be one large field.
Tab = CL_ABAP_CHAR_UTILITIES=>horizontal_tab.
Search the forum to see how to create/use dynamic internal tables.
Regards,
Shravan
2012 Jun 29 5:10 PM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |