‎2022 Oct 03 5:32 PM
i Have internal table
Employee Employee Name City state
123 Test123 CAL CA
124 Test124 SHL SH
135 Test135 PLAIN NJ
Like this I want in table format Believe it works in HTML format, any sample code for the same is appreciated.
‎2022 Oct 03 5:39 PM
Haven't tried it but this looks like it could be helpful to your case... yes, basically you need to format the contents yourself, either directly or with the assistance from such a library
‎2022 Oct 03 5:41 PM
Thanks @andrea, looks like a Raw one, will see if I dont find anything
‎2022 Oct 03 6:12 PM
Simple HTML:
<table border=1 cellspacing=0>
<tr><th>Employee number</th><th>Name</th></tr>
<tr><td>123</td><td>Test123</td></tr>
</table>
‎2022 Oct 03 6:22 PM
‎2022 Oct 03 7:45 PM
‎2022 Oct 04 1:34 PM
‎2022 Oct 05 10:23 AM
Wow.
This is not modern ABAP. Some of it is more than 20 years out of date. I'm guessing you got this wonderful snippet from either google or 1994.
‎2022 Oct 05 10:34 AM
hey don’t worry ,
here comes the new flavour —
cl_document_bcs=>create_document(
i_type ='HTM'
i_hex = lt_body_hex
i_subject = lv_mail_subject )
IF NOT lv_sender_email IS INITIAL.
lo_sender = cl_cam_address_bcs=>create_internet_address(
i_address_string = lv_sender_email ). ENDIF.
Further you can use send mail method from cl_bcs Abap.
That’s not my code in the end I gave reference — Just gave the idea in many SAP system in standard this so_document_send_api in use still
Thanks ,
Shivam
‎2022 Oct 17 6:26 PM