cancel
Showing results for 
Search instead for 
Did you mean: 

convert internal table into html file

Former Member
0 Kudos

Hi Experts,

we have a requirement to convert the R/3 Internal table into Html file,

, and to mail it to the customer.

Please suggest on how to receive and convert the internal table into html file in XI.

 *Note:* we have a HTML template file, which need to be used during conversion

and also to send it through the mail adapter.

Thanks in advance.

MK

Accepted Solutions (0)

Answers (4)

Answers (4)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi ,

You can achieve this using XSLT Mapping,Use HTML Functions in XSLT Mapping.

Regards,

Raj

jyothi_anagani
Active Contributor
0 Kudos

This message was moderated.

shalinee_gupta
Explorer
0 Kudos

hey, in my internal table one field is of type boolean and whenever its value is 0, in html that filed value is coming as black. Any solution for this? And i have assigned bgcolor for heading but all the field except one field is coming without color. Pls suggest solutions

samiullah_qureshi
Active Contributor
0 Kudos

You can use report mentioned in folllowing link to convert the internal table into the html format:

https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/downloadInternaltableasHTMLtable-Upd&showChildren=false

Hpoe this will help you.

Regards,

Sami.

former_member750652
Contributor
0 Kudos

Hi Mk,

Since your requirement is conversion of internal table to HTML and Mail. You will have to write the Adapter module to customize the Adapter functionality .The input has to be converted to HTML but not to XML.JAVA provides so many interfaces to generate HTML .You can think in that way(if you are good at EJBs and JAVA).

or If your requirement is Just converting the Internal table to HTML plese refer to the link for the same.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0fbf4d3f-0301-0010-3988-b04e30b6...

Thanks,

Ram.